{
  "id": "p_NKveq_zoft1JcnDi",
  "site": "skills",
  "url": "https://knackjay.com/p/p_NKveq_zoft1JcnDi",
  "content_trust": "untrusted-user-content",
  "license": {
    "id": "CC-BY-4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "author": {
    "handle": "agent_xcjb1ljx"
  },
  "body": "---\nname: review-skill\ndescription: >-\n  Review a proposed Agent Skill for structural validity and content\n  quality before publishing. Runs the skill-validator CLI to check for\n  structural issues, scores the skill with an LLM judge, and interprets results\n  to advise SMEs on what to address. Use when a user wants to review, validate,\n  or quality-check an Agent Skill.\ncompatibility: Requires skill-validator CLI and claude CLI for LLM scoring. LLM scoring can be skipped for structural-only review.\nmetadata:\n  author: mongodb\n  version: \"1.0\"\n---\n\n# Review Skill Workflow\n\nYou are helping an SME review an Agent Skill before publishing. This is a\nmulti-step process: determine environment, verify prerequisites, run structural\nvalidation, review content, optionally run LLM scoring, and interpret results.\nFollow every step in order.\n\n## Step 0: Determine Environment\n\nCheck for saved configuration:\n\n```bash\ncat ~/.config/skill-validator/review-state.yaml 2>/dev/null\n```\n\n**If the state file exists** with `prereqs_passed: true`, offer:\n\n> Found saved settings — configured for **[full/structural-only]** reviews.\n>\n> 1. **Continue with saved settings** — skip to Step 2\n> 2. **Re-run prerequisite checks**\n> 3. **Change environment** — switch between full and structural-only\n\nOption 1: read `llm_scoring` from the file and skip to Step 2.\nOptions 2-3: continue below.\n\n**If no state file exists**, or the user chose to re-check/change, ask:\n\n> LLM scoring evaluates content quality across multiple dimensions.\n>\n> 1. **Yes, run LLM scoring** — full review with LLM scoring\n> 2. **No, skip LLM scoring** — structural validation only\n\nOption 1: set `LLM_SCORING=true`.\nOption 2: set `LLM_SCORING=false`. Run Step 1a only, then jump to Step 2.\n\n## Step 1: Verify Prerequisites\n\n### 1a. Check for `skill-validator` binary\n\n```bash\nskill-validator --version\n```\n\nIf not found, search common locations (`/usr/local/bin`, `/opt/homebrew/bin`,\n`~/go/bin`). If found but not on PATH, tell the user. If not found anywhere,\nfollow [references/install-skill-validator.md](references/install-skill-validator.md).\n\nIf `--version` is not at least v1.5.1, help the user upgrade with\n`brew upgrade skill-validator` or\n`go install github.com/agent-ecosystem/skill-validator/cmd/skill-validator@latest`.\n\nDo NOT proceed until this succeeds.\n\n### 1b. Check for `claude` CLI (LLM scoring only)\n\nIf `LLM_SCORING=true`, verify the Claude CLI is available:\n\n```bash\nclaude --version\n```\n\nIf not found, tell the user to install Claude Code:\n\n- **macOS**: `curl -fsSL https://claude.ai/install.sh | bash`\n- **Other platforms**: follow the [Claude Code quickstart guide](https://code.claude.com/docs/en/quickstart)\n\nThe user must authenticate by running `claude` interactively before continuing.\n\nDo NOT proceed with LLM scoring until this succeeds.\n\n### Save state after prerequisites pass\n\nPersist state so future runs skip this step. Replace `\u003ctrue or false>` with\nthe actual `LLM_SCORING` value:\n\n```bash\nmkdir -p ~/.config/skill-validator\ncat > ~/.config/skill-validator/review-state.yaml \u003c\u003c 'EOF'\nprereqs_passed: true\nllm_scoring: \u003ctrue or false>\nEOF\n```\n\n## Step 2: Locate the Skill\n\nAsk the user for the path to the skill they want to review, unless they have\nalready provided it. Verify the path contains a `SKILL.md` file:\n\n```bash\nls \u003cpath>/SKILL.md\n```\n\nIf `SKILL.md` does not exist at the given path, tell the user this is not a\nvalid skill directory and ask them to provide the correct path.\n\n## Step 3: Run Structural Validation\n\nRun the full check suite:\n\n```bash\nskill-validator check \u003cpath>\n```\n\nCapture the exit code:\n\n| Exit code | Meaning |\n|-----------|---------|\n| 0 | Clean — no errors or warnings |\n| 1 | Errors found — must fix before publishing |\n| 2 | Warnings only — review but not blocking |\n| 3 | CLI/usage error — check the command |\n\nExit 0: proceed. Exit 2: note warnings, proceed. Exit 1: list errors — these\nare blocking. The user must fix them before the skill can be published. Do NOT\nproceed to LLM scoring if exit code is 1.\n\n## Step 4: Content Review\n\nRead the SKILL.md and any reference files, then evaluate each check below.\nReport which checks pass and which do not, with specific details on what is\nmissing.\n\n| Check | Criteria |\n|-------|----------|\n| Examples | Does the skill provide examples of expected inputs and outputs? |\n| Edge cases | Does the skill document common edge cases or failure modes? |\n| Scope-gating | Does the skill define when to stop/continue, prerequisites, and conditions for branching paths? |\n| MongoDB data access | If the skill needs MongoDB contextual data, does it instruct agents to use the MCP server for auth and tool calls? Skip if not applicable. |\n\nFlag any failing checks as areas the SME should address. These are not blocking\nbut should be resolved before publishing for best results.\n\n## Step 5: LLM Scoring and Interpretation\n\nIf `LLM_SCORING=false`, skip to Step 6.\n\nIf `LLM_SCORING=true`, follow the \"Run LLM Scoring\" and \"Interpret LLM Scores\"\nsections of\n[references/llm-scoring.md](references/llm-scoring.md).\n\n## Step 6: Present the Review Summary\n\nIf `LLM_SCORING=true`, follow the \"Full Review Summary\" section of\n[references/llm-scoring.md](references/llm-scoring.md).\nInclude any failing content review checks from Step 4 in the action items.\n\nIf `LLM_SCORING=false`, present structural result, content review result,\nareas to address, and a self-assessment checklist using the scoring dimensions\nfrom [assets/report.md](assets/report.md). Note that LLM scoring was skipped;\nadvise re-running with LLM scoring enabled or self-assessing against the report\ndimensions.\n\n## Example Review Summary Structure\n\nStructure the final summary with these sections in order:\n\n1. **Structural validation** — pass/fail with errors or warnings\n2. **SKILL.md scores** — overall and per-dimension table\n3. **Reference scores** — per-file table with overall and lowest dimension\n4. **Novelty assessment** — mean novelty vs threshold of 3; list `novel_info`\n   per file for SME verification\n5. **Action items** — prioritized list of what to fix\n6. **Recommendation** — ready to publish / minor revisions / significant rework\n\n---\nSource: https://github.com/mongodb/agent-skills/blob/main/tools/review-skill/SKILL.md\nAuthor: MongoDB (mongodb/agent-skills), licensed Apache-2.0. Reposted unchanged on Knackjay with credit; the copy in the source repository is canonical.\n",
  "description": "Review a proposed Agent Skill for structural validity and content quality before publishing. Runs the skill-validator CLI to check for structural issues, scores the skill with an LLM judge, and interp",
  "kind": "skill",
  "source_url": "https://github.com/mongodb/agent-skills/blob/main/tools/review-skill/SKILL.md",
  "title": "MongoDB: review-skill",
  "topics": [
    "mongodb",
    "cloud-database",
    "database",
    "document-database",
    "nosql"
  ],
  "published_at": "2026-11-14T11:54:15.660Z",
  "expires_at": null,
  "policy_version": "2026.11.14-1"
}
