跳到正文
FunCoding

onboard-agent

Use when starting a new project, adding a new agent to an existing system, or setting up workflow infrastructure from scratch.

Star
602
许可证
MIT
最近提交
2026年4月29日

source/skills/onboard-agent/SKILL.md

在 GitHub 上查看

MANDATORY PREPARATION

Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first.


Bootstrap a new agent workflow from scratch, or add a new agent to an existing system.

Step 1: Establish Conventions

## Workflow Conventions
### Prompt Format
- Delimiter style: [XML tags / markdown headers / triple-dash]
- Section order: [System → Context → Instructions → Input]
- Output format: [JSON with schema / markdown template]

### Tool Conventions
- Naming: [verb_noun / noun.verb / camelCase]
- Description template: [What → When → When Not → Returns]
- Error format: [{ code, message, details }]

### Logging
- Format: [JSON structured]
- Required fields: [workflow_id, step, timestamp, level]

### File Structure
- Prompts: [prompts/workflow-name/v1.md]
- Tools: [tools/tool-name.{ext}]
- Config: [config/environment.yaml]
- Tests: [tests/workflow-name/]

Step 2: Create Initial Structure

project/
├── prompts/          # System prompts, versioned
├── tools/            # Tool definitions
├── config/           # Environment-specific configuration
├── tests/            # Golden test sets and evaluation suites
├── logs/             # Runtime logs (gitignored)
└── .maestro.md       # Workflow context

Step 3: Create the First Agent

  1. System prompt: Role definition with constraints
  2. 2-3 essential tools: Start with the minimum viable tool set
  3. Output schema: Define expected output format
  4. One golden test: At least one test case with known-good output
  5. Basic error handling: Structured error responses
  6. Logging: Structured log output for each run

Step 4: Verify

  • Run the agent with the golden test case
  • Verify error handling works (send bad input)
  • Verify logging captures useful context

After onboarding, run /diagnose for a baseline health check, then /fortify to add production-grade error handling.

NEVER:

  • Start building without establishing conventions
  • Create tools without descriptions
  • Skip the golden test case
  • Over-scope the initial agent (start minimal, amplify later)

相似的 Skill

精选

internal-comms

写内部沟通文档,遵循公司格式,包括状态报告、领导更新和公司通讯。

ANanthropics/skills203k近 7 天新增 3,333 个 star

canary

GAgarrytan/gstack143k近 7 天新增 636 个 star

observability-and-instrumentation

ADaddyosmani/agent-skills122k近 7 天新增 1,627 个 star

精选

shipping-and-launch

上线前逐项检查,规划监控、分阶段发布和回滚方案。

ADaddyosmani/agent-skills122k近 7 天新增 1,627 个 star

paperclip-board

PApaperclipai/paperclip119k近 7 天新增 2,120 个 star

ruview-configure

RUruvnet/RuView106k近 7 天新增 693 个 star