Self-Updating System
cc-prime automatically maintains itself as Claude Code evolves.
Architecture
code
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Weekly Cron │────▶│ docs-researcher │────▶│ Research Report │
│ (GitHub Action)│ │ Agent │ │ .claude/tasks/ │
└─────────────────┘ └──────────────────┘ └────────┬────────┘
│
▼
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Pull Request │◀────│ showcase-updater │◀────│ Compare to │
│ for Review │ │ Agent │ │ Feature Ref │
└─────────────────┘ └──────────────────┘ └─────────────────┘
Components
1. docs-researcher Agent
Fetches and analyzes Claude Code documentation.
2. showcase-updater Agent
Updates showcase files based on research.
3. Feature Reference
.claude/skills/claude-code-features/SKILL.md - canonical list of features.
4. /sync-docs Command
Manual trigger for self-update.
5. GitHub Actions
- •
scheduled-docs-check.yml- Weekly check - •
scheduled-showcase-update.yml- Monthly comprehensive update
Manual Sync
code
/sync-docs
Automated Sync
GitHub Action runs weekly and creates PRs for human review.
Adding New Features
- •Update feature reference
- •Create demonstration files
- •Update documentation
- •Add to changelog