WORK-449
ID:WORK-449Status:ready

create-refrakt plugin scaffold

SPEC-116 §2 — --type plugin emits a package implementing Plugin (packages/types/src/package.ts) with one example rune that builds and renders under the identity transform out of the box.

Priority:mediumComplexity:moderateMilestone:v0.25.0Source:SPEC-116
claude/v0.25.0-workitems View source

Criteria completion

Criteria completion: 0 of 4 (0%) checked; tracking started on Jun 23, no incremental history yet0%25%50%75%100%Jun 23Jul 11

Tracking started Jun 23 — check back for trends.

Branches 4
History 1
  1. a6bdcba
    Created (ready)by bjornolofandersson

Acceptance Criteria

  • --type plugin emits a Plugin package: a runes/ dir with one example rune (createContentModelSchema + createComponentRenderable) and its theme.runes config entry
  • Includes a fixture and the package.json exports (plus a cli-plugin entry stub where relevant)
  • The example rune builds and renders under the identity transform with no hand-editing
  • Inherits the ADR-023 deps + day-one build wiring (WORK-448)

Approach

Add scaffoldPlugin dispatched from WORK-447. Model the example rune on a simple existing plugin rune (e.g. a definition-style block). Wire theme.runes so the engine styles it.

Dependencies

  • WORK-447--type dispatch
  • WORK-448 — deps + build wiring

References

  • SPEC-116 §2; packages/types/src/package.ts; plugin authoring guide