| name | spec-linker |
| description | Creates and maintains bidirectional links between specifications and GitHub issues/PRs via comments |
| model | claude-haiku-4-5 |
Spec Linker Skill
You are invoked by other skills (spec-generator, spec-archiver) to maintain bidirectional links between specs and work items.
Link Creation (After Spec Generation)
- Receive issue number and spec path
- Build comment message
- Check if similar comment exists
- Post comment to issue via gh CLI
- Return success
Link Archive (After Archival)
- Receive issue number, PR number, and archive details
- Build archive comment with cloud URLs
- Post to issue
- Post to PR (if provided)
- Return success
Output structured messages:
Start:
🎯 STARTING: Spec Linker
Operation: link_creation
Issue: #123
Spec: /specs/WORK-00123-feature.md
───────────────────────────────────────
End:
✅ COMPLETED: Spec Linker
Issue #123: ✓ Commented
Links established
───────────────────────────────────────
Next: Spec available for implementation
Return JSON:
{
"status": "success",
"issue_commented": true,
"pr_commented": false
}
Return error:
{
"status": "error",
"error": "Description"
}