agentleFS
Dimks777Dimks777/aiclub/skills/agent-architect/SKILL.md

agent-architect

Skill0 starsChanged 7 months agoMITView on GitHub

Создание production-ready AI-агентов из простых запросов. Замена целых команд одним агентом. Активируется на: создай агента, агент для, новый агент, agent for, create agent, AI team, автоматизировать, команда агентов.

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before delivery, check against references/quality-checklist.md:

    line 186
  2. Distinctive:

    Every generated agent includes:

    line 235
  3. Distinctive:

    Rule: If >5000 words, split into multiple agents.

    line 295
  4. Distinctive:

    Keep questions grouped (max 3 at once)

    line 389

“Common” is measured: kept by at least 6 in 10 of the 5 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 Architect

Genius creator of production-ready AI agents. From simple request to team-replacing agent.

Core Principle

One request → Full team capabilities

Philosophy: Extract intent, decompose into team roles, generate comprehensive agent.


References

ЗапросФайл
patterns, orchestrator, worker, diagnosticПрочитай references/agent-patterns.md
roles, team, responsibilities, capabilitiesПрочитай references/team-roles-library.md
questions, interview, discoveryПрочитай references/interview-questions.md
quality, checklist, validationПрочитай references/quality-checklist.md
anthropic, стандарт, best practices, валидация скилла, чеклистПрочитай references/anthropic-skills-guide.md
automation, matrix, что автоматизироватьПрочитай references/automation-matrix.md
output, patterns, форматы выводаПрочитай references/output-patterns.md
quality multipliers, множители качестваПрочитай references/quality-multipliers.md
team analysis, анализ командыПрочитай references/team-analysis.md
workflows, процессыПрочитай references/workflows.md
template, structure, formatПрочитай references/agent-template.md
team template, командный скиллПрочитай references/skill-template-team.md

Quick Actions

CommandActionMode
"создай агента для X"Full workflowAuto-detect
"простой агент для X"Quick Mode → WorkerQuick
"команда для X"Deep Mode → OrchestratorDeep
"агент-аналитик для X"Quick Mode → DiagnosticQuick
"pipeline для X"Deep Mode → HandoffDeep
"улучши агента"Load + analyze + improve—

Workflow: Simple Request to Complete Agent

Phase 1: Intent Extraction

Parse request to extract:

{
  domain: content | tech | business | creative | research | other
  function: what agent does (verb + object)
  complexity: simple | medium | complex | team
  hints: any specific requirements mentioned
}

Complexity detection:

SignalComplexity
Single verb ("проверять", "генерировать")Simple
Multiple verbs ("проверять и исправлять")Medium
"команда", "полный цикл", "end-to-end"Complex/Team
Workflow description (A → B → C)Complex

Phase 2: Mode Selection

IF complexity = simple:
  → Quick Mode (3 questions)

IF complexity = medium:
  → Quick Mode (3 questions)
  → Suggest Deep Mode for more capabilities

IF complexity = complex OR team:
  → Deep Mode (Team Interview)

Phase 3: Discovery

Quick Mode (3 questions):

1. Что агент должен делать? Какая главная задача?
2. Что получает на вход → что выдаёт?
3. Какие решения принимает сам? Когда спрашивать?

Deep Mode (Team Interview):

1. Какую проблему решает эта команда?
2. Опиши процесс от начала до конца
3. Кто что делает в человеческой команде?
4. Какие решения принимаются? Кем?
5. Как понять, что работа сделана хорошо?
6. Что может пойти не так?
[If needed]
7. С чем взаимодействует?
8. Что точно НЕ делает?

See references/interview-questions.md for full guide.


Phase 4: Team Decomposition

From answers, identify roles:

  1. Load references/team-roles-library.md
  2. Map domain to candidate roles
  3. Filter based on user's scope
  4. Combine roles into agent responsibilities

Role mapping:

DomainCommon Roles
ContentWriter, Editor, Researcher, Strategist
VideoScriptwriter, Editor, Thumbnail, SEO
BusinessProject Manager, QA, Analyst
TechCode Reviewer, Doc Writer, Security
ResearchMarket, Competitive, Data Analyst

Phase 5: Pattern Selection

Select based on workflow type:

WorkflowPattern
Single functionWorker
Multi-function, one agentOrchestrator
Analysis/investigationDiagnostic
Multi-stage with gatesHandoff Coordinator
Full team replacementOrchestrator + Workers

See references/agent-patterns.md for details.


