Skip to content
Back to skills

Prd To Appspec

ASecurity

Transform PRDs (Product Requirements Documents) into structured XML app specifications optimized for AI coding agents. Converts developer-focused docs with code examples into declarative agent-consumable format. USE WHEN user says "convert PRD", "generate app spec", "transform PRD", "create specification from requirements", or wants to prepare a PRD for agent consumption.

  • 416 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
ai-agentsapidatabasedocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill prd-to-appspec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prd To Appspec?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prd To Appspec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-prd-to-appspec/badge)](https://www.skillsdirectory.com/skills/aiskillstore-prd-to-appspec)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prd-to-appspec
description: Transform PRDs (Product Requirements Documents) into structured XML app specifications optimized for AI coding agents. Converts developer-focused docs with code examples into declarative agent-consumable format. USE WHEN user says "convert PRD", "generate app spec", "transform PRD", "create specification from requirements", or wants to prepare a PRD for agent consumption.
---

# PRD to App Spec Converter

Transform Product Requirements Documents (PRDs) into structured XML application specifications optimized for AI coding agents.

## When to Activate This Skill

- Convert a PRD to app spec format
- Generate XML specification from requirements document
- Transform technical PRD for agent consumption
- Prepare documentation for AI coding agent
- Create app_spec.txt from existing PRD

## What This Skill Does

Converts developer-focused PRDs (with code snippets, TDD plans, implementation details) into declarative XML specifications that AI coding agents can consume more effectively.

**Input**: PRD with technical details, code examples, architecture decisions
**Output**: Structured `app_spec.txt` in XML format

## How to Execute

**Run the `/convert-prd` workflow**, which provides:

1. PRD file location (prompts if not provided)
2. Section-by-section extraction and transformation
3. Pydantic models → database schema conversion
4. Implementation code → feature descriptions
5. Epics/tasks → numbered implementation steps
6. Test assertions → success criteria
7. Final XML output with validation

## Core Transformations

| PRD Has | App Spec Gets |
|---------|---------------|
| Function implementations | Feature descriptions |
| Pydantic field validators | Data constraints in prose |
| Try/except patterns | Error handling requirements |
| Test assertions | Success criteria |
| CLI commands | API/command summaries |
| Directory structure | Technology stack context |

## Output Template Structure

```xml
<project_specification>
  <project_name>...</project_name>
  <overview>...</overview>
  <technology_stack>...</technology_stack>
  <core_features>...</core_features>
  <database_schema>...</database_schema>
  <api_endpoints_summary>...</api_endpoints_summary>
  <implementation_steps>...</implementation_steps>
  <success_criteria>...</success_criteria>
</project_specification>
```

## Key Principle

- **PRD**: Shows HOW (implementation details)
- **App Spec**: Describes WHAT (requirements and expectations)

The app_spec tells an agent WHAT to build without dictating exact implementation.

## Full Workflow Reference

For complete step-by-step instructions: `workflows/convert-prd.md`

Files in this skill

  • SKILL-v2.md8.5 KB
  • SKILL.md2.6 KB
  • skill-report.json21.7 KB
  • workflows/convert-prd.md7.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…