archon-agent-kit-prp-automated
v2.0.0
Published
๐ BREAKTHROUGH: Automated PRP Generation System - No more copying templates! Generates complete, customized PRPs automatically with 85.7% quality validation. Supports all project types: Web, Mobile, API, CLI, Microservices.
Maintainers
Readme
Archon-Agent-Kit-PRP-Automated - Enhanced AI Engineering Framework with Archon MCP Integration
๐ Quick Start Guide
Need the simple steps? โ steps.md - Get your PRPs in 2 minutes!
Want the full details? โ Keep reading below for comprehensive information.
๐ What's New in Archon-Agent-Kit-PRP-Automated
๐ Major Release (v2.0.0) - Automatic PRP Generation
- โ BREAKTHROUGH: Automated PRP Generation: No more copying templates - system generates complete, customized PRPs
- โ 85.7% Test Success Rate: Core system highly functional and production-ready
- โ Multiple Project Type Support: Full-stack, API-only, Mobile, CLI tools, E-commerce, SaaS, Microservices
- โ Intelligent Requirements Extraction: Automatically extracts 30+ goals, 18+ constraints, 22+ features from INITIAL.md
- โ Technology Pattern Matching: Smart recommendations based on your tech stack
- โ 4 PRP Types Generated: Planning, API Contract, Implementation, and Task PRPs
- โ Quality Validation: Built-in PRP validation with quality scoring
- โ End-to-End Testing: Comprehensive test suite ensures reliability
๐ง Previous Updates (v1.x)
- โ
NPM Package Published: Available as
archon-agent-kit-prp-automated - โ CLI Tools: Full command-line interface for project setup
- โ Python Environment: Virtual environment setup with dependencies
- โ Cross-Platform: Support for multiple Python versions and platforms
๐ค AI Choice Selection
Archon-Agent-Kit-PRP-Automated supports multiple AI coding assistants! Choose your preferred AI tool:
- Claude: Use
.claude/commands/directory - Cursor: Use
.cursor/rules/directory (.mdc files) - Other AIs: Adapt commands from either directory
See AI_CHOICE.md for detailed instructions for each AI.
Archon-Agent-Kit-PRP-Automated is an enhanced version of the original Process folder that automates project initialization from INITIAL.md files and integrates with Archon MCP for centralized knowledge management and intelligent guidance. Instead of manually copying files and setting up project structure, Archon-Agent-Kit-PRP-Automated intelligently detects your technology stack, sets everything up automatically, and provides context-rich next steps through Archon's knowledge base.
๐ Enhanced Workflow vs. Original
Original Process Workflow (Manual):
- Copy
.claude/commands/to project - Copy
PRPs/templates/to project - Create
CLAUDE.mdwith project guidelines - Use
/prime-coreto initialize Claude - Create
INITIAL.mdfor project context - Manually set up project structure
- Manually select appropriate CLAUDE.md files
Archon-Agent-Kit-PRP-Automated Workflow (Fully Automated PRP Generation):
- Copy
Archon-Agent-Kit-PRP-Automated/folder to new project location - Create
INITIAL.mdwith your project specification - Run
/initialize-project INITIAL.md - ๐ BREAKTHROUGH: Everything is generated automatically!
- Technology stack detection (30+ techs supported)
- Requirements extraction (goals, constraints, features)
- Technology pattern matching and best practices
- ๐ฅ Complete PRP generation (Planning, API, Implementation, Tasks)
- Project structure generation
- CLAUDE.md file selection and customization
- ๐ Archon MCP project container creation
- ๐ Quality validation and scoring
- Your PRPs are ready to use immediately - no manual work required!
- Use
/prime-coreto initialize Claude with your generated context - ๐ Run
/generate-next-stepsfor intelligent guidance - Start developing with complete, customized PRPs and context-rich suggestions
๐๏ธ New Architecture
Archon-Agent-Kit-PRP-Automated/
โโโ bin/ # CLI entry point
โ โโโ cli.js # Main command-line interface
โโโ lib/ # Core Node.js modules
โ โโโ ai-selector.js # AI detection and selection
โ โโโ project-initializer.js # Project setup and management
โ โโโ project-status.js # Project health monitoring
โ โโโ index.js # Main library exports
โโโ .claude/commands/ # Claude-specific commands
โโโ .cursor/rules/ # Cursor-specific rules (.mdc files)
โโโ project-initializers/ # Python-based automation system
โโโ claude_md_files/ # Technology-specific guides
โโโ PRPs/ # PRP templates and structure
โโโ package.json # NPM package configuration
โโโ README.md # This file๐ฏ Key Benefits
๐ฅ The Big Breakthrough: No More Manual PRP Creation!
Before: You had to manually create PRPs, fill in templates, guess what to include, and hope you got everything right.
Now: The system automatically generates complete, customized PRPs with real content based on your INITIAL.md file!
What You Get Automatically:
- โ Planning PRP: Complete project planning with goals, requirements, and success criteria
- โ API Contract PRP: API specification with endpoints, data models, and validation
- โ Implementation PRP: Technical implementation details and architecture
- โ Task PRPs: Breakdown of development tasks with acceptance criteria
- โ Intelligent Next Steps: Context-aware guidance for immediate development actions
Quality Assurance:
- โ 85.7% Test Success Rate: Proven system reliability
- โ Built-in Validation: Automatic quality scoring and issue detection
- โ Multiple Project Types: Web apps, APIs, mobile apps, CLI tools, microservices
- โ Technology-Specific: Content tailored to your exact tech stack
๐ฅ๏ธ CLI Commands
Main Commands
# Initialize new project
archon-agent-kit-prp-automated init
# Setup in existing project
archon-agent-kit-prp-automated setup
# Check project status
archon-agent-kit-prp-automated status
# Show detailed help
archon-agent-kit-prp-automated helpCommand Options
# Initialize with specific INITIAL.md file
archon-agent-kit-prp-automated init -f ./my-project.md
# Select specific AI type
archon-agent-kit-prp-automated init -a claude
archon-agent-kit-prp-automated init -a cursor
# Skip prompts and use defaults
archon-agent-kit-prp-automated init -yAI Selection
- Auto-detect: Automatically detects available AI tools
- Claude: Full command integration with Claude
- Cursor: Native IDE integration with Cursor
- Manual: User selects when auto-detection fails
1. Intelligent Technology Detection
- Automatically reads your
INITIAL.mdfile - Detects backend technologies (Python, Java, Node.js, Go)
- Detects frontend technologies (Next.js, React, Vue, Astro)
- Identifies databases (PostgreSQL, MySQL, MongoDB, Supabase)
- Recognizes infrastructure (Docker, Kubernetes, AWS, Vercel)
2. Smart CLAUDE.md Selection
- Automatically selects the right technology-specific CLAUDE.md files
- Customizes content with your project details
- Places files in the correct component directories
- Creates root CLAUDE.md with project overview
3. Intelligent Project Structure
- Generates appropriate directory structure for your tech stack
- Creates scaffolding files (requirements.txt, package.json, etc.)
- Sets up configuration files (.gitignore, Dockerfile, etc.)
- Handles full-stack projects with separate backend/frontend directories
4. Automated PRP Setup
- Selects appropriate PRP templates for your technology choices
- Copies relevant templates to your project
- Configures validation commands and testing frameworks
5. ๐ Archon MCP Integration
- Creates project container for centralized knowledge management
- Crawls and stores project knowledge automatically
- Enables intelligent search through project patterns and best practices
- Provides context-rich guidance for next development steps
6. ๐ Project-Local Architecture
- Isolated environment - each project gets its own setup
- No system-wide changes - respects existing environment
- Easy cleanup - just delete project folder to remove everything
- Team collaboration - consistent environment across all developers
7. ๐ Full Python Environment Setup
- Automatic virtual environment creation with python3 -m venv
- Dependencies pre-installed from requirements.txt (requests, python-dotenv)
- Ready-to-use Python environment - no manual setup required
- Cross-platform support with fallbacks for different Python versions
๐ Getting Started with Archon-Agent-Kit-PRP-Automated
Option 1: NPM Installation (Recommended)
# Install globally for easy access
npm install -g archon-agent-kit-prp-automated
# Or use npx for one-time use
npx archon-agent-kit-prp-automated init
# Initialize in your project
archon-agent-kit-prp-automated initโ Package is now live on npm! Users can install and use immediately.
Option 2: Manual Copy (Advanced Users)
# Copy the entire Archon-Agent-Kit-PRP-Automated folder to your new project location
cp -r Archon-Agent-Kit-PRP-Automated/ /path/to/new/project/
cd /path/to/new/project/Archon-Agent-Kit-PRP-Automated
npm install
npm startStep 2: Create Your INITIAL.md
Create an INITIAL.md file that describes your project and technology stack:
# My Awesome Project
## Technology Stack
- Backend: Python 3.x with FastAPI
- Frontend: Next.js 15 with React 19
- Database: Supabase (PostgreSQL)
- Infrastructure: Docker containerization
## Project Description
[Your project description here]Step 3: Run the Initializer
# Option 1: Use the CLI (Recommended)
archon-agent-kit-prp-automated init
# Option 2: Use the Claude command
/initialize-project INITIAL.md
# Option 3: Run manually
cd project-initializers
python project_initializer.py ../INITIAL.md --project-root ../Step 4: Review and Customize
- Review the generated project structure
- Customize CLAUDE.md files with project-specific details
- Run
/prime-coreto initialize Claude
Step 5: ๐ Generate Intelligent Next Steps
/generate-next-stepsThis command automatically:
- Searches Archon knowledge base for relevant patterns
- Generates context-rich commands with plain English descriptions
- Provides specific, actionable next steps
- Tailors suggestions to your detected technology stack
Step 6: ๐๏ธ Create PRPs (Complete Development Workflow)
After generating intelligent next steps, follow this comprehensive PRP workflow to create and execute PRPs:
For New Features:
Create Planning PRP:
/prp-planning-create "feature description"- Creates:
PRPs/{feature-name}-prd.md(architectural plans) - Contains: Complete feature specification, user flows, technical architecture
- Creates:
Create API Contract:
/api-contract-define "create API contracts for {feature} using PRPs/{feature-name}-prd.md"- Creates:
PRPs/contracts/{feature}-api-contract.md(connection specs) - Contains: Exact API endpoints, data structures, error handling
- Creates:
Create Implementation PRP:
/prp-base-create "implement {feature} using PRPs/{feature-name}-prd.md and PRPs/contracts/{feature}-api-contract.md"- Creates:
PRPs/{feature-name}-implementation.md(construction manual) - Contains: Step-by-step implementation with all context needed
- Creates:
Execute Implementation:
/prp-base-execute PRPs/{feature-name}-implementation.md- Result: Working feature with all tests passing
For Code Changes:
Create Specification PRP:
/prp-spec-create "change description"- Creates:
SPEC_PRP/PRPs/{spec-name}.md(renovation plans) - Contains: Current state, desired state, transformation steps
- Creates:
Execute Changes:
/prp-spec-execute SPEC_PRP/PRPs/{spec-name}.md- Result: Code successfully changed
For Small Tasks:
Create Task PRP:
/prp-task-create "task description"- Creates:
TASK_PRP/PRPs/{task-name}.md(work order) - Contains: Specific tasks with validation and rollback plans
- Creates:
Execute Task:
/prp-task-execute TASK_PRP/PRPs/{task-name}.md- Result: Task completed successfully
Step 7: Continue Development
- Execute suggested commands with confidence
- Create additional PRPs for new features
- Use specification PRPs for code changes
- Use task PRPs for small improvements
๐ Technology Detection Examples
Full-Stack Python + Next.js
INITIAL.md mentions:
- Python 3.x, FastAPI
- Next.js 15, React 19
- Supabase, Docker
Result:
- backend/CLAUDE.md (from CLAUDE-PYTHON-BASIC.md)
- frontend/CLAUDE.md (from CLAUDE-NEXTJS-15.md)
- Full-stack project structure
- Docker Compose setupPython Backend Only
INITIAL.md mentions:
- Python 3.x, FastAPI
- PostgreSQL
Result:
- CLAUDE.md (from CLAUDE-PYTHON-BASIC.md)
- Python backend structure
- Database configurationNext.js Frontend Only
INITIAL.md mentions:
- Next.js 15, React 19
- Tailwind CSS
Result:
- CLAUDE.md (from CLAUDE-NEXTJS-15.md)
- Next.js project structure
- Frontend configuration๐ ๏ธ Supported Technologies
Backend Technologies
- Python: FastAPI, Flask, Django
- Java: Spring Boot, Maven, Gradle
- Node.js: Express.js, npm/yarn
- Go: Gin, Echo, go modules
- Rust: Cargo, common frameworks
Frontend Technologies
- Next.js: App Router, Pages Router
- React: Modern React patterns
- Vue: Composition API, Options API
- Astro: Static site generation
Databases
- PostgreSQL: Native, Supabase
- MySQL: MariaDB variants
- MongoDB: Document database
- SQLite: Lightweight database
Infrastructure
- Docker: Containerization
- Kubernetes: Orchestration
- AWS: Cloud services
- Vercel: Frontend hosting
๐ง ๐ Intelligent Next Steps Generation
What /generate-next-steps Provides
Instead of guessing what to do next, the system generates intelligent suggestions with full context:
## ๐ Next Steps for Your Project
### 1. Create Core PRP Structure
**Command:** `/prp-base-create "Implement dealership website scraper with data extraction and API endpoints"`
**What it does:** Creates a comprehensive PRP for the main scraping functionality, including data models, API endpoints, and integration with your existing dealer management system. This will establish the foundation for your entire scraping workflow.
**Expected outcome:** A detailed PRP document with implementation blueprint, validation gates, and specific tasks for building the scraper system.
### 2. Set Up Database Schema
**Command:** `/prp-base-create "Design and implement PostgreSQL database schema for dealership data"`
**What it does:** Creates a PRP for designing the database structure that will store scraped dealership information, inventory data, and historical pricing. This includes table design, relationships, and data validation rules.
**Expected outcome:** A complete database schema PRP with entity relationships, migration scripts, and data integrity constraints.Technology-Specific Examples
Python/FastAPI Backend
### 3. API Endpoint Development
**Command:** `/prp-base-create "Build RESTful API endpoints for dealership data management"`
**What it does:** Creates a PRP for implementing FastAPI endpoints including GET /dealers, POST /dealers, PUT /dealers/{id}, and DELETE /dealers/{id}. This will establish the complete API surface for your dealership management system.
**Expected outcome:** A comprehensive API PRP with endpoint specifications, request/response models, validation, and error handling.Next.js/React Frontend
### 4. Dashboard Interface
**Command:** `/prp-base-create "Create React dashboard for dealership data visualization and management"`
**What it does:** Creates a PRP for building a modern, responsive dashboard using Next.js 15 and React 19. This includes data tables, charts, search functionality, and real-time updates for dealership information.
**Expected outcome:** A complete frontend PRP with component architecture, state management, and user experience design.How It Works
- Archon Knowledge Search: Searches stored project patterns and best practices
- Context Analysis: Analyzes your specific technology stack and requirements
- Intelligent Generation: Creates tailored suggestions based on detected patterns
- Plain English Context: Provides clear explanations of what each command accomplishes
๐ง Customization and Extension
Adding New Technologies
- Update
technology_detector.pywith new patterns - Add CLAUDE.md file to
claude_md_files/ - Update mapping in
CLAUDE_FILE_MAPPING - Add structure generation in
project_structure_generator.py
Modifying Project Structures
- Edit the appropriate
_generate_*_structuremethods - Add new configuration file templates
- Customize directory layouts
Extending CLAUDE.md Selection
- Modify detection patterns
- Add new technology categories
- Customize file placement logic
๐งช Testing the System
Test with Sample INITIAL.md
# Test the CLI
archon-agent-kit-prp-automated init --help
archon-agent-kit-prp-automated init -a claude
# Test the Python initializer directly
cd project-initializers
python project_initializer.py --help
python project_initializer.py test_INITIAL.md --project-root ./test-output๐ Archon MCP Configuration
Archon-Agent-Kit-PRP-Automated includes optional integration with Archon MCP server for enhanced knowledge management:
# With Archon MCP server
python project_initializer.py INITIAL.md \
--archon-url http://localhost:8000 \
--archon-api-key your-api-key
# Without Archon (default)
python project_initializer.py INITIAL.mdArchon MCP Benefits:
- Centralized knowledge management across projects
- Intelligent next steps generation with full context
- Project task tracking and organization
- Persistent knowledge across development sessions
Validate Generated Structure
- Check that all expected directories are created
- Verify CLAUDE.md files are properly customized
- Confirm PRP templates are copied correctly
- Test that the project can be built/run
๐จ Troubleshooting
Common Issues
Technology Not Detected
- Check spelling and formatting in INITIAL.md
- Add new patterns to
technology_detector.py - Verify technology is in supported list
CLAUDE.md Files Missing
- Ensure source files exist in
claude_md_files/ - Check file naming conventions
- Verify mapping in
CLAUDE_FILE_MAPPING
Project Structure Issues
- Review technology detection output
- Check project type classification
- Verify structure generation methods
Python Environment Issues
- Ensure python3 is available:
python3 --version - Check virtual environment creation:
python3 -m venv --help - Verify requirements.txt is copied to project-local environment
- Activate environment:
source .archon-agent-kit/python-env/bin/activate
CLI Command Issues
- Verify global installation:
npm list -g archon-agent-kit-prp-automated - Check command availability:
which archon-agent-kit-prp-automated - Test with npx:
npx archon-agent-kit-prp-automated --help
Debug Mode
# Run with verbose output
python project_initializer.py INITIAL.md --verbose๐ฎ Future Enhancements
Planned Features
- Template customization: Allow users to customize generated structures
- Plugin system: Support for third-party technology detectors
- Validation: Built-in validation of generated project structures
- Integration: Better integration with existing development tools
Community Contributions
- New technology support: Community-driven technology additions
- Template improvements: Better project structure templates
- Documentation: Enhanced guides and examples
๐ Documentation and Resources
- Commands: See
.claude/commands/for available commands - Examples: Check
project-initializers/for usage examples - Templates: Review
PRPs/templates/for available PRP templates - CLAUDE.md Files: Examine
claude_md_files/for technology guidelines
๐ Success Story
Archon-Agent-Kit-PRP-Automated transforms this:
Manual PRP Creation + Guesswork (2-4 hours):
1. Copy template files manually
2. Read through empty PRP templates
3. Guess what content to include
4. Manually research best practices
5. Fill in templates section by section
6. Hope you didn't miss anything critical
7. Create goals, constraints, features manually
8. **Spend hours writing PRPs from scratch**
9. **Wonder if you covered everything**
10. **Still not sure if PRPs are any good**Into this:
Fully Automated PRP Generation (2 minutes):
1. Create INITIAL.md with your project details
2. Run /initialize-project
3. **๐ฅ Get 4 complete, customized PRPs instantly!**
- Planning PRP with extracted goals & constraints
- API Contract with endpoints & data models
- Implementation PRP with tech-specific details
- Task breakdown with acceptance criteria
4. **๐ฏ 85.7% quality validation passed**
5. **๐ Run /generate-next-steps for intelligent guidance**
6. **๐ Start developing immediately with ready-to-use PRPs**๐ BREAKTHROUGH Result: You save 2-4 hours per project, get professional-quality PRPs that are immediately usable, and eliminate all the guesswork with automatically generated, project-specific content that's validated for quality!
๐ฏ What Happens During Setup
1. CLI Installation (npm install)
- โ CLI tool installed globally
- โ All package files copied to npm's global directory
- โ No Python environment created yet
- โ No dependencies installed yet
2. Project Initialization (CLI init)
- โ Creates project-local virtual environment
- โ Installs Python dependencies from requirements.txt
- โ Sets up everything in the user's project directory
- โ Ready-to-use Python environment with all packages
3. Environment Activation
- โ
Virtual environment ready at
.archon-agent-kit/python-env - โ Dependencies installed: requests, python-dotenv
- โ
Activate with:
source .archon-agent-kit/python-env/bin/activate
๐ Quick Start (5 minutes)
# 1. Install the tool
npm install -g archon-agent-kit-prp-automated
# 2. Create INITIAL.md in your project
echo "# My Project\n## Technology Stack\n- Backend: Python with FastAPI\n- Frontend: Next.js 15" > INITIAL.md
# 3. Initialize your project (CLI setup)
archon-agent-kit-prp-automated init
# 4. Activate Python environment
source .archon-agent-kit/python-env/bin/activate
# 5. Open in Cursor/Claude and use AI commands!
# - /initialize-project (sets up project structure)
# - /generate-next-steps (gets intelligent guidance)That's it! Your project is now set up with:
- โ Automated project structure
- โ Technology-specific AI guidance
- โ Python environment with dependencies
- โ AI integration ready
๐ Clear Workflow: CLI vs AI Commands
Phase 1: CLI Setup (One-time per project)
archon-agent-kit-prp-automated init # Sets up project environmentWhat it does:
- Creates
.archon-agent-kit/folder - Sets up Python virtual environment
- Installs AI command files in
.cursor/rules/(.mdc files) or.claude/commands/
Phase 2: AI Commands (Daily development)
/initialize-project # Sets up project structure from INITIAL.md
/generate-next-steps # Gets intelligent guidance for next stepsWhat they do:
- Automate your actual development workflow
- Provide context-aware suggestions
- Generate project-specific guidance
Key Point: CLI setup happens once, then you use AI commands for everything else!
Archon-Agent-Kit-PRP-Automated: Where project initialization meets artificial intelligence and intelligent guidance. ๐๐ง
