スキル一覧に戻る
mgd34msu

mcp-mastery

by mgd34msu

Plug in, Receive good vibes.

2🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: mcp-mastery description: >- Complete MCP tool reference and usage patterns. Load this skill to become an expert in all 80+ GoodVibes MCP tools. Use when you need to understand tool capabilities, find the right tool for a task, or learn proper tool invocation patterns.

MCP Tool Mastery

Master the 80+ MCP tools available in the GoodVibes plugin. This skill teaches you when and how to use each tool for maximum effectiveness.

THE LAW: Tool-First Development

This is non-negotiable. Violating these rules means you're not doing your job.

Before ANY Task

# 1. ALWAYS check tool schema first
mcp-cli info plugin_goodvibes_goodvibes-tools/<tool_name>

# 2. THEN make the call
mcp-cli call plugin_goodvibes_goodvibes-tools/<tool_name> '{"param": "value"}'

The Golden Rules

  1. Never skip mcp-cli info - Schemas are tool-specific. Your assumptions are wrong.
  2. Never do manually what a tool can do - If a tool exists, use it.
  3. Skills contain expertise you lack - Load them to become an expert.
  4. Tools provide current information - Your training data is outdated.

Quick Reference: Tool Selection by Task

Starting Any Task

First ActionToolCommand
Understand projectdetect_stackmcp-cli call .../detect_stack '{}'
Find relevant skillsrecommend_skillsmcp-cli call .../recommend_skills '{"task": "..."}'
Check for issuesproject_issuesmcp-cli call .../project_issues '{}'

Before Writing Code

TaskToolWhy
Follow patternsscan_patternsMatch existing code style
Understand typesget_schemaKnow the interfaces
Check conventionsget_conventionsFollow project standards

During Code Navigation

NeedToolUse Case
Find definitiongo_to_definitionJump to where symbol is defined
Find usagesfind_referencesSee all places symbol is used
Find implementationsget_implementationsFind concrete implementations of interface
Search symbolsworkspace_symbolsFind symbols by name across codebase
Understand hierarchyget_type_hierarchySee inheritance chain

Before Editing Code

TaskToolMandatory?
Check patternsscan_patternsYes
Preview errorsvalidate_edits_previewRecommended
Check if safe to deletesafe_delete_checkBefore deletion
Find affected testsfind_tests_for_fileYes

After Editing Code

TaskToolWhen
Type checkcheck_typesAfter TypeScript changes
Get diagnosticsget_diagnosticsFor file-level issues
Run smoke testrun_smoke_testBefore committing

Debugging

ProblemToolWhat It Does
Stack traceparse_error_stackParse and explain errors
Type errorexplain_type_errorExplain TypeScript errors
Find dead codefind_dead_codeIdentify unused code
Check circular depsfind_circular_depsFind dependency cycles

Security & Quality

ConcernToolUse
Secrets in codescan_for_secretsFind exposed credentials
Env configget_env_configUnderstand environment setup
Permissionscheck_permissionsVerify file/dir permissions

Complete Tool Catalog

Discovery & Search (6 tools)

ToolPurposeWhen to Use
search_skillsFind skills by keywordStarting new domain task
search_agentsFind agents by capabilityNeed specialized help
search_toolsFind tools by functionLooking for specific capability
recommend_skillsAI-powered skill suggestionsBefore any complex task
get_skill_contentLoad skill into contextAfter finding relevant skill
get_agent_contentRead agent definitionUnderstanding agent capabilities

Dependencies & Stack (6 tools)

ToolPurposeWhen to Use
skill_dependenciesFind skill prerequisitesBefore loading skills
detect_stackIdentify project technologiesFirst action in new project
check_versionsVerify package versionsDebugging version issues
scan_patternsFind code patterns in projectBefore writing similar code
analyze_dependenciesDeep dependency analysisUnderstanding dep structure
find_circular_depsDetect circular dependenciesBefore refactoring

Documentation & Schema (5 tools)

ToolPurposeWhen to Use
fetch_docsGet library documentationNeed API reference
get_schemaGet type/interface schemasBefore working with types
read_configRead configuration filesUnderstanding project config
get_database_schemaGet DB schema infoBefore database work
get_api_routesMap API endpointsUnderstanding API structure

