docs(webkit): codify Show code pattern + flat-import rule#665
Merged
Conversation
storybook-write skill: document the copy-paste-ready 'Show code' transform, now in the current repo format (stories under stories/components, title Components/<Category>/<Name>, direct `@aziontech/webkit/<name>` imports, /i on the SFC-detector regex). Adds .claude/rules/imports.md codifying the flat public export name (category lives in the folder + story title, not the import).
robsongajunior
requested changes
Jun 25, 2026
robsongajunior
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documentation/convention PR, rebuilt on top of
dev. Supersedes #658.apps/storybook/src/stories/components/…,title: 'Components/<Category>/<Name>', direct@aziontech/webkit/<name>imports, and the SFC-detector regex uses/i(so generated stories don't trip CodeQL'sjs/bad-tag-filter)..claude/rules/imports.md— codifies the flat public export name:@aziontech/webkit/<name>, never a category-prefixed@aziontech/webkit/<category>/<name>. The category stays in the source folder and the Storybook title. This is the convention applied across [ENG-46313] feat(webkit): add Skeleton loading placeholder (feedback) #662/[ENG-46314] feat(webkit): add Badge (content) #663/[ENG-46310] feat(webkit): add Chip (inputs) #664 and requested in the [ENG-46313] feat(webkit): add Skeleton loading placeholder (feedback) #655 review.Notes
Replaces #658, branched from
main(pre-dev-reorg).