Loading...
Loading...
Compare original and translation side by side
Use AskUserQuestion with these options:
- "Build a new agent" → Then invoke /hive-create
- "Test an existing agent" → Then invoke /hive-test
- "Learn agent concepts" → Then invoke /hive-concepts
- "Optimize agent design" → Then invoke /hive-patterns
- "Set up credentials" → Then invoke /hive-credentials
- "Debug a failing agent" → Then invoke /hive-debugger
- "Other" (please describe what you want to achieve)使用AskUserQuestion工具并提供以下选项:
- "构建新Agent" → 然后调用 /hive-create
- "测试现有Agent" → 然后调用 /hive-test
- "学习Agent概念" → 然后调用 /hive-concepts
- "优化Agent设计" → 然后调用 /hive-patterns
- "设置凭据" → 然后调用 /hive-credentials
- "调试故障Agent" → 然后调用 /hive-debugger
- "其他"(请描述您想要实现的目标)/hive-concepts/hive-create/hive-patterns/hive-credentials/hive-test/hive-debugger/hive-concepts/hive-create/hive-patterns/hive-credentials/hive-test/hive-debugger/hive-test/hive-test"Need to understand agent concepts" → hive-concepts
"Build a new agent" → hive-create
"Optimize my agent design" → hive-patterns
"Need client-facing nodes or feedback loops" → hive-patterns
"Set up API keys for my agent" → hive-credentials
"Test my agent" → hive-test
"My agent is failing/stuck/has errors" → hive-debugger
"Not sure what I need" → Read phases below, then decide
"Agent has structure but needs implementation" → See agent directory STATUS.md"需要理解Agent概念" → hive-concepts
"构建新Agent" → hive-create
"优化我的Agent设计" → hive-patterns
"需要面向客户端的节点或反馈循环" → hive-patterns
"为我的Agent设置API密钥" → hive-credentials
"测试我的Agent" → hive-test
"我的Agent出现故障/卡住/有错误" → hive-debugger
"不确定我需要什么" → 阅读以下阶段说明后再做决定
"Agent已有结构但需要实现" → 查看Agent目录下的STATUS.md/hive-concepts/hive-concepts/hive-create/hive-createexports/agent_name/exports/agent_name/exports/agent_name/uv run python -m agent_name validateexports/agent_name/uv run python -m agent_name validateexports/agent_name/
├── __init__.py (package exports)
├── __main__.py (CLI interface)
├── agent.py (goal, graph, agent class)
├── nodes/__init__.py (node specifications)
├── config.py (configuration)
├── implementations.py (may be created for Python functions)
└── README.md (documentation)exports/agent_name/
├── __init__.py (包导出内容)
├── __main__.py (CLI接口)
├── agent.py (目标、图、Agent类)
├── nodes/__init__.py (节点规格)
├── config.py (配置)
├── implementations.py (可为Python函数创建)
└── README.md (文档)exports/agent_name/STATUS.mdIMPLEMENTATION_GUIDE.mdexports/agent_name/STATUS.mdIMPLEMENTATION_GUIDE.md/hive-patterns/hive-patterns/hive-test/hive-testexports/agent_name/tests/exports/agent_name/tests/exports/agent_name/tests/exports/agent_name/tests/from exports.agent_name import default_agentfrom exports.agent_name import default_agentUser: "Build an agent that monitors files"
→ Use /hive-create
→ Agent structure created
→ Use /hive-test
→ Tests created and passing
→ Done: Production-ready agent用户:"构建一个监控文件的Agent"
→ 使用 /hive-create
→ 完成Agent结构创建
→ 使用 /hive-test
→ 测试创建并通过
→ 完成:生产就绪型AgentUser: "Build an agent (first time)"
→ Use /hive-concepts (understand concepts)
→ Use /hive-create (build structure)
→ Use /hive-patterns (optimize design)
→ Use /hive-test (validate)
→ Done: Production-ready agent用户:"构建一个Agent(首次尝试)"
→ 使用 /hive-concepts(理解概念)
→ 使用 /hive-create(构建结构)
→ 使用 /hive-patterns(优化设计)
→ 使用 /hive-test(验证)
→ 完成:生产就绪型AgentUser: "Build an agent based on the deep research template"
→ Use /hive-create
→ Select "From a template" path
→ Pick template, name new agent
→ Review/modify goal, nodes, graph
→ Agent exported with customizations
→ Use /hive-test
→ Done: Customized agent用户:"基于深度研究模板构建一个Agent"
→ 使用 /hive-create
→ 选择"基于模板"路径
→ 选择模板,命名新Agent
→ 审核/修改目标、节点、图
→ 导出包含自定义内容的Agent
→ 使用 /hive-test
→ 完成:自定义AgentUser: "Test my agent at exports/my_agent"
→ Skip Phase 1
→ Use /hive-test directly
→ Tests created
→ Done: Validated agent用户:"测试我在exports/my_agent路径下的Agent"
→ 跳过阶段1
→ 直接使用 /hive-test
→ 创建测试
→ 完成:已验证AgentUser: "Build an agent"
→ Use /hive-create (Phase 1)
→ Implementation needed (see STATUS.md)
→ [User implements functions]
→ Use /hive-test (Phase 2)
→ Tests reveal bugs
→ [Fix bugs manually]
→ Re-run tests
→ Done: Working agent用户:"构建一个Agent"
→ 使用 /hive-create(阶段1)
→ 需要实现功能(查看STATUS.md)
→ [用户实现函数]
→ 使用 /hive-test(阶段2)
→ 测试发现Bug
→ [手动修复Bug]
→ 重新运行测试
→ 完成:可用AgentUser: "Build an agent with human review and feedback loops"
→ Use /hive-concepts (learn event loop, client-facing nodes)
→ Use /hive-create (build structure with feedback edges)
→ Use /hive-patterns (implement client-facing + feedback patterns)
→ Use /hive-test (validate review flows and edge routing)
→ Done: Agent with HITL checkpoints and review loops用户:"构建一个包含人工审核和反馈循环的Agent"
→ 使用 /hive-concepts(学习事件循环、面向客户端的节点)
→ 使用 /hive-create(构建带有反馈边的结构)
→ 使用 /hive-patterns(实现面向客户端+反馈模式)
→ 使用 /hive-test(验证审核流程和边路由)
→ 完成:带有HITL检查点和审核循环的Agenthive (meta-skill)
│
├── hive-concepts (foundational)
│ ├── Architecture concepts (event loop, judges)
│ ├── Node types (event_loop, function)
│ ├── Edge routing and priority
│ ├── Tool discovery procedures
│ └── Workflow overview
│
├── hive-create (procedural)
│ ├── Creates package structure
│ ├── Defines goal
│ ├── Adds nodes (event_loop, function)
│ ├── Connects edges with priority routing
│ ├── Finalizes agent class
│ └── Requires: hive-concepts
│
├── hive-patterns (reference)
│ ├── Client-facing interaction patterns
│ ├── Feedback edges and review loops
│ ├── Judge patterns (implicit, SchemaJudge)
│ ├── Fan-out/fan-in parallel execution
│ └── Context management and anti-patterns
│
├── hive-credentials (utility)
│ ├── Detects missing credentials
│ ├── Offers auth method choices (Aden OAuth, direct API key)
│ ├── Stores securely in ~/.hive/credentials
│ └── Validates with health checks
│
├── hive-test (validation)
│ ├── Reads agent goal
│ ├── Generates tests
│ ├── Runs evaluation
│ └── Reports results
│
└── hive-debugger (troubleshooting)
├── Monitors runtime logs (L1/L2/L3)
├── Identifies retry loops, tool failures
├── Categorizes issues (10 categories)
└── Provides fix recommendationshive(元技能)
│
├── hive-concepts(基础类)
│ ├── 架构概念(事件循环、判断器)
│ ├── 节点类型(event_loop、function)
│ ├── 边路由与优先级
│ ├── 工具发现流程
│ └── 工作流概述
│
├── hive-create(流程类)
│ ├── 创建包结构
│ ├── 定义目标
│ ├── 添加节点(event_loop、function)
│ ├── 连接带有优先级路由的边
│ ├── 最终确定Agent类
│ └── 依赖:hive-concepts
│
├── hive-patterns(参考类)
│ ├── 面向客户端的交互模式
│ ├── 反馈边与审核循环
│ ├── 判断器模式(隐式、SchemaJudge)
│ ├── 扇出/扇入并行执行
│ └── 上下文管理与反模式
│
├── hive-credentials(工具类)
│ ├── 检测缺失的凭据
│ ├── 提供认证方式选择(Aden OAuth、直接API密钥)
│ ├── 安全存储在 ~/.hive/credentials
│ └── 通过健康检查验证
│
├── hive-test(验证类)
│ ├── 读取Agent目标
│ ├── 生成测试
│ ├── 运行评估
│ └── 报告结果
│
└── hive-debugger(排障类)
├── 监控运行时日志(L1/L2/L3)
├── 识别重试循环、工具故障
├── 对问题分类(10类)
└── 提供修复建议PYTHONPATH=exports uv run python -m agent_name validatePYTHONPATH=exports uv run python -m agent_name validate/hive-test/hive-test/hive-debugger/hive-debuggerundefinedundefinedundefinedundefined.claude/skills/hive-concepts/SKILL.md.claude/skills/hive-create/SKILL.md.claude/skills/hive-patterns/SKILL.md.claude/skills/hive-test/SKILL.mdcore/README.mdexports/.claude/skills/hive-concepts/SKILL.md.claude/skills/hive-create/SKILL.md.claude/skills/hive-patterns/SKILL.md.claude/skills/hive-test/SKILL.mdcore/README.mdexports//hive-concepts/hive-create/hive-patterns/hive-credentials/hive-test/hive-debugger/hive-concepts/hive-create/hive-patterns/hive-credentials/hive-test/hive-debugger