Commit graph

2 commits

Author SHA1 Message Date
Bob Roberts
f45f2f0c6a Major cleanup that should have done before announcing this app!!! 2025-12-02 14:35:15 -06:00
Bob Roberts
583b4f7233 Add codebase indexing helper script
Created comprehensive indexing script to index entire codebases
into Claude OS knowledge bases with a single command.

New Files:
- scripts/index-codebase.sh: Automated codebase indexing script
  * Intelligently detects project structure (Rails, Node.js, etc.)
  * Indexes docs, source code, models, services, controllers, config
  * Provides progress indicators and statistics
  * Handles errors gracefully
  * Can be run locally or on production servers

- scripts/README.md: Complete documentation for helper scripts
  * Usage examples for local and production
  * Integration with Capistrano, Docker, GitHub Actions
  * Cron job setup for automatic re-indexing
  * Troubleshooting guide

Updated:
- docs/PRODUCTION_DEPLOYMENT.md:
  * Added section on keeping code index updated
  * Capistrano hook example for auto-indexing on deploy
  * Cron job setup for scheduled re-indexing
  * Performance impact notes

Benefits:
- One command indexes entire codebase across all knowledge bases
- Complete context for Claude (semantic search across all code)
- Pattern recognition from your coding style
- Better code suggestions matching your architecture
- Re-index on every deployment to stay current

Usage:
./scripts/index-codebase.sh Pistn /path/to/project http://localhost:8051

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 20:46:43 -05:00