Acceptance Criteria
- A template-authoring guide covers the manifest, the framework × purpose model, scaffold-copy semantics, the
asset: scheme, and bundling a sandbox - A theme-authoring update covers the framework-agnostic default +
--target (ADR-024) - A plugin-authoring pointer + a preset-pack guide cover the
scope vocabulary, the JSON carrier + $schema, the dual preset/tint role, and compatibility (tunedFor) semantics - Each
create-refrakt --type kind is documented with a worked example, and the ADR-023 peerDeps/compat convention is explained
Approach
Extend site/content/extend/* (theme-authoring, plugin-authoring) and add a template-authoring + preset-pack-authoring guide. Land after the formats exist so examples are accurate.
Dependencies
- WORK-449 — plugin scaffold
- WORK-450 — theme scaffold default
- WORK-451 — template format
- WORK-456 — preset-pack format
References
- SPEC-109; SPEC-111; SPEC-116;
site/content/extend/*
Resolution
Completed: 2026-06-24
Branch: claude/v0.25.0-impl-3
What was done
- New
site/content/extend/distributing/ section: index.md (four-layer overview, the create-refrakt --type kinds with worked examples, the ADR-023 peerDeps/compat convention, and the install commands), templates.md (manifest, framework×purpose model, scaffold-copy semantics, the asset: scheme, bundled sandboxes, theme-portability), preset-packs.md (scope vocabulary, JSON carrier + $schema, tunedFor compatibility, the dual preset/tint role). - Theme-authoring
overview.md: a "Framework-agnostic by default (ADR-024)" section covering the default + --target svelte opt-in. - Plugin-authoring
authoring.md: a "Scaffolding a plugin" note. - Updated the sandbox config doc (
sites.md) to sandbox.dir (ADR-022) — also closes WORK-463's docs criterion.