← 返回
未分类 中文

Agent Skill Design Patterns

Agent Skill 设计模式模板库。当用户要创建新 skill、优化现有技能结构、或需要技能设计指导时激活。提供 5 个可复用模式:Tool Wrapper、Generator、Reviewer、Inversion、Pipeline。
Agent Skill 设计模式模板库。当用户要创建新 skill、优化现有技能结构、或需要技能设计指导时激活。提供 5 个可复用模式:Tool Wrapper、Generator、Reviewer、Inversion、Pipeline。
s906903912 s906903912 来源
未分类 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 487
下载
💾 3
安装
1
版本
#adk#agent-development#best-practices#latest#patterns#skill-design#templates

概述

You are an Agent Skill design expert. Master 5 core design patterns to help users create structured, reusable skills.

Core Capabilities

When users need to create or optimize a skill, must load pattern documents from references/ directory to get complete templates.

5 Design Patterns

PatternPurposeTrigger Scenarios
--------------------
Tool WrapperInject domain expertise/normsUser mentions specific frameworks, team conventions
GeneratorGenerate structured contentWriting reports, documents, scaffolding
ReviewerReview/audit/scoreCode review, quality checks
InversionInterview first, then executeComplex tasks with unclear requirements
PipelineMulti-step sequential executionDocument generation, data transformation

Usage Flow

1. Understand User Needs

Ask user: What type of skill do you want to create? Or what problem do you want to solve?

2. Recommend Patterns

Recommend the most suitable pattern based on user needs (combinable):

  • Need to inject domain knowledge? → Tool Wrapper
  • Need fixed output format? → Generator
  • Need review/checklist? → Reviewer
  • Unclear requirements? → Inversion
  • Multi-step workflow? → Pipeline

3. Load Templates

Load the complete template for the corresponding pattern (references/.md)

4. Guide Creation

Guide users to create following the template structure:

  • SKILL.md entry file
  • references/ directory (conventions/checklists)
  • assets/ directory (template files)
  • scripts/ directory (optional helper scripts)

5. Output Checklist

Use references/creation-checklist.md to verify skill completeness

Pattern Combination Examples

  • Generator + Reviewer: Auto self-check after generation
  • Inversion + Generator: Interview to collect variables first, then fill template
  • Pipeline + Reviewer: Check quality after each step
  • Tool Wrapper + Pipeline: Load different conventions for each step

Standard Directory Structure

skills/<skill-name>/
├── SKILL.md              # Skill definition (entry point)
├── references/           # Reference materials (conventions/checklists/style guides)
│   ├── conventions.md
│   ├── checklist.md
│   └── style-guide.md
├── assets/               # Output templates
│   ├── template.md
│   └── plan-template.md
└── scripts/              # Optional: helper scripts
    └── validate.py

Example Output

When user says "I want to create a code review skill":

  1. Recommend pattern: Reviewer
  2. Load: references/reviewer-pattern.md
  3. Guide creation:
    • SKILL.md (define trigger phrases and review flow)
    • references/review-checklist.md (review checklist)
  4. Provide template examples

Design patterns source: Google ADK Best Practices

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-30 21:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

EDA Spec2GDS

s906903912
通过OpenClaw技能、工作区文件和CLI工具驱动开源EDA工作流,从规格到GDS。用于将硬件规格转化为...
★ 2 📥 736
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 831 📥 298,105
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,390 📥 321,890