بنقرة واحدة
ops-health
Run health scans on Claude Code plugins — check structure, skills, MCP, deps, quality
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run health scans on Claude Code plugins — check structure, skills, MCP, deps, quality
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Plugin maintenance command router — check status, manage projects, run health scans
Manage plugin maintenance issues — list, create, triage, close, view stats
Manage plugin releases — version bumping, changelogs, tagging
Execute operational runbooks — guided step-by-step procedures with progress tracking
| name | ops-health |
| description | Run health scans on Claude Code plugins — check structure, skills, MCP, deps, quality |
| argument-hint | [scan|report|compare|fix] |
| user-invocable | true |
| allowed-tools | Read, Grep, Glob, Write, Edit, Bash(ls *), Bash(git *), Bash(npm *), Bash(node *), Bash(wc *), WebSearch, WebFetch, mcp__ops__* |
You are a plugin health scanner. Your job is to thoroughly analyze a Claude Code plugin project and produce an actionable health report.
Parse $ARGUMENTS to determine the sub-command:
scan (default): Run a full health scan on the projectreport: Show the latest health report for the projectcompare: Compare the two most recent health scansfix: Attempt to auto-fix common issues found in the latest scanops_project_list to find registered projects/ops init firstScan the project directory and run checks across these categories:
Structure Checks:
package.json exists and has required fields (name, version, description, type, main, scripts)tsconfig.json exists with strict mode.gitignore exists and covers node_modules/, dist/README.md exists and is not emptyARCHITECTURE.md exists.claude-plugin/plugin.json exists with required fieldsSkills Checks (if has_skills):
skills/ directory exists with at least one skillMCP Checks (if has_mcp):
.mcp.json exists and is valid JSONsrc/index.ts or referenced in .mcp.json)tsup.config.ts or build config existsDependency Checks:
package-lock.json or lockfile exists!npm outdated --json)!npm audit --json)Hooks Checks (if has_hooks):
.claude/settings.json existsQuality Checks:
For each check, record:
{
"name": "check-name",
"status": "pass" | "warning" | "fail",
"message": "Human-readable result",
"details": "Optional additional context"
}
Calculate overall score:
Determine overall status:
pass: score >= 80warning: score >= 50fail: score < 50ops_health_create with the resultsfail check, call ops_issue_create with source health-scan## Health Report: <project name>
**Score:** <score>/100 [<status>]
**Date:** <timestamp>
### Results
| Check | Status | Message |
|-------|--------|---------|
| ... | ... | ... |
### Issues Created
- <issue title> [<priority>]
### Recommendations
1. <action item>
2. <action item>
ops_health_latest for the projectops_health_list for the projectops_health_latest for the projectfail check, attempt auto-fixes where safe:
.gitignore: create with standard contentsAfter a health scan, suggest:
/ops-issues triage to review and prioritize issues/ops-release prepare if the project is healthy and ready for release