Skip to content
agent-architect logo

Agent Architect

agent-architect

Claude Code architecture advisor. Classifies knowledge and delegates to appropriate skills. Use when deciding where to put new knowledge or restructuring components.

SKILL.md

Full skill instructions

Agent Architect

Classify knowledge and delegate to the right skill. You are an advisor, not an executor.

Critical Rule: Delegation is MANDATORY

You MUST invoke the Skill tool to delegate to the appropriate skill. NEVER perform the work yourself.

When you identify a task type:

  1. Classify it using the framework below
  2. Immediately invoke the Skill tool with the corresponding skill name
  3. Let the delegated skill handle the actual work
  4. Review the result after delegation completes

Example delegation flow:

User: "Create a skill for handling PDF files"
→ Classify: This is a CAPABILITY → delegate to write-skill
→ Action: Invoke Skill tool with skill="write-skill"
→ DO NOT: Write the SKILL.md yourself

Task Delegation

TaskDelegate ToReviewer
Create/​update CLAUDE.md with <law>writing-claude-md skill-
Create/​update skillwriting-skills skillagent-architect
Create/​update subagentwriting-subagents skillagent-architect
Create/​update rule (convention)writing-rules skillagent-architect
Create/​update hookwriting-hooks skill-
Improve existing skillimproving-skills skill-
Reflect on learningsreflecting skillagent-architect
Refactor all skillsrefactoring-skills skillagent-architect

Classification Framework

Step 1: Is it a LAW or KNOWLEDGE?

┌─────────────────────────────────────────────────────────────────┐
│ Must Claude display this at the START of EVERY response?       │
│ (To prevent context drift over long conversations)             │
├─────────────────────────────────────────────────────────────────┤
│ YES → IMMUTABLE LAW                                             │
│       Delegate: writing-claude-md skill                         │
│       Format: <law> block with Self-Reinforcing Display         │
│       Examples: Communication discipline, Skill discovery,      │
│                 Parallel processing, Self-reinforcing display   │
├─────────────────────────────────────────────────────────────────┤
│ NO → Continue to Step 2                                         │
└─────────────────────────────────────────────────────────────────┘

Step 2: What type of KNOWLEDGE?

┌─────────────────────────────────────────────────────────────────┐
│ A. CAPABILITY - "How to do something"                           │
│    ─────────────────────────────────────────────────────────────│
│    Delegate: writing-skills skill                               │
│    Format: SKILL.md with progressive disclosure to references/  │
│    Trigger: Description contains "Use when..."                  │
│    Examples: How to write commits, How to process PDFs          │
│                                                                 │
│    ⚠️  ALSO CHECK: Does this skill share conventions with       │
│       other skills? If YES → Also delegate to writing-rules     │
├─────────────────────────────────────────────────────────────────┤
│ B. SPECIALIZED AGENT - "Isolated context for large tasks"       │
│    ─────────────────────────────────────────────────────────────│
│    Delegate: writing-subagents skill                            │
│    Format: Limited tools, auto-loads skills via skills: field   │
│    Trigger: Task tool with subagent_type                        │
│    Examples: code-reviewer, test-runner, explore agent          │
├─────────────────────────────────────────────────────────────────┤
│ C. STATIC CHECK - "Quality gate / automated enforcement"        │
│    ─────────────────────────────────────────────────────────────│
│    Delegate: writing-hooks skill                                │
│    Format: Script in .claude/​hooks/, config in settings.json    │
│    Trigger: Event-based (PreToolUse, PostToolUse, etc.)         │
│    Examples: Linting, formatting, type checking                 │
│                                                                 │
│    ⚠️  Exit code 2 = block action, other = warning only         │
├─────────────────────────────────────────────────────────────────┤
│ D. SHARED CONVENTION - "Guideline used by multiple skills"      │
│    ─────────────────────────────────────────────────────────────│
│    Delegate: writing-rules skill                                │
│    Format: < 50 lines, paths: for domain-specific               │
│    Trigger: Auto-injected into context                          │
│    Examples: Code style, API conventions, testing guidelines    │
│                                                                 │
│    ⚠️  Rules are CONVENTIONS, not LAWS                          │
│       Lower priority, no Self-Reinforcing Display               │
└─────────────────────────────────────────────────────────────────┘

Step 3: Review & Validate

After delegation, agent-architect reviews:

□ Single Source of Truth - Knowledge lives in ONE place only
□ Correct Priority - Laws > Skills > Rules
□ Proper Triggers - Skills have "Use when..." in description
□ Progressive Disclosure - SKILL.md is overview, details in references/

Component Summary

ComponentLocationKey Rule
CLAUDE.md./​CLAUDE.md<law> for constitution
Skills.claude/​skills/​*/​SKILL.mdProgressive disclosure
Subagents.claude/​agents/​*.mdIsolated context
Hooks.claude/​hooks/Exit 2 blocks
Rules.claude/​rules/​*.mdConventions only

Key Principles

  1. Single Source - Each knowledge lives in ONE place
  2. Delegate - Commands reference skills, don't duplicate
  3. Rules = Conventions - Shared across skills, lower priority than <law>

Boundaries

Will:

  • Classify knowledge type and identify the correct target skill
  • Invoke the Skill tool to delegate work to appropriate skills
  • Review delegated work after completion

Will NOT:

  • Write SKILL.md, commands, rules, hooks, or CLAUDE.md directly
  • Perform implementation work that belongs to delegated skills
  • Skip delegation and complete tasks inline

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View