gsmlg-dev/code-agent/duskmoon-components
Claude Code and agent skill by gsmlg-dev/code-agent
- community
Checking that the SKILL.md file is still in the repository.
Use this skill whenever building a React or Next.js UI with @duskmoon-dev/components, choosing DuskMoon React imports, wiring package styles, using standard components such as Button/Table/Form/Input, using Dm workflow components, or explaining how consumers should install and use the package. This skill is for package consumption, not for editing the package source.
Install
npx vskill@latest install gsmlg-dev/code-agent/duskmoon-componentsSKILL.md
DuskMoon Components Usage
Use @duskmoon-dev/components as the React component package for DuskMoon UI. It targets React 19 and depends on DuskMoon Core CSS through @duskmoon-dev/core.
Install
Import the stylesheet once at the app root:
For Next.js App Router, put the style import in app/layout.tsx or the root client entry. Do not import files from dist/ directly.
Import Pattern
Prefer subpath imports for feature code:
Root imports are valid when using several components or infrastructure helpers:
Other stable package subpaths include:
@duskmoon-dev/components/theme@duskmoon-dev/components/classes@duskmoon-dev/components/utils@duskmoon-dev/components/{component-id}, for example
@duskmoon-dev/components/date-picker
Common Component Examples
Button:
Input:
DmTable:
What To Reach For
- Use standard components for generic UI:
Button,Input,Form,Table,
Modal, Select, Tabs, Typography, and similar unprefixed exports.
- Use
Dm*workflow components for DuskMoon application patterns:
DmLayout, DmMenu, DmSearch, DmTable, DmProTable, DmToolbar, DmQuery, and related composite components.
- Use infrastructure exports for compatibility helpers:
theme,version,
unstableSetRender, getDmTheme, setDmPrimaryColor, setDmPrefixCls, and usePersistedPageSize.
Guidance For Agents
- Keep examples small and directly runnable.
- Include the stylesheet import when showing first-time setup.
- Prefer package exports over private file paths.
- Preserve DuskMoon names exactly:
DmTable,DmLayout,
setDmPrimaryColor, @duskmoon-dev/components/styles.css.
- Use React props shown by the package types; do not invent Ant Design-only
props unless they exist in this package.
- If the user is editing this repo's source rather than consuming the package,
inspect packages/components/src/components, packages/components/src/index.ts, and packages/components/package.json before changing code.
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 repositoryChecking.codex-plugin/plugins/duskmoon-ui/skills/duskmoon-components/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-components)