/iterateIterate
Change an existing project without breaking it. Keeps AI edits inside a pre-approved set of files and favours small, targeted changes over full rewrites.
- Added
- October 13, 2026
What it does
A Claude Code skill for changing existing projects without breaking them. Every edit stays inside a scope you approve first, and small targeted diffs are preferred over rewrites. It enforces controlled, preservation-first development when iterating on an existing codebase.
Core problem it solves: AI coding tools work well on greenfield builds but break working features during iteration — because the model has no concept of what's load-bearing vs disposable. This skill gives it that context through persistent memory and per-task contracts.
What's in the file
6 commands:
| Command | What it does |
|---|---|
init | Onboards a project: checks for git, creates .iterate/ memory files, and injects a protection block into CLAUDE.md and AGENTS.md so the rules are always in context |
sync | Refreshes that protection block whenever memory files change |
fix | Minimal bug fix, maximum preservation |
improve | Constrained enhancement, no rewrites allowed |
refactor | Structural change, requires explicit permission |
recover | Diagnoses regressions and proposes a rollback or minimal fix-forward |
5 runtime phases applied to every change:
- Resume check — reads existing memory before doing anything
- Iteration contract — declares task, allowed files, protected features, and success criteria before touching code
- Blast radius assessment — classifies every change as Low / Medium / High, with auto-escalation rules for auth, schema, billing, and critical files
- Diff-only editing — enforced rule: unified diffs only, never full file rewrites
- Memory + sync — appends to history log, updates stable features, refreshes agent context
Key design principle
The .iterate/ memory files are the source of truth. CLAUDE.md and AGENTS.md are the broadcast layer — synced from memory so that any agent in any session always knows what's protected, even without the skill explicitly triggering.
Templates & guides
templates.yml— ready-to-use.iterate/YAML for Next.js, Rust/Tauri, and Node/Express projectsblast-radius-guide.md— framework-specific classification tables (Low/Medium/High auto-escalation)
License: MIT