From solopreneur
Dispatches tech-stack-specific subagents (iOS, Android, Python, Next.js, web, LLM) to review code diffs against domain best practices.
npx claudepluginhub hanamizuki/solopreneur --plugin neo4j-devThis skill uses the workspace's default tool permissions.
Dispatch specialized subagents to review code changes against their domain-specific
Launches parallel agent reviewers for competencies (security, perf, arch, db, concurrency, errors, frontend, testing); synthesizes FIX/DEFER/ACCEPT report. For deep reviews of large diffs (200+ lines).
Performs multi-agent code reviews for security, quality, and architecture on Go, Python, JS/TS/HTML/CSS changes detected via git diff. Use for 'review code' requests.
Performs code reviews with semantic diffs on staged git changes, files, or PRs. Routes to experts for TypeScript, React, Python, Go, Rust, Vue, SQL; auto-creates tasks for critical issues.
Share bugs, ideas, or general feedback.
Dispatch specialized subagents to review code changes against their domain-specific best practices (skill indices).
Detect the review scope automatically, in this priority order:
gh pr diffgit diff main...HEADgit diff (staged + unstaged)Run these checks:
git branch --show-current
gh pr list --head $(git branch --show-current) --json number,url --jq '.[0]'
git status -s
Once scope is determined, get the full diff and save it to a variable for the subagents.
Read the full diff and identify which tech stacks are involved based on file paths and content:
| Signal | Tech Stack | Subagent |
|---|---|---|
*.swift, *.xib, ios/, SwiftUI/UIKit imports | iOS | ios-dev |
*.kt, *.kts, android/, Compose/Room imports | Android | android-dev |
*.py, FastAPI/Flask/Django imports | Python Backend | python-dev |
*.ts, *.tsx, *.jsx, React/Next.js imports | Web Frontend | nextjs-dev or web-dev |
| LangChain/LangGraph/OpenAI/Anthropic imports | LLM/AI | llm-dev |
*.sql, migrations, Supabase | Database | python-dev |
List all detected stacks and which subagents will be dispatched. If only one stack is detected, dispatch one agent. If multiple, dispatch them in parallel.
Also extract the key libraries/frameworks used in the diff (e.g., jetpack compose,
swiftui, langgraph, react, room, fastapi). These will be passed to subagents
for documentation lookup.
Check if mcp__context7__resolve-library-id tool is available (via ToolSearch or by
checking deferred tools list).
Available: Note this for Step 3. Each subagent will query context7 for the technologies it's reviewing.
Not available: Display a one-line notice:
context7 MCP not installed. With context7, review subagents can automatically query the latest official docs for improved review quality.
Then proceed normally without context7 steps.
For each detected tech stack, spawn a subagent in parallel with this prompt template.
If context7 is available (from Step 2.5), include the [CONTEXT7 BLOCK] below.
If not available, omit it entirely.
You are an expert reviewer. Do NOT modify any files. Only analyze and report.
## Task
1. Your subagent system prompt (`agents/<platform>-dev.md`) lists curated
skills and points to the extended skill index. Follow those instructions
to discover relevant skills for your domain.
2. From the diff below, identify which specific technologies and APIs are used
(e.g., "Jetpack Compose remember", "LazyColumn key", "SwiftData @Model",
"React useEffect")
[CONTEXT7 BLOCK — include only when context7 is available]
3. Query official documentation for the key technologies found in step 2:
- For each major library/framework (e.g., "jetpack compose", "swiftui",
"langgraph", "react"):
a. Call `mcp__context7__resolve-library-id` with the library name to get its ID
b. Call `mcp__context7__query-docs` with the resolved ID and a topic relevant
to what the diff touches (e.g., if diff uses LazyColumn → query
"LazyColumn performance best practices")
- Focus on 2-3 most important libraries, not every dependency
- Use the retrieved documentation as an additional reference when reviewing
[END CONTEXT7 BLOCK]
4. Scan the curated list and extended index for TWO categories of relevant skills:
a. **Technology-specific skills**: skills matching the APIs/frameworks used
b. **Cross-cutting skills**: performance, architecture, patterns, guidelines
skills that apply regardless of specific API (e.g., compose performance
audit, architecture patterns, accessibility, project conventions)
5. For each relevant skill (both categories), read its SKILL.md using the
resolved path from the curated section or extended index.
6. Review the diff against each relevant skill's best practices AND context7
documentation (if queried). For each skill checked, report:
- Skill name
- What was checked
- Conformance: check or warning
- Specific findings with file:line references
7. Also check for general issues not covered by skills:
- Security concerns
- Error handling gaps
- Performance anti-patterns
- Naming/style inconsistencies within the diff
## Diff to Review
{paste the full diff here}
## Output Format
### Tech Stack: [platform name]
#### Skills Checked
| Skill | Aspect | Status | Finding |
|-------|--------|--------|---------|
| skill-name | what was checked | check/warning | details |
#### context7 Documentation Consulted
| Library | Topic Queried | Key Insight |
|---------|--------------|-------------|
| library-name | what was queried | relevant finding from docs |
(Omit this table if context7 was not used)
#### General Findings
- [any issues not covered by skills]
#### Summary
[1-2 sentence overall assessment with taste rating]
Wait for all subagents to complete, then compile a unified report:
## Specialist Review: [branch name or PR title]
### Scope
[what was reviewed: PR #N / branch diff / uncommitted changes]
### Reviews
[paste each subagent's report, grouped by platform]
### Cross-Cutting Concerns
[issues that span multiple platforms, if any]
### Verdict
[overall assessment: ready to merge / needs fixes / needs discussion]
[list any blocking issues vs nice-to-haves]