gsmlg-dev/code-agent/duskmoon-elements
Claude Code and agent skill by gsmlg-dev/code-agent
- community
Checking that the SKILL.md file is still in the repository.
Use the DuskMoon Elements custom element library (`<el-dm-*>` web components). Use when building web pages or apps with DuskMoon elements, registering elements, setting properties/attributes, listening to events, using slots, applying themes, or styling with CSS custom properties. Covers all 44 element packages (button, card, input, dialog, table, tabs, markdown-input, code-block, pro-data-grid, circle-menu, and more).
Install
npx vskill@latest install gsmlg-dev/code-agent/duskmoon-elementsSKILL.md
DuskMoon Elements
44 custom element packages built on @duskmoon-dev/el-base. Each element is a standard Web Component with Shadow DOM.
Installation
Registration
Usage in HTML
Properties & Attributes
Set via HTML attributes (kebab-case) or JS properties (camelCase). Properties with reflect: true sync both directions.
Common properties across elements:
| Property | Type | Description | |
|---|---|---|---|
variant | String | Visual variant (filled, outlined, soft, text, ghost) | |
color | String | Color theme (primary, secondary, success, warning, error, info) | |
size | String | Size (sm, md, lg) | |
disabled | Boolean | Disable interaction |
Complex data (arrays, objects) must be set via JS — use attribute: false:
Events
Listen with addEventListener. Events bubble and are composed (cross shadow DOM).
Common events:
| Element | Event | Detail | |
|---|---|---|---|
| dialog | open, close | — | |
| table | sort | { column, direction } | |
| table | select | { selectedIds, selectedRows } | |
| table | page-change | { page, pageSize } | |
| pagination | page-change | { page } | |
| tabs | tab-change | { index, tab } | |
| input | dm-input, dm-change | { value } |
Slots
Named slots project light DOM content into the element's shadow DOM.
Common slots: (default), header, footer, prefix, suffix, empty, actions.
CSS Parts
Style shadow DOM internals from outside using ::part():
Theming
Elements use CSS custom properties from @duskmoon-dev/el-base. Apply a preset theme:
Override individual variables:
Key variables: --color-primary, --color-surface, --color-on-surface, --color-outline, --color-surface-container.
See references/core-api.md for full CSS variable list.
Batched Rendering
Property changes are batched via queueMicrotask. Multiple changes in the same tick produce a single re-render:
References
- Element catalog — all 44 packages by category with class names
- Core API — BaseElement API, mixins, style utilities, CSS variables, themes, validation
For CSS art elements (<el-dm-art-*>), see the duskmoon-art-elements skill.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/duskmoon-ui/skills/duskmoon-elements/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gsmlg-dev/code-agent/duskmoon-elements)