/setup-automated-releases
Setup automated release workflows
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/setup-automated-releases
Context preview
What this command does when you run it.
Setup automated release workflows
Command definition
setup-automated-releases.mdSetup Automated Releases
Setup automated release workflows
Instructions
Set up automated releases following industry best practices:
1. **Analyze Repository Structure**
- Detect project type (Node.js, Python, Go, etc.)
- Check for existing CI/CD workflows
- Identify current versioning approach
- Review existing release processes
2. **Create Version Tracking**
- For Node.js: Use package.json version field
- For Python: Use __version__ in __init__.py or pyproject.toml
- For Go: Use version in go.mod
- For others: Create version.txt file
- Ensure version follows semantic versioning (MAJOR.MINOR.PATCH)
3. **Set Up Conventional Commits**
- Create CONTRIBUTING.md with commit conventions:
- `feat:` for new features (minor bump)
- `fix:` for bug fixes (patch bump)
- `feat!:` or `BREAKING CHANGE:` for breaking changes (major bump)
- `docs:`, `chore:`, `style:`, `refactor:`, `test:` for non-releasing changes
- Include examples and guidelines for each type
4. **Create Pull Request Template**
- Add `.github/pull_request_template.md`
- Include conventional commit reminder
- Add checklist for common requirements
- Reference contributing guidelines
5. **Create Release Workflow**
- Add `.github/workflows/release.yml`:
- Trigger on push to main branch
- Analyze commits since last release
- Determine version bump type
- Update version in appropriate file(s)
- Generate release notes from commits
- Update CHANGELOG.md
- Create git tag
- Create GitHub Release
- Attach distribution artifacts
- Include manual trigger option for forced releases
6. **Create PR Validation Workflow**
- Add `.github/workflows/pr-check.yml`:
- Validate PR title follows conventional format
- Check commit messages
- Provide feedback on version impact
- Run tests and quality checks
7. **Configure GitHub Release Notes**
- Create `.github/release.yml`
- Define categories for different change types
- Configure changelog exclusions
- Set up contributor recognition
8. **Update Documentation**
- Add release badges to README:
- Current version badge
- Latest release badge
- Build status badge
- Document release process
- Add link to CONTRIBUTING.md
- Explain version bump rules
9. **Set Up Changelog Management**
- Ensure CHANGELOG.md follows Keep a Changelog format
- Add [Unreleased] section for upcoming changes
- Configure automatic changelog updates
- Set up changelog categories
10. **Configure Branch Protection**
- Recommend branch protection rules:
- Require PR reviews
- Require status checks
- Require conventional PR titles
- Dismiss stale reviews
- Document recommended settings
11. **Add Security Scanning**
- Set up Dependabot for dependency updates
- Configure security alerts
- Add security policy if needed
12. **Test the System**
- Create example PR with conventional title
- Verify PR checks work correctly
- Test manual release trigger
- Validate changelog generation
Arguments: $ARGUMENTS
Additional Considerations
**For Monorepos:**
- Set up independent versioning per package
- Configure changelog per package
- Use conventional commits scopes
**For Libraries:**
- Include API compatibility checks
- Generate API documentation
- Add upgrade guides for breaking changes
**For Applications:**
- Include Docker image versioning
- Set up deployment triggers
- Add rollback procedures
**Best Practices:**
- Always create release branches for hotfixes
- Use release candidates for major versions
- Maintain upgrade guides
- Keep releases small and frequent
- Document rollback procedures
This automated release system provides:
- ✅ Consistent versioning
- ✅ Automatic changelog generation
- ✅ Clear contribution guidelines
- ✅ Professional release notes
- ✅ Reduced manual work
- ✅ Better project maintainability
Read more
Setup Automated Releases
Setup automated release workflows
Instructions
Set up automated releases following industry best practices:
1. **Analyze Repository Structure**
- Detect project type (Node.js, Python, Go, etc.)
- Check for existing CI/CD workflows
- Identify current versioning approach
- Review existing release processes
2. **Create Version Tracking**
- For Node.js: Use package.json version field
- For Python: Use __version__ in __init__.py or pyproject.toml
- For Go: Use version in go.mod
- For others: Create version.txt file
- Ensure version follows semantic versioning (MAJOR.MINOR.PATCH)
3. **Set Up Conventional Commits**
- Create CONTRIBUTING.md with commit conventions:
- `feat:` for new features (minor bump)
- `fix:` for bug fixes (patch bump)
- `feat!:` or `BREAKING CHANGE:` for breaking changes (major bump)
- `docs:`, `chore:`, `style:`, `refactor:`, `test:` for non-releasing changes
- Include examples and guidelines for each type
4. **Create Pull Request Template**
- Add `.github/pull_request_template.md`
- Include conventional commit reminder
- Add checklist for common requirements
- Reference contributing guidelines
5. **Create Release Workflow**
- Add `.github/workflows/release.yml`:
- Trigger on push to main branch
- Analyze commits since last release
- Determine version bump type
- Update version in appropriate file(s)
- Generate release notes from commits
- Update CHANGELOG.md
- Create git tag
- Create GitHub Release
- Attach distribution artifacts
- Include manual trigger option for forced releases
6. **Create PR Validation Workflow**
- Add `.github/workflows/pr-check.yml`:
- Validate PR title follows conventional format
- Check commit messages
- Provide feedback on version impact
- Run tests and quality checks
7. **Configure GitHub Release Notes**
- Create `.github/release.yml`
- Define categories for different change types
- Configure changelog exclusions
- Set up contributor recognition
8. **Update Documentation**
- Add release badges to README:
- Current version badge
- Latest release badge
- Build status badge
- Document release process
- Add link to CONTRIBUTING.md
- Explain version bump rules
9. **Set Up Changelog Management**
- Ensure CHANGELOG.md follows Keep a Changelog format
- Add [Unreleased] section for upcoming changes
- Configure automatic changelog updates
- Set up changelog categories
10. **Configure Branch Protection**
- Recommend branch protection rules:
- Require PR reviews
- Require status checks
- Require conventional PR titles
- Dismiss stale reviews
- Document recommended settings
11. **Add Security Scanning**
- Set up Dependabot for dependency updates
- Configure security alerts
- Add security policy if needed
12. **Test the System**
- Create example PR with conventional title
- Verify PR checks work correctly
- Test manual release trigger
- Validate changelog generation
Arguments: $ARGUMENTS
Additional Considerations
**For Monorepos:**
- Set up independent versioning per package
- Configure changelog per package
- Use conventional commits scopes
**For Libraries:**
- Include API compatibility checks
- Generate API documentation
- Add upgrade guides for breaking changes
**For Applications:**
- Include Docker image versioning
- Set up deployment triggers
- Add rollback procedures
**Best Practices:**
- Always create release branches for hotfixes
- Use release candidates for major versions
- Maintain upgrade guides
- Keep releases small and frequent
- Document rollback procedures
This automated release system provides:
- ✅ Consistent versioning
- ✅ Automatic changelog generation
- ✅ Clear contribution guidelines
- ✅ Professional release notes
- ✅ Reduced manual work
- ✅ Better project maintainability
A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Other commands on claude-command-suite.
- /boundary-bbcr-fallback
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Open command - /boundary-detect
Analyze semantic position relative to knowledge boundaries to prevent hallucination and identify uncertainty zones.
Open command - /boundary-heatmap
Generate a visual heatmap of knowledge boundaries showing safe zones, risk areas, and semantic coverage.
Open command - /boundary-risk-assess
Evaluate the current risk level and provide detailed analysis of potential hallucination or reasoning failure.
Open command - /boundary-safe-bridge
Find and construct semantic bridges to safely navigate from current position to target concept without crossing dangerous boundaries.
Open command - /optimize-prompt
Takes an input prompt and returns ONLY a token-optimized version that preserves meaning while minimizing token count. Based on LLM tokenization principles: common words tokenize more efficiently, unusual words break into more tokens, and conciseness reduces cost.
Open command

