跳到正文
Skillpedia
通用编程7.1k · #13492

setting-up-a-project

它能做什么

这个入口会检查你的项目类型,然后把 AI 引向合适的搭建流程。适合在 ThinkRail 中开始或整理项目的人。

适用场景

  • ✓当你开始一个还没有规格的项目,并希望把它正确地搭建起来时。
  • ✓当你已有代码,并希望根据现有内容创建它的规格时。
  • ✓当项目已有规格,而你希望 AI 查找需要补充的空白时。

技能链接

https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/setting-up-a-project/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/setting-up-a-project/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我搭建这个项目,让 AI 在我们开始构建之前了解它的目标和结构。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会检查项目是否已有规格和实际代码,然后按照对应的流程处理:新想法、现有代码,或已有文档的项目。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Setting up a project — dispatcher

The single entry point for turning a project into a spec graph. Figure out which situation you're in, then follow the matching skill — don't improvise the flow yourself.

1. Detect

Look at the workspace and use the spec tools (spec_grep / spec_graph):

  • Is there already a spec graph (a goal-and-requirements.md or any SPEC.md)?
  • Is there real source code, or is the repo empty / near-empty (just a README or scaffolding)?

2. Route

Situation Follow
Already has specs Don't redo it. Briefly offer to review/extend the graph (fill obvious gaps — a missing architecture.md, un-specced modules). Other work routes as usual: features, behavior changes, and bug fixes through brainstorming; work that changes no behavior proceeds directly. Declined → stop. Accepted → Graph extension below.
No specs · empty / near-empty repo The starting-a-new-project skill — interview the user to turn the idea into goal-and-requirements.md.
No specs · real source code The importing-a-codebase skill — analyze the code + agent files and draft the first spec graph, asking only for intent the code can't reveal.

Read and follow that skill's steps.

Graph extension (no dedicated skill)

No dedicated skill covers extending an existing graph. If the offer is accepted, align and adapt to the user's request with your own judgment, holding the writing-specs bar without a routing announcement.

Handoff

Ends by naming exactly one of: starting-a-new-project, importing-a-codebase, or — when specs already exist — the review/extend offer above (declined → stop; accepted → graph extension on judgment against the writing-specs bar).

常见问题

如果我的项目已经有规格怎么办?

AI 会提议审阅并补充空白,而不是从头开始。

我需要回答很多问题吗?

只有在文件无法回答的地方才需要。对于新想法,AI 会通过提问来构建目标文档。

什么是规格图谱?

它是一组相互链接的项目文档,描述目标、设计和决策。

详情

作者的原始描述

Use when asked to set up, onboard, initialize, or spec a project with no spec graph, or when invoked by the app's Set-up-project card. Not for ordinary work in an already-specced project.

repo: JetBrains/thinkrail

热度

GitHub 星标
7.1k
排名
#13492
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能