feat: add maintenance slash commands for release management
Commands added: - /update-infos-release [bump-type]: Automate CC releases tracking + version bump - /version: Display guide & CC versions with content stats - /changelog [count]: View recent CHANGELOG entries - /sync: Check guide/landing synchronization status Workflow automation: - Claude Code releases tracking (YAML + MD + Landing badge) - Guide version management (VERSION + sync all docs) - CHANGELOG updates - Landing site sync verification - Git commit/push to both repositories Files: - .claude/commands/update-infos-release.md: Full release workflow - .claude/commands/version.md: Version info display - .claude/commands/changelog.md: CHANGELOG viewer - .claude/commands/sync.md: Sync check with actionable fixes - .gitignore: Allow .claude/commands/ while ignoring other .claude/ config - CLAUDE.md: Document new maintenance commands Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
788493402f
commit
16d484a50f
6 changed files with 614 additions and 1 deletions
28
CLAUDE.md
28
CLAUDE.md
|
|
@ -64,6 +64,34 @@ echo "3.7.0" > VERSION && ./scripts/sync-version.sh
|
|||
./scripts/sync-version.sh --check
|
||||
```
|
||||
|
||||
### Slash Commands (Maintenance)
|
||||
|
||||
Custom slash commands available in this project:
|
||||
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `/update-infos-release [bump-type]` | Update Claude Code releases tracking + optional guide version bump |
|
||||
| `/version` | Display current guide and Claude Code versions with stats |
|
||||
| `/changelog [count]` | View recent CHANGELOG entries (default: 5) |
|
||||
| `/sync` | Check guide/landing synchronization status |
|
||||
|
||||
**Examples:**
|
||||
```
|
||||
/update-infos-release # Update CC releases only
|
||||
/update-infos-release patch # Update CC + bump guide (3.9.11 → 3.9.12)
|
||||
/update-infos-release minor # Update CC + bump guide (3.9.11 → 3.10.0)
|
||||
/version # Show versions and content stats
|
||||
/changelog 10 # Last 10 CHANGELOG entries
|
||||
/sync # Check guide/landing sync status
|
||||
```
|
||||
|
||||
These commands are defined in `.claude/commands/` and automate:
|
||||
- Claude Code releases tracking (YAML + Markdown + Landing badge)
|
||||
- Guide version management (VERSION file + sync across all docs)
|
||||
- CHANGELOG updates
|
||||
- Landing site synchronization verification
|
||||
- Git commit and push to both repositories
|
||||
|
||||
## Conventions
|
||||
|
||||
### Documentation Style
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue