算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
edit-canvas-app【设计与创意】Edit an existing Power Apps canvas app. USE WHEN the user wants to modify, update, change, or edit an existing Canvas App or pa.yaml files.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Make the following changes to the existing Canvas App:
$ARGUMENTS
Two paths depending on edit complexity:
Plugin root: the directory containing skills/, agents/, and references/
$ARGUMENTS — extract the app name or use a 2–3 word summarymkdir -p <folder-name>Call sync_canvas targeting the working directory. This pulls the current app state from
the coauthoring session into local .pa.yaml files.
After sync, read the files and check if the app has meaningful content. An app is empty if:
.pa.yaml files were written, orIf empty, inform the user and switch to the full generate-canvas-app workflow.
Simple — ALL of these are true:
Complex — ANY of these are true:
Read ../../references/TechnicalGuide.md.
Apply changes directly to the relevant .pa.yaml files.
Call compile_canvas on the working directory. Iterate until clean.
Present summary:
Edit complete. [1-2 sentence description.] Compiled clean after [N] pass(es).
Read the edit planner agent definition:
../../references/TechnicalGuide.md../../references/DesignGuide.md../../agents/canvas-edit-planner.mdAdopt the role of canvas-edit-planner and follow every step in that file with:
$ARGUMENTSskills/, agents/, and references/.pa.yaml filesDo not proceed to Phase 4 until the user approves the plan.
After the planner completes, read canvas-edit-plan.md from the working directory.
Extract screens to modify and screens to add.
For each affected screen, in sequence:
../../agents/canvas-screen-editor.mdcanvas-screen-editor for this screenCall compile_canvas on the working directory. Iterate until clean.
Delete canvas-edit-plan.md:
rm <working-directory>/canvas-edit-plan.md
Present final summary table of all screens modified/added, compilation passes, any remaining errors.