Agent skill Frontend
DXE Modern CSS HTML
Build or refine reusable components for a web interface.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add kemiljk/skills --skill dxe-modern-css-html --agent claude-code --yesCheck this file in your project.claude/skills/dxe-modern-css-html/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add kemiljk/skills --skill dxe-modern-css-htmlSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. The reused card and its sidebar and main-column callers, existing styles, long fixture content and target browser versions.
View operation manualWhat this skill helps with
- Build or refine reusable components for a web interface.
Good for
- Component implementation
- Task
- Make an event card respond to its own container
- Requirements
- The reused card and its sidebar and main-column callers, existing styles, long fixture content and target browser versions.
- Deliverable
- A one-column CSS fallback and a width-aware two-column enhancement verified in Blink and WebKit.
- Skill name
dxe-modern-css-html- Repository
kemiljk/skills
Make the design work verifiable
An underspecified brief
Add a window resize handler so each card can choose a layout.
The two cards can need different layouts at the same viewport width. The containing box supplies the right input.
A result you can check
- Compare the narrow sidebar and wide content instances at the same width.
- Set the query container around the card and let its available width drive the columns.
- Check the narrow and wide cards together, then run without the enhancement.
DXE Modern CSS HTML operation manual
A one-column CSS fallback and a width-aware two-column enhancement verified in Blink and WebKit.
The reused card and its sidebar and main-column callers, existing styles, long fixture content and target browser versions.
Confirm the baseline and support targets
Compare the narrow sidebar and wide content instances at the same width.
Prompt · Step 1Use Karl Koch’s installed dxe-modern-css-html Skill and read its SKILL.md first. Read [event card and both usage contexts], [browser support requirements], and [bundled layout recipe]. Document the semantic title and event link, decide when a two-column layout helps, and check container-query support for the requested WebKit and Blink versions. Keep the default layout a readable single column.Add the scoped native layout enhancement
Set the query container around the card and let its available width drive the columns.
Prompt · Step 2Use Karl Koch’s installed dxe-modern-css-html Skill and read its SKILL.md first. In [card styling scope], implement the single-column default and a container query for the two-column arrangement at the agreed width. Set container-type: inline-size on a suitable wrapper. Keep the enhancement conditional and preserve native headings and links. Remove old sizing logic only after both existing placements work.Verify both engines and the baseline
Check the narrow and wide cards together, then run without the enhancement.
- Narrow and wide containers can choose different layouts in the same viewport.
- Both engines and the single-column fallback retain readable content and native interaction.
Prompt · Step 3Use Karl Koch’s installed dxe-modern-css-html Skill and read its SKILL.md first. In the available Blink and WebKit targets render the same event card in [narrow sidebar and wide main area] on one page. Verify the columns follow each container and long text and keyboard focus remain visible. Temporarily disable the query rules and verify both fall back to the usable single-column layout. Record actual browser versions and any missing checks.
Look up this workflow decision
Read the relevant section in the installed Skill.
An older target browser cannot use container queriesSKILL.md
- Command or reference
Browser support policy- Examples
- Keep the default one-column layout and make the wider layout an enhancement.
Troubleshooting
Can I infer Safari compatibility from one Chrome run?
Record which engines and versions actually ran. Blink and WebKit evidence each cover their tested targets.