Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

agent-developmentAgent 开发

Agent Skill

agent-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,008

周安装

42

GitHub Stars

33

下载量

336
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-development(Agent 开发)
来源仓库:https://github.com/josiahsiegel/claude-plugin-marketplace
仓库路径:skills/agent-development
安装命令:
npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill agent-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill agent-development

简介

agent-development 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于需要根据关键词或任务场景从来源线索中获取信息的场景。
  • 通过关键词输入和来源仓库筛选来组织和呈现信息。
  • 安装前需确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Agent Development for Claude Code Plugins

Overview

Agents are autonomous subprocesses that handle complex, multi-step tasks independently. Each agent is a markdown file in the agents/ directory with YAML frontmatter defining its configuration and a markdown body serving as its system prompt.

Agent File Format

---
name: agent-identifier
description: |
  Use this agent when [triggering conditions].

  <example>
  Context: [Situation]
  user: "[User request]"
  assistant: "[How to respond and invoke agent]"
  <commentary>
  [Why this agent should trigger]
  </commentary>
  </example>

model: inherit
color: blue
tools:
  - Read
  - Write
  - Grep
---

System prompt body in second person ("You are...")

Frontmatter Fields Reference

name (required)

Agent identifier for namespacing and invocation.

RuleDetail
Length3-50 characters
FormatLowercase letters, numbers, hyphens only
Start/endMust be alphanumeric (not hyphen)
ConventionRole-based: code-reviewer, test-generator, domain-expert

Invalid names: ag (too short), -agent- (starts/ends with hyphen), my_agent (underscores)

description (required - most critical field)

Defines WHEN Claude should trigger this agent. Poor descriptions = agent never triggers.

Must include:

  1. Triggering conditions ("Use this agent when...")
  2. 2-4 <example> blocks showing usage scenarios
  3. Each example: context, user request, assistant response, commentary
  4. Both proactive and reactive triggering scenarios

Good description pattern:

description: |
  Use this agent when the user needs help with [domain]. Trigger for:
  - [Scenario 1]
  - [Scenario 2]
  - [Scenario 3]

  <example>
  Context: [Specific situation]
  user: "[What user says]"
  assistant: "[How Claude responds and invokes agent]"
  <commentary>
  [Why this is the right agent for this request]
  </commentary>
  </example>

Common mistake: Vague descriptions without examples. "Helps with code review" will rarely trigger. Include concrete examples with exact user phrases.

Example block rules:

  • Keep example blocks concise — assistant response should be 1-2 sentences, not full code
  • Limit to 3-7 example blocks total (more dilutes matching quality)
  • Do NOT include full JSON schemas, code samples, or CLI output in examples
  • Examples show *when* to trigger and *how to respond*, not the domain content itself

Skill coverage requirement (CRITICAL): When the agent delegates to skills, every skill MUST have at least one <example> block that would route to it. Count skills, count examples, and verify full coverage. If the plugin has 9 skills and only 7 trigger examples, 2 skills will have reduced activation reliability. Add examples until every skill has explicit coverage. When there are more skills than the 7-example limit allows, combine related skills into shared examples that mention both domains.

model (required)

ValueWhen to use
inheritDefault choice - uses parent session's model
sonnetBalanced capability/speed
opusMost capable, for complex reasoning
haikuFast/cheap, for simple validation

Always use inherit unless the agent specifically needs a different capability level.

color (required)

Visual identifier in UI. Choose based on agent function:

ColorUse for
blue / cyanAnalysis, review, research
greenSuccess-oriented, generation, creation
yellowCaution, validation, checking
redCritical, security, destructive operations
magentaCreative, design, architecture

Use distinct colors for different agents within the same plugin.

tools (optional)

Restrict agent to specific tools. Principle of least privilege - only grant what's needed.

# Read-only analysis
tools: ["Read", "Grep", "Glob"]

# Code generation
tools: ["Read", "Write", "Edit", "Grep", "Glob"]

# Full access (omit field entirely)
# tools: (not specified)

Common tool names: Read, Write, Edit, Grep, Glob, Bash, WebSearch, WebFetch, Skill, Agent

MCP tools use format: mcp__server-name__tool-name

System Prompt Design

The markdown body becomes the agent's system prompt. Write in second person ("You are...", "You will...").

Structure Template

You are [role] specializing in [domain].

## Core Responsibilities
1. [Primary responsibility]
2. [Secondary responsibility]

## Process
1. [Step one]
2. [Step two]
3. [Step three]

## Quality Standards
- [Standard 1]
- [Standard 2]

## Output Format
- [What to include]
- [How to structure results]

## Edge Cases
- [Situation]: [How to handle]

Best Practices

DO:

  • Write in second person ("You are...", "You will...")
  • Be specific about responsibilities and process steps
  • Define output format clearly
  • Address edge cases
  • Include skill activation instructions if the agent should load skills
  • Keep the agent body as a lean orchestrator (see below)

DON'T:

  • Write in first person ("I am...", "I will...")
  • Be vague or generic ("help with stuff")
  • Skip process steps
  • Leave output format undefined
  • Omit quality standards
  • Embed domain knowledge that belongs in skills (see below)

Lean Orchestrator Pattern (CRITICAL)

An agent body must be a lean orchestrator, NOT a domain knowledge dump. The agent delegates to skills for detailed knowledge.

