スキル一覧に戻る
lagz0ne

c3-alter

by lagz0ne

0🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: c3-alter description: | This skill should be used when the user asks to "add a component", "change architecture", "refactor X", "implement feature", "fix bug", "create new service", "update diagram", or "remove component". Requires .c3/ to exist. All changes flow through ADR process. For questions, route to c3-query instead.

C3 Alter - Change Through ADR

Every change flows through an ADR. No exceptions.

REQUIRED: Load References First

  1. ../../references/skill-harness.md - Routing and red flags
  2. ../../references/layer-navigation.md - How to traverse C3 docs

Core Loop (All Stages)

ANALYZE → ASK (until confident) → SYNTHESIZE → REVIEW
              │                        │
              └── until no open ───────┘
                  questions

On conflict: ASCEND → fix earlier stage → re-descend

Confident = No open questions. Don't proceed with "TODO" or unclear fields.


Stage 1: Intent

StepAction
AnalyzeAdd/modify/remove/fix? What problem? Scope hint?
AskUse AskUserQuestion: feature vs fix? problem? urgency?
SynthesizeIntent: [action] Goal: [outcome] Type: [feature/fix/refactor]
ReviewUser confirms or corrects

Stage 2: Current State

StepAction
AnalyzeRead affected C3 docs via layer navigation
AskAre docs accurate? Recent code changes not documented?
SynthesizeList affected components, their current behavior, dependencies
ReviewUser confirms or corrects

Stage 3: Scope Impact

StepAction
AnalyzeWhich layers change? Dependencies? Linkages? Diagrams?
AskExternal systems involved? Breaking changes? Keep or replace?
SynthesizeList all affected c3 IDs, note breaking changes
ReviewUser confirms or expands

Stage 4: Create ADR

Generate at .c3/adr/adr-YYYYMMDD-{slug}.md. Use ../../references/adr-template.md.

Key sections: Problem, Decision, Rationale, Affected Layers, References Affected, Verification

On AcceptUpdate status to accepted, proceed to Plan
On RejectReturn to Stage 1/3 based on what changed

Stage 5: Create Plan

Generate at .c3/adr/adr-YYYYMMDD-{slug}.plan.md.

Include:

  • Pre-execution checklist (update ## References in affected components)
  • Ordered steps: docs first, then code, then diagrams
  • Verification commands

Stage 6: Execute

Follow plan order:

  1. Make change (doc or code)
  2. Check for conflicts
  3. Update ## References if code moved/added/removed

On conflict - Tiered response:

ImpactAction
High: scope expansion, breaking change, new layerAsk user, update ADR if needed
Low: wording fix, diagram update, ID fixAuto-fix, note in log

Ref Maintenance

If change affects a pattern:

  1. Check if ref-* exists for pattern
  2. Update ref if pattern changes
  3. Create new ref if pattern is new and reusable

Stage 7: Verify

Run /c3 audit. Check diagrams, IDs, linkages, code-doc match.

On PassUpdate ADR status to implemented
On FailFix issue, re-audit, loop until pass

Response Format

**Stage N: {Name}**
{findings}
**Open Questions:** {list or "None - confident"}
**Next:** {what happens next}

スコア

総合スコア

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

レビュー

💬

レビュー機能は近日公開予定です