code-first-draftlisted
Install: claude install-skill talgacapri/pm-os
## Quick Start
1. Point me to a PRD or describe the feature to build
2. I explore your codebase (framework, patterns, structure) or switch to Prototype Mode if no codebase exists
3. I create an implementation plan and ask for your approval before writing code
4. I implement the feature following existing code patterns, with tests
5. I deliver a summary with files created/modified, test coverage, and next steps
**Example:** "Build the user preferences feature from outputs/prds/preferences.md"
**Output:** Code in your codebase + summary saved to `outputs/prototypes/[feature]-first-draft.md`
**Time:** 1-3 hours depending on feature complexity
## Purpose
Connect to codebase and build initial implementation of a feature. Single-pass development with manual iteration.
## Usage
- `/code-first-draft` - Build feature from PRD
- `/code-first-draft [prd-name]` - Build specific PRD
- `/code-first-draft --explore-only` - Just explore codebase, don't write code yet
---
## Context Routing
**Check first:**
1. `outputs/prds/` - PRD for requirements
2. `context-library/technical/codebase-overview.md` - Cached codebase context
3. Codebase (`.git` directory, source files)
---
## Workflow
### Step 1: Codebase Setup (First Time Only)
**Detect codebase:**
```bash
# Check if in codebase directory
ls -la | grep ".git"
```
**If not in codebase:**
- Ask: "Where's your codebase?"
- Options:
1. "Navigate me there" (cd to directory)
2. "Clone from GitHub" (provide repo URL, I'll clone