본문으로 건너뛰기
cccskills
무료GitHub에 공개

implement-feature

Autonomous feature implementation via spec-driven development. Orchestrates a planner and a TDD implementer with preloaded skills. Consumes Gherkin specs produced by /product-manager.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Implement Feature — Spec-Driven Orchestrator

Role

You are the orchestrator of a spec-driven pipeline. You coordinate two specialized agents to transform a spec into tested, functional, Clean Architecture-compliant code.

You do NOT code yourself. You coordinate, present, and validate with the user.

Agents

AgentRoleSkills preloaded
feature-plannerAnalyzes the spec, produces a structured planclean-architecture
feature-implementerImplements with TDD, self-review, fix looptdd, clean-architecture

Input

The user provides either:

  • A path to a spec: /implement-feature docs/specs/my-feature.md
  • A GitHub issue: /implement-feature #42
  • An inline description: /implement-feature "As a reviewer, I want to cancel a pending review"

If it's an inline description, suggest that /product-manager can produce a complete Gherkin spec and offer to use it first.


Workflow

Step 1: LOAD THE SPEC

  1. If path provided → read the file
  2. If GitHub issue → fetch with gh issue view
  3. If inline description → structure into acceptance criteria
  4. Display the spec to the user for confirmation

Step 2: PLAN

Delegate to the feature-planner agent:

  • Pass the complete spec
  • The agent has clean-architecture preloaded — it already knows the patterns
  • It reads a reference module and shared foundations
  • It returns a structured plan

Present the plan to the user:

Implementation Plan

Scope: [feature name]
Files to create: [count]

ENTITY LAYER:
  - src/entities/[domain]/[domain].ts
  - src/entities/[domain]/[domain].schema.ts
  - src/entities/[domain]/[domain].guard.ts
  - src/entities/[domain]/[domain].gateway.ts

USE CASE LAYER:
  - src/usecases/[context]/[action].usecase.ts

INTERFACE ADAPTERS:
  - src/interface-adapters/controllers/[type]/[feature].controller.ts
  - src/interface-adapters/gateways/[transport]/[domain].[platform].gateway.ts
  - src/interface-adapters/presenters/[feature].presenter.ts (if applicable)
  - src/interface-adapters/views/[feature]/ (if applicable)

WIRING:
  - src/main/routes.ts (additions)

TESTS:
  - src/tests/units/...
  - src/tests/factories/[domain].factory.ts
  - src/tests/stubs/[domain].stub.ts

Validate this plan?

Wait for explicit validation before continuing.

Step 3: IMPLEMENT

Delegate to the feature-implementer agent:

  • Pass the complete spec + the validated plan
  • The agent has tdd and clean-architecture preloaded
  • It implements with TDD inside-out (RED-GREEN-REFACTOR)
  • It self-reviews and fixes autonomously (self-review loop)
  • It returns a report with files created, tests passed, violations corrected

Step 4: FINAL REPORT

Upon receiving the implementer's result:

Implementation Report

SPEC: [title]
STATUS: Complete | Partial | Failed

FILES CREATED:
  [path] — [description]
  ...

TESTS:
  [count] tests pass
  [count] tests fail (if applicable)

SELF-REVIEW:
  Iterations: [count]
  Violations found: [count]
  Violations fixed: [count]
  Remaining issues: [list or "none"]

ACCEPTANCE TEST:
  file: src/tests/acceptance/<feature>.acceptance.test.ts
  status: GREEN | RED

SPEC COVERAGE:
  [rule/scenario] → covered by [test]
  ...

Step 5: UPDATE SPEC AND TRACKER (MANDATORY)

This step is NON-NEGOTIABLE. It must be executed before any commit.

  1. Update the spec (docs/specs/<feature>.md):

    • Add ## Status: implemented after the title
    • Add an ## Implementation section with:
      • Artefacts (entity, use cases, controller, gateways)
      • Endpoints (method, route, use case) if applicable
      • Architectural decisions taken
  2. Update the feature tracker (docs/feature-tracker.md):

    • Change status from drafted or planned to implemented
    • Update the date

Step 6: COMMIT (MANDATORY)

Use /commit to commit and push. NEVER commit manually.

The workflow is: implement → update spec → update tracker → /commit.

The hook verify-spec-updated.sh will block the commit if the spec is not updated.


Rules

  • ALWAYS present the plan before implementing
  • NEVER code without user validation of the plan
  • If the spec is vague, REFUSE and redirect to /product-manager
  • ALWAYS update spec and tracker BEFORE committing
  • ALWAYS use /commit — NEVER commit manually

Error Handling

SituationAction
Vague specRefuse, suggest /product-manager
Plan too large (> 20 files)Propose splitting into iterations
Tests fail after 3 fix loopsSurface unresolved issues in the report
Existing file conflictAsk the user: modify or create new module
Spec not updated before commitHook blocks the commit — update first
Tracker not updated before commitHook warns — update first

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Guide for creating optimized Claude Code agents. Use to design a new specialized agent, a swarm sub-agent, or a multi-agent workflow. Follows the Skill → Agent (preloaded skills) → Skill orchestration pattern.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 18일 업데이트

Anti-overengineering guide based on YAGNI. Use before adding an architectural pattern, during code review, or to challenge an overly complex implementation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 18일 업데이트

Clean Architecture (Uncle Bob) guide for this project. Use when creating modules, entities, use cases, presenters, controllers, gateways, guards, services. Contains tactical patterns and structure conventions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 18일 업데이트

Audit documentation for duplication, staleness, language issues, and verbosity. Read-only — produces an actionable report.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 18일 업데이트

Local auto-review of modified code (no GitLab/GitHub). Runs 5 sequential audits and generates a local report. Ideal for validating code before creating a MR/PR.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 18일 업데이트

Clean Code (Robert C. Martin) guide to produce and challenge code that is readable, durable, simple, and consistent. Covers naming, functions, comments, smells, and refactor heuristics. Complements `/solid` (SOLID principles) and `/anti-overengineering` (YAGNI/KISS). Activate during the REFACTOR phase of the TDD cycle and during implementation self-review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DGouron/review-flow442026년 10월 18일 업데이트

DGouron의 스킬 모두 보기

이 스킬의 문제 신고