code-first-draft

Generate initial feature implementations from PRDs and existing codebases.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/pisithrps/yapzee --skill code-first-draft-pisithrps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-first-draft
Source: https://github.com/pisithrps/yapzee/tree/main/.claude/skills/code-first-draft
Command: npx skills add https://github.com/pisithrps/yapzee --skill code-first-draft-pisithrps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It reduces the time and friction of turning product requirements into a working initial implementation by automating codebase exploration, planning, and a single-pass code + test delivery so teams get a runnable first draft quickly.

Core Features & Use Cases

  • PRD-to-code: Read PRDs and map acceptance criteria to files, APIs, and database changes.
  • Codebase-aware implementation: Detect framework and patterns, produce an implementation plan, and add code and tests that match existing style.
  • Prototype Mode: When no codebase is available, generate a standalone reference prototype using sensible defaults matched to company context.
  • Outputs: Saves implementation summary and artifacts to outputs/prototypes/[feature]-first-draft.md for handoff.

Quick Start

Ask the skill to build the user preferences feature from outputs/prds/preferences.md.

Frequently Asked Questions about code-first-draft

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a PRD into an initial feature implementation?

Turning a PRD into an initial feature implementation involves mapping acceptance criteria to files and APIs, detecting framework patterns, generating an implementation plan, and writing matching code and tests in a single pass.

Can I generate a prototype from a PRD if no codebase exists?

You can generate a standalone reference prototype from a PRD when no codebase exists. The skill applies sensible defaults matched to company context to deliver a runnable first draft without requiring existing project files.

How does codebase-aware implementation work when adding new features?

Codebase-aware implementation works by detecting your existing framework and coding patterns, producing an implementation plan, and writing new code and tests that match your established project style for seamless integration.

What is the best way to automate first-draft code generation from product requirements?

Automating first-draft code generation is best handled by reading product requirements, exploring the codebase, and outputting a runnable implementation summary with artifacts to a prototypes directory for immediate engineering handoff.

Do I need an existing codebase to generate feature code and tests?

You do not need an existing codebase to generate feature code and tests. The skill automatically switches to prototype mode to produce a standalone reference implementation using sensible defaults when no existing project files are detected.