balise-affinity-mcp
Installation
SKILL.md
Affinity MCP Automation
Use the Affinity MCP as a live application-control surface. Work from the open document, inspect before editing, prefer small reversible commands, and verify visual results.
Standard Workflow
- Load Affinity tools if they are not already present.
- Read SDK documentation in this order:
- Always read
preamblefirst. - Call
list_sdk_documentation. - Read only the topics needed for the task, such as
application.js,document.js,nodes.js,commands.js,geometry.js,colours.js,fills.js,linestyle.js,storybuilder.js,glyphatts.js,paragraphatts.js, orexportconfig.js.
- Always read
- Inspect the current document before making changes.
- Choose the narrowest edit: selected object first, current spread next, whole document only when requested.
- Execute scripts with the Affinity MCP
execute_scriptcapability; a harness may expose a qualified tool name. Useconsole.log(JSON.stringify(...))for observable output. - Verify with
render_selection(document_session_uuid)whenever the result is visual. - Do not save, export, flatten, delete broad selections, or resize the spread unless the user asked for that kind of change.