Overview
- Skill Key
- aaronjmars/iterative-code-evolution
- Author
- aaronjmars
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/aaronjmars/iterative-code-evolution
- Latest Commit SHA
- e6d5f9d5a9ff709886246d7d9240b74eaebf8a78
Systematically improve code through structured analysis-mutation-evaluation loops. Adapted from ALMA (Automated meta-Learning of Memory designs for Agentic systems). Use when iterating on code quality, optimizing implementations, debugging persistent issues, or evolving a design through multiple improvement cycles. Replaces ad-hoc "try and fix" with disciplined reflection, variant tracking, and principled selection of what to change next.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 iterative-code-evolution 技能。 若已安装,则直接安装 iterative-code-evolution 技能。
# Iterative Code Evolution
A structured methodology for improving code through disciplined reflect → mutate → verify → score cycles, adapted from the ALMA research framework for meta-learning code designs.
## When to Use This Skill
- Iterating on code that isn't working well enough (performance, correctness, design)
- Optimizing an implementation across multiple rounds of changes
- Debugging persistent or recurring issues where simple fixes keep failing
- Evolving a system design through structured experimentation
- Any task where you've already tried 2+ approaches and need discipline about what to try next
- Building or improving prompts, pipelines, agents, or any "program" that benefits from iterative refinement
## When NOT to Use This Skill
- Simple one-shot code generation (just write it)
- Mechanical tasks with clear solutions (refactoring, formatting, migrations)
- When the user has already specified exactly what to change
## Core Concepts
### The Evolution Loop
Every improvement cycle follows this sequence:
```
┌─────────────────────────────────────────────────────┐
│ 1. ANALYZE — structured diagnosis of current code │
│ 2. PLAN — prioritized, concrete changes │
│ 3. MUTATE — implement the changes │
│ 4. VERIFY — run it, check for errors │
│ 5. SCORE — measure improvement vs. baseline │
│ 6. ARCHIVE — log what was tried and what happened │
│ │
│ Loop back to 1 with new knowledge │
└─────────────────────────────────────────────────────┘
```
### The Evolution Log
Track all iterations in `.evolution/log.json` at the project root. This is the memory that makes each cycle smarter than the last.
```json
{
"baseline": {
"description": "Initial implementation before evolution began",
"score": 0.0,
"timestamp": "2025-01-15T10:00:00Z"
},
"variants": {
"v001": {
"parent": "baseline",
"description": "...
# Iterative Code Evolution A Claude Code skill that replaces ad-hoc "try and fix" coding with structured improvement cycles. Adapted from the [ALMA](https://yimingxiong.me/alma) (Automated meta-Learning of Memory designs for Agentic systems) research framework. ## Installation ### OpenClaw Search for **Iterative Code Evolution** on [OpenClaw](https://clawhub.ai) and click **Install**, or run: ```bash openclaw install iterative-code-evolution ``` ### Claude Code (CLI) Copy `SKILL.md` into your Claude Code skills directory: ```bash # Global (available in all projects) cp SKILL.md ~/.claude/skills/iterative-code-evolution.md # Per-project (available only in that project) mkdir -p your-project/.claude/skills cp SKILL.md your-project/.claude/skills/iterative-code-evolution.md ``` ### Claude Desktop / Claude.ai 1. Copy the contents of `SKILL.md` 2. Open **Claude Desktop** or **Claude.ai** 3. Navigate to **Settings** > **Custom Instructions** 4. Paste the contents into the custom instructions field 5. Save ## What It Does When activated, Claude follows a disciplined loop instead of making random fixes: ``` ANALYZE → PLAN → MUTATE → VERIFY → SCORE → ARCHIVE → repeat ``` Each cycle: 1. **Analyze** — Reviews past attempts, labels each component (Working / Fragile / Broken / Redundant / Missing), checks for cross-cutting issues 2. **Plan** — Picks 1-3 evidence-based changes (no speculative fixes allowed) 3. **Mutate** — Implements only the planned changes 4. **Verify** — Runs the code; up to 3 retries on crashes, then reverts 5. **Score** — Measures improvement against the parent variant, not just the baseline 6. **Archive** — Logs everything to `.evolution/log.json`, including failures and lessons learned ## When to Use It - Code that isn't working well enough after initial attempts - Performance or correctness optimization across multiple rounds - Persistent bugs where simple fixes keep failing - Evolving a design through structured experimentation - Any si...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.