
Brownfield retrospective
Audits an existing codebase slice and drives retroactive ECC fixes forward
Brownfield retrospective is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 66
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Brownfield retrospective
This skill applies the ECC engineering process to a project that was built without it. It starts from a slice of code the user cares about, audits its present state with file-level evidence, and reconstructs the decisions that shaped it. The findings are collected into a gap register that covers thinking, coding practice, missing features and technology selection, with severity and effort ratings for each row.
The workflow is staged and resumable. Artifacts such as a baseline audit, a reconstructed spec, a target design and the register itself are written into the audited project under a docs/retro folder, so a later session can pick up from the register alone. Backfilled architecture decisions are marked as reconstructed and must be confirmed by the project owner before being accepted. Fixes are then executed row by row through a planning, test-first, review and commit pipeline, and the slice is re-audited at the end to confirm gaps stay closed.
The skill relies on other ECC agents and skills such as planner, tdd-guide, code-reviewer, spec-miner and architecture-decision-records. It has no bundled scripts and expects a Git repository with history to support the archaeology phase.
When your agent uses it
Run the ECC engineering process retroactively against an existing project slice. Audit current state, reconstruct past decisions, produce a four-axis gap register (thinking, coding practice, missing features, technology selection), then execute fixes forward through the plan-TDD-review pipeline. Use when adopting ECC mid-project, taking over an inherited codebase, or asking what was missed and what would have been built differently from day one.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (12 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafathOr copy only this skill to ~/.claude/skills/brownfield-retrospective:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/brownfield-retrospective &&
cp -R "$tmp/.agents/skills/brownfield-retrospective" ~/.claude/skills/brownfield-retrospective &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/brownfield-retrospective inside it instead.
Copy the skill folder to ~/.agents/skills/brownfield-retrospective to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/brownfield-retrospective &&
cp -R "$tmp/.agents/skills/brownfield-retrospective" ~/.agents/skills/brownfield-retrospective &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/brownfield-retrospective inside it instead.
Copy the skill folder to ~/.cursor/skills/brownfield-retrospective to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/brownfield-retrospective &&
cp -R "$tmp/.agents/skills/brownfield-retrospective" ~/.cursor/skills/brownfield-retrospective &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/brownfield-retrospective inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/brownfield-retrospectiveOr copy the folder to ~/.gemini/skills/brownfield-retrospective yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/brownfield-retrospective:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/brownfield-retrospective &&
cp -R "$tmp/.agents/skills/brownfield-retrospective" ~/.copilot/skills/brownfield-retrospective &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/brownfield-retrospective inside it instead.
Get the folder:
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.gitThen copy REA_Skill/.agents/skills/brownfield-retrospective into your agent's skills folder as brownfield-retrospective. Agents that support SKILL.md read one folder per skill.
What it does
- Slice-first entry point
- Chooses a bounded part of the codebase based on the user's concern, keeping each audit within a manageable size.
- Evidence-based present audit
- Reviews the slice with stack-matched reviewers and requires file and line pointers for every finding.
- Backward decision reconstruction
- Uses git history, existing records and code tracing to recover why the code looks the way it does.
- Four-axis gap register
- Records gaps across thinking, coding practice, missing features and technology selection with severity and effort.
- Forward fix pipeline
- Executes each register row through planning, failing tests first, review and conventional commits.
- Re-audit closure check
- Repeats the audit over the same perimeter and compares results against the original baseline.
Good for
- Audit the authentication module of an inherited project and list what is missing
- Find out why a legacy service is structured the way it is and record the decisions
- Produce a prioritized gap list before adding a new feature on top of an old module
- Work through open gap register rows one at a time with failing tests first
- Re-audit a previously retro-analyzed area to confirm earlier fixes still hold
Brownfield retrospective FAQ
When should I use this instead of the planner and tdd-workflow skills?
It is meant for existing code that was built without the ECC process. For greenfield work with no existing code, the skill says to use planner and tdd-workflow directly.
Does Brownfield retrospective change my code automatically?
Audit phases are read-only by design and fixes are made only during the forward execution phase, one register row at a time. Material changes require project-required approval first.
Where are the output files stored?
All artifacts are written inside the audited project under docs/retro/<slice>/, with backfilled decisions placed in docs/adr/.
What is the recommended size of a slice?
The skill suggests roughly 15 files or 2,000 lines. Larger requests should be split into named sub-slices.
How do I install Brownfield retrospective in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/brownfield-retrospective to use it in all your projects, or to .claude/skills/brownfield-retrospective in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.
Does Brownfield retrospective run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Brownfield retrospective?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Brownfield retrospective?
The closest alternatives to Brownfield retrospective are Retro, Ecc workflow, Improve architecture, Rea ci tests audit and Automation audit ops.
Where this comes from
- Description: from the skill's own SKILL.md.
More from smartworldarafath/REA_Skill

Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android
- Open source
- 66 GitHub stars
- Developer tools

Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity
- Open source
- 66 GitHub stars
- Developer tools

Compare coding agents head-to-head on your own tasks by pass rate, cost and time
- Open source
- 66 GitHub stars
- Developer tools

Guides an agent to design tool sets, observations and error recovery for better completion
- Open source
- 66 GitHub stars
- Developer tools

Gives an agent a structured capture-diagnose-recover loop for failing runs
- Open source
- 66 GitHub stars
- Developer tools

Lets an AI agent make x402 payments within per-task budgets and spending policies
- Open source
- 66 GitHub stars
- Finance and payments



