choosing-a-workflow
它能做什么
这个技能是一个起点,会把 AI 引向合适的 ThinkRail 工作流,例如项目搭建、提交拉取请求或规划变更。适合使用 ThinkRail 构建和管理软件的人。
适用场景
- ✓当你开始一个全新的项目,并希望 AI 正确地为它搭建时。
- ✓当完成的工作需要以 GitHub 拉取请求的形式提交时。
- ✓当你提出新功能、行为变更或缺陷修复,并需要先做规划时。
技能链接
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/choosing-a-workflow/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想在我的应用里添加一个新的导出按钮,请帮我选择合适的规划和构建方式。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会阅读你的请求,判断它属于项目搭建、拉取请求工作还是产品变更,然后按照对应的工作流执行。如果都不合适,就直接继续。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Choosing a Workflow
The root router of the workflow family. It classifies new workflow-eligible work and names the workflow skill that governs it — nothing more. Work already routed resumes its active workflow instead. A routed skill's steps live in that skill alone; read it, don't run it from memory.
Classify
For a new piece of work, read the request and use what is already known to answer three questions:
- Is this project onboarding? No spec graph yet — an empty or effectively empty workspace where the user brings a raw idea, or an existing codebase being set up or specced for the first time.
- Is this the PR lifecycle? Finished work shipping as a pull request, or an existing PR being tended — created, brought up to date, given screenshots, its checks watched, or its review comments addressed. Fixes that flow from a PR's own review comments belong here.
- Does the work change what the product does? A new feature, a change in behavior, or a bug fix — however small, and even when the request already spells out the design. A detailed request shortens the interview; it never skips it.
If none applies, no workflow is needed: proceed directly without a workflow announcement. Only work that changes no behavior belongs here: a non-PR question, explanation, or check; a typo, documentation, or configuration-only edit; a mechanical refactor such as a rename.
If the route is genuinely ambiguous from the request alone, ask one short clarifying question
(ask_user_question, composed per the asking-user-questions concept skill) rather than guessing.
Route
| Classification | Route |
|---|---|
| Project onboarding — no spec graph yet | Read and follow setting-up-a-project |
| PR lifecycle work | Read and follow shipping-a-pr |
| A feature, behavior change, or bug fix | Read and follow brainstorming |
| None of the above | No matching workflow; proceed directly without announcing the routing result |
One route per piece of work. If a request bundles unfinished implementation with PR work, route the implementation first and return to shipping-a-pr only after it lands.
Red flags — stop and re-route
- You started implementing a feature, behavior change, or bug fix without going through brainstorming.
- "It's small" or "the request is already specific" — neither is a reason to skip; the workflow scales down, it does not switch off.
- You loaded brainstorming for work that changes no behavior (a rename, a typo, a question).
- You re-entered this router while continuing work already assigned to a workflow.
- You are following a routed skill's steps from memory instead of reading that skill.
Handoff
This skill ends by naming exactly one of: setting-up-a-project, shipping-a-pr, brainstorming, or no matching workflow (proceed directly). Adding a workflow to the family adds a row to the table above — see the writing-workflow-skills skill.
常见问题
它会自己完成工作吗?
不会。它只负责选择工作流,具体步骤由该工作流来引导。
如果我的请求只是一个问题呢?
不需要任何工作流,AI 会直接回答。
它是为谁准备的?
为在 ThinkRail 中管理项目、并希望系统为其选择合适流程的人准备的。
详情
作者的原始描述
Use at the start of new project onboarding, PR lifecycle work including PR checks, or any change to what the product does — a feature, a behavior change, or a bug fix. Not for continuing work already routed to a workflow, non-PR questions, checks, explanations, or edits that change no behavior.
repo: JetBrains/thinkrail
热度
- GitHub 星标
- 7.1k
- 排名
- #13490
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
asking-user-questions
7.1k教你的智能体分轮次向你提出清晰的问题,并给出合适的回答选项,直到悬而未决的问题都得到确定。
brainstorming
7.1k帮你的智能体在构建之前,和你一起讨论功能、行为变更或缺陷修复,并记录商定的设计。
importing-a-codebase
7.1k教你的智能体阅读现有代码库,并起草第一套项目规格,只在代码不清楚的地方询问你。
setting-up-a-project
7.1k帮你的智能体为规格驱动的工作搭建项目,并根据是新想法、现有代码还是已有文档的项目选择合适的路径。