arch-review-contracts skillA
arch-review-contracts is agent-read markdown (skill) from baristaze/swe_guidelines: Architecture review through the Contracts lenses: interfaces, injection, wiring. For a change in this area, or as one leg of arch-review-full..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# arch-review-contracts
Judge the code from one perspective only: the lenses in
`${CLAUDE_SKILL_DIR}/../../lenses/contracts.md`. Other perspectives have
their own skills; do not borrow their rules, and do not flag anything
a lens in this file does not name. The guideline itself is at
`${CLAUDE_SKILL_DIR}/../../architecture.md` when a lens needs its
source read in full. If either file is missing, stop and say the
installation is incomplete.
This pass covers Interfaces, Separation of Layers, The Business Layer, The Network Layer (Service Interfaces and Impls, Direction of Calls), Cross-Cutting Conventions (The App Container): interfaces, injection, wiring.
## Input
`$ARGUMENTS` names what to review. Read it as the first of these that
matches:
1. Empty: the current branch's change. The default branch is
`origin/HEAD` when set, else `main`, else `master`. The scope is
every file changed since the merge base of `HEAD` and the default
branch (`git diff --name-only <base>`, committed and uncommitted
alike), plus every untracked file git does not ignore
(`git status --porcelain --untracked-files=all`). When there is no
…Read the whole file at its exact version.
How to install
mdr add baristaze/swe_guidelines/arch-review-contracts@git:20260922.28cefc1mdr add baristaze/swe_guidelines/arch-review-contracts@sha256:fd6d7ec4550829a8Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_qaaj4lqswbj3vfwm)
2 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260922.28cefc1 latest | 2026-09-22 | 28cefc1 | 8,293 B | A | view · diff |
| git:20260922.81ce1ea | 2026-09-22 | 81ce1ea | 7,015 B | A | view · diff |
| git:20260922.e4ae97c | 2026-09-22 | e4ae97c | 6,372 B | A | view · diff |
| git:20260921.f72eecd | 2026-09-21 | f72eecd | 6,399 B | A | view · diff |
| git:20260921.93b5e1e | 2026-09-21 | 93b5e1e | 6,035 B | A | view · diff |
| git:20260921.5c2df16 | 2026-09-21 | 5c2df16 | 6,029 B | A | view · diff |
| git:20260920.2c50d81 | 2026-09-20 | 2c50d81 | 4,202 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8293 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
baristaze/swe_guidelines · 86 stars · license MIT · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_qaaj4lqswbj3vfwm GET https://markdownregistry.com/api/v1/resolve?ref=baristaze/swe_guidelines/arch-review-contracts GET https://markdownregistry.com/api/v1/blob/fd6d7ec4550829a829df9c84038b1d464d9ae44cafc42a19f0d3404c9b5ef002
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.