writing-specs
できること
このスキルは、プロジェクトの仕様書を書くための規則をAIに与えます。短く保ち、未確定の点を明確にし、余計な内容を避けます。コードと一緒に設計文書を保つチーム向けです。
使う場面
- ✓AIが、目標、アーキテクチャ、モジュールの仕様書を下書きまたは改訂するとき。
- ✓スペックに推測された内容があり、未確認と明記する必要があるとき。
- ✓将来の読み手が素早く理解できる、プロジェクトの文書がほしいとき。
スキルのリンク
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/writing-specs/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私たちのアーキテクチャ文書を、短くして、確定した決定だけを含むように書き直してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、文書を短く保ち、確定した内容だけを含め、推測は文中で明記し、人がレビューするまで新しい下書きは下書きとして印を付けるという規則を設定します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Writing Specs
The workflow family's shared bar for every spec a workflow produces: short, honest, on-rails.
Process skills name this concept at the steps that draft or revise specs; what to draft and when
stays with the referencing skill. Graph mechanics — frontmatter, link kinds, the spec_* tools — are
the spec-graph skill's ground; this concept carries the quality bar the family holds on top of them,
and is where the family's rules for specs and the spec graph accrue.
Short
- Small enough to read in one sitting. Target signal, not completeness.
- Explain intent, not inventory: what the thing is for, what it owns, where its boundary runs — never a file listing or a restatement of the code.
Honest
- Only settled content appears. Never pad with
[TBD]or placeholder sections — a section that hasn't been settled simply doesn't exist yet. - Anything inferred rather than confirmed is marked unconfirmed, inline, where it stands.
- New and inferred specs are
status: draftuntil the user has reviewed them — the flip out ofdraftfollows the user's review, never the drafting agent's own judgment. A reviewed durable spec goesactive, neverdone: it stays in force and evolves with the project.
On-rails
- High-signal enough that a future agent (or human) lands on the decisions without re-deriving them.
- The spec is the only home for rationale: decisions, invariants, trade-offs, and bug post-mortems are recorded here, never as code comments — a rationale paragraph found in code is content to promote into the owning spec, leaving at most a one-line pointer where misediting would silently break something.
- Say each thing once: link by
idinstead of restating; the dependency edges between sibling modules live in the parent's spec, not in each leaf. - One spec per genuine boundary — not per directory, not per file.
The goal doc describes the product, not a plan
goal-and-requirements is the living record of what the product is and why: its goal, problem,
audience, capabilities, and non-goals, plus any durable principles.
- No versions, releases, phases, MVP/v1/v2 splits, or "later" lists. Sequencing is not a spec's job: an idea cut from scope goes back to the user to track wherever they plan work, and never into the doc.
- Capabilities state what the product does, or for a new project what its smallest useful first build will do.
- Non-goals hold only what is excluded by decision. Something neither listed nor excluded is open, not forbidden.
- It evolves with the product: a change that adds a capability or overturns a principle updates the goal doc in the same change.
よくある質問
スペックにプレースホルダーのセクションを入れてもよいですか?
いいえ。確定していないセクションはプレースホルダーで埋めるのではなく、省きます。
誰がスペックを最終版と決めますか?
あなたが確認した後に決めます。AIは自分の下書きを承認済みとは印を付けません。
コードを一行ずつ説明しますか?
いいえ。スペックはファイルの一覧ではなく、意図と境界を説明します。
詳細
作者による元の説明
Use when a workflow step drafts or revises a spec artifact — a goal-and-requirements, an architecture, or a module SPEC — or when a workflow skill names it at such a step. The shared quality bar for specs — not a workflow, nothing to execute.
repo: JetBrains/thinkrail
人気
- GitHubのスター
- 7.1k
- ランキング
- #13495
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
asking-user-questions
7.1kエージェントが、明確な質問を、良い回答の選択肢とともに何回かに分けて行い、未解決の点が決まるまで続けるやり方を教えます。
brainstorming
7.1kエージェントが、機能、振る舞いの変更、またはバグ修正について、作る前にあなたと話し合い、合意した設計を記録できるよう支援します。
choosing-a-workflow
7.1kエージェントが、新しいプロジェクト、プルリクエスト、製品の振る舞いの変更のために、適切なThinkRainのワークフローを選べるよう支援します。
importing-a-codebase
7.1kエージェントが、既存のコードベースを読み、最初のプロジェクトのスペック案を作り、コードが不明確な点だけを尋ねられるよう支援します。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。