spec-coding-skill
Original:🇺🇸 English
Translated
Guides LLM agents through large-scale coding tasks using a spec-driven, phase-by-phase methodology covering requirement definition, planning, algorithm design, and implementation with OOP principles and language-specific coding standards. Use when starting a new software project, implementing a complex feature, refactoring existing code, or when you need a disciplined step-by-step approach to any non-trivial coding task.
8installs
Added on
NPX Install
npx skill4agent add hunter-leo/llm-agent-oop-coding-skill spec-coding-skillTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Spec Coding Skill
A spec-driven methodology for LLM agents to define, plan, and implement large-scale coding work with quality and consistency.
When Activated
- Read 00-agent-execution.md first — these are global rules that apply to every phase and take precedence over all other instructions
- Start Phase 01 — follow 01-initialization.md to create the requirement definition document
- Work through phases in order — consult the reference file for each phase as you enter it
All generated documents go under in the project root.
.dev/[NNN]-[req-name]/Phase Overview
Phase 01 — Initialization (required)
↓
Phase 02 — Prerequisite Tasks (optional, LLM judges)
Phase 03 — Algorithm Design (optional, LLM judges)
↓
Phase 04 — Implementation Plan (required)
↓
Phase 05 — Task Planning (required)
↓
Phase 06 — Execution (required)Phases 02 and 03 are independent — both, one, or neither may be needed.
Phase Reference
| Phase | Output | Reference |
|---|---|---|
| 01 Initialization | | 01-initialization.md |
| 02 Prerequisite Tasks | | 02-prerequisite-tasks.md |
| 03 Algorithm Design | | 03-algorithm-design.md |
| 04 Implementation Plan | | 04-implementation-plan.md |
| 05 Task Planning | | 05-task-planning.md |
| 06 Execution | | 06-start-and-resume.md |
Coding Reference
| Topic | Reference |
|---|---|
| OOP & SOLID Principles | 07-oop-principles.md |
| Coding Standards (all languages) | 08-coding-standards.md |
Core Rules
- Never skip a required phase
- Read existing code before modifying anything
- Write and pass unit tests before moving to the next task
- Minimize changes when the project is ; breaking changes are allowed for
live+ new modulespre-launch - Never hardcode secrets; use environment variables
- All identifiers, comments, and docs must be in English