agent-teams-prompt
Example prompt that asks an agent team to build a Dubai time card, with a command, an agent and a skill in separate files.
- Kind
- Prompt
- Works with
- Claude Code
- Source
- shanraisshan/claude-code-best-practice @ 6d0844baf620
- Path
- agent-teams/agent-teams-prompt.md
- License
- MIT
- Jobs
- Implementation
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Create an agent team to build a time orchestration workflow that displays
the current Dubai time as a visual SVG card. The workflow follows the
Command → Agent → Skill architecture pattern:
- A command orchestrates the flow and handles user interaction
- An agent fetches the live current time for Dubai using a preloaded skill
- A skill creates a visual SVG time card from the fetched data
**Important**: All files must be created inside `agent-teams/.claude/` —
NOT in the repo root's `.claude/` directory. This keeps the agent team's
output self-contained and runnable via `cd agent-teams && claude`.
Do NOT reference or copy the existing weather workflow — build everything from scratch.
Assign these teammates:
1. **Command Architect** — Design and implement the `/time-orchestrator`
command in `agent-teams/.claude/commands/time-orchestrator.md`. The command should:
- Invoke the time-agent via the Agent tool (NOT bash) to fetch the
current time for Dubai, UAE (Asia/Dubai timezone, UTC+4)
- Invoke the time-svg-creator skill via the Skill tool to render the
SVG card from the fetched time data
- Use model: haiku in the frontmatter
…