From polotno-sdk
Polotno SDK development assistant — API patterns, best practices, and live documentation search
How this skill is triggered — by the user, by Claude, or both
Slash command
/polotno-sdk:polotno-sdkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping a developer build with **Polotno SDK** — a JavaScript/React library for canvas editors.
You are helping a developer build with Polotno SDK — a JavaScript/React library for canvas editors.
polotno_documentation MCP tool to search the latest docs when:
@api-reference.md
observer() from mobx-react-liteelement.x, not via getterselement.set({ x: 100 }), never assign directlyisAlive GuardAny MST computed view that accesses a parent node must check isAlive(self) first:
import { isAlive } from 'mobx-state-tree';
// In computed views:
get someComputed() {
if (!isAlive(self)) return defaultValue;
const parent = getParent(self);
// ... use parent safely
}
This prevents errors when React unmounts asynchronously after MST destroys nodes.
*.browser.test.tsx): For anything involving React rendering, MobX reactions, or UI*.test.ts): Only for pure model logic without renderingAlways use the custom attribute — arbitrary properties on elements are silently ignored:
element.set({ custom: { myAppData: 'value' } });
Query the MCP documentation server:
polotno_documentation("store export PDF options")
polotno_documentation("custom side panel section")
polotno_documentation("element locking properties")
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub polotno-project/polotno-ai-rules --plugin polotno-sdk