v3.1.3 - Retrofit Existing Projects & PreCompact Hook Integration
🎉 What's New
🔧 Retrofit Existing Projects
- NEW:
context-forge analyzecommand - Transform existing codebases into AI-ready projects
- Auto-detects tech stack & project structure
- Asks about future development plans
- Generates PRPs for each planned feature
- Never overwrites existing files (appends to CLAUDE.md with clear markers)
- Creates comprehensive retrofit summary
🔗 PreCompact Hook Integration
- Works with Claude Hooks Manager
- PRPs auto-reload when Claude compacts conversations
- Maintains project understanding during long sessions
- Preserves validation gates
- Seamless support for Claude Code v1.0.48+
🚀 PRP Support for 6 AI IDEs
Product Requirement Prompts now available for:
- Claude Code
- Cursor IDE
- Windsurf
- Cline
- GitHub Copilot
- Gemini
Installation
npm install -g [email protected]Retrofitting Example
cd your-existing-project
context-forge analyzeThis will:
- Analyze your project structure
- Detect your tech stack
- Ask about planned features
- Generate AI-optimized documentation
- Create individual PRPs for each feature
Full Changelog
- Add
analyzecommand for retrofitting existing projects - Implement smart project analysis with tech stack detection
- Add interactive retrofit flow with future planning prompts
- CLAUDE.md append mode preserves existing content
- Generate PRPs for planned features
- Add comprehensive file tree summary
- Implement secure API key management with .gitignore
- Add PreCompact hook integration documentation
- Update README with prominent What's New section