跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
其他技能

setting-up-a-project

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.

JetBrains · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add JetBrains/thinkrail --skill setting-up-a-project

技能说明


name: setting-up-a-project description: "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."

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

SituationFollow
Already has specsDon'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 repoThe starting-a-new-project skill — interview the user to turn the idea into goal-and-requirements.md.
No specs · real source codeThe 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).