Agent skill

Running An Iteration

by prime-radiant-inc in prime-radiant-inc/iterative-development

A skill your agent uses when executing the next pending iteration from an iterative-development roadmap — picks the iteration, decomposes into code and evidence tasks, runs sentinel corpus baseline…

Apache-2.0Auto-check passed

Install Running An Iteration

skills CLI
$ npx skills add prime-radiant-inc/iterative-development --skill running-an-iteration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install prime-radiant-inc/iterative-development running-an-iteration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/prime-radiant-inc/iterative-development.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/running-an-iteration .claude/skills/running-an-iteration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
running-an-iteration
GitHub stars
181
Token cost
~1.9k tokens
SKILL.md length
909 words
Files
4 (incl. scripts)
Skills in repo
6
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when executing the next pending iteration from an iterative-development roadmap — picks the iteration, decomposes into code and evidence tasks, runs sentinel corpus baseline…

  • Works in 10 steps: Pick next iteration → Load scope context → Run sentinel corpus baseline → …
  • Executing the next pending iteration from an iterative-development roadmap — picks the iteration
  • SKILL.md covers Overview, When to Use, Script Location and Iteration Process, plus 2 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Running An Iteration is an agent skill from prime-radiant-inc/iterative-development. Use when executing the next pending iteration from an iterative-development roadmap — picks the iteration, decomposes into code and evidence tasks, runs sentinel corpus baseline, dispatches implementing-tasks, runs impacted + sentinel scenarios, and updates artifacts.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scope-reviewer-prompt.md`, `scripts/check_citations.py` and `scripts/validate_iteration_log.py`).

The repository describes itself as: Iterative development methodology plugin for Claude Code — extracts requirements, defines walking skeleton, loops through audited sprints autonomously. The licence is Apache-2.0.

When your agent uses it

  • Executing the next pending iteration from an iterative-development roadmap — picks the iteration
  • Decomposes into code and evidence tasks
  • Runs sentinel corpus baseline
  • Dispatches implementing-tasks

Example prompts

  • “/running-an-iteration”

Requirements

  • Python 3

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Pick next iteration
  2. Load scope context
  3. Run sentinel corpus baseline
  4. Pre-iteration consistency audit
  5. Pre-iteration scope review (PAR)
  6. Decompose into code tasks AND evidence tasks
  7. Dispatch implementing-tasks
  8. Post-iteration scenario runs
  9. Resolve cross-iteration TODOs
  10. Wrap up

What it can do on your machine

Read from SKILL.md and the folder at commit c05889a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Running An Iteration loads about 1.9k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 909 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from prime-radiant-inc/iterative-development at commit c05889a, republished under its Apache-2.0 licence (© prime-radiant-inc). 909 words, ~1,916 tokens.

Download SKILL.mdSave it as .claude/skills/running-an-iteration/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
running-an-iteration
description
Use when executing the next pending iteration from an iterative-development roadmap — picks the iteration, decomposes into code and evidence tasks, runs sentinel corpus baseline, dispatches implementing-tasks, runs impacted + sentinel scenarios, and updates artifacts.

Running an Iteration

Overview

Drives one iteration: picks the next pending, runs sentinel corpus baseline, runs pre-iteration scope review via PAR, decomposes into code and evidence tasks, dispatches implementing-tasks, runs impacted + sentinel scenarios at wrap-up, and updates the roadmap and iteration log.

When to Use

Invoked by iterative-development inside the main loop. Each invocation runs exactly one iteration. After return, the orchestrator invokes auditing-progress.

Script Location

All scripts referenced below live in this skill's scripts/ directory, next to this SKILL.md file.

Iteration Process

1. Pick next iteration

Read docs/superpowers/iterations/roadmap.md, find the first iteration with status pending.

2. Load scope context

Read the per-epic files in docs/superpowers/iterations/requirements/ to load the full story cards for each committed story ID. Only read the epic files that contain stories for this iteration — not all of them. Also:

  • Load the next 3 pending iterations from the roadmap for look-ahead
  • Read docs/superpowers/iterations/behavior-scenarios.md to identify impacted scenarios
  • Read docs/superpowers/iterations/behavior-corpus.md to identify sentinel scenarios
3. Run sentinel corpus baseline

Before any code changes, run every scenario in the behavior corpus with run cadence sentinel:

  • If all sentinels pass: record baseline as clean, proceed
  • If any sentinel fails: the failure predates this iteration. Record it, create a gap story for it, but proceed with the iteration (the gap will be addressed in a follow-up)

This establishes whether regressions exist before the current iteration starts.

4. Pre-iteration consistency audit

Before planning any work, verify that artifact state is consistent:

  1. Citation check: python3 "scripts/check_citations.py" docs/superpowers/iterations/roadmap.md docs/superpowers/iterations/requirements/ — if citations fail, stop and fix the roadmap.
  2. Status reconciliation: For each story in this iteration's scope, verify:
    • Stories listed in the roadmap iteration are not already marked done:ITER-XXXX in the requirements index (unless code/tests actually exist for them)
    • Stories marked done in the requirements index actually have corresponding code and tests
    • No story appears in multiple pending iterations
  3. Epic counter validation: Spot-check that epic progress counters match the actual count of done stories.

If any inconsistencies are found, reconcile before proceeding. Do not trust any single artifact blindly — cross-check.

5. Pre-iteration scope review (PAR)

Following skills/shared/parallel-adversarial-review.md:

  1. Build the scope reviewer prompt using scope-reviewer-prompt.md
  2. Wrap in PAR competitive framing from skills/shared/par-reviewer-wrapper.md
  3. Dispatch TWO scope reviewers in parallel
  4. Aggregate findings: same issue from both = high confidence, unique = still actionable, severity disagreement = take worst
  5. If REVISE recommended: adjust iteration scope and re-review. Loop until APPROVE.
6. Decompose into code tasks AND evidence tasks

Break the iteration scope into TDD-sized tasks. Each task = failing test → implementation → passing test → commit.

Evidence tasks: In addition to code tasks, identify:

  • Which existing scenarios are impacted by this iteration's changes
  • Which new scenarios must be added (from the story proof obligations)
  • Which scenario harnesses need to be extended
  • Which behavior corpus entries need updated execution commands

Evidence tasks are first-class — they produce scenario updates, test harness extensions, and corpus index entries. They are NOT afterthoughts. Interleave evidence tasks with code tasks: after implementing a feature, the next task should be extending or adding the scenario that proves it.

Cross-iteration dependencies: Some stories reference subsystems that don't exist yet. For these, implement the thinnest abstraction boundary that satisfies the story's ACs without coupling to the future implementation. Prefer a single clean interface over a decomposed hierarchy — the real implementation will define its own internal structure when it arrives. Document the dependency with a TODO comment citing the future iteration. Do NOT defer the story silently or force premature integration.

Show full SKILL.md (335 more words)Show less
7. Dispatch implementing-tasks

Pass the task list (code + evidence tasks) and iteration context to implementing-tasks. Wait for completion.

8. Post-iteration scenario runs

After all tasks complete, run:

  1. Impacted scenarios: every scenario in the behavior corpus whose owning stories were touched by this iteration
  2. Sentinel scenarios: every scenario with run cadence sentinel

If any impacted or sentinel scenario fails that passed at baseline (step 3), this iteration introduced a regression. Create a fix task and re-dispatch to implementing-tasks.

9. Resolve cross-iteration TODOs

Grep the codebase for TODO(ITER-<current>) markers — these are interface stubs that earlier iterations created expecting THIS iteration to provide the real implementation.

For each marker found:

  1. Verify the real implementation now exists (not still a stub/NoOp)
  2. If resolved: remove the TODO comment
  3. If NOT resolved: the iteration is incomplete — add a fix task and re-dispatch

This step is a hard gate. An iteration that leaves its own TODO markers in the code is not done.

10. Wrap up
  • Verify all iteration stories' ACs pass (sanity check before audit)
  • Verify all proof obligations for observable ACs have corresponding scenario evidence
  • Verify no TODO(ITER-<current>) markers remain in the codebase (step 9)
  • Mark stories done:ITER-NNNN in the relevant epic files under requirements/
  • Update scenario automation status and execution commands in behavior-scenarios.md
  • Update the behavior corpus index in behavior-corpus.md
  • Update iteration status in roadmap.md to done
  • Append entry to docs/superpowers/iterations/iteration-log.md — include:
    • Stories delivered
    • Scenarios added or updated
    • Sentinel corpus results
  • Validate: python3 "scripts/validate_iteration_log.py" docs/superpowers/iterations/iteration-log.md
  • Return control to orchestrator (do NOT invoke auditing-progress — that's the orchestrator's job)

Quick Reference

StepTool/SkillPurpose
Sentinel baselineRun sentinel scenariosEstablish pre-iteration regression state
Citation checkscripts/check_citations.pyMechanical: cited stories exist
Scope reviewPAR + scope-reviewer-prompt.mdSemantic: scope, scenarios, splitting, boxing-in
Task executionimplementing-tasksTDD code + evidence implementation
Post-iteration runsRun impacted + sentinel scenariosCatch regressions
TODO resolutiongrep -rn 'TODO(ITER-<current>)'Cross-iteration stubs resolved
Wrap upscripts/validate_iteration_log.pyArtifact validation

References

  • skills/shared/parallel-adversarial-review.md — PAR methodology
  • skills/shared/behavior-evidence-formats.md — scenario and proof obligation formats
  • scope-reviewer-prompt.md — scope reviewer prompt template
  • scripts/check_citations.py — mechanical citation check

© prime-radiant-inc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in skills/running-an-iteration of prime-radiant-inc/iterative-development.

  • SKILL.md
  • scope-reviewer-prompt.md
  • scripts/check_citations.py
  • scripts/validate_iteration_log.py

Open the folder on GitHubat commit c05889a

Compare with similar skills

Running An Iteration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Running An Iteration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Running An Iteration this skillprime-radiant-inc/iterative-development181—~1.9kAutomated safety check: PassApache-2.0
Executealirezarezvani/claude-skills28k—~831Automated safety check: PassMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Ulw Executecode-yeongyu/oh-my-openagent70k—~6.3kAutomated safety check: PassCustom licence
Executebrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~370Automated safety check: NotesCustom licence
Iterative Retrievalaffaan-m/ECC277k7 repos~1.6kAutomated safety check: PassMIT

Similar skills

  • Execute

    alirezarezvani/claude-skills

    /cs:execute <decision — Generate a 90-day execution plan with weekly milestones, DRIs, and check-in cadence from an approved decision.

    28k GitHub stars~831 tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Ulw Execute

    code-yeongyu/oh-my-openagent

    Executes a written ulw-plan work plan with Boulder state, evidence ledger, worktree discipline, and parallel subagents.

    70k GitHub stars~6.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Execute

    brycewang-stanford/Auto-Empirical-Research-Skills

    Executes all registered notebooks, strips noisy cell metadata, and syncs Jupytext pairs.

    4.6k GitHub stars~370 tokensUpdated 6 days ago
    Data & AnalyticsAuto-check: notes
  • Pattern for progressively refining context retrieval to solve the subagent context problem.

    277k GitHub starsUsed in 7 repos~1.6k tokens
    Agent WorkflowsAuto-check passed
  • サブエージェントのコンテキスト問題を解決するために、コンテキスト取得を段階的に洗練するパターン. An agent skill from affaan-m/ECC.

    277k GitHub starsUsed in 2 repos~1.1k tokens
    Auto-check passed

More from prime-radiant-inc/iterative-development

  • Extracting Requirements

    prime-radiant-inc/iterative-development

    Reads human-written spec documents and produces per-epic requirement files with proof obligations plus behavior scenarios with stable IDs, using parallel chunked extraction.

    181 GitHub stars~2.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Walking Skeleton Roadmap Scoping

    prime-radiant-inc/iterative-development

    Turns extracted requirements into a roadmap by choosing a walking skeleton iteration with its first journey scenario and ordering the remaining work into follow-on iterations.

    181 GitHub stars~1.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Iterative Development Orchestrator

    prime-radiant-inc/iterative-development

    Runs an autonomous loop that extracts requirements with proof obligations, builds a walking skeleton, then audits sprint by sprint against real behavior evidence.

    181 GitHub stars~2.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Iteration Progress Audit

    prime-radiant-inc/iterative-development

    Checks the quality of behavior evidence after each iteration in three tiers, using two auditor subagents in parallel to review the same work and find gaps.

    181 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Implementing Tasks with Subagent Review

    prime-radiant-inc/iterative-development

    Runs a batch of TDD-sized tasks by dispatching an implementer subagent per task, followed by two-stage parallel adversarial review and fix loops.

    181 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Running An Iteration

What does Running An Iteration do?

A skill your agent uses when executing the next pending iteration from an iterative-development roadmap — picks the iteration, decomposes into code and evidence tasks, runs sentinel corpus baseline…. Running An Iteration is an agent skill from prime-radiant-inc/iterative-development. Use when executing the next pending iteration from an iterative-development roadmap — picks the iteration, decomposes into code and evidence tasks, runs sentinel corpus baseline, dispatches implementing-tasks, runs impacted + sentinel scenarios, and updates artifacts.

When should I use Running An Iteration?

Running An Iteration fits situations like: executing the next pending iteration from an iterative-development roadmap — picks the iteration; decomposes into code and evidence tasks; runs sentinel corpus baseline; dispatches implementing-tasks.

How do I install Running An Iteration in Claude Code?

Run `npx skills add prime-radiant-inc/iterative-development --skill running-an-iteration -a claude-code`. Or copy the skill folder (skills/running-an-iteration in prime-radiant-inc/iterative-development) into .claude/skills/running-an-iteration in your project. Claude Code loads it when a task matches its description.

How do I install Running An Iteration in Codex?

Run `npx skills add prime-radiant-inc/iterative-development --skill running-an-iteration -a codex`. Or copy the skill folder (skills/running-an-iteration in prime-radiant-inc/iterative-development) into .agents/skills/running-an-iteration in your project. Codex loads it when a task matches its description.

Can I use Running An Iteration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add prime-radiant-inc/iterative-development --skill running-an-iteration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/running-an-iteration, .gemini/skills/running-an-iteration, .github/skills/running-an-iteration and .opencode/skills/running-an-iteration in your project.

What does Running An Iteration need to run?

Going by SKILL.md and its folder, Running An Iteration needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Running An Iteration access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Running An Iteration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Running An Iteration use?

Running An Iteration is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Running An Iteration use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Running An Iteration?

Skills that share tags, products or a category with Running An Iteration: Execute (alirezarezvani/claude-skills, 28k stars), Debugging Executions (n8n-io/n8n, 207k stars), Ulw Execute (code-yeongyu/oh-my-openagent, 70k stars) and Execute (brycewang-stanford/Auto-Empirical-Research-Skills, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Running An Iteration?

prime-radiant-inc (a GitHub organization) maintains it in prime-radiant-inc/iterative-development, which has 181 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 6, 2026.

Source: prime-radiant-inc/iterative-development on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.