← ArchLangCONTENT HISTORY
WHAT CHANGED
Update to ArchLang
Snapshot Nov 1, 2026 · 07:17 UTC · version 1.50.0
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save ArchLang and check future changes in Following.
Up to 10 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Use when the user wants an existing ArchLang .arch floor plan checked rather than changed, e.g. \"review this plan\", \"does this layout meet the brief?\", \"is every room reachable?\", \"check it for accessibility\", \"why does lint complain?\". Reads the plan's facts, runs the lint profiles and the intent gate through the archlang CLI, and reports findings with suggested fixes. It edits nothing unless asked.",
"included_files": [],
"name": "archlang-review-plan",
"skill_md_contents": "---\nname: archlang-review-plan\ndescription: Use when the user wants an existing ArchLang .arch floor plan checked rather than changed, e.g. \"review this plan\", \"does this layout meet the brief?\", \"is every room reachable?\", \"check it for accessibility\", \"why does lint complain?\". Reads the plan's facts, runs the lint profiles and the intent gate through the archlang CLI, and reports findings with suggested fixes. It edits nothing unless asked.\nlicense: MIT\ncompatibility: Needs a shell with Node 18+ and the archlang CLI (npx -y @chanmeng666/archlang@1.50.0, or npm i -g @chanmeng666/archlang@1.50.0 for a global archlang).\n---\n\n# Review a plan\n\nReport what is true of a `.arch` plan and what is wrong with it, from the compiler's own facts.\nIf `archlang` is not on the path, write `npx -y @chanmeng666/archlang@1.50.0` in its place.\nNever run a bare `arch`: on Linux, macOS and Git Bash that name is the coreutils command.\n\nThis skill is a workflow, not a language reference. Run `archlang spec` for the language,\n`archlang context --section errors` for the diagnostic catalog, and `archlang <cmd> --help` for flags.\n\nThe checks are drafting heuristics. They do not establish that a plan meets a building code, and\nyour report must not say that it does.\n\n## Steps\n\n1. **Does it compile?** `archlang validate plan.arch --json`. Errors come first in the report; a plan\n with errors has no facts to review until they are fixed.\n2. **Read the facts.** `archlang describe plan.arch --json` gives rooms with areas and uses, what each\n door and window connects, the access graph and the totals. On a large plan narrow it:\n `archlang describe plan.arch --select rooms,access,totals --json`. `area_m2` is measured on wall\n centrelines, so it counts the wall bands that stand on the room; `net_area_m2` subtracts them.\n Say which one you quote.\n3. **Run the default lint.** `archlang lint plan.arch --json`. Each warning has a code, a place in the\n source and a `fix` in prose. `archlang explain <CODE> --json` explains a code you do not know.\n4. **Run the accessibility profile when the user asks about access,** or when the brief mentions\n a wheelchair, step-free access or ageing in place:\n `archlang lint plan.arch --profile accessibility-advisory --json`.\n5. **Check against the brief, if there is one.** Write the brief's checkable requirements as an\n intent file: room count only if the brief lists the rooms, an area band only where the brief\n gives a number. The format is the JSON Schema at <https://archlang.uk/intent.schema.json>,\n explained at <https://archlang.uk/intent>; a malformed file is refused with exit `3` and the\n path of the bad field. Then run\n `archlang validate plan.arch --intent intent.json --feedback --json`. A failed gating assertion\n exits `2` and comes with a correction prompt for each violation.\n `archlang score plan.arch --brief intent.json --json` gives the same comparison as a number that\n never fails.\n6. **Ask for candidate fixes.** For an unreachable room, a building with no entrance, a bathroom\n reached only through a bedroom, or a bedroom with no window, `archlang suggest plan.arch --json`\n returns door and window statements with a reason for each. Put them in the report as options.\n Do not apply them.\n7. **Look at it, if that helps.** `archlang preview plan.arch --ascii` prints a text plan;\n `archlang preview plan.arch -o plan.png` renders an image. `archlang compile plan.arch --overlay circulation -o walk.svg`\n draws the walking routes and their narrow points.\n\n## Report to the user\n\nOrder the findings so the user can act on them:\n\n1. Errors: the plan does not compile, with each diagnostic.\n2. Brief: each requirement the plan misses, with the measured value beside the asked value.\n3. Soundness: each lint warning, grouped by room, with the fix the diagnostic proposes.\n4. What you did not check, for example \"no brief was given, so nothing was compared to one\".\n\nState which lint profile produced each warning. Do not call a warning-free plan compliant, safe\nor approved: say that the checks you ran raised nothing.\n\n## When something goes wrong\n\n- `--code` and `--severity` on `archlang lint` and `archlang validate` only filter what is shown. `ok` and\n the exit code still count every diagnostic, so a filtered result is not a clean one.\n- Exit code `3` is a wrong flag: run `archlang <cmd> --help`.\n"
}SHA-256 of public snapshot: 2d09b492e806c5404b93adcc9231c50dcdda1aa9d9dfd067eccb1d11a8491273