# Repository Briefing: AmazingAng/old-coder
> Source: https://repoforai.com/repo/AmazingAng/old-coder (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/AmazingAng/old-coder
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A (87/100 · Maintenance 35/35 · Adoption 15/25 · Releases 17/20 · License 20/20)
- **Latest Release**: v0.1.0 (2026-08-15) — https://github.com/AmazingAng/old-coder/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI
- **Momentum**: 770 ★ total (+0 24h / +2 7d) · 62 forks
- **Topics**: `agent-skills`, `ai-agents`, `ai-coding`, `claude-code`, `code-quality`, `codex`, `cursor`, `llm`, `mutation-testing`, `property-based-testing`, `skills`, `software-testing`
- **When to Use**: Best for: Teams using coding agents on projects with runnable tests, where reviewers can agree on behavior up front and independently rerun the checks that matter. Skip if: You need an MCP endpoint, centrally enforced policy, or assurance on high-impact changes without independent validation and review.

## Overview
```text
### Architecture & Core Mechanics
Old Coder is a Markdown instruction layer for coding agents, not an evidenced MCP server. `skills/old-coder/SKILL.md` and its adjacent `references/` define the workflow; the host agent supplies execution and uses the target project’s tools. The workflow starts with a human-approved SPEC covering required and forbidden behavior and proposed tool installations, then proceeds through Red–Green–Refactor, a validation gauntlet, and a final EVIDENCE report.

The optional `skills/old-coder-api/` module adds an HTTP/JSON contract review. When both skills apply, the core skill owns approval, sequencing, and evidence, while the companion translates API decisions into SPEC constraints and validation gates. The Python rate-limiter demo illustrates the workflow; it is not the runtime for the Markdown skills.

### Key Capabilities & Differentiators
The workflow distinguishes regression checks from checks on the strength of the tests themselves. It combines the full suite, types, lint, complexity, changed-line coverage, mutation testing, property-based tests, real execution outside the harness, dependency and secret checks, and suite stability. `references/gauntlet.md` provides a risk model for adding checks such as concurrency, UI behavior, API compatibility, performance, and observability.

EVIDENCE records results from a fresh final run and gives a single command to rerun the checks. Unexecuted checks stay `unverified`; missing human approval must be disclosed. The rate-limiter demo reports 41 tests, 49/49 statements and 20/20 branches covered, and 22/22 planted bugs caught. Those are results for the demo, not thresholds or guarantees for other projects.

### Trade-offs & Limitations
Compared with a CI-only gate or a pull-request checklist, Old Coder moves approval of expected behavior ahead of implementation and asks for a fresh, reproducible report at handoff. It does not replace CI enforcement: the same agent can write the implementation, choose or configure checks, and report results. Mutation testing and repeated suite runs also cost more than a basic test-and-lint pass, which makes risk-based selection important.

A green run validates what the SPEC and checkers actually measure. It does not establish specification completeness or checker correctness. Fresh-context review of earlier green demo states found behavioral defects and an unsound mutation runner. For high-impact changes, have CI reproduce key checks independently and retain direct review of critical behavior and validation logic.

### Hardware & Deployment Guide
The installer path is `npx skills add https://github.com/amazingang/old-coder --skill old-coder`, which requires `npx` and fetches from GitHub. Claude Code can instead load `skills/old-coder` from `~/.claude/skills/` or the project’s `.claude/skills/` directory and invoke `/old-coder`. For Codex CLI, Cursor, Aider, or a custom loop, load the skill through the agent’s instruction mechanism and retain its `references/` directory.

Local installation does not make the host agent or every check offline. There is no separate skill service to host, and validation depends on the project’s toolchain. To rerun the demo, enter `demo-rate-limiter/`, create a `python3` virtual environment, run `.venv/bin/pip install -r requirements-dev.txt -e .`, then invoke `./tools/gauntlet.sh`. The first tagged release, v0.1.0, marks the protocol as stable enough to build on, not the project as mature.
```

## Key Capabilities
```text
- Approval: SPEC records required and forbidden behavior and proposed tool installations before coding.
- Test discipline: Red–Green–Refactor requires observing a failing test first and prohibits weakening tests to get a pass.
- Gate selection: Changed-line coverage, mutation testing, property checks, and real execution complement the full suite; domain checks are selected by risk.
- Evidence: A fresh final run backs the report, and checks that did not run are marked unverified.
- API companion: `old-coder-api` turns compatibility, authorization, idempotency, and other HTTP/JSON contract decisions into SPEC constraints and validation gates.
- Demonstration: The rate limiter reports 41 tests and 22/22 planted bugs caught, while disclosing defects found in earlier green runs.
```

## Quick Start / Clone
```bash
npx skills add https://github.com/amazingang/old-coder --skill old-coder
```
