원클릭으로
implementation
Systematic approaches to writing high-quality code with contract-first discipline and validation gates
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Systematic approaches to writing high-quality code with contract-first discipline and validation gates
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Query and manage project state and drive shark workflows — epics, features, tasks, bugs, change-cards, ideas. Use for ALL project state queries, task lifecycle, status transitions (status set / advance --outcome), claim/release/heartbeat leases, blocking/unblocking, notes/context/related-docs, status dashboards, analytics, creating/updating/deleting entities, and any command starting with "shark". Also the router for `/shark <verb>` and triggers the dispatch loop on `/run <key>`.
Multi-angle parallel code review. Six specialist subagents run in parallel (A: line-by-line bugs + production caller chains, B: removed behavior + SOLID, C: cross-file contracts + structural sibling check, D: reuse/complexity/idioms, E: tests design + counter-factual, F: standards crosswalk with citations), then a consolidator verifies and ranks findings into a PASS / PASS-with-triage / FAIL report with Blocker / Non-blocker / Nit triage. Triggered by /deep-review (aliases: /comprehensive-review, /pr-review). Flags: --fix (apply one-liner safe fixes), --comment (post as inline GitHub PR comments). Prompts live in references/angle-*.md and references/consolidator.md — readable on any platform even without the Workflow tool.
Authoritative source for all validation, code review, and quality assurance workflows. Provides consistent quality gates across all development phases.
Write the test first, watch it fail, write minimal code to pass (user) - when implementing any feature or bugfix, before writing implementation code
Orchestrate User Acceptance Testing for a feature — gather evidence, run Codex as the sole assessor, present a no-opinion report to the user, record results, route rejections, and triage non-blocking findings.
Quick-capture and classify a work item discovered during development, routing it to the correct entity type (task, feature, bug, tech-debt, change-card, idea, or note) under the right parent. Searches existing entities first to avoid duplication, proposes a classification, and confirms before creating. Use when you encounter work that needs to be recorded for later, the user says "/triage", or something should be tracked but its home is unclear. This is a capture-and-classify tool, NOT a create-and-elaborate tool.
| name | implementation |
| description | Systematic approaches to writing high-quality code with contract-first discipline and validation gates |
| when_to_use | when implementing any backend, frontend, database, or test code |
| version | 1.0.0 |
| inputs | [{"task_spec_path":"absolute path to the task spec markdown"},{"feature_prd_path":"absolute path to the feature PRD markdown (optional)"},{"architecture_path":"absolute path to the architecture document (optional)"},{"api_spec_path":"absolute path to the API specification (optional)"},{"coding_standards_path":"absolute path to coding standards doc (optional)"},{"test_plan_path":"absolute path to a pre-authored QA test plan, if one exists (optional)"},{"existing_files":"list of paths to existing source files relevant to the change"},{"codebase_kind":"greenfield | brownfield (defaults to brownfield if existing_files non-empty)"}] |
| outputs | [{"selected_workflow":"one of {implement-api, implement-backend, implement-database, implement-frontend, implement-tests}"},{"implementation_files":"list of paths to created/modified source files"},{"test_files":"list of paths to created/modified test files"},{"validation_gate_results":"structured record of validation-gate outcomes"},{"summary":"structured markdown describing what was implemented"}] |
This skill provides systematic workflows for implementing code across backend APIs, frontend components, databases, and tests. It emphasizes:
Use this skill when:
Choose the appropriate workflow based on what you're implementing:
API Endpoints → workflows/implement-api.md
Backend Services → workflows/implement-backend.md
Database Changes → workflows/implement-database.md
UI Components → workflows/implement-frontend.md
Test Creation → workflows/implement-tests.md
A complex change frequently uses multiple workflows in sequence — for example, implement-database → implement-backend → implement-api → implement-frontend → implement-tests.
Before implementing, always review these context documents (when present):
If codebase_kind = brownfield (or existing_files is non-empty), complete the brownfield discovery workflow BEFORE selecting an implementation workflow. See context/brownfield-discovery.md.
The point: understand what exists, avoid duplicating capabilities, and map the blast radius of your change before writing code.
If test_plan_path is provided:
This prevents self-grading — where you write both tests and code, validating only your own interpretation of the spec.
context/contract-first.md
THE GOLDEN RULE: DTOs are defined in design docs, implemented identically on frontend and backend, and validated BEFORE any business logic is written.
This prevents frontend/backend divergence and enables parallel development.
context/validation-gates.md
Quality checkpoints that must pass before work is considered complete:
context/coding-standards.md
Consistent code style, naming conventions, and best practices.
context/error-handling.md
Systematic approach to error handling, logging, and user-facing error messages.
context/testing-requirements.md
Test coverage expectations and testing strategies.
The standard implementation sequence:
1. Read task and parent context
- task_spec_path
- feature_prd_path (intent)
- architecture_path / api_spec_path (constraints, contracts)
↓
2. BROWNFIELD DISCOVERY (if existing codebase)
- Follow context/brownfield-discovery.md
- Pass implementation gate before proceeding
- Skip only for greenfield work
↓
3. CHECK FOR QA TEST PLAN (Shift-Left)
- If test_plan_path provided: read test plan + parent feature PRD
- Test scenarios come from the test plan, not your interpretation
↓
4. INVOKE TDD DISCIPLINE
- Use the test-driven-development skill via the Skill tool
- This is non-negotiable for production code (features, bug fixes,
refactoring) — exceptions: configuration, documentation, or
explicit user request
↓
5. Select appropriate workflow (this SKILL.md)
↓
6. Follow contract-first discipline (if applicable)
↓
7. Write tests FIRST (following TDD)
- If test plan exists: translate the planned cases into automated tests
- If no test plan: write tests from task spec and acceptance criteria
↓
8. Implement code following the selected workflow
↓
9. Apply coding standards
↓
10. Implement error handling
↓
11. Run validation gates
↓
12. Return structured summary of work completed
summarytest-driven-development (REQUIRED)
testing-anti-patterns
frontend-design
architecture
Implementation is complete when:
Remember: Quality is built in through systematic workflows, not added later. Follow the discipline, trust the process, and deliver production-ready code.