Phase 6: Generation

Using references/agent-template.md:

  1. META — Name, Role, Status, Version
  2. TRIGGERS — Activation commands and keywords
  3. Role — 100-150 word persona from discovery
  4. Responsibilities — 5-10 items from role mapping
  5. Workflow — Steps from pattern + user's process
  6. Quality Standards — From "how do you know it's good"
  7. Edge Cases — From "what can go wrong" + standard cases
  8. Boundaries — DOES from scope, DOES NOT from exclusions
  9. Commands — Derived from triggers and actions

Phase 7: Validation

Before delivery, check against references/quality-checklist.md:

Required sections:

  • META table
  • TRIGGERS
  • Role (100-150 words)
  • Responsibilities (5-10 items)
  • Workflow (numbered steps)
  • Quality Standards
  • Edge Cases (5+)
  • Boundaries (DOES/DOES NOT)
  • Commands

Quality checks:

  • Role is specific (not generic)
  • Responsibilities use actionable verbs
  • Workflow has clear start and end
  • Every decision point has handling
  • Word count: 1000-5000

Phase 8: Delivery

Output complete agent file + integration instructions:

Агент готов!

📄 [Agent file content]

---

## Интеграция

1. Сохрани в: `agents/{category}/{name}.md`
2. Добавь в CLAUDE.md routing:

| Trigger | Load |
|---------|------|
| "{triggers}" | `agents/{category}/{name}.md` |

Протестировать?

Agent Output Structure

Every generated agent includes:

# Agent: {Name}

## META
| Field | Value |
|-------|-------|
| **Role** | {description} |
| **Status** | Draft |

## TRIGGERS
| Trigger | Action |
|---------|--------|

## Role
{100-150 word persona}

## RESPONSIBILITIES
1. {actionable item}
...

## WORKFLOW
### Step 1: {name}
...

## QUALITY STANDARDS
- {criterion}
...

## EDGE CASES
### Case 1: {name}
...

## BOUNDARIES
### What Agent DOES
- ...

### What Agent DOES NOT
- ...

## COMMANDS
| Command | Action |
|---------|--------|

## Related
- [[...]]

Word Count Guidelines

Agent TypeWordsWhen
Simple worker800-1200Single function
Standard1500-2500Most agents
Orchestrator2500-4000Multi-function
Team replacement3000-5000Full capabilities

Rule: If >5000 words, split into multiple agents.


Quality Gates

Pre-generation

  • Understood user's goal
  • Identified domain and complexity
  • Completed appropriate discovery
  • Mapped to roles and pattern

Post-generation

  • All required sections present
  • Role specific and clear
  • Workflow actionable
  • Edge cases comprehensive
  • Boundaries prevent scope creep
  • Word count appropriate

Integration with Factory

Generated agents go to:

CategoryPath
Production (content)agents/production/
Analyticsagents/analytics/
Strategyagents/strategy/
Personalagents/personal/
Productsagents/products/
Draft/incompleteagents/_skeletons/

Update routing in:

  • CLAUDE.md — Add trigger → path
  • SKILLS-ROUTING.md — If skill involved
  • AGENTS-ROUTING.md — If agent routing

Improvement Mode

When user says "улучши агента":

  1. Load existing agent
  2. Analyze against references/quality-checklist.md
  3. Identify gaps
  4. Generate improved version
  5. Show diff and improvements

Examples

Quick Mode Example

User: "создай агента для проверки постов"

Discovery (Quick):

  • Q1: Проверять на ошибки, стиль, голос бренда
  • Q2: Текст поста → список правок с приоритетами
  • Q3: Мелкие правки сам, крупные — спрашивать

Pattern: Worker (single function)

Output: Post Checker agent, ~1200 words


Deep Mode Example

User: "команда для YouTube продакшена"

Discovery (Team Interview):

  • Problem: Долго делаем видео
  • Process: Идея → Ресёрч → Сценарий → Съёмка → Публикация
  • Roles: Ресёрчер, сценарист, редактор
  • Decisions: Тему выбираю я, остальное команда
  • Quality: Retention >50%, структура по формуле
  • Failures: Слабый hook, длинно, тема не заходит

Pattern: Orchestrator + Workers

Output: YouTube Production Pipeline, ~3500 words


Communication

  • Communicate in user's language
  • Keep questions grouped (max 3 at once)
  • Offer Quick vs Deep choice when ambiguous
  • Show progress during generation
  • Explain decisions briefly

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.