{"id":132386,"plugin_id":"plugin_asdk_app_6acf8381cca08191bfb3eb7305fb6970","kind":"skill","collection_source":"plugin_package","comparison_source":"plugin_package","observed_at":"2026-12-03T06:14:11.946Z","digest":"caecacf93a9a62328e6d5b98c91d91a936864ed3e3bb21c813c410e0e00e51ba","against":110991,"payload":{"description":"Use 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).","included_files":[],"name":"archlang-brief-to-plan","skill_md_contents":"---\nname: archlang-brief-to-plan\ndescription: Use 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).\nlicense: MIT\ncompatibility: Needs a shell with Node 18+ and the archlang CLI (npx -y @chanmeng666/archlang@1.70.0, or npm i -g @chanmeng666/archlang@1.70.0 for a global archlang).\n---\n\n# Brief to plan\n\nTurn a written brief into a checked `.arch` floor plan. Every step is a CLI call; never judge the\nplan from the SVG markup.\nIf `archlang` is not on the path, write `npx -y @chanmeng666/archlang@1.70.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. The language is whatever `archlang spec` prints.\n\n## Scope\n\n- Run the `archlang` CLI commands below and no other program.\n- Write one new plan file, `plan.arch` here or the name the user gives, in the user's working\n  directory, plus the drawings the CLI renders beside it. If a file of that name already exists,\n  ask the user before replacing it.\n- The user's explicit instructions take priority over these steps.\n\n## Steps\n\n1. **Read the language.** Run `archlang spec` and read all of it before writing a line. For one\n   command's flags and examples run `archlang <cmd> --help`, for example `archlang finish --help`.\n2. **List what the brief asks for.** Write down each room, each stated area, each stated\n   connection (\"opens off the hall\"), each stated window, and any outer size. Keep numbers exactly\n   as the brief states them. If two requirements cannot both hold, stop and tell the user which\n   ones; do not quietly change a number.\n3. **Check what a home usually has.** If the brief is for a home, check this short list against\n   your list from step 2: an entrance with somewhere for coats, a wardrobe in each bedroom, a place\n   for laundry, storage, and the number of bathrooms. Before you write `.arch`, write down each item\n   the brief does not mention and, for each, either the assumption you take (draw it or not, and\n   why) or a question for the user. If you cannot ask, follow your assumption and list it in the\n   report. This skill gives no sizes: fit an assumed item to the plan's own rooms, or add a room for\n   it. An assumption never outranks the brief: if one would change a number or a connection the\n   brief states, do not draw it, and say so. Draw a bedroom's wardrobe together with its bed, since\n   `finish` furnishes only empty rooms. Do not quietly add or leave out any item on the list.\n4. **Write `plan.arch`.** Give every room an `id`, a `label` and a `uses`. Attach doors and windows\n   to walls and place furniture by anchor, as `archlang spec` shows, instead of computing coordinates.\n   Give every room a door or an opening.\n5. **Compile.** `archlang compile plan.arch -o plan.svg --json`. If `ok` is false, read each\n   `diagnostics[].fix`. Preview the mechanical fixes with `archlang fix plan.arch --dry-run --json`,\n   then apply them with `archlang fix plan.arch`. Fix the rest by hand and compile again.\n6. **Check the plan against your list.** `archlang describe plan.arch --select rooms,doors,windows,furniture,totals --json`.\n   Compare room count, labels, each area, what each door connects, which rooms have windows and\n   which furniture is drawn with the list from step 2 plus the step 3 items you chose to draw. Edit\n   and repeat from step 5 until they match. `area_m2` is measured on\n   wall centrelines; `net_area_m2` is the floor no wall stands on.\n7. **Check soundness.** `archlang lint plan.arch --json`. Fix each warning, or keep it on purpose and\n   say why. If a room cannot be reached or a bedroom has no window, `archlang suggest plan.arch --json`\n   returns door and window statements you can paste.\n8. **Finish the drawing.** `archlang finish plan.arch --dry-run --json` shows the furniture and sheet\n   statements it would add; `archlang finish plan.arch` applies them. Read `unresolved`: it names each\n   room left empty and each statement left out, with the reason. `finish` can add an item you chose\n   in step 3 not to draw (a wardrobe in an empty bedroom): run step 6's `describe` again, and either\n   remove it or report it as drawn.\n9. **Gate and show.** `archlang validate plan.arch --strict --json` must exit `0`, or you must be able\n   to name each remaining warning as deliberate. Then `archlang preview plan.arch -o plan.png` to show\n   the user.\n10. **Review once, after the loop is clean.** Run `archlang score plan.arch --taste generic --json`\n    and `archlang preview plan.arch --review`, which writes `plan.review.png` (one storey per sheet:\n    add `--level <n>` for each upper storey). The score is a sourced 0–1 taste score (privacy\n    gradient, daylight, proportion, corner doors, …) whose `criteria[].advice` `A_*` codes name what\n    to improve; `coverage.weight` says how much of it could be judged, and `score` is `null` when\n    nothing could. It never gates, and a score capped at 0.5 means a validity lint warning still\n    stands. The review image rings and numbers every warned element; on a lint-clean plan it still\n    shows the access graph (which rooms each door joins, which rooms the entrance reaches) and which\n    door is the main entrance or that the choice is a tie: check those against your list from\n    steps 2 and 3. If they contradict the brief, that is a fault in the plan, not taste: go back to step 6,\n    fix it, and run this step again. Taste advice is not an error: do not iterate on it and do not\n    change the plan to raise the score. Report it; the user decides.\n\n## Report to the user\n\n- The file you wrote and the drawing you rendered.\n- The taste score from step 10 with the weight it judged (`coverage.weight`, as \"judged 11/12 of\n  the weight\") and whether it is capped, or that nothing could be judged (`score` is `null`); each\n  `A_*` advice code with its criterion's `message`; and `plan.review.png`. Say that the advice is\n  not an error, that you did not change the plan for it, and that acting on it is the user's choice.\n- Every requirement of the brief the plan does not meet, or \"none\".\n- Each item of the step 3 list the brief did not mention, with the assumption you took (drawn or\n  not, and why) or the user's answer; or that the brief is not for a home.\n- Which area you quote: `net_area_m2` is the floor no wall stands on, `area_m2` the larger\n  centreline figure. If a room has no `net_area_m2`, say its net area could not be computed.\n- Every lint warning still present, with the reason it stays.\n- A 3D preview, offered: `archlang link plan.arch` (or the MCP `link` tool) gives a playground URL\n  where the user switches the drawing to **3D** and can press Share → Download GLB. With Node 20+,\n  `npx -y @chanmeng666/archlang-3d@0.11.0 view plan.arch --replay -o plan.html` writes it as one HTML file\n  that opens offline, from the separate archlang-3d package; give the command, do not run it unless\n  the user asks. It previews the plan; it is not a design or construction file.\n\n## When something goes wrong\n\n- Exit code `2` is a fault in the source. Read the diagnostic and fix it; do not run the same\n  command again unchanged. `3` is a wrong flag: run `archlang <cmd> --help`.\n- For an unfamiliar code, run `archlang explain <CODE> --json`. It does not know the `A_*` advice\n  codes (it exits `3`): a taste criterion's `message` and `source` are its explanation.\n- To gate on the brief as data instead of by eye, write it as an intent file and run\n  `archlang validate plan.arch --intent intent.json --feedback --json`. The archlang-review-plan\n  skill covers this.\n"},"changes":[{"path":"/skill_md_contents","type":"changed","before":"---\nname: archlang-brief-to-plan\ndescription: Use 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).\nlicense: MIT\ncompatibility: Needs a shell with Node 18+ and the archlang CLI (npx -y @chanmeng666/archlang@1.68.2, or npm i -g @chanmeng666/archlang@1.68.2 for a global archlang).\n---\n\n# Brief to plan\n\nTurn a written brief into a checked `.arch` floor plan. Every step is a CLI call; never judge the\nplan from the SVG markup.\nIf `archlang` is not on the path, write `npx -y @chanmeng666/archlang@1.68.2` 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. The language is whatever `archlang spec` prints.\n\n## Scope\n\n- Run the `archlang` CLI commands below and no other program.\n- Write one new plan file, `plan.arch` here or the name the user gives, in the user's working\n  directory, plus the drawings the CLI renders beside it. If a file of that name already exists,\n  ask the user before replacing it.\n- The user's explicit instructions take priority over these steps.\n\n## Steps\n\n1. **Read the language.** Run `archlang spec` and read all of it before writing a line. For one\n   command's flags and examples run `archlang <cmd> --help`, for example `archlang finish --help`.\n2. **List what the brief asks for.** Write down each room, each stated area, each stated\n   connection (\"opens off the hall\"), each stated window, and any outer size. Keep numbers exactly\n   as the brief states them. If two requirements cannot both hold, stop and tell the user which\n   ones; do not quietly change a number.\n3. **Write `plan.arch`.** Give every room an `id`, a `label` and a `uses`. Attach doors and windows\n   to walls and place furniture by anchor, as `archlang spec` shows, instead of computing coordinates.\n   Give every room a door or an opening.\n4. **Compile.** `archlang compile plan.arch -o plan.svg --json`. If `ok` is false, read each\n   `diagnostics[].fix`. Preview the mechanical fixes with `archlang fix plan.arch --dry-run --json`,\n   then apply them with `archlang fix plan.arch`. Fix the rest by hand and compile again.\n5. **Check the plan against your list.** `archlang describe plan.arch --select rooms,doors,windows,totals --json`.\n   Compare room count, labels, each area, what each door connects and which rooms have windows\n   with the list from step 2. Edit and repeat from step 4 until they match. `area_m2` is measured on\n   wall centrelines; `net_area_m2` is the floor no wall stands on.\n6. **Check soundness.** `archlang lint plan.arch --json`. Fix each warning, or keep it on purpose and\n   say why. If a room cannot be reached or a bedroom has no window, `archlang suggest plan.arch --json`\n   returns door and window statements you can paste.\n7. **Finish the drawing.** `archlang finish plan.arch --dry-run --json` shows the furniture and sheet\n   statements it would add; `archlang finish plan.arch` applies them. Read `unresolved`: it names each\n   room left empty and each statement left out, with the reason.\n8. **Gate and show.** `archlang validate plan.arch --strict --json` must exit `0`, or you must be able\n   to name each remaining warning as deliberate. Then `archlang preview plan.arch -o plan.png` to show\n   the user.\n\n## Report to the user\n\n- The file you wrote and the drawing you rendered.\n- Every requirement of the brief the plan does not meet, or \"none\".\n- Which area you quote: `net_area_m2` is the floor no wall stands on, `area_m2` the larger\n  centreline figure. If a room has no `net_area_m2`, say its net area could not be computed.\n- Every lint warning still present, with the reason it stays.\n\n## When something goes wrong\n\n- Exit code `2` is a fault in the source. Read the diagnostic and fix it; do not run the same\n  command again unchanged. `3` is a wrong flag: run `archlang <cmd> --help`.\n- For an unfamiliar code, run `archlang explain <CODE> --json`.\n- To gate on the brief as data instead of by eye, write it as an intent file and run\n  `archlang validate plan.arch --intent intent.json --feedback --json`. The archlang-review-plan\n  skill covers this.\n","after":"---\nname: archlang-brief-to-plan\ndescription: Use 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).\nlicense: MIT\ncompatibility: Needs a shell with Node 18+ and the archlang CLI (npx -y @chanmeng666/archlang@1.70.0, or npm i -g @chanmeng666/archlang@1.70.0 for a global archlang).\n---\n\n# Brief to plan\n\nTurn a written brief into a checked `.arch` floor plan. Every step is a CLI call; never judge the\nplan from the SVG markup.\nIf `archlang` is not on the path, write `npx -y @chanmeng666/archlang@1.70.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. The language is whatever `archlang spec` prints.\n\n## Scope\n\n- Run the `archlang` CLI commands below and no other program.\n- Write one new plan file, `plan.arch` here or the name the user gives, in the user's working\n  directory, plus the drawings the CLI renders beside it. If a file of that name already exists,\n  ask the user before replacing it.\n- The user's explicit instructions take priority over these steps.\n\n## Steps\n\n1. **Read the language.** Run `archlang spec` and read all of it before writing a line. For one\n   command's flags and examples run `archlang <cmd> --help`, for example `archlang finish --help`.\n2. **List what the brief asks for.** Write down each room, each stated area, each stated\n   connection (\"opens off the hall\"), each stated window, and any outer size. Keep numbers exactly\n   as the brief states them. If two requirements cannot both hold, stop and tell the user which\n   ones; do not quietly change a number.\n3. **Check what a home usually has.** If the brief is for a home, check this short list against\n   your list from step 2: an entrance with somewhere for coats, a wardrobe in each bedroom, a place\n   for laundry, storage, and the number of bathrooms. Before you write `.arch`, write down each item\n   the brief does not mention and, for each, either the assumption you take (draw it or not, and\n   why) or a question for the user. If you cannot ask, follow your assumption and list it in the\n   report. This skill gives no sizes: fit an assumed item to the plan's own rooms, or add a room for\n   it. An assumption never outranks the brief: if one would change a number or a connection the\n   brief states, do not draw it, and say so. Draw a bedroom's wardrobe together with its bed, since\n   `finish` furnishes only empty rooms. Do not quietly add or leave out any item on the list.\n4. **Write `plan.arch`.** Give every room an `id`, a `label` and a `uses`. Attach doors and windows\n   to walls and place furniture by anchor, as `archlang spec` shows, instead of computing coordinates.\n   Give every room a door or an opening.\n5. **Compile.** `archlang compile plan.arch -o plan.svg --json`. If `ok` is false, read each\n   `diagnostics[].fix`. Preview the mechanical fixes with `archlang fix plan.arch --dry-run --json`,\n   then apply them with `archlang fix plan.arch`. Fix the rest by hand and compile again.\n6. **Check the plan against your list.** `archlang describe plan.arch --select rooms,doors,windows,furniture,totals --json`.\n   Compare room count, labels, each area, what each door connects, which rooms have windows and\n   which furniture is drawn with the list from step 2 plus the step 3 items you chose to draw. Edit\n   and repeat from step 5 until they match. `area_m2` is measured on\n   wall centrelines; `net_area_m2` is the floor no wall stands on.\n7. **Check soundness.** `archlang lint plan.arch --json`. Fix each warning, or keep it on purpose and\n   say why. If a room cannot be reached or a bedroom has no window, `archlang suggest plan.arch --json`\n   returns door and window statements you can paste.\n8. **Finish the drawing.** `archlang finish plan.arch --dry-run --json` shows the furniture and sheet\n   statements it would add; `archlang finish plan.arch` applies them. Read `unresolved`: it names each\n   room left empty and each statement left out, with the reason. `finish` can add an item you chose\n   in step 3 not to draw (a wardrobe in an empty bedroom): run step 6's `describe` again, and either\n   remove it or report it as drawn.\n9. **Gate and show.** `archlang validate plan.arch --strict --json` must exit `0`, or you must be able\n   to name each remaining warning as deliberate. Then `archlang preview plan.arch -o plan.png` to show\n   the user.\n10. **Review once, after the loop is clean.** Run `archlang score plan.arch --taste generic --json`\n    and `archlang preview plan.arch --review`, which writes `plan.review.png` (one storey per sheet:\n    add `--level <n>` for each upper storey). The score is a sourced 0–1 taste score (privacy\n    gradient, daylight, proportion, corner doors, …) whose `criteria[].advice` `A_*` codes name what\n    to improve; `coverage.weight` says how much of it could be judged, and `score` is `null` when\n    nothing could. It never gates, and a score capped at 0.5 means a validity lint warning still\n    stands. The review image rings and numbers every warned element; on a lint-clean plan it still\n    shows the access graph (which rooms each door joins, which rooms the entrance reaches) and which\n    door is the main entrance or that the choice is a tie: check those against your list from\n    steps 2 and 3. If they contradict the brief, that is a fault in the plan, not taste: go back to step 6,\n    fix it, and run this step again. Taste advice is not an error: do not iterate on it and do not\n    change the plan to raise the score. Report it; the user decides.\n\n## Report to the user\n\n- The file you wrote and the drawing you rendered.\n- The taste score from step 10 with the weight it judged (`coverage.weight`, as \"judged 11/12 of\n  the weight\") and whether it is capped, or that nothing could be judged (`score` is `null`); each\n  `A_*` advice code with its criterion's `message`; and `plan.review.png`. Say that the advice is\n  not an error, that you did not change the plan for it, and that acting on it is the user's choice.\n- Every requirement of the brief the plan does not meet, or \"none\".\n- Each item of the step 3 list the brief did not mention, with the assumption you took (drawn or\n  not, and why) or the user's answer; or that the brief is not for a home.\n- Which area you quote: `net_area_m2` is the floor no wall stands on, `area_m2` the larger\n  centreline figure. If a room has no `net_area_m2`, say its net area could not be computed.\n- Every lint warning still present, with the reason it stays.\n- A 3D preview, offered: `archlang link plan.arch` (or the MCP `link` tool) gives a playground URL\n  where the user switches the drawing to **3D** and can press Share → Download GLB. With Node 20+,\n  `npx -y @chanmeng666/archlang-3d@0.11.0 view plan.arch --replay -o plan.html` writes it as one HTML file\n  that opens offline, from the separate archlang-3d package; give the command, do not run it unless\n  the user asks. It previews the plan; it is not a design or construction file.\n\n## When something goes wrong\n\n- Exit code `2` is a fault in the source. Read the diagnostic and fix it; do not run the same\n  command again unchanged. `3` is a wrong flag: run `archlang <cmd> --help`.\n- For an unfamiliar code, run `archlang explain <CODE> --json`. It does not know the `A_*` advice\n  codes (it exits `3`): a taste criterion's `message` and `source` are its explanation.\n- To gate on the brief as data instead of by eye, write it as an intent file and run\n  `archlang validate plan.arch --intent intent.json --feedback --json`. The archlang-review-plan\n  skill covers this.\n"}],"summary":"Fields changed: 1. /skill_md_contents.","summary_kind":"deterministic","summary_metadata":{}}