cad-skill
- Repo stars 82
- Author updated Live
- Author repo CanvasAnvil
- Domain
- Design
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @CodingFeng101 · no license declared
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Required · Vendor-specific
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Shell exec
- Network behavior
- External requests
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: cad-skill
description: Generate interior design planning artifacts, 2D SVG floorplans, BOM outputs, analysis boards, an…
category: design
runtime: no special runtime
---
# cad-skill output preview
## PART A: Task fit
- Use case: Generate interior design planning artifacts, 2D SVG floorplans, BOM outputs, analysis boards, and renovation image sets from structured requirements. Use for staged interior-design work that moves through plan, 2D drafting, BOM, and image outputs..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Trigger / First-Use Reminder / Order” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Generate interior design planning artifacts, 2D SVG floorplans, BOM outputs, analysis boards, and renovation image sets from structured requirements. Use for staged interior-design work that moves through plan, 2D drafting, BOM, and image outputs.”.
- **02** When the source has headings, the agent prioritizes “Trigger / First-Use Reminder / Order” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, run shell commands; may access external network resources; requires Vendor-specific API keys.
## Running Rules
- read files, write/modify files, run shell commands; may access external network resources; requires Vendor-specific API keys.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, run shell commands.
Start with a small task and check whether the result follows “Trigger / First-Use Reminder / Order”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: cad-skill
description: Generate interior design planning artifacts, 2D SVG floorplans, BOM outputs, analysis boards, an…
category: design
source: CodingFeng101/CanvasAnvil
---
# cad-skill
## When to use
- Generate interior design planning artifacts, 2D SVG floorplans, BOM outputs, analysis boards, and renovation image set…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Trigger / First-Use Reminder / Order” and keep inference separate from source facts.
- read files, write/modify files, run shell commands; may access external network resources; requires Vendor-specific API keys.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "cad-skill" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Trigger / First-Use Reminder / Order
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files, run shell commands | may access external network resources
guardrails -> requires Vendor-specific API keys + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} CAD Skill
Trigger
Use when the task requires one step in an interior-design workflow.
First-Use Reminder
On the first use of this skill in a conversation, remind the user that image generation is configurable and tell them which model vendors are supported in config/image-provider.json.
Supported vendors:
openaialiyuntencentbytedancezhipugooglexaibfladobe
Order
- Confirm the task is an interior-design task.
- Route the task to one step only:
plan,2d_svg,bom, orimages. - Collect missing required context for that step.
- Read the required references.
- Produce the step artifact.
- Export preview artifacts when requested.
- Bundle artifacts when requested.
Classification
plan- design strategy
- requirement analysis
- zoning logic
- room program
2d_svg- new floorplan drafting
- floorplan edits
- redraw requests
bom- bill of materials
- procurement-ready lists
images- analysis boards
- renovation drawing boards
- render sheets
Required References
references/task-types.mdreferences/output-contract.mdreferences/image-provider-config.mdreferences/image-agents/*.mdprompts/router.mdprompts/plan.mdprompts/svg-router.mdprompts/svg-patch.mdprompts/svg-replace.mdprompts/bom.mdprompts/overall-analysis-board.mdprompts/key-strategy-board.mdprompts/master-renovation-scheme.mdprompts/renovation-plan-layout.mdprompts/floor-finish-plan.mdprompts/reflected-ceiling-plan.mdprompts/wall-setting-out-plan.mdprompts/mep-plan.mdprompts/elevation-index-and-interior-elevations.mdprompts/detail-drawings.md
Routing Contract
- Route one step at a time.
- Prefer
planwhen no usable plan exists. - Use
2d_svgfor drawing, redrawing, and localized floorplan edits. - Use
bomonly when a plan exists. - Use
imagesonly when the task is to produce analysis boards, drawing boards, or render images.
Plan Contract
- Output one
cad_planartifact only. - Keep assumptions explicit.
- Keep room names, functional needs, and constraints executable.
- Do not output SVG, BOM, or image tasks in the same step.
2D SVG Contract
- Output one
cad_patchartifact or one full SVG result. - Use patch for small precise edits.
- Use replace for broad redraws or unstable patch cases.
- Keep output limited to the 2D floorplan step.
- Export a local preview image when requested.
BOM Contract
- Output one
cad_bom.csvartifact only. - Base BOM on the current plan and 2D SVG.
- Keep columns normalized and machine-readable.
Images Contract
- Use
prompts/overall-analysis-board.mdto generate the text-model prompt for the overall analysis board. - Use
prompts/key-strategy-board.mdto generate the text-model prompt for the key strategy board. - Use
prompts/master-renovation-scheme.mdfirst to generate the text-model prompt for the master renovation scheme, then lock that JSON as the source of truth. - After the master scheme, use one dedicated prompt file per sheet to generate seven different text-model prompts:
prompts/renovation-plan-layout.mdprompts/floor-finish-plan.mdprompts/reflected-ceiling-plan.mdprompts/wall-setting-out-plan.mdprompts/mep-plan.mdprompts/elevation-index-and-interior-elevations.mdprompts/detail-drawings.md
- Do not reuse one prompt for all seven outputs.
- For every analysis board or sheet, first produce a dedicated image prompt with the host model, then pass that image prompt to the configured image provider.
- Require
config/image-provider.jsonbefore image generation. - Do not ask the user to paste API keys into chat.
- Stop and tell the user to fill
config/image-provider.jsonwhen provider, apiKey, or model is missing.
Scripts
scripts/generate-cad-image.mjsscripts/export-cad-2d-image.mjsscripts/build-cad-bundle.mjs
Deliverables
Preferred:
cad_plan.jsonfloorplan.svgfloorplan.pngcad_bom.csv- generated image files
- metadata JSON
Optional on request:
floorplan.jpg- prompt text files
Decide Fit First
Design Intent
How To Use It
Boundaries And Review