skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
nesnilnehc/ai-cortex95 installs

review-architecture

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.

How do I install this agent skill?

npx skills add https://github.com/nesnilnehc/ai-cortex --skill review-architecture
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is a purely cognitive architecture review assistant. It defines guidelines for analyzing code structure and provides a checklist for architectural dimensions like dependency direction and coupling. It does not perform any system operations, network requests, or command executions, and no security risks were identified.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    3 files scanned · No issues

  • ZeroLeakspass

    Score: 93/100 · 2 sections analyzed

What does this agent skill do?

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:

  1. The active Rule version and every applicable item ID are named.
  2. Project topology, protected contracts, profiles and valid waivers are resolved before judgment.
  3. Automated evidence is preferred where the Rule declares it, without overstating tool coverage.
  4. Every finding cites one failed Rule ID and uses category cognitive-architecture.
  5. 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

  1. Load architecture-quality in full and record its version.
  2. Read the nearest project AGENTS.md, architecture documentation and .ai-cortex/config.yaml when present. Resolve active profiles, parameters and waivers according to rule-modeling.
  3. 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.
  4. Evaluate each applicable item independently. A missing project parameter makes only its project:* item not evaluable; it does not suppress baseline items.
  5. Emit one finding per failed obligation. Include the active Rule version in the description, for example architecture-quality@<active-version>/ARC-003.
  6. 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.
  7. Return Rule coverage using the exact passed, waived, not_applicable and evidence_limited fields 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-loop when 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-testing owns 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.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/nesnilnehc/ai-cortex/review-architecture">View review-architecture on skillZs</a>