Best for
- /review-changes dispatches its "architecture" slice to this skill.
- A reviewer asks "does this belong here?", "should this be in
- A diff adds a cross-service call, event, or contract.
event4u-app/agent-config/src/skills/architecture-review-lens/SKILL.md
Use when a diff may break system boundaries, dependency direction, or cross-service contracts — fifth judge dispatched by /review-changes alongside the four standard judges.
Decision brief
Fifth judge in the /review-changes family. Reviews a diff for architectural fit, not correctness, security, tests, or style. Catches what the other four miss: layer violations, wrong dependency direction, leaking abstractions, and broken cross-service contracts. Sibling of judge…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/architecture-review-lens"Inspect the Agent Skill "architecture-review-lens" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/architecture-review-lens/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Read the codebase's stated architecture (ADRs, AGENTS.md, module docs). If no shape is documented, infer it from folder structure and surface the gap. You are judging the diff against the stated shape, not a fantasy ideal.
/review-changes dispatches its "architecture" slice to this skill.
Read the codebase's stated architecture (ADRs, AGENTS.md, module docs). If no shape is documented, infer it from folder structure and surface the gap. You are judging the diff against the stated shape, not a fantasy ideal.
For every changed file, answer:
Pay special attention to:
Permission review
The documentation asks the agent to read local files, directories, or repositories.
Read the codebase's stated architecture (ADRs, AGENTS.md, moduleThe documentation asks the agent to read local files, directories, or repositories.
### 2. Inspect each changed file for fitEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 96/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 7 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Fifth judge in the
/review-changesfamily. Reviews a diff for architectural fit, not correctness, security, tests, or style. Catches what the other four miss: layer violations, wrong dependency direction, leaking abstractions, and broken cross-service contracts. Sibling ofjudge-bug-hunteret al. — never overlaps.
/review-changes dispatches its "architecture" slice to this skill.Do NOT use when:
judge-bug-hunter.judge-security-auditor.judge-code-quality.decision-record first.Read the codebase's stated architecture (ADRs, AGENTS.md, module docs). If no shape is documented, infer it from folder structure and surface the gap. You are judging the diff against the stated shape, not a fantasy ideal.
For every changed file, answer:
| Question | Smell when "no" |
|---|---|
| Does this file live in the right layer? | Layer violation |
| Are imports flowing in the allowed direction? | Inverted dependency |
| Does this leak a storage / framework detail? | Leaky abstraction |
| Is the public API of the module still the same? | Contract drift |
| Does a cross-service call respect its contract? | Contract break |
Each smell is a finding with a file:line citation.
Pay special attention to:
Cross-module / cross-service additions are the highest-leverage findings — surface them even at low individual severity.
| Verdict | When |
|---|---|
apply | No architectural concerns; diff fits the stated shape |
revise | Findings exist; diff lands after the listed fixes |
reject | Architectural shape itself must be reconsidered (rare) |
reject requires citing which ADR or stated shape would need to
change — never reject for taste.
Verify before emitting: every finding has a file:line citation and
a smell label from the taxonomy; the verdict matches the worst
finding (revise if any finding exists, apply only when none);
reject cites the ADR or stated shape that would need to change.
Ensure no finding restates a concern owned by another judge.
The verdict block carries these ordered fields:
Judge: — fixed value architecture-review-lensModel: and Target: — model id from .agent-settings.yml and diff rangeVerdict: — exactly one of apply / revise / rejectIssues: — numbered list, each with file:line, smell label, suggested fixJudge: architecture-review-lens
Model: <model id from .agent-settings.yml>
Target: <branch / diff range>
Verdict: apply | revise | reject
Issues:
1. 🔴 <finding> file:line
Smell: layer-violation | inverted-dep | leak | contract-drift | contract-break
Suggested fix: <one sentence>
2. 🟡 ...
3. 🟢 ...
decision-record and approve the diff.judge-code-quality.reject without naming the ADR or stated shape that
would need to change.Alternatives
coreyhaines31/marketingskills
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program
event4u-app/agent-config
Grounded design brief from the adopted corpus — style, WCAG-checked color tokens, typography, layout pattern, anti-patterns. Use on ui-design-brief or any which-style/palette/font/chart decision.
event4u-app/agent-config
Use BEFORE writing or editing any non-trivial UI — inventories components, design tokens, shadcn primitives, and reusable patterns into state.ui_audit. Hard gate for the ui directive set.
event4u-app/agent-config
Use BEFORE writing/changing tests, adding mocks, or test-only methods on production classes — vs mocking-the-mock, production pollution, partial mocks, and overfit/tautological assertions