Skip to content
Agentmart
Submit a tool

design-doc-yaml

設計内容をYAMLに集約し診断レビューを経て肥大化しないMarkdown設計書を作成 (user)

Skill by rysk-tanaka

IndexedMIT
Write a review

Chalk Labs

Need help deploying design-doc-yaml?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rysk-tanaka-design-doc-yaml

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

設計内容をYAMLに集約し診断レビューを経て肥大化しないMarkdown設計書を作成 (user)

Use cases: documents, design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/design-doc-yaml

Tools it pre-approves 4

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(uv
  • run
  • *)
  • Write

What's inside

Skill name
design-doc-yaml
Description
設計内容をYAMLに集約し診断レビューを経て肥大化しないMarkdown設計書を作成 (user)
License
MIT
Allowed tools
Bash(uv, run, *), Write
Instructions
60 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves some shell commands

Files (4)

  • SKILL.md
  • clean-markdown-rules.md
  • diagnose.py
  • yaml-schema.md

SKILL.md (first lines)

# 設計書作成(YAMLファースト)

設計書を「構造の作成(安価でレビュー可能なYAML)」と「成果物の生成(意図的に簡潔なMarkdown)」に分けて作る。AIが大きく読みにくいMarkdownを一気に吐く失敗を避けるのが狙い。

YAMLは**使い捨て・ローカル限定の足場**で、チームには見せない。成果物は最終Markdownのみ。

## 適用範囲

設計書・spec・設計ドキュメント・アーキテクチャノート・proposal・ADR の作成要求。`$ARGUMENTS` に題材が渡る(省略可)。数文で済むメモには大げさなので、その場合は素直に書く。構成要素・関係・リスク・未解決事項が複数あり、散文化の前にレビューする価値があるときに効く。

## フェーズ1: 設計をYAMLに起こす

`${CLAUDE_SKILL_DIR}/yaml-schema.md` を読み、設計をローカルのYAML足場に書く(例: `./design.yaml`)。

- 1 concept = 1エントリ。原子的に分解し、`summary` を散文で水増ししない。
- トレードオフの根拠は `rationale: |` ブロックに置く(診断は無視、清書が読む)。
- YAMLはユーザーの設計意図から**起こす**もので、ソース文書から無批判に抽出しない(抽出は誤読を固定し、以降の全ビューが継承する)。

この `./design.yaml` は最終Markdownができたら捨ててよいスクラッチである旨をユーザーに伝える。

## フェーズ2: 診断して反復(セルフレビュー)

同梱の診断スクリプトでYAMLをMarkdown+Mermaidのレビュー補助に変換する。

```bash
uv run ${CLAUDE_SKILL_DIR}/diagnose.py ./design.yaml -o ./design-review.md
```

Mermaid対応プレビュー(Obsidian / Zed)で読める。安価かつ決定的(モデルトークン消費なし)で、以下を炙り出す。

- 関係グラフ(全体形を一目で)
- id未設定concept(参照も検出もできない)
- 孤立concept(繋ぎ忘れ)
- 参照切れrelation(存在しないidを指す)
- 重複concept id(後勝ちで無言マージされる)
- `disposition` の無いrisk(ノートしたが未対応)
- ブロッキングな open question
- importance順のconcept一覧(低重要度のノイズが下に沈む → 肥大化を発見)

検出内容をユーザーに示し、**YAML側を**直す(レポートは再生成されるので直さない)。指摘は2種類に分かれる。

- **修正必須の構造欠陥**(id未設定concept・孤立concept・参照切れrelation・重複concept id・disposition無しrisk)はYAMLを直して消す。
- **blocking な open question** は消すべき欠陥ではなく、設計を止めうる未解決事項を意図的に前景化したもの。解決するか、残すと決めてユーザーに明示する。

構造欠陥が無くなるまで再実行する。`--strict` は blocking question も含めて何か残る限り非ゼロ終了するので、blocking question を意図的に残す間は通らない。ゲートに使うなら「構造欠陥0 かつ blocking question を解消済み」を合格と定義すること(「全指摘0」を目指して正当な blocking question を消さない)。

このフェーズがレビューするのは**骨格**であり、最終散文ではない。

## フェーズ3: Markdownへ清書(成果物)

`${CLAUDE_SKILL_DIR}/clean-markdown-rules.md` に従ってYAMLを最終Markdownに清書する。可読性・肥大化抑制の規約はそこに集約してあり、YAMLにどれだけ詳細が溜まっても成果物は締まる。要点は、importanceが順序と詳しさを駆動し、synthesisが先頭と前面を決め、棄却案や審議過程は成果物を膨らませない、ということ。

清書後は最終Markdownを通し読みする。清書の散文は診断が検査していない新規出力なので、人間の一読を前提に出す。診断は通し読みを減らすが、なくしはしない。

## 範囲の注意

- 既定は単一成果物・単一読み手なので synthesis はYAML本体に畳む。同じ設計から読み手別に複数の清書を出したくなったら、そのとき synthesis を読み手別の別ファイルに切り出す(core/view分割の再来)。それ以前には切り出さない。
- YAMLや診断レポートを成果物に貼り付けない。足場は捨て、Markdownが単独で成り立つようにする。

From rysk-tanaka/skills, MIT.

More from rysk-tanaka/skills

Signals

Stars
0
Forks
0
Open issues
1
Last commit (this folder)
Jun 22, 2026 (4 months ago)
Last release
Oct 14, 2026 (16 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from rysk-tanaka

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get design-doc-yaml running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying design-doc-yaml?

CallGet help
Cite this page

design-doc-yaml skill. Agent Mart. https://agentmart.dev/skills/rysk-tanaka-design-doc-yaml (last updated 2026-10-24)