Quality & Testing (7 tools)

ToolPurposeWhen to Use
validate_implementationCheck code meets specsAfter implementation
run_smoke_testQuick validation testBefore committing
check_typesTypeScript type checkingAfter any TS changes
project_issuesFind project problemsStart of any task
find_tests_for_fileFind related testsBefore modifying code
get_test_coverageGet coverage metricsBefore writing tests
suggest_test_casesAI test suggestionsWhen adding tests

Scaffolding (3 tools)

ToolPurposeWhen to Use
scaffold_projectGenerate project structureStarting new project
list_templatesShow available templatesChoosing scaffold template
plugin_statusCheck plugin healthDebugging plugin issues

LSP/Code Intelligence (18 tools)

Navigation:

ToolPurpose
find_referencesFind all symbol usages
go_to_definitionJump to symbol definition
get_implementationsFind interface implementations
get_call_hierarchySee call relationships
get_document_symbolsList symbols in file
workspace_symbolsSearch symbols globally

Analysis:

ToolPurpose
get_symbol_infoGet symbol documentation
get_signature_helpGet function signatures
get_diagnosticsGet file diagnostics
get_type_hierarchySee inheritance chain
get_inlay_hintsSee inferred types
get_api_surfaceMap public API

Refactoring:

ToolPurpose
rename_symbolSafely rename symbols
get_code_actionsGet available fixes
apply_code_actionApply a code fix
find_dead_codeFind unused code
safe_delete_checkVerify safe deletion
validate_edits_previewPreview edit errors

Error Analysis & Security (5 tools)

ToolPurposeWhen to Use
parse_error_stackParse stack tracesDebugging errors
explain_type_errorExplain TS errorsComplex type errors
scan_for_secretsFind exposed secretsBefore commits, in reviews
get_env_configGet env configurationWorking with env vars
check_permissionsCheck file permissionsDeployment issues

Code Analysis & Diff (3 tools)

ToolPurposeWhen to Use
get_conventionsGet project conventionsBefore writing code
detect_breaking_changesFind breaking changesBefore API changes
semantic_diffSemantic code comparisonReviewing changes

Framework-Specific (3 tools)

ToolPurposeWhen to Use
get_react_component_treeMap React componentsFrontend work
get_prisma_operationsGet Prisma operationsDatabase work
analyze_bundleAnalyze bundle sizePerformance work

Runtime & Frontend Tools (15+ tools)

ToolPurpose
start_dev_serverStart development server
health_monitorMonitor server health
watch_for_errorsWatch for runtime errors
browser_automationAutomate browser actions
verify_runtime_behaviorVerify runtime behavior
lighthouse_auditRun Lighthouse audit
visual_regressionVisual regression testing
analyze_responsive_breakpointsCheck responsive design
trace_component_stateTrace React state
analyze_render_triggersFind render causes
analyze_layout_hierarchyAnalyze CSS layout
diagnose_overflowDebug overflow issues
get_accessibility_treeGet a11y tree
get_sizing_strategyAnalyze sizing
analyze_event_flowTrace events
analyze_tailwind_conflictsFind CSS conflicts

Advanced Operations (10+ tools)

ToolPurpose
retry_with_learningRetry with error learning
resolve_merge_conflictHelp resolve conflicts
atomic_multi_editAtomic multi-file edits
auto_rollbackAutomatic rollback
validate_api_contractValidate API contracts
profile_functionProfile performance
log_analyzerAnalyze logs
generate_typesGenerate TypeScript types
identify_tech_debtFind technical debt

Tool Invocation Patterns

Pattern 1: Schema Check First (MANDATORY)

# WRONG - Never do this
mcp-cli call plugin_goodvibes_goodvibes-tools/detect_stack '{}'

# CORRECT - Always check schema first
mcp-cli info plugin_goodvibes_goodvibes-tools/detect_stack
# Read the schema output
mcp-cli call plugin_goodvibes_goodvibes-tools/detect_stack '{}'

Pattern 2: Parallel Info Calls

When using multiple tools, check all schemas first:

