source-command-unifi-mcp-release-prep
Skill294 starsChanged 18 days agoApache-2.0View on GitHub
Prepare a new release with version bump, changelog, and quality checks
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 20 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when the user asks to run the migrated source command unifi-mcp-release-prep.
- Distinctive: line 18
Ask user for release details:
- Distinctive: line 24
Check git status (must be clean or on release branch)
- Distinctive: line 25
Verify on main branch or create release branch
- Distinctive: line 26
Check for uncommitted changes
- Distinctive: line 27
Ensure all tests pass
- Distinctive: line 29
Run comprehensive quality checks:
- Distinctive: line 37
Run full test suite with coverage:
- Distinctive: line 39
Verify coverage meets 80% minimum threshold
- Distinctive: line 40
Check that all tests pass
- Distinctive: line 41
If coverage < 80%, warn user and ask to proceed
- Very specific: line 44
Update pyproject.toml version field
- Distinctive: line 46
Update version in README.md badges
- Distinctive: line 47
Update Docker image tags in documentation
- Distinctive: line 58
Update CHANGELOG.md with new version section
- Distinctive: line 61
Run /unifi-mcp-update-docs to sync API.md
- Distinctive: line 62
Verify README.md is current
- Distinctive: line 63
Check that examples still work
- Distinctive: line 64
Update compatibility matrix if needed
- Distinctive: line 133
Never release with failing tests
- Distinctive: line 135
Verify no uncommitted changes
- Distinctive: line 136
Check for security vulnerabilities
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
source-command-unifi-mcp-release-prep
Use this skill when the user asks to run the migrated source command unifi-mcp-release-prep.
Command Template
Prepare a new release for the UniFi MCP Server with comprehensive quality checks.
This command orchestrates the complete release preparation process including version bumping, changelog generation, testing, and validation.
Steps to execute:
- Ask user for release details:
- Version number (e.g., "0.2.0") or type (major/minor/patch)
- Release type: major, minor, patch, or custom
- Brief release description
- Verify current state:
- Check git status (must be clean or on release branch)
- Verify on main branch or create release branch
- Check for uncommitted changes
- Ensure all tests pass
- Run comprehensive quality checks:
- Code formatting:
black --check src/ tests/ - Import sorting:
isort --check-only src/ tests/ - Linting:
ruff check src/ tests/ - Type checking:
mypy src/ - Security scan:
bandit -r src/ -ll - Dependency check:
safety check
- Code formatting:
- Run full test suite with coverage:
- Execute:
pytest --cov=src --cov-report=term-missing -v - Verify coverage meets 80% minimum threshold
- Check that all tests pass
- If coverage < 80%, warn user and ask to proceed
- Execute:
- Update version numbers:
- Update
pyproject.tomlversion field - Update
src/__init__.pyversion - Update version in README.md badges
- Update Docker image tags in documentation
- Update
- Generate changelog:
- Get commits since last tag:
git log $(git describe --tags --abbrev=0)..HEAD --oneline - Categorize commits:
- Features (feat:)
- Bug fixes (fix:)
- Documentation (docs:)
- Refactoring (refactor:)
- Tests (test:)
- Other changes
- Update CHANGELOG.md with new version section
- Get commits since last tag:
- Update documentation:
- Run /unifi-mcp-update-docs to sync API.md
- Verify README.md is current
- Check that examples still work
- Update compatibility matrix if needed
- Create release summary:
- Version number
- Release date
- Highlights (top 3-5 features/fixes)
- Breaking changes (if any)
- Contributors
- Full changelog
- Prepare release artifacts:
- Tag format:
v{version}(e.g., v0.2.0) - Release branch:
release/v{version}(if not on main) - Draft GitHub release notes
- Tag format:
Report back with:
- Pre-release checklist status:
- All tests passing
- Coverage >= 80%
- No linting errors
- No type errors
- No security vulnerabilities
- Documentation updated
- Changelog generated
- Version bumped
- Release summary
- Next steps:
- Review changes
- Create release tag
- Push to GitHub
- Create GitHub release
- Publish to PyPI (optional)
- Build and push Docker images
Example workflow:
User: "Prepare release 0.2.0"
Assistant checks:
✓ Git status clean
✓ On main branch
✓ All tests pass (179/179)
✗ Coverage: 34.10% (below 80% target)
✓ No linting errors
✓ No type errors
✓ No security issues
Release Summary:
Version: 0.2.0
Date: 2025-01-15
Type: Minor release
Highlights:
- Zone-Based Firewall implementation (60% complete)
- Traffic Flows integration (100% complete)
- 22 new tool modules
- Comprehensive CI/CD pipeline
Breaking Changes: None
Warning: Test coverage (34.10%) is below 80% target.
Proceed with release? (y/n)Safety checks:
- Never release with failing tests
- Warn if coverage < 80%
- Verify no uncommitted changes
- Check for security vulnerabilities
- Confirm version number doesn't already exist
In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/fastmcp/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .claude/skills/fastmcp/CLAUDE.mdCLAUDE.md
- .cursor/rules/common-mistakes.mdcCursor rule
- .cursor/rules/core-principles.mdcCursor rule
- .cursor/rules/environment-setup.mdcCursor rule
- .cursor/rules/mcp-tools.mdcCursor rule
- .cursor/rules/project-context.mdcCursor rule
- .cursor/rules/README.mdCursor rule
- .cursor/rules/unifi-api.mdcCursor rule
- .cursor/rules/workflow.mdcCursor rule
- FastMCP DevelopmentSkill
- mcp-builderSkill
- source-command-build-dockerSkill
- source-command-check-depsSkill
- source-command-cleanSkill
- source-command-docsSkill
- source-command-formatSkill
- source-command-lintSkill
- source-command-prSkill
- source-command-securitySkill
- source-command-setupSkill
- source-command-testSkill
- source-command-unifi-api-docs-update-2Skill
- source-command-unifi-api-docs-updateSkill
- source-command-unifi-mcp-add-toolSkill
- source-command-unifi-mcp-test-coverageSkill
- source-command-unifi-mcp-update-docsSkill
- unifi-cloud-fleet-toolsSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-protect-toolsSkill
- unifi-security-toolsSkill
- FastMCP DevelopmentSkill
- mcp-builderSkill
- unifi-cloud-fleet-toolsSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-protect-toolsSkill
- unifi-security-toolsSkill
- unifiSkill
- unifi-channel-planningSkill
- unifi-cloud-fleet-toolsSkill
- unifi-devicesSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-networkSkill
- unifi-protect-toolsSkill
- unifi-securitySkill
- unifi-security-toolsSkill
- unifi-systemSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

