Skip to content
architect-agent logo

Architect Agent Workflow Skill

architect-agent

Coordinates planning, delegation, and evaluation across architect and code agent workspaces. Use when asked to "write instructions for code agent", "initialize architect workspace", "grade code agent work", "send instructions", or "verify code agent setup".

SKILL.md

Full skill instructions

Architect Agent Workflow Skill

Coordinate planning, delegation, and evaluation across architect and code agent workspaces.

Quick Start: Say "write instructions for code agent", "initialize workspace", "grade work", or "send instructions". For automated setup, see Quick Setup.

Table of Contents

Intent Classification

Route requests based on user intent:

IntentTrigger PhrasesAction
Create Instructions"write instructions", "create instructions", "delegate to code agent"→ Load guides/​workflows/​create-instructions.md
Initialize Workspace"set up architect agent", "initialize workspace", "new architect agent"→ Load guides/​workflows/​initialize-workspace.md
Grade Work"grade the work", "evaluate completed work", "review implementation"→ Load guides/​workflows/​grade-work.md
Send Instructions"send instructions", "send to code agent"→ Load guides/​workflows/​send-instructions.md
Add OpenCode Support"migrate to OpenCode", "add OpenCode support"→ Load references/​opencode_integration_quickstart.md
Verify Setup"verify setup", "test hooks", "check logging"→ Load references/​workspace_verification_protocol.md
Setup Permissions"set up permissions", "fix permission prompts"→ Load references/​permissions_setup_protocol.md
Upgrade Workspace"upgrade workspace", "migrate to v3.0"→ Load references/​upgrade.md

Decision Tree

User IntentPre-conditionAction
"write/​create instructions", "delegate"instructions/ existsLoad guides/​workflows/​create-instructions.md
"write/​create instructions", "delegate"instructions/ missingSuggest workspace initialization first
"set up/​initialize" workspaceDirectories don't existLoad guides/​workflows/​initialize-workspace.md
"set up/​initialize" workspaceDirectories existWarn: already initialized
"grade", "evaluate" workgrades/ existsLoad guides/​workflows/​grade-work.md
"grade", "evaluate" workgrades/ missingSuggest workspace initialization first
"send instructions"—Load guides/​workflows/​send-instructions.md (bash copy, no agents)
"verify", "test hooks"—Load references/​workspace_verification_protocol.md
"OpenCode", "dual-mode"—Load references/​opencode_integration_quickstart.md
"permissions"—Load references/​permissions_setup_protocol.md
"upgrade", "migrate"—Load references/​upgrade.md

Resource Loading Policy

Load ONLY when needed:

  • Workflow guides: When intent is classified
  • Reference docs: When user needs detailed protocol
  • Templates: When creating workspace or files
  • Never load all references "just in case"

Core Resources by Intent:

IntentPrimary ResourceSupporting Resources
Create Instructionsguides/​workflows/​create-instructions.mdreferences/​instruction_structure.md, references/​human_instruction_structure.md, references/​file_naming.md
Initialize Workspaceguides/​workflows/​initialize-workspace.mdreferences/​workspace_setup_complete.md
Grade Workguides/​workflows/​grade-work.mdreferences/​grading_rubrics.md, references/​decision_types.md
Send Instructionsguides/​workflows/​send-instructions.md(none - simple bash copy)
Verify Setupreferences/​workspace_verification_protocol.mdreferences/​pre_work_checklist.md
Setup Permissionsreferences/​permissions_setup_protocol.md-
OpenCode Supportreferences/​opencode_integration_quickstart.mdreferences/​opencode_setup_guide.md

Critical Protocol: File Locations

The architect agent operates in its own workspace, NOT the code agent workspace.

ArtifactArchitect Writes ToCode Agent Location
Instructions[ARCHITECT]/​instructions/Reads from debugging/​instructions/
Human Instructions[ARCHITECT]/​human/N/​A (for manual execution)
Grades[ARCHITECT]/​grades/N/​A
LogsN/​AWrites to [CODE_AGENT]/​debugging/​logs/

Human Instructions = Executable Documentation (not summaries!)

Human instructions must enable manual execution when code agents are unavailable. Include copy-pasteable commands, expected output, and troubleshooting. See references/​human_instruction_structure.md.

Guard Rail: If about to write to the code agent's workspace, stop and verify the operation.

Quick Setup (Template-Based)

For fastest setup, use templates:

cd ~/​.claude/​skills/​architect-agent/​templates/

# Create code agent workspace
./​setup-workspace.sh code-agent ~/​projects/​my-code-agent

# Create architect workspace
./​setup-workspace.sh architect ~/​projects/​my-architect \
    --code-agent-path ~/​projects/​my-code-agent

Time: <5 minutes See: templates/​README.md

DO NOT Trigger For

  • General architecture discussions
  • Brainstorming or exploration
  • Reading/​analyzing existing code
  • Research tasks
  • Any work that isn't explicit instruction creation, grading, or setup

Reference Directory

All detailed protocols are in references/. Load only what is needed for the current task.

Core References (Instruction & Grading)

ReferencePurpose
instruction_structure.mdCode agent instruction template
human_instruction_structure.mdHuman-executable instruction template
grading_rubrics.md6-category grading criteria
instruction_grading_workflow.mdFull grading workflow
decision_types.mddecision, rationale, investigation, verification, deviation, milestone
file_naming.mdTimestamp and naming conventions

Setup & Configuration

ReferencePurpose
installation.mdSkill installation guide
quick_start.mdFast-track setup
workspace_setup_complete.mdFull workspace initialization
workspace_verification_protocol.mdVerify setup is correct
permissions_setup_protocol.mdCross-workspace permissions
upgrade.mdUpgrade to latest version

Logging & Debugging

ReferencePurpose
logging_protocol.mdHybrid logging v2.0
hybrid_logging_protocol.mdDetailed hybrid logging spec
hook_configuration_critical.mdHook setup requirements
hook_logger_enhancements.mdHook logger improvements
pre_work_checklist.mdCode agent pre-work verification
get_unstuck_protocol.mdRecovery from blockers
resilience_protocol.mdError recovery patterns
testing_protocol.mdProgressive testing requirements

OpenCode Integration

ReferencePurpose
opencode_integration_quickstart.mdDual-mode quick start
opencode_setup_guide.mdFull OpenCode setup
opencode_migration_guide.mdMigrate to OpenCode
opencode_logging_protocol.mdOpenCode-specific logging
opencode_wrapper_setup.mdWrapper script setup
claude_vs_opencode_comparison.mdFeature comparison

Agent Configuration

ReferencePurpose
agent_specialization.mdAgent role configuration
code_agent_claude_template.mdCLAUDE.md template for code agents
code_agent_agents_template.mdAGENTS.md template for code agents

Project Management

ReferencePurpose
git_pr_management.mdGit and PR workflow
ticket_tracking_pr_management.mdTicket and PR tracking

Guides Directory

Step-by-step workflows in guides/​workflows/:

GuideTrigger
create-instructions.md"write instructions for code agent"
grade-work.md"grade the code agent's work"
send-instructions.md"send instructions to code agent"
initialize-workspace.md"set up architect agent workspace"

Templates

Ready-to-use workspace templates in templates/:

TemplatePurpose
setup-workspace.shAutomated workspace creation script
architect-workspace/Complete architect agent workspace template
code-agent-workspace/Complete code agent workspace template

See: templates/​README.md for usage instructions.


More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View