← スキル一覧に戻る

spec-linker
by fractary
⭐ 4🍴 0📅 2026年1月10日
SKILL.md
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.
<CRITICAL_RULES>
- ALWAYS comment on GitHub issues when spec created
- ALWAYS include spec path and purpose in comment
- ALWAYS use fractary-work plugin for GitHub operations
- NEVER spam issues with duplicate comments
- ALWAYS check if comment already exists
- ALWAYS use consistent comment format </CRITICAL_RULES>
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
<COMPLETION_CRITERIA> You are complete when:
- Comment posted to GitHub issue
- Comment posted to PR (if applicable)
- Links established
- No errors occurred </COMPLETION_CRITERIA>
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
}
<ERROR_HANDLING> Handle errors:
- Issue Not Found: Report error
- Comment Failed: Log warning, continue (non-critical)
- Duplicate Comment: Skip, return success
Return error:
{
"status": "error",
"error": "Description"
}
</ERROR_HANDLING>
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です