# Check all schemas in parallel
mcp-cli info plugin_goodvibes_goodvibes-tools/detect_stack
mcp-cli info plugin_goodvibes_goodvibes-tools/scan_patterns
mcp-cli info plugin_goodvibes_goodvibes-tools/project_issues

# Then make calls
mcp-cli call plugin_goodvibes_goodvibes-tools/detect_stack '{}'
mcp-cli call plugin_goodvibes_goodvibes-tools/project_issues '{}'

Pattern 3: Skill Loading Workflow

# 1. Find relevant skills
mcp-cli info plugin_goodvibes_goodvibes-tools/recommend_skills
mcp-cli call plugin_goodvibes_goodvibes-tools/recommend_skills '{"task": "implement authentication"}'

# 2. Load the recommended skill
mcp-cli info plugin_goodvibes_goodvibes-tools/get_skill_content
mcp-cli call plugin_goodvibes_goodvibes-tools/get_skill_content '{"skill_path": "webdev/authentication/clerk"}'

Pattern 4: Pre-Edit Validation

# Before making edits, validate they won't cause errors
mcp-cli info plugin_goodvibes_goodvibes-tools/validate_edits_preview
mcp-cli call plugin_goodvibes_goodvibes-tools/validate_edits_preview '{"file": "src/auth.ts", "changes": "..."}'

Pattern 5: Safe Deletion

# Before deleting any symbol, verify it's safe
mcp-cli info plugin_goodvibes_goodvibes-tools/safe_delete_check
mcp-cli call plugin_goodvibes_goodvibes-tools/safe_delete_check '{"symbol": "oldFunction", "file": "src/utils.ts"}'

Agent-Specific Tool Recommendations

Backend Engineer Priority Tools

  1. get_database_schema - Always before DB work
  2. get_api_routes - Understand existing API
  3. get_prisma_operations - When using Prisma
  4. get_implementations - Find service implementations
  5. validate_api_contract - Before API changes

Frontend Architect Priority Tools

  1. get_react_component_tree - Understand component hierarchy
  2. analyze_bundle - Check bundle impact
  3. analyze_tailwind_conflicts - Find CSS issues
  4. get_accessibility_tree - Check a11y
  5. analyze_responsive_breakpoints - Verify responsive design

Test Engineer Priority Tools

  1. find_tests_for_file - Find existing tests
  2. get_test_coverage - Understand coverage gaps
  3. suggest_test_cases - Get test suggestions
  4. validate_edits_preview - Verify test code compiles
  5. run_smoke_test - Quick validation

Code Architect Priority Tools

  1. find_circular_deps - Detect dependency cycles
  2. find_dead_code - Identify unused code
  3. get_api_surface - Understand public APIs
  4. detect_breaking_changes - Before refactoring
  5. get_type_hierarchy - Understand class relationships

DevOps Deployer Priority Tools

  1. analyze_bundle - Check bundle size
  2. scan_for_secrets - Find exposed credentials
  3. get_env_config - Understand env setup
  4. check_permissions - Verify file permissions
  5. run_smoke_test - Pre-deployment validation

Troubleshooting

Tool Not Found

# List all available tools
mcp-cli tools

# Search for tools by keyword
mcp-cli grep "database"

Schema Mismatch

# Always re-check schema if call fails
mcp-cli info plugin_goodvibes_goodvibes-tools/<tool>

Tool Returns Error

  1. Check schema matches your call
  2. Verify required parameters
  3. Check parameter types (strings vs objects)
  4. Use stdin for complex JSON:
mcp-cli call plugin_goodvibes_goodvibes-tools/<tool> - <<'EOF'
{
  "complex": {
    "nested": "value"
  }
}
EOF

Checklist: Am I Using Tools Correctly?

Before any task:

  • Did I run detect_stack?
  • Did I check project_issues?
  • Did I search for relevant skills?

Before editing:

  • Did I run scan_patterns?
  • Did I check find_tests_for_file?
  • Did I use validate_edits_preview?

After editing:

  • Did I run check_types?
  • Did I run get_diagnostics?

Before deletion:

  • Did I run safe_delete_check?
  • Did I verify with find_references?

If you answered "no" to any of these, GO BACK AND USE THE TOOL.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です