From apd
Initializes APD in this project. Copies framework rules to `.claude/rules/apd/` and creates the `docs/apd/` document directory. Use when the user asks to initialize APD, set up APD, or run /apd:init ("APD を初期化", "APD をセットアップ").
How this skill is triggered — by the user, by Claude, or both
Slash command
/apd:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
APD フレームワークをプロジェクトに初期化する。ルールファイルのコピーとドキュメントディレクトリの作成を行う。
APD フレームワークをプロジェクトに初期化する。ルールファイルのコピーとドキュメントディレクトリの作成を行う。
以下を確認する:
.claude/rules/apd/ が既に存在するかdocs/apd/ が既に存在するかgh auth status が成功するか(GitHub issue を一次 backlog として使うか判定)既に APD が初期化されている場合は「ルールファイルを最新版に更新しますか?」とユーザーに確認する。
プラグインに同梱されているルールファイルをプロジェクトにコピーする:
mkdir -p .claude/rules/apd
cp "${CLAUDE_PLUGIN_ROOT}/rules/apd/"*.md .claude/rules/apd/
フラット構造で docs/apd/ を作成する。サブディレクトリは作らない(必要になった時点で作る):
mkdir -p docs/apd
gh auth status が成功した環境では GitHub issue を一次 backlog として使う方針なので docs/apd/todo.md は作らない。gh が使えない環境ではフォールバックとして todo.md を作成する:
if ! gh auth status >/dev/null 2>&1; then
if [ ! -f docs/apd/todo.md ]; then
cp "${CLAUDE_PLUGIN_ROOT}/templates/todo.md" docs/apd/todo.md
fi
fi
以下を出力する:
## APD 初期化完了
コピーされたもの:
- .claude/rules/apd/ — APD フレームワーク方針(Claude Code が自動ロード)
作成されたもの:
- docs/apd/ — APD ドキュメントの置き場所(フラット構造)
{gh が使えない場合: }
- docs/apd/todo.md — ToDo backlog(フォールバック。gh が使える場合は GitHub issue を使う)
backlog の運用:
{gh 検出時: }
- GitHub issue を一次 backlog として使う
- 起票時に apd:todo / apd:scope-out などのラベルを付けて分類する
{gh 不在時: }
- docs/apd/todo.md に append-only で追記する
次のステップ:
/apd:design で Design 文書を作成(既にあれば /apd:spec へ)
.claude/rules/apd/ にコピーされ、Claude Code が自動でコンテキストにロードするdocs/apd/ はフラット構造。サブディレクトリは「必要になったら作る」原則Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub koyakimu/autopilot-development-boilerplate --plugin apd