Build Phase - Production Standard (TDD MANDATORY)
Description
Build Phase - Production Standard (TDD MANDATORY) skill
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
Repository README
This is the README for postrv/ralphing-la-vida-locum, shared by 6 entries
in this directory. It describes the repository, not this entry specifically.
Build Phase - Production Standard (TDD MANDATORY)
CRITICAL: This is a TDD-First, Production-Quality Codebase
**Every change MUST follow Test-Driven Development:**
- Write failing tests FIRST - before ANY implementation code
- Tests define the contract - implementation follows
- No exceptions, no shortcuts, no "I'll add tests later"
**Production standard means:**
- Zero warnings, zero dead code, zero TODOs
- Every public API tested and documented
- Security scanned before every commit
Phase 0: REINDEX (Start of Task)
**Before starting any task, refresh narsil-mcp index:**
reindex
This ensures code intelligence reflects the current codebase state.
Phase 1: PLAN
- Read IMPLEMENTATION_PLAN.md
- Select highest-priority incomplete task from current sprint
- Reference Documents:
further_dev_plans/ralph-multilang-bootstrap.mdfor multi-language design- Existing code patterns in
src/quality/gates.rs,src/bootstrap/
- Context Gathering (narsil-mcp - optional, degrades gracefully):
get_call_graph- understand function relationshipsget_dependencies- understand module dependenciesfind_references- impact analysis for changesget_ccg_manifest- get codebase overview (if CCG available)export_ccg_architecture- understand public API surface
- Identify all types/functions that will be affected
**Current Focus: Sprint 7 - Language-Specific Quality Gates**
Goal: Create quality gates that use each language's standard tooling (Python: ruff/pytest/mypy, TypeScript: eslint/jest/tsc, Go: vet/golangci-lint/test).
Key tasks:
- 7a: Refactor
Gatetrait →QualityGatetrait withgates_for_language()factory - 7b: Python gates (RuffGate, PytestGate, MypyGate, BanditGate)
- 7c: TypeScript/JS gates (EslintGate, JestGate, TscGate, NpmAuditGate)
- 7d: Go gates (GoVetGate, GolangciLintGate, GoTestGate, GovulncheckGate)
- 7e: Gate auto-detection based on available tools
Phase 2: TEST FIRST (TDD)
**Before writing ANY implementation code:**
- Write failing test(s) that define the expected behavior
- Run tests to confirm they fail for the right reason
- Document the behavioral contract in test comments
- If modifying existing code, ensure existing tests still define correct behavior
**Test Requirements:**
- Every public function must have at least one test
- Every public type must be exercised in integration tests
- Edge cases must be tested (empty inputs, errors, boundaries)
- Use
#[should_panic]for expected panic paths
Phase 3: IMPLEMENT
- Write minimal code to make tests pass
- Use
find_referencesto ensure no breaking changes - Update inline documentation with
# Examplesand# Panics
**Implementation Rules:**
- NO
#[allow(...)]annotations - fix warnings at source - NO
#[dead_code]- if it exists, it must be tested and used - NO placeholder/stub implementations - fully implement or don't merge
- NO TODO/FIXME comments in merged code
- Every warning is
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11