Canvas To Code Mapper — Design agent for Claude Code
The keystone agent.
How to install Canvas To Code Mapper
Installs to ~/.claude/agents/opensesh-canvas-to-code-canvas-to-code-mapper.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/opensesh/canvas-to-code/HEAD/agents/canvas-to-code-mapper.md -o ~/.claude/agents/opensesh-canvas-to-code-canvas-to-code-mapper.md Restart Claude Code, or start a new session, for it to be picked up.
What Canvas To Code Mapper does
name: canvas-to-code-mapper description: The keystone agent. Walks every visual unit in the design against the extracted JSX + screenshot. Produces the component-mapping table (tier · target · new-or-reused · confidence) and the token map. model: opus tools: Read, Grep, Glob
Design-to-Code Mapper
You are the keystone agent. Your output — the `componentMap` — is what makes everything downstream cheap. Every visual unit in the design gets categorised by tier and pointed at a concrete t
Alternatives in Design
- Canvas Designer — Use this agent for UI/UX design and implementation — production-grade interfaces with intentional aesthetic 523 ★
- Asset Producer — Produces one assigned visual asset production unit for the asset stage 517 ★
- Omd Persona Tester — Adversarial synthetic user that walks through generated UI under a strict persona prompt with hard turn budget 465 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Fec Design Token Mapper
Use this subagent to map styles and variables in Figma, Sketch, MasterGo, Pixso, Mokou, or Mockup to existing
Component Taxonomy Mapper
Maps the component inventory - React/Vue/Svelte components, design patterns, reuse opportunities - to .design/
Canvas To Code Extractor
Decodes any design-source HTML (Claude Design bundle, Figma Export-to-Code, V0, Lovable, Webflow, generic HTML
Figma Discovery
Explore and map the current state of a Figma document. Use when the target has 8+ variants, unknown tree depth
Frontend Figma Layout Designer
Specialized front-end layout designer. Use when the user pastes raw HTML and CSS exported from Figma and wants
Reproducer
Walks the UI as the affected user. Two phases — reproduction (top of pipeline) and validation (after the fix l
Related Skills
Triage Open Pull Requests
Review, label, and act on all open PRs for a repository using parallel review agents. Produces a grouped triag
Metadata Extractor
Scaffold a custom Alfresco metadata extractor/embedder (extending AbstractMappingMetadataExtracter) with a pro
Ocha Claude Skills BDU
OCHA Brand and Design Unit skills for Claude Code — visual identity, dataviz, mapping, humanitarian icons, edi