Add AGENTS.md workspace files for all specialized agents
Created domain-specific AGENTS.md files: - ios-dev/workspace/AGENTS.md: iOS/SwiftUI workflow, patterns, examples - web-dev/workspace/AGENTS.md: Next.js/Supabase patterns, table naming rules - research/workspace/AGENTS.md: Research methodology, output format, verification Each AGENTS.md includes: - Standard workflow - File organization patterns - Code examples - Common tasks with guides - Tool-specific patterns Updated SPECIALIZED_AGENTS.md with: - Agent workspace structure documentation - Explanation of key files - Why AGENTS.md matters for subagents
This commit is contained in:
parent
748a8d2bfb
commit
373c0c4b49
@ -186,6 +186,42 @@ User: "Find OpenClaw best practices"
|
||||
|
||||
---
|
||||
|
||||
## Agent Workspace Structure
|
||||
|
||||
Each agent has its own workspace folder with domain-specific guidance:
|
||||
|
||||
```
|
||||
~/.openclaw/agents/<agentId>/
|
||||
├── agent/
|
||||
│ └── agent.json # Agent configuration (model, skills, rules)
|
||||
└── workspace/
|
||||
└── AGENTS.md # Domain-specific workflow and patterns
|
||||
```
|
||||
|
||||
### Key Files
|
||||
|
||||
| File | Purpose |
|
||||
|------|---------|
|
||||
| `agent/agent.json` | Configuration: model, system prompt, auto-loaded skills, rules |
|
||||
| `workspace/AGENTS.md` | **Domain workflow**: patterns, file structure, common tasks, examples |
|
||||
|
||||
### Why AGENTS.md Matters
|
||||
|
||||
The `AGENTS.md` in each agent's workspace provides:
|
||||
- **Standard workflow** for that domain
|
||||
- **File organization** patterns
|
||||
- **Code examples** and templates
|
||||
- **Common tasks** with step-by-step guides
|
||||
- **Tool-specific patterns** (Supabase, Xcode, etc.)
|
||||
|
||||
When a subagent spawns, it reads its `AGENTS.md` to understand:
|
||||
- How to structure the work
|
||||
- What patterns to follow
|
||||
- What skills to check
|
||||
- How to deliver results
|
||||
|
||||
---
|
||||
|
||||
## Benefits
|
||||
|
||||
1. **Specialized Knowledge** - Each agent loads relevant skills automatically
|
||||
|
||||
@ -652,3 +652,4 @@ No restarts required.
|
||||
[2026-02-21 18:20:02 CST] ✅ All web apps healthy (3000, 3003, 3005)
|
||||
[2026-02-21 18:50:02 CST] ✅ All web apps healthy (3000, 3003, 3005)
|
||||
[2026-02-21 19:25:02 CST] ✅ All web apps healthy (3000, 3003, 3005)
|
||||
[2026-02-21 19:55:02 CST] ✅ All web apps healthy (3000, 3003, 3005)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user