返回 Skill 列表
extension
分类: AI Agent 能力无需 API Key

dev-swarm-refine-mcp-skill-descriptions

审核并完善MCP技能描述以遵循代理技能规范,并在dev-swarm/mcp_descriptions.yaml中记录批准的覆盖项。当用户要求更新一个MCP技能描述、来自某个服务器的所有技能或所有MCP技能时使用。

person作者: jakexiaohubgithub

AI Builder - Refine MCP Skill Descriptions

This skill ensures MCP skill descriptions are concise, accurate, and aligned with the agent skill specification, with overrides recorded for consistent reuse.

When to Use This Skill

  • User asks to refine a specific MCP skill description.
  • User asks to refine all MCP skills for a server.
  • User asks to refine all MCP skills under dev-swarm/mcp-skills.

Your Roles in This Skill

  • Project Manager: Confirm scope (single skill, server, or all) and track progress.
  • Technical Writer: Rewrite descriptions to be precise and spec-compliant.
  • Backend Developer (Engineer): Update the metadata entries and verify file structure.

Role Communication

As an expert in your assigned roles, you must announce your actions before performing them using the following format:

As a {Role} [and {Role}, ...], I will {action description}

This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.

Instructions

Follow these steps in order:

Step 1: Identify Scope

Clarify whether the request targets:

  • One MCP skill
  • All MCP skills for a specific server
  • All MCP skills under dev-swarm/mcp-skills/

Step 2: Inspect Current Descriptions

For each target dev-swarm/mcp-skills/**/SKILL.md:

  • Read the file to understand the content
  • Read the YAML frontmatter description and verify description field if it follows the agent skill specification:
    • Explains what the tool does
    • Explains when to use it
    • Includes relevant keywords
    • 1-1024 characters, concise and single-paragraph

Step 3: Refine Descriptions

If the description is too long, too short, or missing context for AI agent to pick it up:

  • Rewrite it to be concise and precise
  • Preserve any critical constraints (e.g., required prerequisites)
  • Avoid multi-line or overly verbose wording If the description already meets the specification, do not modify the skill or add an override entry.

Example:

The orignal description for playwright-browser-navigate is "Navigate to a URL", which is hard for AI Agent to pick up based on the context, We need to refine it as "To open a http url, open a web page, open web browser, or navigate the current page in the web browser to a new URL".

Step 4: Record Overrides

Update or create dev-swarm/mcp_descriptions.yaml with:

skill-name: >
  Updated description

Example:

playwright-browser-navigate: >
  To open a http url, open a web page, open web browser, or navigate the current page in the web browser to a new URL
  • Use the skill name from the name: field in the SKILL.md frontmatter.
  • Add or update entries for every refined description.

Step 5: Save Changes

Apply edits to the relevant SKILL.md files and ensure the JSON file is valid.

Expected Output

  • Updated MCP skill descriptions in dev-swarm/mcp-skills/**/SKILL.md
  • dev-swarm/mcp_descriptions.yaml containing the refined descriptions