PRD Generator - Claude Desktop Extension
A simple Claude Desktop Extension (DXT) that generates Product Requirements Documents (PRDs) from README files with a single click.
Features
- One-click installation - No complex setup or configuration files
- Automatic PRD generation from README files
- File system access - Read README files from any path
- Time-saving documentation - Generate structured PRDs in seconds
- Cross-platform support - Works on Windows, Mac, and Linux
What This Extension Does
This extension provides a simple tool that:
- Reads your project's README file
- Extracts key information from the content
- Generates a structured Product Requirements Document
- Saves you time on documentation tasks
Prerequisites
- Claude Desktop (latest version with DXT support)
- Node.js (bundled with Claude Desktop)
- DXT Toolchain:
npm install -g @anthropic-ai/dxt
Installation
Option 1: Install Pre-built Extension
- Download the latest
prd-generator.dxt
file from the releases - Open Claude Desktop
- Go to Settings > Extensions
- Drag the
.dxt
file into the window or click "Upload" - Click "Install"
- Done!
Option 2: Build from Source
# Clone the repository
git clone https://github.com/yourusername/prd-generator-dxt.git
cd prd-generator-dxt
# Install dependencies
npm install
# Test the server
npm start
# Package the extension
npx @anthropic-ai/dxt pack
๐ ๏ธ Usage
After installation, you can use the extension in Claude Desktop:
Generate a PRD from my README at /path/to/your/readme.md
The extension will:
- Read your README file
- Extract the first 5 lines as the project description
- Generate a structured PRD with sections for:
- Project Overview
- Description
- Key Features
- Technical Requirements
- Generation timestamp
Project Structure
prd-generator/
โโโ server/
โ โโโ index.js # Main MCP server code
โโโ manifest.json # Extension configuration
โโโ package.json # Node.js dependencies
โโโ package-lock.json # Dependency lock file
โโโ README.md # This file
๐ง Development
Running Locally
# Start the MCP server
npm start
# Or run directly
node server/index.js
Building the Extension
# Package into .dxt file
npx @anthropic-ai/dxt pack
Testing
- Ensure your server runs without errors
- Test with a sample README file
- Verify the generated PRD format
Generated PRD Format
The extension generates PRDs with the following structure:
# Product Requirements Document
## Project Overview
Based on: [README file path]
## Description
[First 5 lines from README]
## Key Features
- Feature extraction from README
- Automated PRD generation
- Time-saving documentation
## Technical Requirements
- Node.js runtime
- File system access
- README file parsing
Generated on: [ISO timestamp]
Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit your changes:
git commit -m 'Add amazing feature'
- Push to the branch:
git push origin feature/amazing-feature
- Open a Pull Request
Todo / Future Enhancements
- Support for multiple README formats (rst, txt, etc.)
- Customizable PRD templates
- Integration with project management tools
- Advanced content extraction and analysis
- Support for configuration files (package.json, etc.)
๐ Known Issues
- Path handling may vary between operating systems
- Large README files might cause performance issues
- Currently only supports UTF-8 encoded files
๐ Resources
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
Note: This is a basic implementation demonstrating Claude Desktop Extensions. For production use, consider adding error handling, input validation, and more sophisticated README parsing.
๐ Quick Start
- Install Claude Desktop (latest version)
- Download the
.dxt
file - Install via Settings > Extensions
- Test with: "Generate a PRD from my README at /path/to/readme.md"