review-skill

作成者: mongodb

公開前に、提案されたAgent Skillの構造的妥当性とコンテンツ品質をレビューします。skill-validator CLIを実行して構造的な問題をチェックし、…

npx skills add https://github.com/mongodb/agent-skills --skill review-skill

Review Skill Workflow

You are helping an SME review an Agent Skill before publishing. This is a multi-step process: determine environment, verify prerequisites, run structural validation, review content, optionally run LLM scoring, and interpret results. Follow every step in order.

Step 0: Determine Environment

Check for saved configuration:

cat ~/.config/skill-validator/review-state.yaml 2>/dev/null

If the state file exists with prereqs_passed: true, offer:

Found saved settings — configured for [full/structural-only] reviews.

  1. Continue with saved settings — skip to Step 2
  2. Re-run prerequisite checks
  3. Change environment — switch between full and structural-only

Option 1: read llm_scoring from the file and skip to Step 2. Options 2-3: continue below.

If no state file exists, or the user chose to re-check/change, ask:

LLM scoring evaluates content quality across multiple dimensions.

  1. Yes, run LLM scoring — full review with LLM scoring
  2. No, skip LLM scoring — structural validation only

Option 1: set LLM_SCORING=true. Option 2: set LLM_SCORING=false. Run Step 1a only, then jump to Step 2.

Step 1: Verify Prerequisites

1a. Check for skill-validator binary

skill-validator --version

If not found, search common locations (/usr/local/bin, /opt/homebrew/bin, ~/go/bin). If found but not on PATH, tell the user. If not found anywhere, follow references/install-skill-validator.md.

If --version is not at least v1.5.1, help the user upgrade with brew upgrade skill-validator or go install github.com/agent-ecosystem/skill-validator/cmd/skill-validator@latest.

Do NOT proceed until this succeeds.

1b. Check for claude CLI (LLM scoring only)

If LLM_SCORING=true, verify the Claude CLI is available:

claude --version

If not found, tell the user to install Claude Code:

The user must authenticate by running claude interactively before continuing.

Do NOT proceed with LLM scoring until this succeeds.

Save state after prerequisites pass

Persist state so future runs skip this step. Replace <true or false> with the actual LLM_SCORING value:

mkdir -p ~/.config/skill-validator
cat > ~/.config/skill-validator/review-state.yaml << 'EOF'
prereqs_passed: true
llm_scoring: <true or false>
EOF

Step 2: Locate the Skill

Ask the user for the path to the skill they want to review, unless they have already provided it. Verify the path contains a SKILL.md file:

ls <path>/SKILL.md

If SKILL.md does not exist at the given path, tell the user this is not a valid skill directory and ask them to provide the correct path.

Step 3: Run Structural Validation

Run the full check suite:

skill-validator check <path>

Capture the exit code:

Exit codeMeaning
0Clean — no errors or warnings
1Errors found — must fix before publishing
2Warnings only — review but not blocking
3CLI/usage error — check the command

Exit 0: proceed. Exit 2: note warnings, proceed. Exit 1: list errors — these are blocking. The user must fix them before the skill can be published. Do NOT proceed to LLM scoring if exit code is 1.

Step 4: Content Review

Read the SKILL.md and any reference files, then evaluate each check below. Report which checks pass and which do not, with specific details on what is missing.

CheckCriteria
ExamplesDoes the skill provide examples of expected inputs and outputs?
Edge casesDoes the skill document common edge cases or failure modes?
Scope-gatingDoes the skill define when to stop/continue, prerequisites, and conditions for branching paths?
MongoDB data accessIf the skill needs MongoDB contextual data, does it instruct agents to use the MCP server for auth and tool calls? Skip if not applicable.

Flag any failing checks as areas the SME should address. These are not blocking but should be resolved before publishing for best results.

Step 5: LLM Scoring and Interpretation

If LLM_SCORING=false, skip to Step 6.

If LLM_SCORING=true, follow the "Run LLM Scoring" and "Interpret LLM Scores" sections of references/llm-scoring.md.

Step 6: Present the Review Summary

If LLM_SCORING=true, follow the "Full Review Summary" section of references/llm-scoring.md. Include any failing content review checks from Step 4 in the action items.

If LLM_SCORING=false, present structural result, content review result, areas to address, and a self-assessment checklist using the scoring dimensions from assets/report.md. Note that LLM scoring was skipped; advise re-running with LLM scoring enabled or self-assessing against the report dimensions.

Example Review Summary Structure

Structure the final summary with these sections in order:

  1. Structural validation — pass/fail with errors or warnings
  2. SKILL.md scores — overall and per-dimension table
  3. Reference scores — per-file table with overall and lowest dimension
  4. Novelty assessment — mean novelty vs threshold of 3; list novel_info per file for SME verification
  5. Action items — prioritized list of what to fix
  6. Recommendation — ready to publish / minor revisions / significant rework

mongodbのその他のスキル

atlas-stream-processing
mongodb
MongoDB Atlas Stream Processing(ASP)ワークフローを管理します。ワークスペースのプロビジョニング、データソース/シンク接続、プロセッサのライフサイクル操作を処理し、…
official
mongodb-atlas-stream-processing
mongodb
MongoDB Atlas Stream Processing (ASP) ワークフローを管理します。ワークスペースのプロビジョニング、データソース/シンク接続、プロセッサのライフサイクル操作を処理します、…
official
mongodb-connection
mongodb
MongoDBクライアント接続設定(プール、タイムアウト、パターン)を、サポートされている任意のドライバー言語向けに最適化します。このスキルは、作業・更新・レビューの際に使用します…
official
mongodb-mcp-setup
mongodb
ユーザーが主要なMongoDB MCPサーバーオプションの設定を進められるよう案内します。MongoDB MCPサーバーはインストール済みだが、設定がまだ完了していないユーザーにこのスキルを使用してください…
official
mongodb-natural-language-querying
mongodb
自然言語を使用して、コレクションスキーマのコンテキストとサンプルドキュメントを基に、読み取り専用のMongoDBクエリ(find)または集計パイプラインを生成します。このスキルを使用してください…
official
mongodb-query-optimizer
mongodb
MongoDBのクエリ最適化とインデックス作成を支援します。ユーザーが最適化やパフォーマンスについて質問した場合にのみ使用してください:「このクエリを最適化するには?」「どうすれば…」
official
mongodb-schema-design
mongodb
MongoDBスキーマ設計のパターンとアンチパターン。データモデルの設計、スキーマのレビュー、SQLからの移行、パフォーマンス問題のトラブルシューティングの際に使用します…
official
mongodb-search-and-ai
mongodb
MongoDBユーザーがAtlas Search(全文検索)、Vector Search(セマンティック検索)、Hybrid Searchソリューションの実装と最適化を行う際にガイドします。このスキルは次のような場合に使用します…
official