← Back to list

spec-auto-updater
by hohai99
⭐ 0🍴 1📅 Jan 22, 2026
SKILL.md
name: spec-auto-updater description: Updates specifications to reflect approved implementation behavior. Use only after spec change approval. triggers: [approved-behavior-change, intentional-spec-drift] outputs: [updated-spec, downstream-impact-report]
Spec Auto Updater
Purpose
Keeps specifications in sync with the actual, approved state of the implementation. This prevents the spec from becoming "dead documentation".
When to use this skill
- After a spec change proposal has been approved by a human
- When intentional code behavior needs to be codified back into the spec
- After a
spec-violation-detectorsession where "Update Spec" was the decided path
Update Steps
- Locate Affected Sections: Use IDs (e.g., AUTH-001) to find exactly where the change applies.
- Update Behavior Definitions: Rewrite the Trigger, Action, or Postcondition to match reality.
- Preserve History: Update the "Change Log" section of the spec with the version and reason.
- Flag Downstream Impacts: Identify if this change requires updating tests or other documents via
documentation-consistency-keeper.
Decision Tree
flowchart TD
A[Start Update] --> B{Human Approval?}
B -->|No| C[Abort - Request Approval First]
B -->|Yes| D{Identify Scope}
D --> E[Modify Spec File]
E --> F{Impacts Tests?}
F -->|Yes| G[Trigger self-test-generator]
F -->|No| H[Trigger documentation-consistency-keeper]
G --> H
Review Checklist
- Traceability: Does the update preserve the original requirement IDs?
- Clarity: Is the new behavior described as clearly as the old one?
- Completeness: Were all occurrences of the old behavior updated?
- Impact: Does the change summary clearly state what was modified?
How to provide feedback
- Be specific: "The change in AUTH-001 removes the timeout parameter without documenting the new default."
- Explain why: "Future developers won't know the default timeout is now 30s."
- Suggest alternatives: "Add 'Default timeout: 30s' to the revised AUTH-001 clause."
Specs must always match reality.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon