Root AGENTS.md becomes a map plus cross-cutting rules; folder rules live in one AGENTS.md per package and top-level folder, checked by check:docs. CONTRIBUTING.md owns process; README and the docs page link to it. Release preparation copies the root LICENSE into every published package, Core, CLI, and MCP gain READMEs, and the release workflow test packs its fixture in-process instead of through npm.
699 B
699 B
CLI
Headless .fig inspection, export, linting, and scripting with citty. bun open-pencil --help lists current commands.
- Format all output with the
agentfmthelpers re-exported frompackages/cli/src/format.ts; do not hand-roll terminal formatting. - Data and inspection commands support
--json. - Commands own their CLI UX independently of tools;
evalexposes operations throughFigmaAPI(packages/core/AGENTS.md, Figma API). Keep the public docs underpackages/docs/programmable/cli/and the skill examples current when commands change. - The MCP
--rootdefault is the current directory on macOS and Linux and the home directory on Windows; seepackages/mcp/AGENTS.md.