.facet file ready to publish or share. Install the CLI first: see Setup.
Scaffold a new facet
Pass the assets you want and the CLI writes the manifest plus a starter file for each:Understand the manifest
facet.json is the source of truth for what the facet contains:facet.json
description and may carry optional adapters metadata. A facet needs at least one asset, which can be an MCP server instead. The full schema lives in the manifest specification.Ship supporting files
The top-levelfiles array declares supplementary files such as README.md or LICENSE. They ship in the archive and are integrity-protected, but never install onto disk. A skill can declare its own files, which install and remove with it:facet.json
skills/, and a skill’s paths are relative to its own directory and cannot list SKILL.md. Binary and empty files are fine.For routine manifest changes, use facet modify:Write your content
Replace each starter file with your own markdown.skills/code-review/SKILL.md holds reusable guidelines, following the Agent Skills specification:agents/reviewer.md is the agent’s system prompt:commands/review-pr.md is a workflow the user invokes:name and description are merged over it. Set metadata with facet modify rather than in front matter.Verify, then build
Validate without producing an artifact:@acme/my-facet writes to dist/@acme/my-facet-0.0.0.facet. See facet build.Keep editing
facet modifymakes one scriptable change at a time. This is the fastest path.facet editis an interactive workbench that also reconcilesfacet.jsonwith files you added, renamed, or removed on disk.
facet build --verify to confirm the facet still builds.