[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C5GJ3MCK95N7CM2QM5YKXP":3,"skill-same:01M6C5GJ3MCK95N7CM2QM5YKXP":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":54,"linkOnly":55,"markdownContent":56,"markdownBody":57,"frontMatter":58,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":17,"ownerHtmlUrl":68,"ownerBlogUrl":17,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6C5GJ3MCK95N7CM2QM5YKXP","document-linking","文档双向链接与ID管理","Unified ID system for PRDs, ADRs, PRPs, and GitHub issues with bidirectional links. Use when linking docs, finding orphans, auto-assigning IDs, or validating cross-doc references.","为 PRD、ADR、PRP 和 GitHub issues 提供统一 ID 体系与双向链接。适用于关联文档、查找孤立文档、自动分配 ID，或校验跨文档引用。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fblueprint-plugin\u002Fskills\u002Fdocument-linking\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TK1MPB82068236GSXDE","文档处理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],"document","linking","document linking","grep","for","links","2026","references","when","false","github issues","docs","doc","edit","write","read","github","Bash","use","auto","issues","system","ids","2026-11-10 10:12:30",false,"---\ncreated: 2026-01-20\nmodified: 2026-11-12\nreviewed: 2026-04-25\nname: document-linking\ndescription: Unified ID system for PRDs, ADRs, PRPs, and GitHub issues with bidirectional links. Use when linking docs, finding orphans, auto-assigning IDs, or validating cross-doc references.\nuser-invocable: false\nallowed-tools: Read, Write, Edit, Grep, Glob, Bash, TodoWrite\n---\n\n# Document Linking\n\nProvides a unified ID system connecting PRDs, ADRs, PRPs, work-orders, GitHub issues, commits, and PRs. IDs are project-scoped, auto-generated on first access, and maintained bidirectionally.\n\n## When to Use This Skill\n\n| Use this skill when... | Use blueprint-sync-ids instead when... |\n|---|---|\n| You need bidirectional links between PRD\u002FADR\u002FPRP\u002Fissue at runtime | You're doing a one-shot bulk ID assignment for docs missing IDs |\n| You're auto-assigning an ID on first document access | You want a `--dry-run` preview of bulk ID changes |\n| You want to validate broken cross-document references | Use blueprint-adr-validate instead for ADR-only relationship checks |\n| You need to find orphan docs\u002Fissues across the project | Use document-detection instead when capturing a brand-new doc |\n\n## ID Format\n\n| Document Type | Format | Example | Notes |\n|---------------|--------|---------|-------|\n| PRD | `PRD-NNN` | `PRD-001` | 3-digit, zero-padded |\n| ADR | `ADR-NNNN` | `ADR-0003` | 4-digit (matches existing convention) |\n| PRP | `PRP-NNN` | `PRP-007` | 3-digit, zero-padded |\n| Work-Order | `WO-NNN` | `WO-042` | 3-digit, matches work-order number |\n\n## Frontmatter Schema\n\nAll blueprint documents should include these fields:\n\n```yaml\n---\nid: PRD-001                    # Unique identifier (auto-generated if missing)\nrelates-to:                    # Cross-document references (optional)\n  - ADR-0003\n  - PRP-002\ngithub-issues:                 # Linked GitHub issues (optional)\n  - 42\n  - 87\nimplements:                    # For PRPs: source PRD (optional)\n  - PRD-001\n# ... existing fields (created, modified, status, etc.)\n---\n```\n\n## ID Registry (manifest.json)\n\nIDs are tracked in `docs\u002Fblueprint\u002Fmanifest.json`:\n\n```json\n{\n  \"id_registry\": {\n    \"last_prd\": 3,\n    \"last_prp\": 7,\n    \"documents\": {\n      \"PRD-001\": {\n        \"path\": \"docs\u002Fprds\u002Fuser-authentication.md\",\n        \"github_issues\": [42, 87],\n        \"title\": \"User Authentication\"\n      },\n      \"ADR-0003\": {\n        \"path\": \"docs\u002Fadrs\u002F0003-database-choice.md\",\n        \"github_issues\": [],\n        \"title\": \"Database Choice\"\n      },\n      \"PRP-002\": {\n        \"path\": \"docs\u002Fprps\u002Foauth-integration.md\",\n        \"github_issues\": [45],\n        \"implements\": [\"PRD-001\"],\n        \"title\": \"OAuth Integration\"\n      }\n    },\n    \"github_issues\": {\n      \"42\": [\"PRD-001\", \"PRP-002\"],\n      \"45\": [\"PRP-002\"],\n      \"87\": [\"PRD-001\"]\n    }\n  }\n}\n```\n\n## Auto-ID Generation\n\n### When Triggered\n\nIDs are automatically generated when:\n\n1. **Creating documents** - `\u002Fblueprint:derive-plans`, `\u002Fblueprint:prp-create`\n2. **Accessing documents without IDs** - Any command reading PRD\u002FADR\u002FPRP files\n3. **Batch sync** - `\u002Fblueprint:sync-ids` assigns IDs to all documents\n\n### Generation Algorithm\n\nPRD, PRP and TRP ids come from one helper: max(`id_registry.last_\u003Ckind>`,\nhighest id of that kind on disk) + 1. The counter alone can hand out an id a\npulled or merged document already carries, because such a document may reach\nneither the write-time hook nor the session-start sweep first.\n\n```bash\n# Next PRD \u002F PRP \u002F TRP id, e.g. PRD-004\nbash \"${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fblueprint-next-id.sh\" --kind PRD\nbash \"${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fblueprint-next-id.sh\" --kind PRP\nbash \"${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fblueprint-next-id.sh\" --kind TRP\n\n# ADR IDs use existing 4-digit number from filename\nget_adr_id() {\n  local filename=\"$1\"\n  local num=$(basename \"$filename\" | grep -oE '^[0-9]{4}')\n  printf \"ADR-%s\" \"$num\"\n}\n```\n\n### Auto-Assignment on Access\n\nWhen reading a document without an ID:\n\n1. **Check frontmatter** for existing `id` field\n2. **If missing**: Generate next available ID\n3. **Update document** frontmatter with new ID\n4. **Update manifest** ID registry\n5. **Continue** with original operation\n\n```bash\n# Check if document has ID\nensure_document_id() {\n  local file=\"$1\"\n  local type=\"$2\"  # PRD, ADR, PRP\n\n  # Extract existing ID from frontmatter\n  local existing_id=$(head -50 \"$file\" | grep -m1 \"^id:\" | sed 's\u002F^id:[[:space:]]*\u002F\u002F')\n\n  if [ -z \"$existing_id\" ]; then\n    # Generate and assign new ID\n    case \"$type\" in\n      PRD|PRP) new_id=$(bash \"${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fblueprint-next-id.sh\" --kind \"$type\") ;;\n      ADR) new_id=$(get_adr_id \"$file\") ;;\n    esac\n\n    # Insert ID into frontmatter (after first ---)\n    # Update manifest registry\n    # Return new ID\n  fi\n\n  echo \"${existing_id:-$new_id}\"\n}\n```\n\n## GitHub Integration\n\n### Issue Title Format\n\nWhen creating GitHub issues from documents:\n\n```\n[PRD-001] User authentication feature\n[PRP-002] Implement OAuth integration\n[WO-042] Add JWT token generation\n```\n\n### Issue Body Format\n\n```markdown\n## Related Documents\n- PRD-001: User Authentication\n- ADR-0003: Database Choice\n\n## Traceability\n- **Implements**: PRD-001\n- **Related ADRs**: ADR-0003, ADR-0005\n- **Work Orders**: WO-042, WO-043\n\n---\n*Auto-linked by Blueprint. Update document frontmatter to modify links.*\n```\n\n### Commit Message Format\n\n```\nfeat(PRD-001): add login form component\n\nImplements requirement FR-003 from PRD-001.\nRelated: ADR-0003 (session storage decision)\n```\n\n### PR Title\u002FBody Format\n\n**Title**: `[PRD-001] Implement user authentication`\n\n**Body**:\n```markdown\n## Summary\nImplements user authentication as specified in PRD-001.\n\n## Related Documents\n- PRD-001: User Authentication\n- ADR-0003: Database Choice\n- PRP-002: OAuth Integration\n\n## Closes\n- Fixes #42\n- Fixes #87\n```\n\n## Bidirectional Link Maintenance\n\n### When Creating Links\n\n1. **Document → GitHub Issue**\n   - Add issue number to document's `github-issues` array\n   - Add document ID to issue body (comment or edit)\n   - Update manifest registry\n\n2. **Document → Document**\n   - Add target ID to source's `relates-to` array\n   - Add source ID to target's `relates-to` array (bidirectional)\n   - Update manifest registry\n\n3. **PRP → PRD (implements)**\n   - Add PRD ID to PRP's `implements` field\n   - Add PRP ID to PRD's `implemented-by` tracking in manifest\n\n### Link Validation\n\nCheck for broken links during `\u002Fblueprint:status`:\n\n```bash\n# Validate all links in manifest\nvalidate_links() {\n  local manifest=\"docs\u002Fblueprint\u002Fmanifest.json\"\n\n  # Check each document exists\n  jq -r '.id_registry.documents | to_entries[] | \"\\(.key) \\(.value.path)\"' \"$manifest\" | \\\n  while read id path; do\n    if [ ! -f \"$path\" ]; then\n      echo \"BROKEN: $id -> $path (file missing)\"\n    fi\n  done\n\n  # Check GitHub issues exist (if gh available)\n  if command -v gh &>\u002Fdev\u002Fnull; then\n    jq -r '.id_registry.github_issues | keys[]' \"$manifest\" | \\\n    while read issue; do\n      if ! gh issue view \"$issue\" &>\u002Fdev\u002Fnull; then\n        echo \"BROKEN: GitHub issue #$issue (not found or closed)\"\n      fi\n    done\n  fi\n}\n```\n\n## Traceability Queries\n\n`get_related` (all documents linked to an ID) and `get_implementation_chain` (PRD → PRPs → work-orders → GitHub issues): [references\u002Ftraceability-queries.md](references\u002Ftraceability-queries.md).\n\n## Orphan Detection\n\n`find_orphan_documents` (documents without GitHub issues) and `find_orphan_issues` (issues with no registry entry and no ID in the title): [references\u002Forphan-and-duplicate-detection.md](references\u002Forphan-and-duplicate-detection.md).\n\n## Duplicate Detection\n\nBefore creating a GitHub issue, run `check_for_duplicates` from [references\u002Forphan-and-duplicate-detection.md](references\u002Forphan-and-duplicate-detection.md) against registry titles and open issues.\n\n## Integration Points\n\n### \u002Fblueprint:derive-plans (PRDs)\n\nAfter creating PRD:\n1. Generate `PRD-NNN` ID\n2. Add to frontmatter\n3. Update manifest registry\n4. Prompt: \"Create GitHub issue for tracking?\"\n\n### \u002Fblueprint:derive-plans (ADRs)\n\nAfter creating ADR:\n1. Extract `ADR-NNNN` from filename\n2. Add to frontmatter (if missing)\n3. Update manifest registry\n4. Link to related PRDs if applicable\n\n### \u002Fblueprint:prp-create\n\nAfter creating PRP:\n1. Generate `PRP-NNN` ID\n2. Prompt: \"Which PRD does this implement?\"\n3. Add `implements` field\n4. Update manifest registry with bidirectional link\n\n### \u002Fblueprint:work-order\n\nAfter creating work-order:\n1. Assign `WO-NNN` ID\n2. Auto-link to source PRP\u002FPRD\n3. Create GitHub issue with ID in title\n4. Update manifest registry\n\n### \u002Fblueprint:status\n\nShow traceability section:\n```\nTraceability:\n- Documents: 15 total (3 PRDs, 5 ADRs, 7 PRPs)\n- Linked to GitHub: 12\u002F15 (80%)\n- Orphan documents: 3 (PRD-002, ADR-0004, PRP-006)\n- Orphan issues: 2 (#23, #45)\n- Broken links: 0\n```\n\n## Quick Reference\n\n| Operation | Command |\n|-----------|---------|\n| Assign IDs to all docs | `\u002Fblueprint:sync-ids` |\n| Link doc to issue | Update `github-issues` in frontmatter |\n| Link doc to doc | Update `relates-to` in frontmatter |\n| View traceability | `\u002Fblueprint:status` |\n| Find orphans | `\u002Fblueprint:status` (included) |\n\n| GitHub Format | Example |\n|---------------|---------|\n| Issue title | `[PRD-001] Feature name` |\n| Commit scope | `feat(PRD-001): description` |\n| PR reference | `Implements PRD-001, Fixes #42` |\n","# Document Linking\n\nProvides a unified ID system connecting PRDs, ADRs, PRPs, work-orders, GitHub issues, commits, and PRs. IDs are project-scoped, auto-generated on first access, and maintained bidirectionally.\n\n## When to Use This Skill\n\n| Use this skill when... | Use blueprint-sync-ids instead when... |\n|---|---|\n| You need bidirectional links between PRD\u002FADR\u002FPRP\u002Fissue at runtime | You're doing a one-shot bulk ID assignment for docs missing IDs |\n| You're auto-assigning an ID on first document access | You want a `--dry-run` preview of bulk ID changes |\n| You want to validate broken cross-document references | Use blueprint-adr-validate instead for ADR-only relationship checks |\n| You need to find orphan docs\u002Fissues across the project | Use document-detection instead when capturing a brand-new doc |\n\n## ID Format\n\n| Document Type | Format | Example | Notes |\n|---------------|--------|---------|-------|\n| PRD | `PRD-NNN` | `PRD-001` | 3-digit, zero-padded |\n| ADR | `ADR-NNNN` | `ADR-0003` | 4-digit (matches existing convention) |\n| PRP | `PRP-NNN` | `PRP-007` | 3-digit, zero-padded |\n| Work-Order | `WO-NNN` | `WO-042` | 3-digit, matches work-order number |\n\n## Frontmatter Schema\n\nAll blueprint documents should include these fields:\n\n```yaml\n---\nid: PRD-001                    # Unique identifier (auto-generated if missing)\nrelates-to:                    # Cross-document references (optional)\n  - ADR-0003\n  - PRP-002\ngithub-issues:                 # Linked GitHub issues (optional)\n  - 42\n  - 87\nimplements:                    # For PRPs: source PRD (optional)\n  - PRD-001\n# ... existing fields (created, modified, status, etc.)\n---\n```\n\n## ID Registry (manifest.json)\n\nIDs are tracked in `docs\u002Fblueprint\u002Fmanifest.json`:\n\n```json\n{\n  \"id_registry\": {\n    \"last_prd\": 3,\n    \"last_prp\": 7,\n    \"documents\": {\n      \"PRD-001\": {\n        \"path\": \"docs\u002Fprds\u002Fuser-authentication.md\",\n        \"github_issues\": [42, 87],\n        \"title\": \"User Authentication\"\n      },\n      \"ADR-0003\": {\n        \"path\": \"docs\u002Fadrs\u002F0003-database-choice.md\",\n        \"github_issues\": [],\n        \"title\": \"Database Choice\"\n      },\n      \"PRP-002\": {\n        \"path\": \"docs\u002Fprps\u002Foauth-integration.md\",\n        \"github_issues\": [45],\n        \"implements\": [\"PRD-001\"],\n        \"title\": \"OAuth Integration\"\n      }\n    },\n    \"github_issues\": {\n      \"42\": [\"PRD-001\", \"PRP-002\"],\n      \"45\": [\"PRP-002\"],\n      \"87\": [\"PRD-001\"]\n    }\n  }\n}\n```\n\n## Auto-ID Generation\n\n### When Triggered\n\nIDs are automatically generated when:\n\n1. **Creating documents** - `\u002Fblueprint:derive-plans`, `\u002Fblueprint:prp-create`\n2. **Accessing documents without IDs** - Any command reading PRD\u002FADR\u002FPRP files\n3. **Batch sync** - `\u002Fblueprint:sync-ids` assigns IDs to all documents\n\n### Generation Algorithm\n\nPRD, PRP and TRP ids come from one helper: max(`id_registry.last_\u003Ckind>`,\nhighest id of that kind on disk) + 1. The counter alone can hand out an id a\npulled or merged document already carries, because such a document may reach\nneither the write-time hook nor the session-start sweep first.\n\n```bash\n# Next PRD \u002F PRP \u002F TRP id, e.g. PRD-004\nbash \"${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fblueprint-next-id.sh\" --kind PRD\nbash \"${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fblueprint-next-id.sh\" --kind PRP\nbash \"${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fblueprint-next-id.sh\" --kind TRP\n\n# ADR IDs use existing 4-digit number from filename\nget_adr_id() {\n  local filename=\"$1\"\n  local num=$(basename \"$filename\" | grep -oE '^[0-9]{4}')\n  printf \"ADR-%s\" \"$num\"\n}\n```\n\n### Auto-Assignment on Access\n\nWhen reading a document without an ID:\n\n1. **Check frontmatter** for existing `id` field\n2. **If missing**: Generate next available ID\n3. **Update document** frontmatter with new ID\n4. **Update manifest** ID registry\n5. **Continue** with original operation\n\n```bash\n# Check if document has ID\nensure_document_id() {\n  local file=\"$1\"\n  local type=\"$2\"  # PRD, ADR, PRP\n\n  # Extract existing ID from frontmatter\n  local existing_id=$(head -50 \"$file\" | grep -m1 \"^id:\" | sed 's\u002F^id:[[:space:]]*\u002F\u002F')\n\n  if [ -z \"$existing_id\" ]; then\n    # Generate and assign new ID\n    case \"$type\" in\n      PRD|PRP) new_id=$(bash \"${CLAUDE_SKILL_DIR}\u002F..\u002F..\u002Fscripts\u002Fblueprint-next-id.sh\" --kind \"$type\") ;;\n      ADR) new_id=$(get_adr_id \"$file\") ;;\n    esac\n\n    # Insert ID into frontmatter (after first ---)\n    # Update manifest registry\n    # Return new ID\n  fi\n\n  echo \"${existing_id:-$new_id}\"\n}\n```\n\n## GitHub Integration\n\n### Issue Title Format\n\nWhen creating GitHub issues from documents:\n\n```\n[PRD-001] User authentication feature\n[PRP-002] Implement OAuth integration\n[WO-042] Add JWT token generation\n```\n\n### Issue Body Format\n\n```markdown\n## Related Documents\n- PRD-001: User Authentication\n- ADR-0003: Database Choice\n\n## Traceability\n- **Implements**: PRD-001\n- **Related ADRs**: ADR-0003, ADR-0005\n- **Work Orders**: WO-042, WO-043\n\n---\n*Auto-linked by Blueprint. Update document frontmatter to modify links.*\n```\n\n### Commit Message Format\n\n```\nfeat(PRD-001): add login form component\n\nImplements requirement FR-003 from PRD-001.\nRelated: ADR-0003 (session storage decision)\n```\n\n### PR Title\u002FBody Format\n\n**Title**: `[PRD-001] Implement user authentication`\n\n**Body**:\n```markdown\n## Summary\nImplements user authentication as specified in PRD-001.\n\n## Related Documents\n- PRD-001: User Authentication\n- ADR-0003: Database Choice\n- PRP-002: OAuth Integration\n\n## Closes\n- Fixes #42\n- Fixes #87\n```\n\n## Bidirectional Link Maintenance\n\n### When Creating Links\n\n1. **Document → GitHub Issue**\n   - Add issue number to document's `github-issues` array\n   - Add document ID to issue body (comment or edit)\n   - Update manifest registry\n\n2. **Document → Document**\n   - Add target ID to source's `relates-to` array\n   - Add source ID to target's `relates-to` array (bidirectional)\n   - Update manifest registry\n\n3. **PRP → PRD (implements)**\n   - Add PRD ID to PRP's `implements` field\n   - Add PRP ID to PRD's `implemented-by` tracking in manifest\n\n### Link Validation\n\nCheck for broken links during `\u002Fblueprint:status`:\n\n```bash\n# Validate all links in manifest\nvalidate_links() {\n  local manifest=\"docs\u002Fblueprint\u002Fmanifest.json\"\n\n  # Check each document exists\n  jq -r '.id_registry.documents | to_entries[] | \"\\(.key) \\(.value.path)\"' \"$manifest\" | \\\n  while read id path; do\n    if [ ! -f \"$path\" ]; then\n      echo \"BROKEN: $id -> $path (file missing)\"\n    fi\n  done\n\n  # Check GitHub issues exist (if gh available)\n  if command -v gh &>\u002Fdev\u002Fnull; then\n    jq -r '.id_registry.github_issues | keys[]' \"$manifest\" | \\\n    while read issue; do\n      if ! gh issue view \"$issue\" &>\u002Fdev\u002Fnull; then\n        echo \"BROKEN: GitHub issue #$issue (not found or closed)\"\n      fi\n    done\n  fi\n}\n```\n\n## Traceability Queries\n\n`get_related` (all documents linked to an ID) and `get_implementation_chain` (PRD → PRPs → work-orders → GitHub issues): [references\u002Ftraceability-queries.md](references\u002Ftraceability-queries.md).\n\n## Orphan Detection\n\n`find_orphan_documents` (documents without GitHub issues) and `find_orphan_issues` (issues with no registry entry and no ID in the title): [references\u002Forphan-and-duplicate-detection.md](references\u002Forphan-and-duplicate-detection.md).\n\n## Duplicate Detection\n\nBefore creating a GitHub issue, run `check_for_duplicates` from [references\u002Forphan-and-duplicate-detection.md](references\u002Forphan-and-duplicate-detection.md) against registry titles and open issues.\n\n## Integration Points\n\n### \u002Fblueprint:derive-plans (PRDs)\n\nAfter creating PRD:\n1. Generate `PRD-NNN` ID\n2. Add to frontmatter\n3. Update manifest registry\n4. Prompt: \"Create GitHub issue for tracking?\"\n\n### \u002Fblueprint:derive-plans (ADRs)\n\nAfter creating ADR:\n1. Extract `ADR-NNNN` from filename\n2. Add to frontmatter (if missing)\n3. Update manifest registry\n4. Link to related PRDs if applicable\n\n### \u002Fblueprint:prp-create\n\nAfter creating PRP:\n1. Generate `PRP-NNN` ID\n2. Prompt: \"Which PRD does this implement?\"\n3. Add `implements` field\n4. Update manifest registry with bidirectional link\n\n### \u002Fblueprint:work-order\n\nAfter creating work-order:\n1. Assign `WO-NNN` ID\n2. Auto-link to source PRP\u002FPRD\n3. Create GitHub issue with ID in title\n4. Update manifest registry\n\n### \u002Fblueprint:status\n\nShow traceability section:\n```\nTraceability:\n- Documents: 15 total (3 PRDs, 5 ADRs, 7 PRPs)\n- Linked to GitHub: 12\u002F15 (80%)\n- Orphan documents: 3 (PRD-002, ADR-0004, PRP-006)\n- Orphan issues: 2 (#23, #45)\n- Broken links: 0\n```\n\n## Quick Reference\n\n| Operation | Command |\n|-----------|---------|\n| Assign IDs to all docs | `\u002Fblueprint:sync-ids` |\n| Link doc to issue | Update `github-issues` in frontmatter |\n| Link doc to doc | Update `relates-to` in frontmatter |\n| View traceability | `\u002Fblueprint:status` |\n| Find orphans | `\u002Fblueprint:status` (included) |\n\n| GitHub Format | Example |\n|---------------|---------|\n| Issue title | `[PRD-001] Feature name` |\n| Commit scope | `feat(PRD-001): description` |\n| PR reference | `Implements PRD-001, Fixes #42` |\n",{"name":5,"created":59,"modified":60,"reviewed":61,"description":7,"allowed-tools":62,"user-invocable":55},1768867200000,1794441600000,1777075200000,"Read, Write, Edit, Grep, Glob, Bash, TodoWrite","main","b47840019d190aa9afa1fd8d6d42ddd584a45641","blueprint-plugin\u002Fskills\u002Fdocument-linking",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add laurigates\u002Fclaude-plugins --skill document-linking",{"tool":77,"command":78},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill document-linking",{"tool":80,"command":81},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill document-linking","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fblueprint-plugin\u002Fskills\u002Fdocument-linking\u002FSKILL.md",true,[85,91],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Forphan-and-duplicate-detection.md","REFERENCE","参考文档",1644,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fblueprint-plugin\u002Fskills\u002Fdocument-linking\u002Freferences\u002Forphan-and-duplicate-detection.md",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Ftraceability-queries.md",1339,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fblueprint-plugin\u002Fskills\u002Fdocument-linking\u002Freferences\u002Ftraceability-queries.md",[96,104,126,144,160,179],{"skillNo":97,"name":98,"nameZh":17,"description":99,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":103},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":105,"name":106,"nameZh":17,"description":107,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":54},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[111,112,113,114,115,116,117,118,119,120,49,39,48,121,122,123,124,125,37,46],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","file","text","with","xdg","via",{"skillNo":127,"name":128,"nameZh":17,"description":129,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":54},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[114,133,134,135,40,136,39,48,137,138,139,37,46,45,44,140,141,142,143,49],"kitty session persistence","session","persistence","snapshots","uname","reboot","terminal","snapshot","macos","sessions","restore",{"skillNo":145,"name":146,"nameZh":17,"description":147,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":54},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[151,152,114,153,154,116,155,156,117,157,158,49,39,159,48,122,123,139,37,46],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":161,"name":162,"nameZh":17,"description":163,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":54},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[167,168,169,170,42,36,171,172,173,50,49,39,48,174,121,175,176,177,38,178],"docs reference check","check","reference check","reference","python3","repo","files","drift","lint","wiring","chezmoi","cp",{"skillNo":180,"name":181,"nameZh":182,"description":183,"descriptionZh":184,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":185,"categories":186,"keywords":193,"publishedAt":54},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[187,190],{"categoryNo":188,"categoryName":189,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":191,"categoryName":192,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[194,195,196,197,171,198,46,199,44,200,201,202,49,48,121,203,204,39,205,206,207,125,37],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title"]