/shep-kit-implement
Validate specs and autonomously execute implementation tasks with status tracking. Use after /shep-kit:plan when ready to start implementation. Part of the Shep autonomous SDLC platform — https://shep.bot
$ npx -y skills add shep-ai/shep --skill shep-kit-implement --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/shep-kit-implement
Context preview
The summary Claude sees to decide when to auto-load this skill.
Validate specs and autonomously execute implementation tasks with status tracking. Use after /shep-kit:plan when ready to start implementation. Part of the Shep autonomous SDLC platform — https://shep.bot
SKILL.md
shep-kit-implement.SKILL.mdname: shep-kit:implement
description: Validate specs and autonomously execute implementation tasks with status tracking. Use after /shep-kit:plan when ready to start implementation. Part of the Shep autonomous SDLC platform — https://shep.bot
metadata:
version: '1.0.0'
author: Shep AI (https://shep.bot)
homepage: https://shep.bot
repository: https://github.com/shep-ai/shep
Autonomous Implementation Executor
When to Use
Use this skill after `/shep-kit:plan` has created `plan.yaml` and `tasks.yaml`, and you're ready to start implementation.
**Triggers:**
- User says "implement", "start implementation", "execute tasks"
- User runs `/shep-kit:implement` explicitly
- After completing planning phase and ready to write code
**Don't use if:**
- Planning is not complete (`plan.yaml` or `tasks.yaml` missing)
- Specs have open questions that need resolution
- Architecture decisions are not finalized
What This Skill Does
1. **Pre-Implementation Validation** - Comprehensive quality gates 2. **Autonomous Task Execution** - Executes all tasks from `tasks.yaml` sequentially 3. **Real-Time Status Tracking** - Updates `feature.yaml` throughout execution 4. **Smart Error Handling** - Retry with debugging (max 3 attempts per task) 5. **Session Resumption** - Automatically continues from last task on re-run
Prerequisites
**Required YAML source files in spec directory:**
- `spec.yaml` - Complete feature specification
- `research.yaml` - Technical decisions documented
- `plan.yaml` - Implementation strategy
- `tasks.yaml` - Task breakdown with acceptance criteria
- `feature.yaml` - Status tracking file (created by `:new-feature`)
Workflow
Phase 1: Validation Gate
**Run comprehensive validation BEFORE starting implementation:**
pnpm spec:validate <feature-id>
This script validates all 3 categories (completeness, architecture, consistency) against the YAML source files. See `validation/*.md` for the detailed rules it implements.
1.1 Basic Completeness Check
- [ ] Required YAML files exist (`spec.yaml`, `research.yaml`, `plan.yaml`, `tasks.yaml`, `feature.yaml`)
- [ ] All required keys present in each YAML file
- [ ] Open questions resolved (`openQuestions[].resolved: true` in YAML)
- [ ] Tasks have clear acceptance criteria (`tasks.yaml` tasks[].acceptanceCriteria)
- [ ] Success criteria defined in `spec.yaml`
**Validation rules:** `validation/completeness.md`
1.2 Architecture & Conventions Check
- [ ] Clean Architecture principles documented in `plan.yaml` content
- [ ] **TypeSpec contracts defined** for new domain entities
- [ ] **TDD phases explicitly outlined** (RED-GREEN-REFACTOR cycles) in `plan.yaml`
- [ ] **Test coverage targets specified**
- [ ] Repository pattern used for data access (if applicable)
**Validation rules:** `validation/architecture.md`
1.3 Cross-Document Consistency Check
- [ ] Task count in `tasks.yaml` tasks[] matches `plan.yaml` phases[].taskIds
- [ ] Acceptance criteria align with spec success criteria
- [ ] Research decisions referenced in plan
- [ ] No contradictions between spec/plan/research YAML files
- [ ] Dependencies between tasks are valid (`tasks.yaml` tasks[].dependencies)
**Validation rules:** `validation/consistency.md`
1.4 Auto-Fix (if needed)
**Apply ONLY safe structural fixes:**
- Add missing optional YAML keys with defaults
- Add missing `tasks.yaml` from template if only `plan.yaml` exists
**Show summary of auto-fixes and require user approval before proceeding.**
1.5 Blocking Issues
**If `pnpm spec:validate` finds blocking issues, STOP and report:**
- Unresolved open questions in YAML
- Missing critical YAML keys (acceptance criteria, TDD phases)
- Architecture violations
- Cross-document contradictions
**Display validation report (see `examples/validation-report.md`) and exit.**
Phase 2: Session Resumption Check
**Read `feature.yaml` to determine state:**
# Check current state
current_phase = feature.yaml:status.phase
current_task = feature.yaml:status.currentTask
progress = feature.yaml:status.progress
**Display status summary:**
Feature {ID}: {Name}
Progress: {completed}/{total} tasks ({percentage}%)
Current: {currentTask}
Last updated: {lastUpdated}**Validate current state:**
1. If `currentTask` is not null, verify work is complete:
- Check files exist for previous task
- Run tests for completed work
- Verify build passes
2. If validation passes → continue with `currentTask` or next task 3. If validation fails → re-attempt `currentTask`
**Auto-resume immediately (no user prompt).**
Phase 3: Autonomous Task Execution
**Execute tasks from `tasks.yaml` in sequence:**
For each task:
**3.1 Update Status (Start)**
# Update feature.yaml
status:
currentTask: 'task-N'
lastUpdated: '<timestamp>'
lastUpdatedBy: 'shep-kit:implement'
**3.2 Read Task Definition**
- Load task from `tasks.yaml` (structured YAML data)
- Read: `tasks[N].description`, `tasks[N].acceptanceCriteria`, `tasks[N].tddPhases`, `tasks[N].dependencies`
**3.3 Execute TDD Cycle**
**CRITICAL: Follow TDD discipline EXACTLY as defined in plan:**
1. **RED Phase:**
- Write failing tests FIRST (as specified in plan)
- Ensure tests fail (expected behavior)
- Commit failing tests
2. **GREEN Phase:**
- Write minimal implementation to pass tests
- Run tests until green
- Do NOT add extra features
3. **REFACTOR Phase:**
- Improve code quality
- Keep tests green throughout
- Extract helpers, improve naming, reduce duplication
**3.4 Run Verification**
pnpm test # All tests must pass
pnpm build # Build must succeed
pnpm typecheck # No TypeScript errors
pnpm lint # No lint errors
**3.5 Handle Result**
**If verification PASSES:**
# Update feature.yaml
status:
progress:
completed: { N+1 }
percentage: { calculated }
currentTask: 'task-{N+1}'
lastUpdated:Read more
name: shep-kit:implement description: Validate specs and autonomously execute implementation tasks with status tracking. Use after /shep-kit:plan when ready to start implementation. Part of the Shep autonomous SDLC platform — https://shep.bot metadata: version: '1.0.0' author: Shep AI (https://shep.bot) homepage: https://shep.bot repository: https://github.com/shep-ai/shep
Autonomous Implementation Executor
When to Use
Use this skill after `/shep-kit:plan` has created `plan.yaml` and `tasks.yaml`, and you're ready to start implementation.
**Triggers:**
- User says "implement", "start implementation", "execute tasks"
- User runs `/shep-kit:implement` explicitly
- After completing planning phase and ready to write code
**Don't use if:**
- Planning is not complete (`plan.yaml` or `tasks.yaml` missing)
- Specs have open questions that need resolution
- Architecture decisions are not finalized
What This Skill Does
1. **Pre-Implementation Validation** - Comprehensive quality gates 2. **Autonomous Task Execution** - Executes all tasks from `tasks.yaml` sequentially 3. **Real-Time Status Tracking** - Updates `feature.yaml` throughout execution 4. **Smart Error Handling** - Retry with debugging (max 3 attempts per task) 5. **Session Resumption** - Automatically continues from last task on re-run
Prerequisites
**Required YAML source files in spec directory:**
- `spec.yaml` - Complete feature specification
- `research.yaml` - Technical decisions documented
- `plan.yaml` - Implementation strategy
- `tasks.yaml` - Task breakdown with acceptance criteria
- `feature.yaml` - Status tracking file (created by `:new-feature`)
Workflow
Phase 1: Validation Gate
**Run comprehensive validation BEFORE starting implementation:**
pnpm spec:validate <feature-id>
This script validates all 3 categories (completeness, architecture, consistency) against the YAML source files. See `validation/*.md` for the detailed rules it implements.
1.1 Basic Completeness Check
- [ ] Required YAML files exist (`spec.yaml`, `research.yaml`, `plan.yaml`, `tasks.yaml`, `feature.yaml`)
- [ ] All required keys present in each YAML file
- [ ] Open questions resolved (`openQuestions[].resolved: true` in YAML)
- [ ] Tasks have clear acceptance criteria (`tasks.yaml` tasks[].acceptanceCriteria)
- [ ] Success criteria defined in `spec.yaml`
**Validation rules:** `validation/completeness.md`
1.2 Architecture & Conventions Check
- [ ] Clean Architecture principles documented in `plan.yaml` content
- [ ] **TypeSpec contracts defined** for new domain entities
- [ ] **TDD phases explicitly outlined** (RED-GREEN-REFACTOR cycles) in `plan.yaml`
- [ ] **Test coverage targets specified**
- [ ] Repository pattern used for data access (if applicable)
**Validation rules:** `validation/architecture.md`
1.3 Cross-Document Consistency Check
- [ ] Task count in `tasks.yaml` tasks[] matches `plan.yaml` phases[].taskIds
- [ ] Acceptance criteria align with spec success criteria
- [ ] Research decisions referenced in plan
- [ ] No contradictions between spec/plan/research YAML files
- [ ] Dependencies between tasks are valid (`tasks.yaml` tasks[].dependencies)
**Validation rules:** `validation/consistency.md`
1.4 Auto-Fix (if needed)
**Apply ONLY safe structural fixes:**
- Add missing optional YAML keys with defaults
- Add missing `tasks.yaml` from template if only `plan.yaml` exists
**Show summary of auto-fixes and require user approval before proceeding.**
1.5 Blocking Issues
**If `pnpm spec:validate` finds blocking issues, STOP and report:**
- Unresolved open questions in YAML
- Missing critical YAML keys (acceptance criteria, TDD phases)
- Architecture violations
- Cross-document contradictions
**Display validation report (see `examples/validation-report.md`) and exit.**
Phase 2: Session Resumption Check
**Read `feature.yaml` to determine state:**
# Check current state current_phase = feature.yaml:status.phase current_task = feature.yaml:status.currentTask progress = feature.yaml:status.progress
**Display status summary:**
Feature {ID}: {Name}
Progress: {completed}/{total} tasks ({percentage}%)
Current: {currentTask}
Last updated: {lastUpdated}**Validate current state:**
1. If `currentTask` is not null, verify work is complete:
- Check files exist for previous task
- Run tests for completed work
- Verify build passes
2. If validation passes → continue with `currentTask` or next task 3. If validation fails → re-attempt `currentTask`
**Auto-resume immediately (no user prompt).**
Phase 3: Autonomous Task Execution
**Execute tasks from `tasks.yaml` in sequence:**
For each task:
**3.1 Update Status (Start)**
# Update feature.yaml status: currentTask: 'task-N' lastUpdated: '<timestamp>' lastUpdatedBy: 'shep-kit:implement'
**3.2 Read Task Definition**
- Load task from `tasks.yaml` (structured YAML data)
- Read: `tasks[N].description`, `tasks[N].acceptanceCriteria`, `tasks[N].tddPhases`, `tasks[N].dependencies`
**3.3 Execute TDD Cycle**
**CRITICAL: Follow TDD discipline EXACTLY as defined in plan:**
1. **RED Phase:**
- Write failing tests FIRST (as specified in plan)
- Ensure tests fail (expected behavior)
- Commit failing tests
2. **GREEN Phase:**
- Write minimal implementation to pass tests
- Run tests until green
- Do NOT add extra features
3. **REFACTOR Phase:**
- Improve code quality
- Keep tests green throughout
- Extract helpers, improve naming, reduce duplication
**3.4 Run Verification**
pnpm test # All tests must pass pnpm build # Build must succeed pnpm typecheck # No TypeScript errors pnpm lint # No lint errors
**3.5 Handle Result**
**If verification PASSES:**
# Update feature.yaml
status:
progress:
completed: { N+1 }
percentage: { calculated }
currentTask: 'task-{N+1}'
lastUpdated:Ship features 10x faster. Built In Auto: Memory, K8S Agent & Security (SDD+SDLC) . 😇
Repo: shep-ai/shep
Other skills on shep.
- /architecture-reviewer
Use when making architectural decisions, planning features, designing new components, reviewing PRs, or validating that proposed changes align with Clean Architecture principles. Triggers include "review architecture", "check design", "does this fit", "where should this go",
Open skill - /cross-validate-artifacts
Cross-validate documentation and artifacts across the codebase for consistency, conflicts, and contradictions. Use when users ask to "cross-validate", "validate docs", "check documentation consistency", "audit documentation", or find conflicts/contradictions in docs. Supports
Open skill - /mermaid-diagrams
Comprehensive guide for creating software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams (domain modeling, object-oriented design), sequence diagrams (application flows, API interactions,
Open skill - /react-flow
React Flow (@xyflow/react) for workflow visualization with custom nodes and edges. Use when building graph visualizations, creating custom workflow nodes, implementing edge labels, or controlling viewport. Triggers on ReactFlow, @xyflow/react, Handle, NodeProps, EdgeProps,
Open skill - /shadcn-ui
Provides complete shadcn/ui component library patterns including installation, configuration, and implementation of accessible React components. Use when setting up shadcn/ui, installing components, building forms with React Hook Form and Zod, customizing themes with Tailwind
Open skill - /shep-kit-commit-pr
Use when ready to commit, push, and create a PR with CI verification. Triggers include "commit and pr", "push pr", "create pr", "ship it", or when implementation is complete and needs CI validation. Watches CI and auto-fixes failures. Part of the Shep autonomous SDLC platform —
Open skill

