# Workspace Conventions

> Workspace Conventions is an Agent Skill for agent building published in the chekusu/wanman repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

File and output conventions for agent workspaces

- Skill name: `workspace-conventions`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/chekusu/wanman/blob/HEAD/packages/core/skills/workspace-conventions/SKILL.md
- Repository: chekusu/wanman (663 GitHub stars when collected)

## SKILL.md

# Workspace Conventions

## Directory Structure

Each agent's working directory is `/workspace/agents/{agent-name}/`.

**Rule: Only write files within your own working directory.**

```
/workspace/agents/
├── ceo/           ← CEO's working directory
├── marketing/     ← Marketing agent
├── finance/       ← Finance agent
├── feedback/      ← Feedback/research agent
├── dev/           ← Dev agent
└── devops/        ← DevOps agent
```

## Output File Naming

| Type | Naming | Example |
|------|--------|---------|
| Report | `{topic}-report.md` | `budget-report.md` |
| Brand guide | `brand-guide.md` | |
| Content plan | `{platform}-plan.md` | `social-media-plan.md` |
| Web page | `index.html` | |
| Design | `{name}-brief.md` | `poster-brief.md` |

## Cross-Agent References

When a task description references another agent's output, use the full path:

```
See brand guide at /workspace/agents/marketing/brand-guide.md
```

## Agent Name Identifier

When using `wanman artifact put`, the system automatically records the agent name. Ensure the environment variable `WANMAN_AGENT_NAME` is correctly set.

## Task Completion Checklist

1. Write key data to artifacts (`wanman artifact put`)
2. Write detailed reports to MD files
3. Mark the task as done with `wanman task done`, noting the number of artifacts in the result

---

Source: https://www.openparable.com/skill/agent-building/workspace-conventions (OpenParable). Cite the canonical URL above.
