Skip to content

v3.1.3 - Retrofit Existing Projects & PreCompact Hook Integration

Choose a tag to compare

@webdevtodayjason webdevtodayjason released this 11 Jul 01:34
· 37 commits to main since this release

🎉 What's New

🔧 Retrofit Existing Projects

  • NEW: context-forge analyze command
  • 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 analyze

This will:

  1. Analyze your project structure
  2. Detect your tech stack
  3. Ask about planned features
  4. Generate AI-optimized documentation
  5. Create individual PRPs for each feature

Full Changelog

  • Add analyze command 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