From prompt-engineering
Checks for broken file references in skills, agents, rules, and commands. Use when validating internal links after file reorganization or migration.
npx claudepluginhub farmanlab/ai_agent_orchestra --plugin prompt-engineeringThis skill uses the workspace's default tool permissions.
`.agents/` 配下のファイル参照が有効かどうかを検証するスキルです。
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
.agents/ 配下のファイル参照が有効かどうかを検証するスキルです。
参照チェック時にこのチェックリストをコピー:
Reference Check:
- [ ] Step 1: 対象パスを確認
- [ ] Step 2: スクリプトを実行
- [ ] Step 3: 結果を確認
- [ ] Step 4: 無効な参照を修正
検証対象のパスを決定。省略時は .agents/ 全体を検証。
# 対象パスの例
.agents/ # 全体
.agents/skills/ # skills のみ
.agents/skills/ensuring-prompt-quality/ # 特定スキル
bash {path}/scripts/check-references.sh [target_dir]
引数:
target_dir (省略可): 検証対象のパス(デフォルト: .agents)スクリプトは以下を出力:
| 項目 | 説明 |
|---|---|
| Files checked | 検証したMarkdownファイル数 |
| References found | 検出した参照リンク数 |
| Valid | 有効な参照数 |
| Invalid | 無効な参照数 |
正常時: All references are valid と表示。
エラー時: 無効な参照の一覧を表示:
FILE:LINE | REFERENCE | RESOLVED PATH
無効な参照が見つかった場合:
If invalid references are found, fix them and re-run Step 2 to verify.
| パターン | 例 |
|---|---|
| Markdown リンク | [text](path/to/file.md) |
| 参照リンク | [text]: path/to/file.md |
| インラインパス | `path/to/file.md` |
| インポート構文 | @path/to/file.md |
抽出対象:
./, ../, references/ など)/Users/...)除外対象:
http://, https://)#section)skill-name, path/to, your-, my-, example)以下のディレクトリ内の Markdown ファイルを検証:
{target_dir}/skills/**/*.md
{target_dir}/agents/**/*.md
{target_dir}/rules/**/*.md
{target_dir}/commands/**/*.md