بنقرة واحدة
architecture-review
Assess architecture decisions tradeoffs and edge cases
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Assess architecture decisions tradeoffs and edge cases
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Create Architecture Decision Record
Design API contracts with OpenAPI specifications
Design database schemas with migrations and repository interfaces
Break requests into parallel tasks for team execution
Audit dependencies for vulnerabilities and plan upgrades
Structured incident investigation and resolution
استنادا إلى تصنيف SOC المهني
| name | architecture-review |
| description | Assess architecture decisions tradeoffs and edge cases |
| allowed-tools | Read, Write, Glob, Grep |
Review architecture decisions, assess tradeoffs, and identify edge cases.
Perform a comprehensive architecture and design review of the current codebase or a specified feature area.
docs/spec/.llm/PROGRESS.md for documented architecture decisions.docs/spec/biz/.docs/spec/biz/adr-*.md) if any exist.For each architectural decision found, evaluate:
| Criterion | Question |
|---|---|
| Fitness | Does this decision serve the current requirements well? |
| Tradeoffs | What was gained? What was sacrificed? |
| Alternatives | What other approaches could work? Would they be better now? |
| Scalability | How does this decision scale with growth (data, traffic, team size)? |
| Maintainability | How easy is it to change this later? What's the blast radius of a change? |
| Risk | What could go wrong? What's the worst-case scenario? |
| Edge Cases | What boundary conditions exist? Are they handled? |
| Consistency | Is this pattern applied consistently, or are there deviations? |
Look for:
Present findings in this format:
## Architecture Review: {scope}
### Summary
{1-3 sentence executive summary}
### Decisions Inventory
| # | Decision | Status | Risk |
|---|----------|--------|------|
| 1 | {decision} | {sound/questionable/needs-change} | {low/medium/high} |
### Detailed Analysis
#### Decision N: {title}
- **Current approach**: {description}
- **Tradeoffs**: {what was gained vs sacrificed}
- **Alternatives**: {options that could work}
- **Edge cases**: {boundary conditions and whether they're handled}
- **Risk assessment**: {what could go wrong, likelihood, impact}
- **Recommendation**: {keep/modify/replace} -- {rationale}
### Issues Found
| # | Issue | Severity | Category | Recommendation |
|---|-------|----------|----------|----------------|
| 1 | {issue} | {critical/high/medium/low} | {coupling/security/perf/...} | {what to do} |
### Recommendations (Prioritized)
1. **[Critical]** {highest priority recommendation}
2. **[High]** {next recommendation}
3. **[Medium]** ...
If significant decisions lack documentation, offer to create Architecture Decision Records using /adr. Well-documented decisions prevent re-litigation and help onboard new team members.
$ARGUMENTS