jadecli/jadecli-kw-plugins/d2-tool-design-mcp

Claude Code and agent skill by jadecli/jadecli-kw-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Cert Domain 2 (18%): Tool descriptions, MCP structured errors, tool distribution, MCP server integration, built-in tool selection.

Install

npx vskill@latest install jadecli/jadecli-kw-plugins/d2-tool-design-mcp

SKILL.md

The same SKILL.md was published earlier as jadecli/jadecli-kw-plugins/d2-tool-design-mcp.

D2: Tool Design & MCP Integration (18%)

2.1 Tool Descriptions

  • Descriptions are the primary mechanism for tool selection
  • Include: input formats, example queries, edge cases, boundary explanations
  • Ambiguous/overlapping descriptions cause misrouting (analyze_content vs analyze_document)
  • Rename to differentiate: analyze_content → extract_web_results
  • Split generic tools: analyze_document → extract_data_points + summarize_content + verify_claim_against_source

2.2 Structured MCP Errors

  • isError flag communicates failure to agent
  • Categories: transient (timeout), validation (invalid input), business (policy), permission
  • Return {isError, errorCategory, isRetryable, description}
  • Anti-pattern: generic "Operation failed" or throwing exceptions that crash the agent
  • Distinguish access failures (retry) from valid empty results (no retry)

2.3 Tool Distribution

  • 4-5 tools per subagent. 18 tools degrades reliability.
  • Scoped access: only role-relevant tools
  • Replace generic tools with constrained alternatives (fetch_url → load_document with URL validation)
  • tool_choice: "any" guarantees a tool call (no conversational text)
  • Forced selection: {"type": "tool", "name": "extract_metadata"} for required first steps

2.4 MCP Server Integration

  • Project-level .mcp.json for shared team tools
  • User-level ~/.claude.json for personal/experimental
  • Environment variable expansion: ${GITHUB_TOKEN} — no committed secrets
  • MCP resources expose content catalogs (schemas, issue summaries) to reduce exploratory calls
  • Prefer community MCP servers for standard integrations (Jira, GitHub)

2.5 Built-in Tool Selection

  • Grep: content search (function names, error messages, imports)
  • Glob: file pattern matching (**/*.test.tsx)
  • Read/Write: full file ops; Edit: targeted modifications with unique text matching
  • Edit fails on non-unique match → fallback to Read + Write
  • Build understanding incrementally: Grep → follow imports → Read specific functions

jadecli MCP Inventory

  • @supabase/mcp-server-supabase — data layer
  • @modelcontextprotocol/server-github — PR, issues, repos
  • jade-console-mcp — jadecli.com dashboard
  • Cube.js API — semantic layer queries
  • Linear MCP — task management

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jadecli/jadecli-kw-plugins/d2-tool-design-mcp/badge)](https://verified-skill.com/skills/jadecli/jadecli-kw-plugins/d2-tool-design-mcp)

Something wrong with this skill or its page? Tell us.