Agent Body Size Limits

MetricTargetHard Maximum
Word count1,500-2,500 words3,000 words
Character count~10,000-15,000 chars20,000 chars

What Belongs in the Agent Body

SectionRequiredPurpose
Role identityYes"You are [role] specializing in [domain]"
Skill activation rulesYesTopic-to-skill mapping table
High-level processYesDesign/workflow steps
Output formatYesWhat to include in responses
Brief service summariesOptional2-3 sentences per area to help decide which skill to load
Edge cases / troubleshooting tipsOptionalQuick reference only

What Does NOT Belong in the Agent Body

  • Detailed domain knowledge — belongs in skills
  • Complete CLI/API references — belongs in skill references/
  • Full code examples — belongs in skill examples/
  • Duplicated skill content — if it's in a skill, do NOT repeat it in the agent

Anti-Pattern: Content Duplication

NEVER duplicate content between the agent body and skills. This is the most common mistake and causes massive context bloat.

Bad: Agent body contains a full "Plugin.json Schema" section AND the plugin-master skill also contains it. Good: Agent body says "For plugin.json schema details, load plugin-master:plugin-master" and keeps only a 1-sentence summary.

Lean Orchestrator Template

You are [role] specializing in [domain].

## Skill Activation - CRITICAL
[Topic-to-skill mapping table — this is the heart of the agent]

## Core Responsibilities
[2-5 bullet points on what this agent does]

## Process
[5-7 step workflow for handling user requests]

## Quality Standards
[Brief checklist — 5-10 items]

## Output Format
[What to include in responses]

Description Size Limits

Agent descriptions should be concise and effective:

ElementGuideline
Intro text1-2 sentences on when to trigger
Example blocks3-7 blocks covering diverse scenarios
Total descriptionShould fit naturally — focus on quality trigger examples over length

Agent Design Principles (2025)

Agent-First Plugin Design

  • Primary plugin interface is ONE expert agent named {domain}-expert
  • Plugin named docker-master → agent named docker-expert
  • Only 0-2 slash commands for automation workflows
  • Users interact conversationally, not through command menus

Single Responsibility

Each agent should have a clear, focused purpose. Don't create "do everything" agents. If a plugin needs multiple capabilities, use one expert agent that loads different skills based on context.

Skill Integration

Expert agents should load relevant skills before answering. Include skill activation instructions in the system prompt:

## Skill Activation
When the user asks about [topic], load `plugin-name:skill-name` before responding.

Preventing Trigger Phrase Overlap Between Skills

When a plugin has multiple skills, their trigger phrases and description terms must not create ambiguity. If two skills both claim the same keyword (e.g., both "programmatic-development" and "tmdl-mastery" claim "TMDL"), the agent cannot reliably route requests.

Disambiguation rules:

  1. Audit trigger terms across all skills — list every trigger phrase from every skill description side by side. Flag any term that appears in more than one skill.
  2. Assign exclusive ownership — each ambiguous term must belong to exactly one skill. The other skill should use a more specific phrase (e.g., "TMDL file editing" vs. "programmatic deployment using TMDL").
  3. Add disambiguation hints to the agent's skill activation table — for terms that could route to multiple skills, add a clarifying note: "TMDL editing/syntax → tmdl-mastery; TMDL in deployment pipelines → programmatic-development".
  4. Test with ambiguous queries — after writing descriptions, mentally test phrases like "help me with TMDL" and verify the routing is unambiguous.

Validation Checklist

Before finalizing an agent:

  • Name: 3-50 chars, lowercase, hyphens, starts/ends alphanumeric
  • Description: includes triggering conditions and 2-4 <example> blocks
  • Every skill has trigger coverage: count skills and verify each has at least one example that routes to it
  • No trigger phrase overlap: no ambiguous keyword claimed by multiple skills without disambiguation
  • Model: set to inherit (unless specific need)
  • Color: appropriate for agent function
  • Tools: restricted to minimum needed (or omitted for full access)
  • System prompt: second person, clear responsibilities, defined process and output
  • Frontmatter: valid YAML with all required fields
  • File location: agents/agent-name.md

Testing

  1. Write agent with specific triggering examples
  2. Use similar phrasing to examples in your test queries
  3. Verify Claude loads the agent for matching requests
  4. Test that the agent follows its defined process
  5. Check output matches defined format
  6. Test edge cases mentioned in system prompt

Common Mistakes

MistakeFix
Vague description without examplesAdd 2-4 <example> blocks with concrete user phrases
Skills without trigger examplesEvery skill must have at least one example that routes to it — count and verify
Trigger phrase overlap between skillsAudit all skill descriptions for shared keywords; assign exclusive ownership or add disambiguation
model: sonnet when inherit worksUse inherit unless agent needs specific capability
Too many tools grantedRestrict to minimum needed tools
Generic system promptBe specific about process, output format, quality standards
No skill activationAdd skill loading instructions for knowledge-dependent agents
Multiple agents in one pluginUse one expert agent with skills for different topics
Example blocks with full code/JSONKeep examples concise (1-2 sentence responses); code belongs in skills
Same cross-cutting block in every skillPut platform guidelines in agent body or one shared reference, not each SKILL.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.57%
按下载量换算126

Claude

29.62%
按下载量换算100

Cursor

19.47%
按下载量换算65

Gemini CLI

9.41%
按下载量换算32

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills