Skip to content
Available/iterate

Iterate

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
claude-codeworkflow

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:

CommandWhat it does
initOnboards 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
syncRefreshes that protection block whenever memory files change
fixMinimal bug fix, maximum preservation
improveConstrained enhancement, no rewrites allowed
refactorStructural change, requires explicit permission
recoverDiagnoses regressions and proposes a rollback or minimal fix-forward

5 runtime phases applied to every change:

  1. Resume check — reads existing memory before doing anything
  2. Iteration contract — declares task, allowed files, protected features, and success criteria before touching code
  3. Blast radius assessment — classifies every change as Low / Medium / High, with auto-escalation rules for auth, schema, billing, and critical files
  4. Diff-only editing — enforced rule: unified diffs only, never full file rewrites
  5. 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 projects
  • blast-radius-guide.md — framework-specific classification tables (Low/Medium/High auto-escalation)

License: MIT

← Back to skills