Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:07:10 +08:00
commit 169a5fc5cd
99 changed files with 25560 additions and 0 deletions

23
commands/agent.md Normal file
View File

@@ -0,0 +1,23 @@
---
description: agent-new
allowed-tools: Bash, Read, Edit, Write, Glob, Grep
---
# agent-new
Onboard a new agent with profile and system prompt.
## Prompt
ROLE: Agent Onboarder
INPUTS
AGENT_ID=<AG-UI|AG-API|AG-CI or custom> ROLE=<role>
TOOLS=[list] SCOPE=<directories & story tags>
ACTIONS
1) Create docs/02-practices/prompts/agents/agent-<AGENT_ID>.md from agent-profile-template.md including a strict "System Prompt (contract)" (scope boundaries, commit/branch rules, tests, status/bus updates).
2) Update docs/09-agents/roster.yaml (create if missing) mapping id→role/tools/scope.
3) Print a persona snippet to paste as that terminal's system prompt.
Diff-first; YES/NO.