Borrowing it
Nothing to install: this file belongs to enuno/unifi-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/enuno/unifi-mcp-server/main/.claude/commands/unifi-mcp-release-prep.mdgit clone --depth 1 https://github.com/enuno/unifi-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/enuno/unifi-mcp-server/unifi-mcp-release-prep)<a href="https://agentmods.dev/commands/enuno/unifi-mcp-server/unifi-mcp-release-prep"><img src="https://agentmods.dev/badge/commands/enuno/unifi-mcp-server/unifi-mcp-release-prep/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/enuno/unifi-mcp-server/unifi-mcp-release-prep"><img src="https://agentmods.dev/badge/commands/enuno/unifi-mcp-server/unifi-mcp-release-prep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00014 | $0.01076 |
| Opus 5.5 | $0.00006 | $0.00430 |
| Sonnet 5.5 | $0.00003 | $0.00215 |
| Haiku 4.5 | $0.00001 | $0.00108 |
Grade A, and why
unifi-mcp-release-prep scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
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:
pip-audit
- 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
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed d13a94127e62
- 3mo ago First seen · 147 lines · 14 tokens per session scan A 9e2f58001069
unifi-mcp-release-prep is a command published in the GitHub repository enuno/unifi-mcp-server (395 stars, last pushed today), licensed Apache-2.0. It adds 14 tokens to every session and 1,076 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
unifi-mcp-release-prep compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| unifi-mcp-release-prepenuno/unifi-mcp-server | Command | 395 | today | Apache-2.0 | A | 14 | Claude Code |
| landgmickel/flow-next | Command | 735 | yesterday | MIT | A | 13 | Claude Code |
| qualityDesko77/claude-code-skills-1c | Command | 102 | 7d ago | MIT | A | 18 | Claude Code |
| release-notesOpenHands/extensions | Command | 190 | today | MIT | A | 44 | Claude Code |
| doc-changelogchristopherlouet/claude-base | Command | 5 | yesterday | MIT | A | 0 | Claude Code |
| releaseelct9620/claudekit | Command | 10 | yesterday | MIT | A | 11 | Claude Code |
| releaseparuff/uFawkesAI | Command | 2 | today | MIT | A | 39 | Claude Code, Codex |