choosing-a-workflow
What it does
This skill is the starting point that sends the AI to the right ThinkRail workflow, such as setting up a project, shipping a pull request, or planning a change. It is for people using ThinkRail to build and manage software.
When to use it
- βWhen you start a brand new project and want the AI to set it up properly.
- βWhen finished work needs to go out as a pull request on GitHub.
- βWhen you ask for a new feature, a behavior change or a bug fix that should be planned first.
Skill link
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/choosing-a-workflow/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want to add a new export button to my app, so help me pick the right way to plan and build it.β
5 new skills a week. 1 minute to read.
How it works
The AI reads your request, checks whether it is project setup, pull request work or a product change, and then follows the matching workflow. If none fits, it simply proceeds.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
Does it do the work itself?
No. It only chooses the workflow, and that workflow guides the steps.
What if my request is just a question?
No workflow is needed, so the AI answers directly.
Who is it meant for?
People running projects in ThinkRail who want the right process picked for them.
Details
Original description by the author
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
Popularity
- GitHub stars
- 7.1k
- Ranking position
- #13490
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
asking-user-questions
7.1kTeaches your agent how to ask you clear questions in rounds, with good answer options, until the open points are settled.
brainstorming
7.1kHelps your agent talk through a feature, behavior change or bug fix with you before building it, and record the agreed design.
importing-a-codebase
7.1kTeaches your agent to read an existing codebase and draft its first set of project specs, asking you only where the code is unclear.
setting-up-a-project
7.1kHelps your agent set up a project for spec-driven work, choosing the right path for a new idea, existing code or a project already documented.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.