onboard-agent
Use when starting a new project, adding a new agent to an existing system, or setting up workflow infrastructure from scratch.
What this skill does
## 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
```markdown
## 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
```text
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
### Recommended Next Step
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)
Related in utility
Framework Detector
IncludedMulti-signal framework detection with confidence scoring for 6 major frameworks
extract-pattern
IncludedUse when the user wants to create templates, extract reusable patterns, document solutions, or build a pattern library from working workflows.
teach-maestro
IncludedUse when starting a new project with Maestro or when no .maestro.md context file exists yet. Run once per project.
adapt-workflow
IncludedUse when porting a workflow to a different AI provider, deployment environment, model tier, or organizational context.
capture
IncludedCapture a session summary — what was done, what decisions were made, and what to do next.
recap
IncludedQuick summary of the last session — commands run, files changed, and what to do next.