feat(.ai): add consumer migration skill#6145
Conversation
|
3be2546 to
3dd84b6
Compare
📚 Branch Preview Links🔍 First Generation Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
…skill - The a11y migration analysis doc is a full authoring playbook, not a linting rule. Moves it from .ai/rules/ to .ai/skills/ with a SKILL.md that mirrors the component-migration-analysis skill structure. - Also fixes a stale .cursor/ path reference in component-migration-analysis/SKILL.md.
- Delete .cursor/README.md and .cursor/config.json - Delete all skill files under .cursor/skills/
There was a problem hiding this comment.
this just resolved linter issues with links
…tps://github.com/adobe/spectrum-web-components into marissahuysentruyt/feat-consumer-migration-skill
There was a problem hiding this comment.
allows the migration guides to get picked up
Co-authored-by: Cory Dransfeldt <445732+cdransf@users.noreply.github.com>
Description
Can be merged directly into feat-agnostic-ai-folder-stuff before or after the washing machine skills PR #6127 or #6139
Adds a consumer-facing migration guide for the Badge component, covering what changed between 1st-gen and 2nd-gen, how to update markup/attributes/slots, styling and customization changes, accessibility expectations, and rollout/testing guidance.
Also ships a reusable
.aiskill (consumer-migration-guide) so the same guide structure can be generated consistently for any other component going forward.Changes:
CONTRIBUTOR-DOCS/03_project-planning/03_components/badge/consumer-migration-guide.md: full consumer migration guide for Badge.ai/skills/consumer-migration-guide/SKILL.md: skill definition for generating per-component consumer migration guides.ai/skills/consumer-migration-guide/references/consumer-migration-guide-prompt.md: prompt.ai/README.md: updated to document the new skillCONTRIBUTOR-DOCS/03_project-planning/03_components/README.md: updated index2nd-gen/packages/swc/.storybook/preview.ts: minor updateMotivation and context
Application developers migrating from 1st-gen to 2nd-gen (for example,
sp-badgetoswc-badge) need practical, consumer-focused guidance that goes beyond internal implementation analysis. This doc covers the day-to-day upgrade path: what to search for, what to change, and how to validate the result. The skill ensures creating a migration guide for consumers is repeatable for every subsequent component migration.Related issue(s)
Screenshots (if appropriate)
Author's checklist
Reviewer's checklist
patch,minor, ormajorfeaturesManual review test cases
CONTRIBUTOR-DOCS/03_project-planning/03_components/badge/consumer-migration-guide.mdsp-badgeusage as input (maybe just try to plop it on the badge storybook docs page as a new story?)swc-badgewith no regressionsconsumer-migration-guideskill for a second component (e.g. status light)rendering-and-styling-migration-analysis.mdandaccessibility-migration-analysis.mdarepresent where those docs exist
Device review
Accessibility testing checklist
Required: Complete each applicable item and document your testing steps (replace the placeholders with your component-specific instructions).
Keyboard
documentation only
Screen reader
documentation only