Skip to content

feat: skill for web component#738

Draft
castastrophe wants to merge 2 commits into
mainfrom
web-components-skill
Draft

feat: skill for web component#738
castastrophe wants to merge 2 commits into
mainfrom
web-components-skill

Conversation

@castastrophe

Copy link
Copy Markdown
Contributor

Summary

  • First pass at constructing a web-components skill.
  • Added a structured layout grouping content into several sections with details in subheadings.
  • Drafted several code examples.
  • Incorporated citations and references.

Still in-progress but please do add your feedback!

@jamesnw jamesnw linked an issue May 11, 2026 that may be closed by this pull request
@castastrophe castastrophe force-pushed the web-components-skill branch 2 times, most recently from 5bdee1f to 2cdfdcb Compare May 12, 2026 15:36
@castastrophe castastrophe force-pushed the web-components-skill branch from 2cdfdcb to 3b65d7b Compare May 31, 2026 18:52
@castastrophe castastrophe force-pushed the web-components-skill branch from 9dee72b to 30e1f4f Compare June 8, 2026 14:45
First pass at documenting best practices and decision frameworks around building out custom elements.
Reorganize the draft into split-ready, self-contained sections that each
map 1:1 to a potential standalone guide:

- Trim Custom Elements to lead with common pitfalls (upgrade timing,
  :defined, reflection loops, observedAttributes discipline)
- Merge HTML Templates & Slots into Shadow DOM; add slotchange coverage
- Add a Declarative Shadow DOM section (SSR, hydration timing, FOUC)
- Split Semantics/Accessibility/Forms into Form-Associated Custom
  Elements and Accessibility
- Expand Styling coverage (:host-context, exportparts, @layer,
  container queries)
- Slim the TOC and remove cross-section references
@castastrophe castastrophe force-pushed the web-components-skill branch from 30e1f4f to b21d2a4 Compare June 8, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a high-level Web Components skill

2 participants