askill
c3-alter

c3-alterSafety --Repository

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.

0 stars
1.2k downloads
Updated 1/30/2026

Package Files

Loading files...
SKILL.md

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}

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated1/30/2026
Publisherlagz0ne

Tags

No tags yet.