Generate plugin architecture plan with agent roles, skill-movement mapping, hook strategy, and command routing. Trigger: plan architecture, design plugin structure, architect plugin, plugin architecture, plan plugin layout.
From plugin-qanpx claudepluginhub javimontano/mao-plugin-qaThis skill is limited to using the following tools:
examples/sample-architecture-plan.mdprompts/architecture-planning.mdreferences/movement-design-guide.mdreferences/plugin-architecture-patterns.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
"Architecture is the art of making decisions you will not regret when the plugin grows."
Generate a complete architecture plan for a Claude Code plugin. Takes a plugin concept brief (from ideate-plugin) and produces a detailed technical plan covering agents, skills, hooks, commands, quality gates, and execution flows.
/pqa:ideate first.[DOC].code-analyzer, report-generator).[CONFIG]validate-structure, generate-report).[DOC]type:command -- compatible with all 22 events.type:http -- compatible with all 22 events.type:prompt -- compatible with PreToolUse, PostToolUse, and PermissionRequest ONLY (requires ToolUseContext).type:agent -- compatible with PreToolUse, PostToolUse, and PermissionRequest ONLY (requires ToolUseContext).CRITICAL (prompt/agent on non-ToolUseContext events) and propose alternatives.[CONFIG]/prefix:validate)./prefix:v).[DOC]G1: Analysis Complete).[DOC][CODIGO]architecture-plan.md:
# Architecture Plan: {plugin-name}
## Overview
## Agent Roles
## Skill-Movement Map
## Hook Strategy
## Command Routing Table
## Quality Gates
## Diagrams
## Component Summary
## Next Steps
/pqa:plan-moat next.[DOC][CODIGO][CONFIG][CODIGO][DOC][CODIGO][DOC][CONFIG]build-plugin-scaffold's job.Bad architecture plan excerpt:
## Agents
- Agent 1: handles stuff
- Agent 2: handles other stuff
Missing: no tool allowlist, no boundaries, no maxTurns, no skill assignments.
Good architecture plan excerpt:
## Agent Roles
| Agent | Boundary | Skills Owned | Tools | maxTurns |
|-------|----------|-------------|-------|----------|
| code-analyzer | Owns validation movement. Reads only. | validate-structure, validate-manifest, validate-components | Read, Glob, Grep | 25 |
| report-generator | Owns reporting movement. Writes report files. | generate-qa-report, generate-qa-scorecard | Read, Glob, Write | 15 |
Includes: agent name, boundary, skills owned, tool allowlist, maxTurns estimate.
type:prompt hooks on Stop or Compact events (runtime error).