Repository navigation
docs(skills): スキルの一覧を追加し、文書を必要なときだけ読み込む構成にする - #24
Merged
Merged
Conversation
- スキルの一覧 docs/skills.md を追加し、README・AGENTS.md・CONTRIBUTING・ai-agents.md からリンク(重複していた表は一覧へのリンクに置き換え) - 大きいスキルを本体(手順の骨組み)と段階ごとの文書に分割: design-principles(mode-1〜3・feedback)、ds-factory(hearing・finish)、ds-slides(authoring・verify)、ds-storybook-preview(pr-body・setup) - design-init / adjust / review は design-principles のモードの文書を指すだけにし、内容の重複をなくした - ds-build-ui は DESIGN.md の全文ではなく必要な節だけを読む手順に変更 - AGENTS.md に「読み込みの方針」を追加 - scripts/check-skills.ts(name・description・一覧の網羅・本体 2,000 字以内・リンク切れ・参照されない文書)を make check に追加 - ADR-0018、改善ログ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Yb44feYKDNj2ukQeT2j8Ks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更内容
スキルの一覧を追加し、エージェント向けの文書を 必要なときだけ読み込む 構成にしました(ADR-0018)。
スキルの一覧
docs/skills.mdを追加しました。スキルごとに、使う場面・主な成果物・段階ごとに読む文書と、呼び出し方・スキルの足し方をまとめていますds-slidesを足したとき片方だけが更新されていた問題の再発防止)必要なときだけ読み込む仕組み
design-principles: 4,565 → 1,901 字(mode-1-init.md・mode-2-adjust.md・mode-3-review.md・feedback.md)ds-factory: 3,758 → 1,269 字(hearing.md・finish.md)ds-slides: 3,550 → 1,395 字(authoring.md・verify.md)ds-storybook-preview: 3,126 → 1,305 字(pr-body.md・setup.md)design-init/design-adjust/design-reviewは、design-principlesのモードの文書を指すだけにして重複をなくしましたds-build-uiは、33KB の DESIGN.md の全文ではなく、必要な節だけを読む手順にしました再発防止
scripts/check-skills.tsをmake checkに追加しました。name とディレクトリ名の一致、description、一覧への掲載、本体 2,000 字以内、リンク切れ、どこからも参照されない文書を検査します。わざと壊したスキルで 5 種類とも検出できること、ファクトリーで生成したリポジトリでも通ること(ds-factory は一覧ごと除かれる)を確認しました。内容の変更はなく、文書の置き場所を分けただけです(
ds-storybook-previewの jq の例だけ、ADR-0016 後のディレクトリ名/Button/に合わせました)。Storybook プレビュー
なし(文書とスクリプトのみ)
完了の定義
make checkとmake testが通る(作業環境から npm に届かないため CI で確認。node scripts/check-skills.tsとnode scripts/slides/check.tsは手元で通過)docs/decisions/に ADR を足した(0018)改善ループ
docs/improvement/log.mdに 1 行追記したscripts/check-skills.ts(make check)Generated by Claude Code