Each file here defines the prompt for one isolated sub-agent. The orchestrator (/component-create) invokes them via the Task tool, one phase at a time. A sub-agent sees only the prompt the orchestrator hands it — no conversation history, no other sub-agent's output, no chat memory. This is the structural guarantee…
Isolated sub-agent that re-reads every file written this run, parses props/events/slots/animations independently, and diffs against the spec. Cross-checks against validate-spec-compliance.mjs.
Isolated sub-agent that runs the Figma MCP read-only verbs on the target frame and emits a structured token JSON. Never decides anything, never maps to DESIGN.md.
Isolated sub-agent that writes the component .vue files + updates packages/webkit/package.json#exports. Strictly spec-bound; every prop/event/slot must come from the spec.
Isolated sub-agent that validates a .specs/ .md against schema, body rules, and the Constraints block. On pass, computes sha256(body), writes checksum, and flips status: draft → approved.
Scaffold a new webkit animation in the one correct place — the semantic animation catalog — so components never ship a component-local @keyframes or an off-catalog animate-[…]. Triggered by hand, or pointed at by validate-spec-compliance when a component uses an animate- that is not yet in the catalog.
Add one or more icons to @aziontech/icons — decides monochrome (font) vs colored (ai--cor), normalizes names, places the SVGs, rebuilds, and verifies they surface in the catalog, CSS, gallery, and Storybook.
Open a PR to main. Analyzes the diff to pick the Conventional Commit type/scope (drives the release-please bump), prompts for the related issue (optional), commits by context, pushes, and opens the PR.
Regenerate the Linux visual baselines for a PR branch in CI and land them on the branch. Never generate baselines locally — macOS rendering does not match the linux/ snapshots the PR visual gate (governance.yml → test:visual:ci) compares against.
Draft a .specs/ .md for a new webkit component interactively. Status starts at draft; review the file, mark status: approved, then run /component-create .
Runs before the agent uses a tool for Write, Edit, MultiEdit and Write tool calls, executing validate-tokens.mjs, validate-references.mjs, validate-story-source.mjs, validate-authoring.mjs, enforce-component-create.mjs and enforce-spec-exists.mjs via node (6 commands). From aziontech/webkit.
Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing validate-spec-compliance.mjs, enforce-test-exists.mjs and validate-authoring-docs.mjs via node (3 commands). From aziontech/webkit.
Scaffold a new webkit animation into the semantic catalog (semantic/animations.js) + record the Theme gap. Used when a component needs an animation the catalog lacks, instead of a component-local @keyframes or an off-catalog animate-[…].
Fix pnpm audit --audit-level=high failures by bumping the offending dependency to its patched version, with a semver-aware guardrail (patch = auto, minor = validate carefully, major = ALERT and ask). Identifies the owning monorepo project and emits a status report.