Skip to content

Add AI skill for generating .examples.ts files #567

@lukasmatta

Description

@lukasmatta

We now have CodeExampleComponent wired up for a few components, but writing the .examples.ts files by hand for every remaining component is tedious and error-prone.

Add an AI skill to .github/skills/cps-examples-generator/ that, given a component page's HTML template and TS file, generates the corresponding examples.ts - extracting HTML and scoping TS snippets to each example block only.

Ref: #554

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions