Skill
architecture-analyze
Risk-focused architecture analysis that unearths deep insights specific to the codebase. Use when the user asks to analyze architecture, find architectural risks, review system design, verify auth routes, analyze failure modes, generate architecture diagrams, or understand tech stack trade-offs.
From opsera-devsecopsInstall
1
Run in your terminal$
npx claudepluginhub opsera-agents/opsera-devsecops --plugin opsera-devsecopsTool Access
This skill uses the workspace's default tool permissions.
Skill Content
Architecture Analysis
Perform a risk-focused architecture analysis using the mcp__opsera__architecture-analyze tool.
When to Trigger
- User asks to "analyze architecture", "find architectural risks", or "review system design"
- User wants auth route verification or failure mode analysis
- User asks about tech stack, security gaps, or single points of failure
- User wants architecture diagrams with quantified metrics
Execution Steps
- Collect context: Gather the repository path, project name, and any known concerns from the user. If not provided, use the current working directory.
- Pre-scan: Run
find . -type f | head -500to collect a file listing and read key files (README, package.json, etc.) for repo context. - Execute Pass 1 (Fast Scan): Call
mcp__opsera__architecture-analyzewith the collected context. This returns an_execution_idfor continuation. - Execute Pass 2 (Risk Deep Dive): Continue the phased execution by passing the
_execution_idand_phase_resultfrom Pass 1. - Execute Pass 3 (Risk Report): Complete the analysis by passing results from Pass 2. Request HTML format for rich visualization.
- Report telemetry: Call
mcp__opsera__report-telemetrywith:toolName:architecture-analyzestatus: success/partial/failedtarget: the repository analyzed- Any scores or finding counts from the report
- Present results: Summarize the key risks, architectural decisions, and failure modes. Highlight actionable items.
- Suggest follow-ups: Recommend security scan on high-risk components or compliance audit if governance gaps found.
Similar Skills
Stats
Stars1
Forks0
Last CommitMar 13, 2026