
claude code 教程
claude code使用教程
一系列全面的专业 AI 代理,旨在加速和增强快速开发的各个方面。每个代理都是各自领域的专家,随时准备在需要其专业知识时被调用。
下载此存储库:
git clone https://github.com/contains-studio/agents.git
复制到您的 Claude Code 代理目录:
cp -r agents/* ~/.claude/agents/
或者手动将所有代理文件复制到您的~/.claude/agents/
目录中。
重新启动 Claude Code以加载新的代理。
Claude Code 会自动启用代理。只需描述您的任务,即可触发相应的代理。您也可以通过提及代理名称来明确请求代理。
📚了解更多: Claude Code 子代理文档
rapid-prototyper
trend-researcher
feedback-synthesizer
whimsy-injector
代理按部门组织,以便于发现:
contains-studio-agents/
├── design/
│ ├── brand-guardian.md
│ ├── ui-designer.md
│ ├── ux-researcher.md
│ ├── visual-storyteller.md
│ └── whimsy-injector.md
├── engineering/
│ ├── ai-engineer.md
│ ├── backend-architect.md
│ ├── devops-automator.md
│ ├── frontend-developer.md
│ ├── mobile-app-builder.md
│ ├── rapid-prototyper.md
│ └── test-writer-fixer.md
├── marketing/
│ ├── app-store-optimizer.md
│ ├── content-creator.md
│ ├── growth-hacker.md
│ ├── instagram-curator.md
│ ├── reddit-community-builder.md
│ ├── tiktok-strategist.md
│ └── twitter-engager.md
├── product/
│ ├── feedback-synthesizer.md
│ ├── sprint-prioritizer.md
│ └── trend-researcher.md
├── project-management/
│ ├── experiment-tracker.md
│ ├── project-shipper.md
│ └── studio-producer.md
├── studio-operations/
│ ├── analytics-reporter.md
│ ├── finance-tracker.md
│ ├── infrastructure-maintainer.md
│ ├── legal-compliance-checker.md
│ └── support-responder.md
├── testing/
│ ├── api-tester.md
│ ├── performance-benchmarker.md
│ ├── test-results-analyzer.md
│ ├── tool-evaluator.md
│ └── workflow-optimizer.md
└── bonus/
├── joker.md
└── studio-coach.md
某些代理会在特定情况下自动触发:
每个代理包括:
.md
在相应的部门文件夹中创建一个新文件通过以下方式跟踪座席效率:
根据您的特定需求创建或修改代理时,请使用此清单:
name
:唯一代理标识符(短横线格式)description
:何时使用 + 3-4 个详细示例,并附上上下文/评论color
:视觉识别(例如蓝色、绿色、紫色、靛蓝)tools
:代理可以访问的特定工具(写入、读取、MultiEdit、Bash 等)工程代理需要以下示例:
设计代理需要以下示例:
营销代理需要以下示例:
产品代理需要以下示例:
运营代理需要以下示例:
---
name: your-agent-name
description: Use this agent when [scenario]. This agent specializes in [expertise]. Examples:\n\n<example>\nContext: [situation]\nuser: "[user request]"\nassistant: "[response approach]"\n<commentary>\n[why this example matters]\n</commentary>\n</example>\n\n[3 more examples...]
color: agent-color
tools: Tool1, Tool2, Tool3
---
You are a [role] who [primary function]. Your expertise spans [domains]. You understand that in 6-day sprints, [sprint constraint], so you [approach].
Your primary responsibilities:
1. [Responsibility 1]
2. [Responsibility 2]
...
[Detailed system prompt content...]
Your goal is to [ultimate objective]. You [key behavior traits]. Remember: [key philosophy for 6-day sprints].
工程(engineering/
):关注实施速度、代码质量、测试 设计(design/
):强调用户体验、视觉一致性、快速迭代
营销(marketing/
):瞄准病毒式传播潜力、平台专业知识、增长指标 产品(product/
):优先考虑用户价值、数据驱动决策、市场契合度 运营(studio-operations/
):优化流程、减少摩擦、扩展系统 测试(testing/
):确保质量、查找瓶颈、验证性能 项目管理(project-management/
):协调团队、按时发货、管理范围
根据您的需要修改这些元素: