Coding Discipline — Testing skill for Claude Code
Workflow-agnostic guardrails for AI coding agents: spec sync + risk-triggered engineering discipline for Claude Code and Codex.
How to install Coding Discipline
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open chipfighter/coding-discipline and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Coding Discipline does
Workflow-agnostic guardrails for AI coding agents: spec sync + risk-triggered engineering discipline for Claude Code and Codex.
Alternatives in Testing
- AI Contribution Skills (Engram) — branch-pr: clean branch and PR workflow 2.5k ★
- Spec Kitty — Spec-Driven Development for serious software developers 1.6k ★
- Spec Driven Develop — Spec-driven development workflow for AI coding agents: architecture-first planning, task decomposition, GitHub 975 ★
README
coding-discipline
**Chinese** → [README.zh-CN.md](README.zh-CN.md)
**Guardrails, not a workflow.** Quiet on routine work; firm when a named failure mode is at risk.
AI coding agents tend to fail in two expensive ways:
- They drift off-goal. A decision is confirmed in chat, but the next session reads a stale spec and builds the old target.
- They skip steps. They code before requirements are aligned, patch symptoms before finding the root cause, or claim success without current evidence.
`coding-discipline` is a lightweight, workflow-agnostic plugin that addresses both:
- Spec sync writes confirmed goals, non-goals, constraints, and acceptance criteria back to the current source of truth when later sessions would otherwise act on stale intent.
- Risk-triggered discipline invokes firm engineering guardrails only when their conditions match: design alignment, TDD, systematic debugging, prioritized review, evidence-before-done, disciplined git flow, and context hygiene.
It does **not** replace Plan mode, launch subagents, orchestrate worktrees, choose models, or force every task through a spec workflow. Small changes stay small. When a risk trigger matches, the corresponding skill stays firm.
8 skills + 2 hooks. Install once, apply globally. Supports Claude Code and Codex.
Why this exists
[Superpowers](https://github.com/obra/superpowers) proved that engineering discipline can live in agent skills — this plugin even reuses its cross-platform hook pattern (see Credits). But Superpowers is a complete workflow: its bootstrap asks the agent to route every response, even a clarifying question, through the skill system first.
coding-discipline starts from the opposite default. Skills stay dormant until a named failure mode is at risk; routine work runs untouched. The fixed context injected per session is ~1.2k tokens and cannot silently grow — a CI test fails the build when it does. The cost that actually differs between pl
Related Skills
Loopeng
Agent-agnostic Loop Engineering runner: portable loop.yaml spec + deterministic verification gate + guardrails
Specpipe
Spec-first development toolkit for agentic AI coding agents — skills + guardrails for Claude Code, Codex, Curs
Agentic Engineering Skills
33 technology-agnostic Agentic Engineering Skills across 6 SDLC categories (Analysis, Design, Development, V&V
Specbridge
Open, model-agnostic spec runtime for existing Kiro projects - bring your .kiro steering and specs to Claude C
Agent Runway
Operational discipline layer for AI-assisted software delivery: spec/ticket workflows, quality gates, and pers
Sdlc Orchestrator
Cross-team SDLC productivity system: combines spec-driven development, dependency/ownership tracking, and AI a
Related Agents
Capital Allocation
Capital Allocation Committee — CFO-led debate protocol for material capital decisions; growth-vs-discipline ad
Game Build Engineer
Build Engineer / Technical Artist. Owns the Unity batchmode pipeline — SceneSetup, BuildScript, AutoScreenshot
Agent TDD Crate Agent
Use when implementing one or more tasks in a specific Rust workspace crate with strict TDD discipline. Trigger