Agent 生成器
- 作者仓库星标 82
- 作者仓库 CanvasAnvil
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
- 流狐分类
- 设计与多媒体
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @CodingFeng101 · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Use when the task requires one step in an interior-design workflow.
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: openai
Confirm the task is an interior-design task. Route the task to one step only: plan, 2dsvg, bom, or images. Collect missing required context for that step.
plan design strategy requirement analysis
references/task-types.md references/output-contract.md references/image-provider-config.md
Route one step at a time. Prefer plan when no usable plan exists. Use 2dsvg for drawing, redrawing, and localized floorplan edits.
# 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:
- `openai`
- `aliyun`
- `tencent`
- `bytedance`
- `zhipu`
- `google`
- `xai`
- `bfl`
- `adobe`
## Order
1. Confirm the task is an interior-design task.
2. Route the task to one step only: `plan`, `2d_svg`, `bom`, or `images`.
3. Collect missing required context for that step.
4. Read the required references.
5. Produce the step artifact.
6. Export preview artifacts when requested.
7. 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.md`
- `references/output-contract.md`
- `references/image-provider-config.md`
- `references/image-agents/*.md`
- `prompts/router.md`
- `prompts/plan.md`
- `prompts/svg-router.md`
- `prompts/svg-patch.md`
- `prompts/svg-replace.md`
- `prompts/bom.md`
- `prompts/overall-analysis-board.md`
- `prompts/key-strategy-board.md`
- `prompts/master-renovation-scheme.md`
- `prompts/renovation-plan-layout.md`
- `prompts/floor-finish-plan.md`
- `prompts/reflected-ceiling-plan.md`
- `prompts/wall-setting-out-plan.md`
- `prompts/mep-plan.md`
- `prompts/elevation-index-and-interior-elevations.md`
- `prompts/detail-drawings.md`
## Routing Contract
- Route one step at a time.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Trigger → First-Use Reminder → Order → Classification → Required References → Routing Contract
要点 -> Use when the task requires one step in an interior-design workflow. · 1. Confirm the task is an interior-design task. · - Route one step at a time. · - Output one cadplan artifact only. · - Output one cadpatch artifact or one full SVG result. · - Output one cadbom.csv artifact only. · - Use prompts/overall-analysis-board.md to generate the text-model prompt for the overall analysis board.
文件/命令 -> config/image-provider.json · openai · aliyun · tencent · bytedance · zhipu · google · xai
内容 SHA-256 -> df528b16a4e1
原文结构
适用与边界
原文中的明确线索
config/image-provider.json、openai、aliyun、tencent、bytedance、zhipu、google、xai