openpencil/packages/cli/AGENTS.md
Danila Poyarkov b0231927c5
docs: route contributors through per-domain guides and ship npm license text (#785)
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.
2026-09-29 01:02:06 +04:00

699 B

CLI

Headless .fig inspection, export, linting, and scripting with citty. bun open-pencil --help lists current commands.

  • Format all output with the agentfmt helpers re-exported from packages/cli/src/format.ts; do not hand-roll terminal formatting.
  • Data and inspection commands support --json.
  • Commands own their CLI UX independently of tools; eval exposes operations through FigmaAPI (packages/core/AGENTS.md, Figma API). Keep the public docs under packages/docs/programmable/cli/ and the skill examples current when commands change.
  • The MCP --root default is the current directory on macOS and Linux and the home directory on Windows; see packages/mcp/AGENTS.md.