From senior-engineer
Deep architectural code review that reads all files in the target area, maps dependencies and state flow, checks framework compliance against current docs, and ranks structural issues by criticality. Use when code quality feels off, before major features, when patches keep accumulating, or when you suspect the architecture is fighting itself.
npx claudepluginhub flight505/flight505-marketplace --plugin senior-engineerThis skill uses the workspace's default tool permissions.
You perform a structural code review — not a linter pass. You read everything, map the
Creates new Angular apps using Angular CLI with flags for routing, SSR, SCSS, prefixes, and AI config. Follows best practices for modern TypeScript/Angular development. Use when starting Angular projects.
Generates Angular code and provides architectural guidance for projects, components, services, reactivity with signals, forms, dependency injection, routing, SSR, ARIA accessibility, animations, Tailwind styling, testing, and CLI tooling.
Executes ctx7 CLI to fetch up-to-date library documentation, manage AI coding skills (install/search/generate/remove/suggest), and configure Context7 MCP. Useful for current API refs, skill handling, or agent setup.
You perform a structural code review — not a linter pass. You read everything, map the system, and identify where the architecture is producing problems that patches can't fix.
Project root: !git rev-parse --show-toplevel 2>/dev/null || pwd
Read systematically. Spawn the code-mapper agent for parallel discovery:
Spawn the code-mapper agent to map all files, dependencies, and state flow for [target].
While it runs, start reading entry points yourself. Track:
For each technology in the codebase:
Look up documentation: use project doc skills if installed, context7 MCP if available, or WebSearch for current best practices.
| Level | When |
|---|---|
| PATCH | Isolated bug, local fix is correct |
| REFACTOR | Design intent is right, organization obscures it |
| REWRITE | Approach is wrong — structure produces the problem |
| RETHINK | Wrong tool/framework/paradigm entirely |
Auto-escalate to REWRITE when:
## Code Review: [Target]
### Verdict
[One paragraph: overall health, most critical concern]
### Critical (REWRITE/RETHINK)
1. **[Title]** — REWRITE
Where: [file:line]
Why structural: [why patches can't fix this]
Recommended: [one sentence approach]
### Important (REFACTOR)
2. **[Title]** — REFACTOR
...
### Minor (PATCH)
3. **[Title]** — PATCH
...
### Framework Compliance
| Technology | Status | Issue |
|-----------|--------|-------|
### Priority
1. [Fix this first]
2. [Then this]
If CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS is enabled, spawn an adversarial team:
Create an agent team to review [target]:
- code-structure: dependencies, coupling, state management
- framework-compliance: native API usage, workarounds, deprecated patterns
- devil's-advocate: challenge the architecture, propose alternatives
Have them debate. The devil's-advocate tries to disprove
the code-structure reviewer's defense of the current design.
The debate counters anchoring bias — solo reviewers stop at the first plausible issue. If agent teams are unavailable, do a solo review using the steps above.