Skip to content
Skills Library
Programming · Review & audit

arch

/arch

Review the architecture plan in .reins/architecture.yml against the code and propose changes with evidence, applying nothing until the person approves. Use it after reins init, when asked to review or adjust the architecture, or every few months to check that the plan still fits.

Repository
reins ↗
Licence
MIT
Last repository change
12.11.2026

Assessment and security

86/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content21 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Review the architecture plan in .reins/architecture.yml against the code and propose changes with evidence, applying nothing until the person approves. Use it after reins init, when asked to review or adjust the architecture, or every few months to check that the plan still fits.

Original author description

Review the architecture plan in .reins/architecture.yml against the code and propose changes with evidence, applying nothing until the person approves. Use it after reins init, when asked to review or adjust the architecture, or every few months to check that the plan still fits.

How it works

SKILL.md has no level-two headings · 25 lines, 526 words

SKILL.md preview
---
name: arch
description: Review the architecture plan in .reins/architecture.yml against the code and propose changes with evidence, applying nothing until the person approves. Use it after reins init, when asked to review or adjust the architecture, or every few months to check that the plan still fits.
---
# Review the architecture plan

`reins check` enforces whatever `.reins/architecture.yml` says, even a bad plan, and a person decides it. Your job is to show where the plan doesn't fit the code and propose changes with evidence. **Don't edit `.reins/architecture.yml` or `.reins/baseline.json` until the person approves each change.**

1. Gather the facts (don't read the whole repo):
   - `npx reins check --coverage`: files per layer and domain, folders outside every layer, imports between layers, exceptions, baseline (`--json` if easier).
   - `.reins/init-report.md` if it exists: mixed directions, doubtful dependencies, orphans.
   - `npx reins check --verbose`: the violations frozen in the baseline.
2. Look for these, and confirm each one by opening the files involved:
   - **Layer order:** a pair with many imports going "up". Is the order wrong, or the code?
   - **Folders outside every layer:** `layer-direction` doesn't check them. Which layer do they belong to?
   - **Layers that match no file**, and globs that overlap (the first match wins).
   - **Domains:** features without a domain, a public API that doesn't exist or exposes internals, domains reaching into each other's internals.
   - **Route folders left out** (listed in `init-report.md`): `init` drops one-file routes that own no folder, but several of them can be one flow (`signIn`, `resetPassword`, `acceptInvite`… → `auth`). Group the ones that share what they import (the same API module, forms or components) into one domain with several paths; leave app shell (guards, layouts, maintenance pages) outside every domain.
   - **Generated code, fixtures, stories:** candidates for `ignore:`.
   - **`allow:` entries** whose reason no longer holds, and a baseline that isn't shrinking.
3. What the file accepts: `version`, `adapter`, `preset`, `ignore` (globs left out of the analysis), `layers`, `domains`, `rules`, `allow` (with a `reason`). Unknown keys are errors. Full reference: https://github.com/fredarcito/reins/blob/main/docs/architecture-yml.md
4. Rules for proposals:
   - An existing violation stays in the **baseline** by default: it is debt to fix later. Propose `allow:` only when the person says it is a decision, with their reason, never one you make up.
   - Never reorder layers, widen globs or add exceptions just to make `reins check` pass.
   - When you can't tell whether something is a mistake or a decision, ask.
5. Present the proposal as a numbered list. For each item: the change (as a YAML snippet), the evidence (files and imports), why, and its effect on the check (violations that appear or disappear). Then stop and wait for the person.
6. After approval: apply only the approved items. Run `npx reins check --update-baseline` only if the person agreed to freeze the violations the change reveals; then `npx reins check`. For every domain you added that has no note in `.reins/notes/`, draft one with `npx reins notes new <domain>` (one per call), then fill in its TODO lines following the `notes` skill, or tell the person they are drafts; `reins doctor` flags any domain left without a note. Tell them the pull request will show an `integrity` warning for the changed `architecture.yml`: that is expected, and the PR description should explain the change.
7. Reasons that last go where people will see them: `allow:` reasons in the file, and decisions about a module in its note (`.reins/notes/`).

Versions

RepositoryScoreLicence
This page · fredarcito/reins86MIT
justinedevs/meta-architect100MIT
srujan375/bird95Apache-2.0

Database snapshot: 13.11.2026 · package version 6a5c5981557b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 86reins-arch
    Review the architecture plan in .reins/architecture.yml against the code and propose changes with evidence, applying nothing until the person approves. Use it after reins init, when asked to review or adjust the architecture, or every few months to check that the plan still fits.
  • 90reins-notes
    Fill in, improve or review the module notes in .reins/notes/ (purpose, map, how it works, decisions, traps). Use it after reins init or reins notes new, when reins doctor reports note-draft, note-dead-paths, note-dead-refs or note-uncovered, when asked to document a module, or…
  • 100reins
    Drive the user's real, logged-in browser from the shell via the reins CLI. Because it's their actual browser, every site is already authenticated — so you can scrape behind logins, read cookies/tokens/localStorage, watch and replay live API traffic, call a site's own API as the…
  • 85arch-check
    Use to check a feature's code against the charter's architecture rules — dependency layering, cycles, forbidden patterns, file naming, file size. Triggers — "/engineer.arch-check", "architecture check", "check architecture fitness", "does this follow the charter", "check layering".
  • 100arch-review
    Review existing architecture (ATAM-lite) against quality-attribute scenarios; find risks, tradeoffs, anti-patterns; report. Use when: review architecture, audit architecture, architecture analysis, architecture assessment, arch review, evaluate architecture, is the architecture…
  • 100rtl-p2-arch-team
    Phase 2 architecture with parallel team workers: dual-stream arch + RefC development. Use for 'arch team', 'Phase 2 team', 'parallel architecture'.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.