Reza Rezvani
|
6d954fefee
|
feat(commands): add GitHub workflow integration slash commands
Phase 4: Claude Code Slash Commands
Created 4 GitHub Integration Commands:
1. /github-init - CI/CD system initialization
- Runs bootstrap workflow
- Creates dev branch
- Configures branch protection
- Sets default branch to dev
- Complete setup verification
2. /commit-smart - Smart commits with quality gates
- Pre-commit validation (Python, Bash, secrets)
- Conventional Commits format generation
- Interactive commit message builder
- Quality checks before committing
3. /create-pr - Pull request creation
- Branch validation
- Target branch detection (dev/main)
- PR title generation (Conventional Commits)
- PR template population
- Workflow trigger explanation
4. /release - GitHub release creation
- Version validation (semantic versioning)
- CHANGELOG.md integration
- Automated release notes
- Post-release actions guide
All commands provide:
- Step-by-step guidance
- Copy-paste ready commands
- Validation checks
- Error handling
- Links to documentation
Integration with workflows:
- Commands trigger bootstrap, pr-into-dev, dev-to-main, release workflows
- Enforces quality gates and conventions
- Aligns with branching strategy
Next: Test workflows with sample feature PR
|
2025-11-12 13:06:50 +01:00 |
|