You're about to revolutionize how you work with AI coding assistants. This framework will help you:
- Write better, more maintainable code
- Reduce debugging time by 50%+
- Maintain architectural consistency
- Continuously improve your AI collaboration
You received 6 files - here's what each one does:
| File | Purpose | When to Use |
|---|---|---|
| pdca-ai-coding.skill | The actual skill file | Upload to Claude.ai immediately |
| README.md | Package overview | Read first to understand what you got |
| GETTING-STARTED.md | This file! | Your quick start guide |
| PDCA-QUICK-REFERENCE.md | One-page cheat sheet | Print and keep at desk |
| PDCA-SKILL-INSTALLATION-GUIDE.md | Detailed guide | Reference during first sessions |
| PDCA-AI-Coding-Framework.md | Full documentation | Deep dive on methodology |
| PDCA-Prompt-Templates.md | Backup prompts | If not using skill version |
- Open Claude.ai
- Look for Skills or Tools menu
- Click "Upload Skill" or "Add Skill"
- Upload
pdca-ai-coding.skill - ✅ Done! The skill is now active
Open a new chat with Claude and say:
I need to implement [YOUR FEATURE HERE].
Let's use the PDCA framework.
Example:
I need to implement user login with email/password.
Let's use the PDCA framework.
Claude will:
- Show you the working agreements
- Ask for your business objective
- Guide you through the workflow
Just follow Claude's lead! It will walk you through:
- Analysis - "What approach should we take?"
- Planning - "Let's break this into TDD steps"
- Implementation - "Step 1: Write failing test..."
- Check - "Let's verify our work"
- Retrospective - "What did we learn?"
That's it! You're using structured PDCA for AI coding.
- ✅ Upload skill to Claude.ai
- ✅ Do one simple feature (1-2 hours)
- ✅ Follow all 5 phases
- ✅ Read the retrospective carefully
- ✅ Do 2 more features
- ✅ Start intervening when AI goes off track
- ✅ Notice patterns in what works
- ✅ Run metrics on your commits
- ✅ See how you're doing vs targets
- ✅ Adjust based on retrospectives
┌─────────────────────────────────────────────────────────┐
│ PDCA CYCLE │
├─────────────────────────────────────────────────────────┤
│ │
│ 1️⃣ PLAN - Analysis (2-10 min) │
│ ├─ Search for existing patterns │
│ ├─ Propose 2-3 approaches │
│ └─ Recommend best approach │
│ │
│ 2️⃣ PLAN - Task Breakdown (2 min) │
│ ├─ Break into TDD steps │
│ ├─ Define acceptance criteria │
│ └─ Set checkpoints │
│ │
│ 3️⃣ DO - Implementation (<3 hours) │
│ ├─ RED: Write failing test │
│ ├─ GREEN: Make test pass │
│ ├─ REFACTOR: Improve code │
│ └─ COMMIT: Save progress │
│ │
│ 4️⃣ CHECK - Completion (5 min) │
│ ├─ Verify all tests pass │
│ ├─ Check code quality │
│ └─ Confirm completeness │
│ │
│ 5️⃣ ACT - Retrospective (2-10 min) │
│ ├─ What worked well? │
│ ├─ What could be better? │
│ └─ One improvement for next time │
│ │
└─────────────────────────────────────────────────────────┘
The PDCA skill works great out-of-the-box, but for projects with specific tech stacks or team conventions, you can add a .claude/instructions.md file to your project root.
Add .claude/instructions.md if:
- ✅ Your project uses specific frameworks (Next.js vs Vite, TypeScript vs JavaScript)
- ✅ You have team conventions that differ from defaults
- ✅ You keep repeating the same context every session
- ✅ You work on complex enterprise projects
Skip it if:
- ❌ Simple personal projects
- ❌ Standard tech stack with common patterns
- ❌ Just prototyping or experimenting
# In your project root
mkdir .claude
nano .claude/instructions.mdMinimal template:
# Project: [Your Project Name]
## Tech Stack
- Framework: [e.g., Next.js 14]
- Language: [e.g., TypeScript]
- Database: [e.g., PostgreSQL + Prisma]
## Key Conventions
- [e.g., Use server components by default]
- [e.g., API routes in app/api/]
- [e.g., Functional components only]For detailed guide and templates, see PROJECT-CONFIGURATION.md
- Read working agreements before each session
- Let analysis run - it prevents code duplication
- Intervene early - stop AI when it goes wrong
- Commit frequently - after each green test
- Do retrospectives - this is where you improve
- Skip analysis - you'll duplicate code
- Skip tests - you'll debug for hours
- Let AI ramble - intervene when off track
- Make huge commits - keep them small
- Skip retrospectives - you won't improve
Track your code quality:
# See how you're doing
python scripts/track_metrics.py --repo . --since "7 days ago"
# Output shows:
# ✅ Large commits: 15% (target: <20%)
# ✅ Sprawling commits: 8% (target: <10%)
# ✅ Test-first: 65% (target: >50%)Start structured sessions:
python scripts/init_session.py "Feature Name" \
--objective "What you're building" \
--time 2Creates a log file to fill in as you work.
Not all tasks are equal! Use the right version:
When: Implementing interface with clear examples Skip: Detailed analysis Keep: TDD + retrospective Example: "Add new REST endpoint like existing ones"
When: New integrations, architectural changes Use: All 5 phases fully Example: "Integrate new payment provider"
When: Production is down Skip: Analysis Focus: Reproduce bug test → minimal fix Example: "Users can't login right now"
- ✅ Comfortable with workflow
- ✅ Catching AI errors early
- ✅ Smaller, better commits
- ✅ Metrics trending green
- ✅ Fewer regressions
- ✅ Faster code reviews
- ✅ Refined your prompts
- ✅ Significantly better code quality
- ✅ Faster feature delivery
- ✅ Less debugging time
- ✅ Team wants to adopt it too
Solution: Explicitly mention it:
Load the pdca-ai-coding skill and let's implement X
Solution: Intervene immediately:
Stop. Write the failing test first.
Solution: Load references one at a time:
Just load references/implementation-prompt.md for now
Solution: Use this rule:
- New pattern → Full version
- Existing pattern → Lightweight
- Production bug → Emergency version
Solution: Either:
- Tell Claude once: "This is a Next.js + TypeScript project"
- Or create
.claude/instructions.md(see PROJECT-CONFIGURATION.md)
- This file - Quick start ← YOU ARE HERE
- PROJECT-CONFIGURATION.md - Optional project setup
- PDCA-QUICK-REFERENCE.md - Cheat sheet (print it!)
- PDCA-SKILL-INSTALLATION-GUIDE.md - Detailed guide
- PDCA-AI-Coding-Framework.md - Deep dive
- InfoQ Article - The research behind this
- Upload skill to Claude.ai
- Print PDCA-QUICK-REFERENCE.md
- Read working agreements
- Start first coding session
- Follow all 5 phases
- Take notes on what happens
- Complete retrospective
- Do 3-5 coding sessions
- Run metrics script
- Update prompts based on retrospectives
- Share initial results
- (Optional) Add
.claude/instructions.mdif needed
- Track metrics weekly
- Customize skill for your project
- Share with 1-2 teammates
- Measure impact on velocity
You have everything you need:
- ✅ The skill is packaged and ready
- ✅ Documentation is comprehensive
- ✅ Scripts are tested and working
- ✅ You know the workflow
Next step: Upload pdca-ai-coding.skill to Claude.ai
Then say:
I need to implement [your feature]. Let's use the PDCA framework.
Let's build better code together! 🎉
Questions? Check the PDCA-SKILL-INSTALLATION-GUIDE.md for detailed help.