review-architecture
Skill8 starsChanged 2 months agoMITView on GitHub
Review code against the canonical architecture quality Rule set, including boundaries, dependency direction, cohesion, cycles, contract stability, coupling, composition, change surface, unreachable code and deprecation discipline. Cognitive-only atomic skill; output is a findings list.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- unlockers-ai/unlockers-skills-librarytheir own version, first seen Nov 8, 2026
- pascalorg/editortheir own version, first seen Nov 6, 2026
- dotnet/orleanstheir own version, first seen Nov 1, 2026
- rpraharaj/ai-sdlctheir own version, first seen Nov 1, 2026
- ROCm/rocprofiler-systems-skillstheir own version, first seen Oct 27, 2026
- omarismailb/product-wikitheir own version, first seen Oct 25, 2026
Used with
Projects with it also use review-correctness and write-tests.
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.
navjyotnishantSkillreview-correctness
Use this skill when the user asks to "review my changes for bugs", "check this diff for correctness", "did I introduce a regression", or wants a correctness-focused review of the current commit or uncommitted work before pushing. Reviews the changed lines and their blast radius for logic errors, regressions, unhandled edge cases, and missing validation. Works in any git repo; nothing here is project-specific.
Also in 3 projects that use this
SentrySkillwrite-tests
Write tests following project conventions. Use when adding new tests or modifying existing ones.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- pascalorg/editor★ 25ksame name
- dotnet/orleans★ 11ksame name
- daveallie/crosspoint-reader★ 8.7ksame name
- crosspoint-reader/crosspoint-reader★ 8.7ksame name
- apache/pinot★ 6.2ksame name
- mrinalwadhwa/fluent★ 125same name
- dannys-code-corner/incan★ 73same name
- igmarin/rails-agent-skills★ 26same name
- omarismailb/product-wiki★ 8same name
- ROCm/rocprofiler-systems-skills★ 5same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository77 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- archive-milestoneSkill
- assess-product-opportunitySkill
- automate-testsSkill
- bump-versionSkill
- capture-work-itemsSkill
- commit-workSkill
- competitive-researchSkill
- consume-nats-messageSkill
- decontextualize-textSkill
- deep-researchSkill
- define-docs-normsSkill
- define-missionSkill
- define-north-starSkill
- define-roadmapSkill
- define-strategic-pillarsSkill
- define-visionSkill
- deliver-featureSkill
- design-strategic-goalsSkill
- eli5Skill
- establish-delivery-workflowSkill
- execute-delivery-workflowSkill
- generate-agent-entrySkill
- generate-github-workflowSkill
- generate-standard-readmeSkill
- inspect-artifact-stateSkill
- integrate-branchesSkill
- manage-secretSkill
- map-item-dependenciesSkill
- market-researchSkill
- orchestrate-code-reviewSkill
- orchestrate-governance-stepSkill
- orchestrate-repair-loopSkill
- orchestrate-repair-requirements-loopSkill
- orchestrate-roadmap-planningSkill
- plan-milestonesSkill
- plan-nextSkill
- policy-researchSkill
- ponytailSkill
- prepare-presales-responseSkill
- prepare-version-notesSkill
- prioritize-backlogSkill
- product-opportunity-analysisSkill
- promote-roadmap-itemsSkill
- publish-nats-messageSkill
- record-milestone-achievementSkill
- redeploy-localSkill
- refine-skill-designSkill
- review-codebaseSkill
- review-diffSkill
- review-dotnetSkill
- review-error-surfacingSkill
- review-functional-designSkill
- review-goSkill
- review-implementation-alignmentSkill
- review-javaSkill
- review-observabilitySkill
- review-orm-usageSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Every finding cites one failed Rule ID and uses category cognitive-architecture.
- Very specific: line 42
Read the nearest project AGENTS.md, architecture documentation and .ai-cortex/config.yaml when present.
- Distinctive: line 44
Prefer repository-native dependency or contract checks.
- Distinctive: line 60
Do not restate or locally extend the architecture checklist.
- Distinctive: line 61
Do not assume a named architecture style or invent module topology.
- Distinctive: line 62
Do not treat a missing dependency tool as proof that dependency items pass.
- Distinctive: line 63
Do not approve, broaden or create a waiver during review.
- Very specific: line 64
Do not perform repairs; hand blocking findings to orchestrate-repair-loop when repair is requested.
- Very specific: line 65
Do not report a missing test as an architecture finding.
“Common” is measured: kept by at least 6 in 10 of the 14 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.
Files
Skill: Review Architecture
Purpose
Evaluate the supplied code scope against architecture-quality. This Skill owns execution and evidence gathering; the Rule owns every architecture criterion. Emit a findings list, never a score or a rewrite.
Core objective
Produce location-precise, actionable architecture findings for every applicable failed Rule item, while reporting which items were not applicable or could not be evaluated because project parameters were absent.
Success requires:
- The active Rule version and every applicable item ID are named.
- Project topology, protected contracts, profiles and valid waivers are resolved before judgment.
- Automated evidence is preferred where the Rule declares it, without overstating tool coverage.
- Every finding cites one failed Rule ID and uses category
cognitive-architecture. - Zero findings is reported only after all applicable items have a pass, valid waiver or explicit evidence limitation.
Scope boundaries
This Skill reviews architecture only. It does not select diff versus codebase scope, review language conventions, security, performance, reliability, observability or test quality, modify code, or approve a waiver. Use the corresponding atomic Skill or orchestrate-code-review for those concerns.
Use cases
- Architecture-focused review of a change, module or repository
- The architecture cognitive step inside
orchestrate-code-review - Verification of declared module topology or a protected-contract change
- Review of composition, wiring and change-surface risk after implementation
Behavior
- Load architecture-quality in full and record its version.
- Read the nearest project
AGENTS.md, architecture documentation and.ai-cortex/config.yamlwhen present. Resolve active profiles, parameters and waivers according to rule-modeling. - Build only the evidence required by applicable items:
- Prefer repository-native dependency or contract checks.
- Otherwise use build metadata, import graphs, exported signatures, production call sites and the supplied diff.
- For judgment items, compare concrete responsibility and dependency evidence; do not use an unexplained quality score.
- Evaluate each applicable item independently. A missing project parameter makes only its
project:*item not evaluable; it does not suppress baseline items. - Emit one finding per failed obligation. Include the active Rule version in the description, for example
architecture-quality@<active-version>/ARC-003. - Apply a waiver only when every waiver field is valid and its Rule ID and scope cover the exact finding. Report waived items separately; do not erase their existence.
- Return Rule coverage using the exact
passed,waived,not_applicableandevidence_limitedfields from the findings-list Spec.
Input and output
Input is an already selected code scope: files, directories or a diff. Optional project context may include the change size and upstream technical design.
Output is zero or more findings in findings-list format. Every finding uses category cognitive-architecture; the description cites the failed Rule ID. The coverage footer is metadata, not a finding.
Restrictions
- Do not restate or locally extend the architecture checklist; propose a Rule change when a criterion is missing.
- Do not assume a named architecture style or invent module topology.
- Do not treat a missing dependency tool as proof that dependency items pass.
- Do not approve, broaden or create a waiver during review.
- Do not perform repairs; hand blocking findings to
orchestrate-repair-loopwhen repair is requested. - Do not report a missing test as an architecture finding. This Skill owns whether composition and contracts are correct in production code;
review-testingowns whether anything would have caught it.
Self-Check
- The canonical architecture Rule was loaded and its version recorded.
- Active profiles, parameters and waivers were resolved from project evidence.
- Every applicable Rule ID received a pass, finding, valid waiver or explicit evidence limitation.
- Each finding has a precise location, category
cognitive-architecture, valid severity and cited Rule ID. - No architecture criterion was invented or duplicated in this Skill.
- The coverage footer distinguishes pass, waiver, N/A and evidence limitation.
Examples
Example 1: declared dependency violation
Input: the project declares that domain has no outward module dependencies, but domain/order.ts imports a database adapter.
Expected: emit a major cognitive-architecture finding at the import, citing ARC-002. Also evaluate ARC-003 and the other applicable baseline items; do not assume they fail.
Example 2: valid legacy-cycle waiver
Input: a cycle matches ARC-003, and a non-expired waiver covers the exact legacy directory with an approved freeze control.
Expected: list ARC-003 under waived IDs, verify no new node or edge joined the frozen cycle, and emit a finding if the compensating control was violated.
Example 3: no project topology
Input: a small library has no .ai-cortex/config.yaml.
Expected: mark ARC-002 and ARC-009 not evaluable or not applicable as their parameters require, then evaluate baseline cohesion, cycles, boundary leakage, coupling and speculative extension normally.
Example 4: a symbol the analyzer cannot resolve
Input: the unused-symbol analyzer reports jobs.QuarterlyCloseTask unreached. The class is instantiated from a name held in configuration, and the change under review deletes it.
Expected: emit a minor finding citing ARC-010. The deletion rests on a tool that cannot see configuration-named or reflective construction, so it is not evidence that nothing calls the class — the item requires a runtime signal over one full business cycle, with the low-frequency paths a quarterly close exercises included. Where the change keeps such a symbol instead and no runtime signal exists either way, report ARC-010 as evidence_limited; a clean analyzer run is not a pass for what the analyzer cannot resolve.
Example 5: a deprecation marker with no owner or removal point
Input: a @deprecated annotation on api.v1.SearchRequest names its replacement but records neither an owner nor a release or date by which it goes.
Expected: emit a minor finding citing ARC-011, naming the two missing fields rather than the marker in general. A marker on a dependency the project does not own is not applicable, and a recorded removal point already past is a finding only when nothing was removed and no renewal was recorded.
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
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.

