agentleFS
DROOdotFOODROOdotFOO/agent-skills/skills/agent-designer/SKILL.md

agent-designer

Skill1 starsChanged 2 months agoMITView on GitHub

Multi-agent system design with orchestration patterns, tool schemas, and guardrails. TRIGGER when: user asks to design an agent system, choose agent architecture, define tool schemas, add guardrails, or evaluate agent performance; user runs /agent-design or /agent-architect. DO NOT TRIGGER when: using a specific agent framework (use framework docs), writing prompts for single-turn LLM calls, general API integration without agent orchestration.

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep agent scope narrow. An agent that "does everything" is just a prompt with no structure.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agent Designer Skill

Design robust multi-agent systems: define agent roles, choose an architecture pattern, design tool interfaces, add safety guardrails, and evaluate performance.

Workflow

  1. Define roles -- Identify distinct agent responsibilities. Each agent should have a single clear purpose.
  2. Choose architecture -- Select the orchestration pattern that fits the problem. See architecture-patterns.md.
  3. Design tools -- Define the tool schemas agents will use. See tool-design.md.
  4. Add guardrails -- Layer in validation, human-in-the-loop gates, and failure handling. See guardrails.md.
  5. Evaluate -- Measure task completion, quality, cost, and latency. Iterate on weak points.

Agent Role Definition

Each agent should be specified with:

Agent: code-reviewer
Purpose: Review code changes for bugs, security issues, and style violations
Inputs: diff (string), file_context (string[]), review_guidelines (string)
Outputs: findings (Finding[]), verdict (PASS | FAIL), summary (string)
Tools: read_file, grep_codebase, run_linter
Constraints: read-only access, no code modification, max 5 tool calls per file

Keep agent scope narrow. An agent that "does everything" is just a prompt with no structure. If an agent needs more than 5-7 tools, it is probably two agents.

Architecture Selection Guide

AgentsComplexityPatternExample
1LowSingle AgentCode reviewer, summarizer
2-3MediumPipelineResearch -> Draft -> Edit
3-5MediumSupervisorManager delegates to workers
5+HighHierarchicalMulti-level delegation
DynamicHighSwarmAgents spawn/recruit as needed

See architecture-patterns.md for detailed trade-offs.

Output Format

System: PR Review Pipeline
Architecture: Pipeline (3 stages)
Agents: code-analyzer -> security-scanner -> summary-writer
Tools: 8 total (3 shared, 5 agent-specific)
Guardrails: input validation, output filtering, 30s timeout per agent
Estimated cost: ~$0.05 per PR (avg 500 lines)

What You Get

  • An agent architecture document specifying each agent's role, inputs, outputs, tools, and constraints.
  • An orchestration pattern recommendation (pipeline, supervisor, hierarchical, or swarm) with rationale.
  • Tool schemas, guardrail definitions, and estimated per-invocation cost for the complete system.

Sub-files

FileContent
architecture-patterns.mdOrchestration patterns, communication
tool-design.mdSchema design, error handling, idempotency
guardrails.mdSafety, memory, failure handling, eval

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.