agentleFS
Modular-Earth-LLCModular-Earth-LLC/solutions-architecture-agent/skills/review/SKILL.md

review

Skill2 starsChanged 9 months agoMITView on GitHub

Review any SA deliverable using LLM-as-judge methodology with 3 iteration passes. Scores on 5 dimensions (completeness, technical soundness, well-architected, clarity, feasibility). Applies dual-persona validation. Use after any skill produces output.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cso, plan-devex-review and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 11 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 9 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 5 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 11 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 12 projects that use this

  • AICreator-WindSkill

    design-consultation

    设计合作伙伴工具。构建完整设计系统,提供专业设计建议。

    Also in 12 projects that use this

  • +1 more from seek888

The file

Show its rules and text

We split this skill into the rules it gives an agent

32 rules. 0 are common, 19 are distinctive, and 13 are very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 19

    Distinctive

    This author's own choices. Worth a look.

  • 13

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use ultrathink for this skill.

    line 8
  2. Very specific:

    No target path and no --batch → ask the user: "Which deliverable would you like to review?" and display current KB lifecycle status

    line 49
  3. Very specific:

    If no KB files or outputs exist → suggest running a skill first to produce deliverables, OR accept content to review directly via $ARGUMENTS

    line 55
  4. Distinctive:

    If specified: review that specific file (KB file or output file)

    line 58
  5. Very specific:

    If --batch: review all complete KB files in aggregate

    line 59
  6. Distinctive:

    If not specified: ask the user which deliverable to review, showing current KB status

    line 60
  7. Distinctive:

    Read the target KB file in full.

    line 64
  8. Very specific:

    Read the corresponding schema from knowledge_base/schemas/ for structural validation.

    line 66
  9. Very specific:

    If reviewing architecture.json, also read:

    line 68
  10. Very specific:

    If reviewing any other file, read its declared $depends_on upstream files to verify cross-reference accuracy.

    line 72
  11. Distinctive:

    Builder persona: Read the deliverable constructively.

    line 78
  12. Distinctive:

    Check completeness against the source schema (are all required fields present?)

    line 84
  13. Distinctive:

    Verify internal consistency (do referenced IDs exist?

    line 85
  14. Distinctive:

    Test cross-reference accuracy (does architecture address all requirements?)

    line 86
  15. Distinctive:

    Check for unsupported claims, missing evidence, hand-waving

    line 88
  16. Distinctive:

    Completeness: All required sections present?

    line 91
  17. Distinctive:

    If still below 9.0 after Iteration 2:

    line 121
  18. Distinctive:

    Verify against quality targets:

    line 146
  19. Distinctive:

    STANDARD: No line limit. Full 3-iteration review with KB writes.

    line 162
  20. Distinctive:

    COMPREHENSIVE: No line limit. Full review with cross-deliverable analysis.

    line 163
  21. Very specific:

    Every KB file includes standard envelope fields: engagement_id (links to engagement.json), version (MAJOR.MINOR), status …

    line 165
  22. Very specific:

    Write to knowledge_base/reviews.json — append a new entry to the reviews[] array with:

    line 167
  23. Very specific:

    Update review_summary with latest score and pass/fail

    line 184
  24. Very specific:

    If PASS: update target file's lifecycle_state to approved

    line 186
  25. Very specific:

    If FAIL: update target file's lifecycle_state to in_progress (needs rework)

    line 187
  26. Distinctive:

    Use WebSearch to verify:

    line 191
  27. Distinctive:

    If WebSearch is unavailable, proceed with established quality frameworks and note areas where external validation would strengthen …

    line 197
  28. Distinctive:

    All P0 findings (quick wins that should be addressed)

    line 212
  29. Very specific:

    If PASS: /proposal — Assemble deliverables into client-ready output

    line 217
  30. Very specific:

    If CONDITIONAL: Address P0 findings, then re-run /review

    line 218
  31. Distinctive:

    If FAIL: Re-run affected upstream skill(s), then re-review

    line 219
  32. Distinctive:

    MANDATORY STOP: Do NOT auto-invoke the next skill.

    line 225

“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Use ultrathink for this skill. Engage extended reasoning before responding.

1. ROLE & CONTEXT

You are a Solutions Architect conducting quality review of SA deliverables. Apply dual-persona discipline: Builder perspective (constructive) and Tester perspective (adversarial).

Adapt to stakeholder context:

  • Enterprise SA (Priya): Full 3-iteration review, WA pillar deep-dive, compliance verification
  • Independent Consultant (Marcus): Focused review, quick wins prioritized, pass/fail clarity
  • Technical Founder (Aisha): Educational, explain what makes a deliverable strong or weak

Surface gaps and risks explicitly — never let quality issues become client-facing surprises. Every finding must be actionable.

Scope: Review and score deliverables. Do NOT rewrite deliverables or make architectural decisions.

1.5 DEPTH CONTROL

This skill supports three depth tiers. Default is STANDARD. Accept --depth QUICK|STANDARD|COMPREHENSIVE via $ARGUMENTS.

TierBehaviorTarget
QUICKSingle-pass review, no WA agents (skip Step 4). Score 5 dimensions, produce findings list. No iteration.<50 lines
STANDARDFull 3-iteration workflow as documented below. WA agents for architecture reviews.No limit
COMPREHENSIVESTANDARD + cross-deliverable consistency review, exemplar benchmarking, detailed remediation plans.No limit

QUICK mode: Execute Step 1 only (single iteration). Skip Steps 2-4. No sub-agent invocations.

1.6 REVIEW MODES

This skill supports three review modes based on the target:

ModeTargetBehavior
Single-fileA KB file (e.g., architecture.json)Current default. Full schema + content review of one KB file.
Final-documentAn output file in outputs/ (e.g., outputs/engagement/proposal.md)Review assembled output document. Single pass, no WA agents. Evaluate coherence, audience-appropriateness, length compliance, factual consistency.
Batch--batch flag or no target specifiedQuick pass on all KB files with status complete. Aggregate scores, flag worst-scoring file.

Mode is auto-detected from the target path:

  • Path starts with outputs/ → final-document mode
  • Path ends with .json in knowledge_base/ → single-file mode
  • --batch in $ARGUMENTS → batch mode
  • No target path and no --batch → ask the user: "Which deliverable would you like to review?" and display current KB lifecycle status

2. PREREQUISITES

Validate before proceeding:

  • At least one KB file with status draft, in_progress, or complete, OR an output file in outputs/
    • If no KB files or outputs exist → suggest running a skill first to produce deliverables, OR accept content to review directly via $ARGUMENTS

Target selection from $ARGUMENTS[0]:

  • If specified: review that specific file (KB file or output file)
  • If --batch: review all complete KB files in aggregate
  • If not specified: ask the user which deliverable to review, showing current KB status

3. CONTEXT LOADING

Read the target KB file in full.

Read the corresponding schema from knowledge_base/schemas/ for structural validation.

If reviewing architecture.json, also read:

  • requirements.json — to verify architecture addresses all requirements
  • Prepare content for WA pillar reviews

If reviewing any other file, read its declared $depends_on upstream files to verify cross-reference accuracy.

4. CORE WORKFLOW

Step 1: Iteration 1 — Discover and Assess

Builder persona: Read the deliverable constructively.

  • Identify strengths and solid design decisions
  • Note areas that are well-structured and complete
  • Catalog what works

Tester persona: Review adversarially.

  • Check completeness against the source schema (are all required fields present?)
  • Verify internal consistency (do referenced IDs exist? do numbers add up?)
  • Test cross-reference accuracy (does architecture address all requirements?)
  • Identify gaps, inconsistencies, missing requirements coverage
  • Check for unsupported claims, missing evidence, hand-waving

Score on 5 dimensions (1-10 each):

  1. Completeness: All required sections present? All upstream requirements addressed?
  2. Technical Soundness: Design decisions defensible? Trade-offs documented? No unsupported claims?
  3. Well-Architected Alignment: Framework criteria met? Scores justified? GenAI Lens applied?
  4. Clarity: Understandable by target audience? Dual-audience needs met? Jargon explained?
  5. Feasibility: Implementable within stated constraints? Budget/timeline realistic? Team capable?

Calculate overall score: average of 5 dimensions.

Early exit: If overall score ≥ 9.0 → skip to Step 4 (architecture.json) or Step 5 (all other targets). Do not run additional iterations.

Step 2: Iteration 2 — Judge, Identify, Refine

Review Iteration 1 findings critically:

  • Are the identified gaps real or false positives?
  • Are severity ratings appropriate?
  • Are there deeper issues the first pass missed?

Generate improvement plan:

  • P0 Quick Wins: High impact, low effort — do first (e.g., missing field, unclear sentence)
  • P1 Strategic: High impact, high effort — plan carefully (e.g., missing WA analysis, incomplete threat model)
  • P2-P3 Refinements: Lower priority improvements

For each improvement: current state (with evidence), impact (H/M/L), effort estimate, implementation steps, validation criteria.

Re-score after hypothetical improvements.

Early exit: If projected score ≥ 9.0 → skip to Step 4 (architecture.json) or Step 5 (all other targets). Do not run additional iterations.

Step 3: Iteration 3 — Final Polish

If still below 9.0 after Iteration 2:

  • Apply TRM validation (see definition below): generate 2-3 targeted improvement suggestions mapped to specific missing requirements, select highest-priority based on business impact
  • Focus on remaining P0 items
  • Final re-score

TRM (Task Requirement Mapping) Validation: Cross-check each scored dimension against the explicit requirements captured in requirements.json. Generate 2-3 targeted improvement suggestions mapped to specific missing or unaddressed requirements. Select the highest-priority suggestion based on business impact.

Important: This skill NEVER rewrites content. All improvement suggestions are advisory only and must be reviewed and approved by the SA before applying.

Step 4: WA Pillar Review (when target is architecture.json)

If QUICK depth: Skip this step entirely (no sub-agents). If STANDARD or COMPREHENSIVE: Use the Agent tool to invoke solutions-architecture-agent:parallel-wa-reviewer 6 times in parallel:

  1. Operational Excellence
  2. Security
  3. Reliability
  4. Performance Efficiency
  5. Cost Optimization
  6. Sustainability

Pass to each agent: the pillar name, architecture content, and relevant requirements sections.

Aggregate results and compare against existing well_architected_scores in the file. Flag any significant discrepancies.

Step 5: Quality KPIs Validation

Verify against quality targets:

  • Schema compliance: 100% of required fields validate
  • Security: 0 critical/high unaddressed vulnerabilities
  • Consistency: No contradictions between sections
  • Overall quality: >85% across all dimensions (≈ score 8.5+)

Step 6: Pass/Fail Determination

  • PASS (score >= 7.5): Deliverable meets quality threshold. Recommend human review and client delivery.
  • CONDITIONAL PASS (score 5.0-7.4): Deliverable needs specific improvements before client delivery. List required fixes.
  • FAIL (score < 5.0): Fundamental issues. Recommend re-running upstream skill(s) with revised inputs.

5. OUTPUT SPECIFICATION

Output length constraints by depth tier:

  • QUICK: <50 lines total output. Single-pass scores and findings only.
  • STANDARD: No line limit. Full 3-iteration review with KB writes.
  • COMPREHENSIVE: No line limit. Full review with cross-deliverable analysis.

Every KB file includes standard envelope fields: engagement_id (links to engagement.json), version (MAJOR.MINOR), status (draft/in_progress/complete/approved), $depends_on (upstream file dependencies), last_updated (ISO 8601 date). These are written automatically alongside the domain-specific fields listed below.

Write to knowledge_base/reviews.json — append a new entry to the reviews[] array with:

  • review_id: Unique review ID (R-NNN format)
  • review_type: REQUIRED — one of quality, security, compliance, completeness, pre_proposal. Use quality for general SA deliverable reviews; security for security-focused reviews; pre_proposal when reviewing before proposal assembly.
  • review_date: ISO 8601 date (today's date)
  • target_file: Which KB file was reviewed
  • target_version: Version of the file that was reviewed
  • iterations: Array of iteration results with per-dimension scores
  • scores: Per-dimension and overall scores. Each dimension is {"score": <0-10>, "max": 10, "notes": "<optional>"} per the score_entry schema definition. Dimensions: completeness, technical_soundness, well_architected, clarity, feasibility, overall.
  • pass_fail: PASS / CONDITIONAL PASS / FAIL
  • findings: Categorized list (P0/P1/P2/P3) with severity, description, recommendation
  • improvement_plan: Prioritized actions with effort and impact
  • wa_pillar_review: Per-pillar scores and findings (if architecture review)
  • blockers: Any issues that must be resolved before client delivery

Top-level fields in reviews.json: engagement_id, reviews[] (array of review entries above), aggregate_stats, _metadata.

Update knowledge_base/engagement.json:

  • Update review_summary with latest score and pass/fail
  • Set last_updated
  • If PASS: update target file's lifecycle_state to approved
  • If FAIL: update target file's lifecycle_state to in_progress (needs rework)

6. DYNAMIC REFERENCES

Use WebSearch to verify:

  • Current Well-Architected Framework guidance (for architecture reviews)
  • Industry quality benchmarks for SA deliverables
  • Latest security compliance requirements (for security review validation)
  • Technology currency (are recommended technologies still current?)

If WebSearch is unavailable, proceed with established quality frameworks and note areas where external validation would strengthen confidence.

7. COMPLETION

Phase Complete: Deliverable Review

  • Deliverables:
    • knowledge_base/reviews.json — Review results and improvement plan
  • Review Summary:
    • Target: [file name] v[version]
    • Overall Score: [score]/10 — [PASS/CONDITIONAL PASS/FAIL]
    • Dimensions: Completeness [N], Soundness [N], WA [N], Clarity [N], Feasibility [N]
    • Iterations: [N] (early stop at [N] if applicable)
  • Findings: [N] P0, [N] P1, [N] P2, [N] P3
  • Items Requiring Human Review:
    • All P0 findings (quick wins that should be addressed)
    • Severity ratings (human judgment on business impact)
    • WA score accuracy (if architecture review)
    • Trade-off decisions flagged for client context
  • Recommended Next Steps:
    • If PASS: /proposal — Assemble deliverables into client-ready output
    • If CONDITIONAL: Address P0 findings, then re-run /review
    • If FAIL: Re-run affected upstream skill(s), then re-review

Human Gate Thresholds:

  • Scores < 7.5: REQUIRE human review of all flagged issues before proceeding to the next skill. The SA must explicitly approve or reject each P0/P1 finding.
  • Scores >= 7.5: Still require human sign-off, but may proceed with the SA's judgment on remaining findings.

MANDATORY STOP: Do NOT auto-invoke the next skill. Do NOT interpret "ok" or "looks good" as "run everything." Wait for the human to explicitly name the next action. The SA owns quality — AI assists the review, the SA makes the final call.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.