with one click
write-code
// Implement code changes with strict TDD (RED→GREEN→REFACTOR), enforcing `coding-standards` and maintaining `<project-root>/.agent/CONTEXT.md`.
// Implement code changes with strict TDD (RED→GREEN→REFACTOR), enforcing `coding-standards` and maintaining `<project-root>/.agent/CONTEXT.md`.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | write-code |
| description | Implement code changes with strict TDD (RED→GREEN→REFACTOR), enforcing `coding-standards`, maintaining `<project-root>/.agent/CONTEXT.md`, and refreshing required architecture diagrams in `<project-root>/.agent/diagrams/*.d2` after structural changes. |
All coding standards are defined by the coding-standards skill. Before writing code, read it. It covers: deep modules, orthogonality, coupling, seams, adapters, DRY, naming, design-by-contract, testing at interfaces, and refactoring discipline.
<project-root>/.agent/CONTEXT.md. If missing, create it following context-definition skill discipline. No code without it.docs/adr/ (if any exist).coding-standards — enforce every standard.Hard rule: No code before red test. Every change follows RED → GREEN → REFACTOR.
coding-standards: identify seam, define interface, verify depth with deletion test.coding-standards §8.coding-standards §1.coding-standards §6.coding-standards §4 (DRY), §2 (orthogonality), §7 (broken windows).coding-standards §8.<project-root>/.agent/CONTEXT.md<project-root>/.agent/CONTEXT.md now — same discipline as context-definition skill.<project-root>/.agent/diagrams/modules.d2<project-root>/.agent/diagrams/relationships.d2<project-root>/.agent/diagrams/components.d2Covers: Any code change — new features, bug fixes, refactors, API surface changes, infrastructure, scripts. If it touches code, this skill handles it.
Does not cover: Pure test additions without behavior change, documentation updates without code, configuration-only changes.