Help us improve
Share bugs, ideas, or general feedback.
PIV + Spec-Kit: Structured specs, strict TDD, AI-assisted development
npx claudepluginhub galando/piv-speckitPIV + Spec-Kit: PIV methodology with structured specs and strict TDD
Share bugs, ideas, or general feedback.
PIV (Prime-Implement-Validate) + Spec-Kit: Structured specs, strict TDD, for AI-assisted development.
Zero-setup workflow - just run /piv-speckit:plan-feature and context loads automatically!
A Claude Code plugin for structured AI-assisted development.
PIV = Prime → Implement → Validate
A development methodology for AI-assisted software development:
→ Interactive Visual Guide | → Full Methodology | → Changelog
This framework integrates best practices from GitHub's Spec-Kit, adding structured specification artifacts to the PIV methodology.
| Artifact | Purpose | Created By |
|---|---|---|
spec.md | Functional requirements (WHAT) | /piv-speckit:plan-feature |
plan.md | Technical approach (HOW) | /piv-speckit:plan-feature |
tasks.md | Implementation steps (DO) | /piv-speckit:plan-feature |
quickstart.md | TL;DR for humans | /piv-speckit:plan-feature |
prime-context.md | Codebase context (auto-generated) | Auto-prime in plan-feature |
All artifacts are structured Markdown - human-readable and version-controlled.
# Add marketplace
/plugin marketplace add galando/piv-speckit
# Install PIV + Spec-Kit
/plugin install piv-speckit
Commands: /piv-speckit:plan-feature (auto-primes), /piv-speckit:execute, /piv-speckit:prime (optional)
Features: Auto-activating skills (TDD, code-review, security), full reference docs, agent context system.
┌─────────────────────────────────────────────────────────────────────────────┐
│ PIV SPEC-KIT WORKFLOW │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ 1. PLAN (Auto-Primes + Structured Specs) │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ /piv-speckit:plan-feature "Add user authentication" │ │
│ │ │ │
│ │ → Auto-prime: loads/refreshes context silently │ │
│ │ → Creates .claude/specs/{feature}/ │ │
│ │ ├─ spec.md (WHAT: requirements, user stories) │ │
│ │ ├─ plan.md (HOW: architecture, data model, APIs) │ │
│ │ ├─ tasks.md (DO: step-by-step implementation) │ │
│ │ └─ quickstart.md (TL;DR: quick reference) │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ ↓ │
│ 2. IMPLEMENT (Strict TDD) │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ /piv-speckit:execute .claude/specs/{feature}/tasks.md │ │
│ │ │ │
│ │ For each task: │ │
│ │ ├─ RED: Write failing test first │ │
│ │ ├─ GREEN: Write minimal code to pass │ │
│ │ └─ REFACTOR: Improve while tests stay green │ │
│ │ │ │
│ │ Skills auto-activate: TDD, code-review, security │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ ↓ │