design-doc
Skill0 starsChanged 6 months agoMITView on GitHub
Create design documents in docs/design/ for brainstorming and exploring architectural ideas. Trigger when the user says: "設計ドキュメント", "デザインドキュメント", "設計を残す", "壁打ち", "design doc", "create design doc", or similar phrases requesting design documentation.
- Commits and pushes
25 other projects use a version of this.
Adopted by
Most recently taken up by
- mustafarslan/skillstheir own version, first seen Nov 8, 2026
- mahdy-gribkov/arcanatheir own version, first seen Nov 8, 2026
- medy-gribkov/arcanatheir own version, first seen Nov 1, 2026
- thatjuan/agent-skillstheir own version, first seen Oct 20, 2026
- alabenkhlifa/dayjobtheir own version, first seen Oct 20, 2026
- gigio1023/agent-skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use testing, release-notes and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 3 projects that use this
Microsoft AzureSkillrelease-notes
Author and update release notes for Azure App Configuration libraries and providers. USE FOR: write release notes, add release note entry, update release notes, draft release notes, new version release notes, format release notes. DO NOT USE FOR: generating changelogs from git history, writing internal engineering notes.
Also in 3 projects that use this
GoogleSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 3 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- maragudk/skills★ 49same name
- na0fu3y/ochakai★ 21same name
- akash-joshi/agent-skills★ 8same name
- e2bgateway/e2bgateway★ 8same name
- taniwhaai/arai★ 7same name
- kelesmert/turnlens★ 4same name
- arsudsandesh97/Revoact★ 3same name
- dfrysinger/skills★ 3same name
- gigio1023/agent-skills★ 2same name
- gigio1023/gigio-skills★ 2same name
15 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- acceptance-testSkill
- commitSkill
- dependabotSkill
- initSkill
- open-prSkill
- pick-issueSkill
- qaSkill
- review-docsSkill
- security-alertSkill
- shipSkill
- start-devSkill
- sync-docsSkill
- sync-worktreesSkill
- test-perspectiveSkill
- triage-statusSkill
The file
Files
Design Document Skill
設計の壁打ちや検討過程を docs/design/ にドキュメントとして残す。
ADR(決定記録)の前段階として、アイデアの探索・比較・整理を行うためのドキュメント。
ADR との違い
| Design Doc | ADR | |
| 目的 | 設計の探索・壁打ち・検討過程の記録 | 最終的な設計判断の記録 |
| ステータス | ドラフト → 検討中 → ADR化(昇格時に元ファイルは削除) | 提案 → 決定済み/却下 |
| 内容 | 問題の深掘り・選択肢の比較・トレードオフ分析 | 決定事項・理由・却下した案 |
| 配置先 | docs/design/ 直下 | docs/adr/(日本語で書く) |
手順
- ユーザーと対話しながら設計の論点を明確にする
- 何を解決したいのか(問題・課題)
- どういう制約があるか
- どんな選択肢を考えているか
- 過去決定の確認(必須) —
docs/design/およびdocs/adr/の既存ドキュメントを確認し、重複・関連・衝突がないか調べる。この確認を設計着手前に必ず行う(測定上、記録の存在そのものより、この「取り出す手続き」の方が数倍効く — hane ADR-63)- 今回のテーマに関わる語彙で
docs/adr/のファイル名と本文を grep し、過去に同様のテーマが検討・決定されていないかを遡って探査する - とりわけ 却下された決定(
ステータス: 却下の ADR、または採用 ADR の「## 却下した案」節) を狙って探す。今回の案が過去に却下された案と同じなら、その却下理由を設計に反映する(同じ轍を踏まない/覆すなら根拠を新 ADR に残す) - 衝突する過去決定が見つかったら、ドキュメントの「背景・課題」または「制約・前提」に明記し、関連 ADR を相互リンクする
- 今回のテーマに関わる語彙で
- テスト観点ライブラリ(TPL)を確認する(ホスト repo が
docs/test-perspectives/を採用している場合のみ。ディレクトリが無ければ本ステップをスキップする)。2 段階で観点を取り込む:- 既存 TPL の一覧: ホスト repo が
tpl:related <topic>等のスクリプトを提供していればそれを使い、無ければdocs/test-perspectives/配下の TPL ファイルの frontmatter(topic/scope.packages/applicable_to)を grep して、今回の設計テーマにマッチする TPL を拾う。見つかったものはドキュメントの## Related TPLs節に列挙する(docs/test-perspectives/へのリンク付き) - 未 TPL 化の原則のスキャン: 同じ topic の
docs/concepts*等の原則ファイルと関連 ADR を読み、まだ TPL になっていない原則で今回の設計が違反しうるものがないか確認する。あれば 3-Yes ルール(横展開しうる / 構造的に再発しうる / 既存 TPL 未掲載)に照らし、満たすなら 同じ PR で proactive TPL を起こす(手順 5 で worktree を作ってから、その中で tpl-tools plugin の/tpl-tools:test-perspectiveを呼び、discovered_fromの先頭に DesignDoc の Issue をissue:として書き、続けてroot_cause_fileまたはroot_cause_adrを設定する。plugin が無ければ、ユーザーに/plugin install tpl-tools@kompiro-haneでの導入を頼み、入ってから呼ぶ。install が plugin を見つけられなければ、先に/plugin marketplace update kompiro-haneを頼む。ユーザーが今回は入れないと決めたら TPL は起こさず、起こすはずだった観点(原則・今回の設計が違反しうる点・3-Yes の判定)を## Related TPLs節に「未 TPL 化」として書き残す)。同じ PR で起こすのが最も摩擦が少ない。起こした proactive TPL は## Related TPLs節にも記載し、相互リンクする
- 既存 TPL の一覧: ホスト repo が
- 壁打ちの内容を整理してドキュメント化する
- host repo の
docs/design/にTEMPLATE.mdが無ければ、この skill のTEMPLATE.mdをdocs/design/TEMPLATE.mdとしてコピーする ことをユーザーに提案し、同じ PR に含める。すでにdocs/design/TEMPLATE.mdがある repo はそちらの雛形に従う
- host repo の
- ブランチ・worktree を作成してからファイルを作成し、コミットする
- ブランチ名の例:
docs/design-<kebab-case-title> git worktree add .claude/worktrees/<branch> <branch>- worktree 内でファイルを作成し、コミットする(push・PR 作成は後続のステップ 7 で行う)
- ブランチ名の例:
- 「未解決の問い」セクションに項目がある場合は、ユーザーにレビューを依頼する前に一緒に解消する
- 未解決の問いを1つずつユーザーに提示し、意見や考えを引き出す
- 回答が得られた問いはドキュメントの該当箇所(「現時点の方針」など)に反映してコミットする
- 全ての問いが解消されたら「未解決の問い」セクションを削除(または空にする)してコミットする
- 解消できない問いが残る場合はその旨をドキュメントに明記した上で次のステップへ進む
- Design Doc を作成・コミットしたら、続けて PR を作成する
shipスキルを呼び出して push → PR 作成まで進める(CI 確認・クリーンアップもshipに従う)。shipを採用していない repo ではgh pr createで直接作成する- PR タイトル例:
docs(design): <title> - PR 本文には背景・課題、検討した選択肢の要約、関連 Issue(あれば
Closes #<N>ではなく参照に留める。Design Doc は探索段階のため)を記載する - PR を作成したら、ファイル冒頭の
**PR**: #<番号>メタ欄に PR 番号を反映してコミットする
- ユーザーにレビューを依頼する(作成した PR 上で)
- PR がマージされたら、紐付いている Issue がある場合はラベルを更新する(
status: *ラベル運用を採用している repo のみ):gh issue edit <N> --remove-label "status: designing" --add-label "status: designed"status: designedは「設計完了・実装着手可能」を意味する。 実装を開始する際(/start-devなど)にstatus: implementingに更新すること。 ラベル運用がない repo では本ステップをスキップする。 - 設計が固まった場合は、ADR化を提案する(
docs/adr/を採用する repo のみ)。ADR化するときは、Design Doc の内容を ADR に集約したうえで 同じ PR でdocs/design/の元ファイルを削除する(ステータスを「決定済み」に更新してリンクだけ残す運用はしない)。ADR の雛形はこの skill ディレクトリのADR-TEMPLATE.mdを使う。ADR は日本語で書く(host repo の.claude/rules/等にルールがあればそれに従う)。実装を伴う場合の昇格は通常/start-devのクリーンアップ手順で行う
ファイル形式
Design Doc の雛形はこの skill ディレクトリの TEMPLATE.md を使う。
TEMPLATE.md をコピーして冒頭の HTML コメントを削除し、各節を埋める。
節構成は 背景・課題 / 制約・前提 / 検討した選択肢 / 比較 / Related TPLs(任意)/
現時点の方針 / 未解決の問い(任意)。## Related TPLs 節は host repo が
docs/test-perspectives/ を採用している場合のみ残す。
壁打ちの進め方ガイドライン
- 探索的に: 最初から結論を出そうとせず、まず選択肢を広げる
- トレードオフ重視: 各案のメリット・デメリットを明示する
- 具体例で検証: 抽象的な議論に留まらず、具体的なコード例やユースケースで検証する
- 制約を明確に: 「なぜその案がダメか」の理由となる制約を明示する
- 段階的に深掘り: 一度に全てを決めず、大きな方針から詳細へと進める
- TPL を取り込む(
docs/test-perspectives/採用 repo のみ): 既存 TPL を引用したら ID を## Related TPLs節に書く。原則違反を予見して proactive TPL を起こした場合は、その TPL と本 DesignDoc を相互リンクする
命名規則
- ファイル名:
docs/design/kebab-case-title.md - ADR / AT と異なりファイル名に番号は付けない(1 issue ≠ 1 design doc になりがちで、探索フェーズではトピック名識別の方が運用しやすい)
- 紐付く GitHub Issue / PR があれば、ファイル冒頭の
**Issue**: #<番号>/**PR**: #<番号>メタ欄で対応関係を示す - タイトルは検討テーマを端的に表す
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

