framer-dalton
v0.0.20
Published
CLI and agent skills for interacting with Framer projects via the Framer Server API.
Maintainers
Keywords
Readme
Framer Agent CLI
CLI and agent skills for interacting with Framer projects via the Framer Server API.
Installation
Install or refresh the globally available skills:
npx framer-dalton@latest setupThat installs skills into ~/.agents/skills and ~/.claude/skills.
How It Works
The CLI and the installed skills are meant to work together. There are three skills:
framer- the base skill that explains how to use the CLI and the API in general.framer-code-components- explains specific prompts for how to write code components and provides examples.framer-canvas-editing-project-<project id>- a dynamically-created skill that explains how to canvas edit and includes project context.
- Running
npx framer-dalton@latest setupwill install the baseframerandframer-code-componentskills. - The frontmatter of
framer-code-componentstells agents to always loadframerfirst. - The frontmatter of
framertells agents to runnpx framer-dalton@latest setupBEFORE loading the skill. This command will auto-update the cli and update the skill files. - Creating a new session for a project will create a
framer-canvas-editing-project-<project id>file. This file contains the latest agent system prompt fromframer.getAgentSystemPromptand the latest project context fromframer.getAgentContext. Agents are told not to load this skill until after creating a session.
Local Development
See the CONTRIBUTING.md file in this repository for local development instructions.
