/archlang:archlang-review-planfrom archlang
Reviews ArchLang .arch floor plans by compiling, describing facts, running lint profiles, and checking against a brief via the archlang CLI. Reports findings without editing.
Ships in archlang. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Report what is true of a .arch plan and what is wrong with it, from the compiler's own facts.
If archlang is not on the path, write npx -y @chanmeng666/archlang in its place.
Never run a bare arch: on Linux, macOS and Git Bash that name is the coreutils command.
This skill is a workflow, not a language reference. Run archlang spec for the language,
archlang context --section errors for the diagnostic catalog, and archlang <cmd> --help for flags.
The checks are drafting heuristics. They do not establish that a plan meets a building code, and your report must not say that it does.
archlang validate plan.arch --json. Errors come first in the report; a plan
with errors has no facts to review until they are fixed.archlang describe plan.arch --json gives rooms with areas and uses, what each
door and window connects, the access graph and the totals. On a large plan narrow it:
archlang describe plan.arch --select rooms,access,totals --json. area_m2 is measured on wall
centrelines, so it counts the wall bands that stand on the room; net_area_m2 subtracts them.
Say which one you quote.archlang lint plan.arch --json. Each warning has a code, a place in the
source and a fix in prose. archlang explain <CODE> --json explains a code you do not know.archlang lint plan.arch --profile accessibility-advisory --json.3 and the
path of the bad field. Then run
archlang validate plan.arch --intent intent.json --feedback --json. A failed gating assertion
exits 2 and comes with a correction prompt for each violation.
archlang score plan.arch --brief intent.json --json gives the same comparison as a number that
never fails.archlang suggest plan.arch --json
returns door and window statements with a reason for each. Put them in the report as options.
Do not apply them.archlang preview plan.arch --ascii prints a text plan;
archlang preview plan.arch -o plan.png renders an image. archlang compile plan.arch --overlay circulation -o walk.svg
draws the walking routes and their narrow points.Order the findings so the user can act on them:
State which lint profile produced each warning. Do not call a warning-free plan compliant, safe or approved: say that the checks you ran raised nothing.
--code and --severity on archlang lint and archlang validate only filter what is shown. ok and
the exit code still count every diagnostic, so a filtered result is not a clean one.3 is a wrong flag: run archlang <cmd> --help.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/archlangUse when the user wants to create, edit, or inspect an architectural floor plan / building layout as code — e.g. "draw a 2-bedroom apartment", "add a bathroom to this plan", "make the bedroom 1 m wider", "lay out an office floor". ArchLang is a tiny text language that compiles a .arch file to a professional floor-plan drawing (SVG/PNG/PDF/DXF). Drive it entirely through the `archlang` CLI; do not hand-render./archlang-brief-to-planUse when the user gives a written brief for a new floor plan (rooms, areas, how rooms connect, a plot size) and wants the drawing, e.g. "design a two-bedroom flat of about 75 m²" or "lay out a small office with four rooms". Writes an ArchLang .arch file from the brief, checks it against the brief with the archlang CLI, and finishes it as a sheet. Not for changing an existing plan (archlang-edit-plan) or for exporting one (archlang-export)./archlang-edit-plannpx claudepluginhub chanmeng666/archlang --plugin archlangOther plugins' skills for the same job