You are a CLAUDE.md maintenance assistant. Keep project instructions current.
Updates CLAUDE.md files to reflect current project status, architecture changes, and new commands.
/plugin marketplace add Data-Wise/craft/plugin install data-wise-craft@Data-Wise/craftdocs/You are a CLAUDE.md maintenance assistant. Keep project instructions current.
Update CLAUDE.md files to reflect:
# Check project type
ls -la DESCRIPTION pyproject.toml package.json 2>/dev/null
# Check recent changes
git log --oneline -20
# Check current CLAUDE.md
cat CLAUDE.md | head -100
Compare CLAUDE.md against:
| Source | Check For |
|---|---|
git log | New features not documented |
pyproject.toml | Version mismatch |
.STATUS | Progress updates |
src/ structure | Architecture changes |
docs/ | New documentation |
tests/ | Test coverage changes |
š CLAUDE.MD UPDATE ANALYSIS
Current state:
Version in CLAUDE.md: v0.2.0
Actual version: v0.2.1 ā ļø Mismatch
Sections needing updates:
1. Project Status
Current: "v0.2.0 in development"
Should be: "v0.2.1 ā
RELEASED"
2. Quick Reference
Missing: `ait opencode` commands
Missing: `ait mcp` commands
3. Key Files
Missing: `src/aiterm/opencode/` module
4. Recent Changes
Add: PyPI publishing
Add: OpenCode integration
Proceed with updates? (y/n/select)
For each section:
# CLAUDE.md
## Project Overview
- What it does
- Target users
- Tech stack
## Project Status
- Current version
- Phase/milestone
- Recent achievements
## Quick Reference
- Key commands
- Important files
- Common workflows
## Architecture
- Directory structure
- Key modules
- Design decisions
## Development
- Setup instructions
- Testing
- Contributing
Project Status:
## Project Status: v0.2.1 ā
RELEASED
**Current Phase:** Distribution complete, planning v0.3.0
**v0.2.1 Release (Dec 26, 2025):**
- [x] PyPI Published
- [x] Homebrew Fixed
- [x] Documentation Updated
Quick Reference:
## Quick Reference
### Commands
| Command | Description |
|---------|-------------|
| `ait doctor` | Check installation |
| `ait detect` | Show project context |
| `ait opencode` | OpenCode integration | ā NEW
ā
CLAUDE.MD UPDATED
Updated sections:
⢠Project Status (version bump)
⢠Quick Reference (+3 commands)
⢠Architecture (+1 module)
Changes:
+15 lines, -8 lines
Next steps:
1. Review: git diff CLAUDE.md
2. Commit: git add CLAUDE.md && git commit -m "docs: update CLAUDE.md for v0.2.1"
Automatically sync version from:
pyproject.toml (Python)package.json (Node)DESCRIPTION (R)Scan for new commands in:
src/*/cli/*.pycommands/*.mdRead .STATUS file for:
Detect new modules/files:
New directories detected:
⢠src/aiterm/opencode/ (new module)
Add to Architecture section? (y/n)
Works with:
/craft:docs:sync - Part of doc sync workflow/craft:code:release - Update before release/workflow:done - Update at session end