mcp-skill-publisher / rules
Cursor rule4 starsChanged 4 months agoMITView on GitHub
mcp-skill-deployer: when the user explicitly asks to audit, score, optimize, inspect, package, or publish an MCP server or Agent Skill project, run compliance checks, quality scoring, guided optimization, and export file generation. Never execute npm publish, git push, or registry commands without per-step user confirmation.
- Reads credentials
- Commits and pushes
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,527 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- mcp-skill-deployerSkill
The file
We split this mcp-skill-deployer.mdc into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Only activate when the user explicitly requests to audit, optimize, inspect, package, or publish an MCP or Skill project (e.g., …
- Very specific: line 18
Run npm whoami (publish mode only), git status (read-only checks only)
- Distinctive: line 31
Never change core functionality or delete user content
- Distinctive: line 36
Never overwrite existing user files without asking
- Very specific: line 39
Run npm test or pytest
- Very specific: line 40
Run npm pack --dry-run (dry-run only)
- Distinctive: line 43
Before ANY write/send operation, ask the user: "I'm about to [action].
- Very specific: line 44
Track A (MCP): Ask confirmation before each: npm publish, Smithery submit, Anthropic registry submit
- Distinctive: line 45
Track B (Skill): Ask confirmation before each: git tag, git push
- Distinctive: line 46
Never execute registry or git write operations without explicit user approval
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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
--- description: "mcp-skill-deployer: when the user explicitly asks to audit, score, optimize, inspect, package, or publish an MCP server or Agent Skill project, run compliance checks, quality scoring, guided optimization, and export file generation. Never execute npm publish, git push, or registry commands without per-step user confirmation." globs: "**/package.json,**/skills/**" alwaysApply: false --- # mcp-skill-deployer Only activate when the user explicitly requests to audit, optimize, inspect, package, or publish an MCP or Skill project (e.g., "/mcp-skill-deployer", "score my skill", "optimize my MCP", "check and publish my project"). ## Mode Selection Pick the mode from user intent — do NOT default to full publishing: - **Audit**: "check / score my project" → Phases 0-2 only (read-only report) - **Optimize**: "optimize / fix my project" → Phases 0-3 (edits require per-item confirmation) - **Publish**: "publish / release my project" → full pipeline (Phases 0-6) ## Phase 0: Pre-flight Audit - Run `npm whoami` (publish mode only), `git status` (read-only checks only) - Scan for leaked secrets (API keys, tokens, .env content) - Validate `package.json` or `skills/*/SKILL.md` structure ## Phase 1: Project Inspection - Auto-detect: MCP-only / Skill-only / hybrid ## Phase 2: Quality Audit & Scoring - Score against the 100-point checklist (MCP: tool naming/descriptions, schemas, error handling, token efficiency, registry metadata; Skill: description triggerability, length, executable steps, trigger boundaries, confirmation gates) - Output report: total score, A/B/C/D grade, prioritized fix list (blockers → high impact → polish) ## Phase 3: Optimization (WITH PER-ITEM CONFIRMATION) - Show diff preview per fix, apply only after user approval - Never change core functionality or delete user content - Re-score after fixes and show before/after comparison ## Phase 4: Platform Export (file generation) - Generate export files (.mdc, .yml, .txt, .json) for target platforms - Never overwrite existing user files without asking ## Phase 5: Testing & Security - Run `npm test` or `pytest` - Run `npm pack --dry-run` (dry-run only) ## Phase 6: Publishing (WITH MANDATORY CONFIRMATION) - Before ANY write/send operation, ask the user: "I'm about to [action]. Proceed? (yes/no)" - **Track A (MCP)**: Ask confirmation before each: `npm publish`, Smithery submit, Anthropic registry submit - **Track B (Skill)**: Ask confirmation before each: `git tag`, `git push` - Never execute registry or git write operations without explicit user approval ## Phase 7: Summary - Print read-only summary: compliance status, before/after quality score, export files generated, executed actions, pending manual submissions
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.

