/duskmoon-ui:duskmoon-art-componentsfrom duskmoon-ui
Use this skill whenever adding CSS art illustrations to a React or Next.js app with @duskmoon-dev/art-components, choosing Art* wrapper components, wiring @duskmoon-dev/css-art styles, configuring art variants, or explaining how consumers should install and use the package. This skill is for package consumption, not for editing the package source.
Ships in duskmoon-ui. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use @duskmoon-dev/art-components for React wrappers around the external
@duskmoon-dev/css-art CSS illustrations.
bun add @duskmoon-dev/art-components @duskmoon-dev/css-art react react-dom
Import the stylesheet once at the app root:
import "@duskmoon-dev/art-components/styles.css";
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.
All wrappers are exported from the package root:
import { ArtMoon, ArtPlasmaBall } from "@duskmoon-dev/art-components";
The package also exports @duskmoon-dev/art-components/styles.css.
ArtMoonArtSunArtAtomArtEclipseArtMountainArtSnowflakeArtPlasmaBallArtCircularGalleryArtCatStargazerArtFlowerAnimationArtColorSpinArtSynthwaveStarfieldArtCsswitch / ArtCSSwitchArtSnowballPreloaderArtGeminiInputArtCircularGalleryItem is exported as a TypeScript item type for
ArtCircularGallery.
Decorative art:
import { ArtMoon, ArtSun } from "@duskmoon-dev/art-components";
export function HeaderArt() {
return (
<div>
<ArtMoon crescent glow size="lg" />
<ArtSun rays pulse size="sm" />
</div>
);
}
Accessible labeled art:
import { ArtAtom } from "@duskmoon-dev/art-components";
export function AtomLogo() {
return <ArtAtom decorative={false} aria-label="Orbiting atom logo" />;
}
Circular gallery:
import { ArtCircularGallery } from "@duskmoon-dev/art-components";
export function Gallery() {
return (
<ArtCircularGallery
title="Featured"
items={[
{ title: "Moon", src: "/moon.jpg" },
{ title: "Sun", src: "/sun.jpg", alt: "Sun illustration" },
]}
/>
);
}
Interactive plasma ball:
import { ArtPlasmaBall } from "@duskmoon-dev/art-components";
export function PlasmaSwitch() {
return (
<ArtPlasmaBall
defaultChecked
onCheckedChange={(checked) => console.log(checked)}
/>
);
}
size="sm" | "default" | "lg".ArtMoon and ArtSun also accept size="xl".ArtMoon supports crescent and glow.ArtSun supports rays, sunset, and pulse.ArtSnowflake supports unicode and fall.ArtPlasmaBall supports checked, defaultChecked, hideBase,
hideElectrode, inputProps, and onCheckedChange.ArtSynthwaveStarfield supports paused.ArtGeminiInput behaves like a styled textarea wrapper with optional
before/after buttons.All wrappers accept className, style, and CSS custom properties through
style.
decorative={false} plus aria-label, aria-labelledby, role, or
title when the art carries meaning.ArtPlasmaBall and ArtGeminiInput, pass
native input or textarea props for labels, names, disabled state, and form
integration.ArtCsswitch and its alias
ArtCSSwitch.@duskmoon-dev/css-art.packages/art-components/src/index.tsx,
packages/art-components/package.json, and
packages/art-components/tests/art-components.test.tsx before changing code.What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/cmd-check-phoenix-duskmoon-designAudit a Phoenix project for compliance with the DuskMoon design system/duskmoon-art-elementsUse the DuskMoon CSS Art Elements (`<el-dm-art-*>` web components). Use when adding pure CSS art animations to web pages — atom, moon, sun, plasma-ball, gemini-input, synthwave-starfield, and more. Covers all 15 CSS art packages, registration patterns, size variants, and the @layer stripping technique required for Shadow DOM compatibility./duskmoon-bundlerSetup and use DuskmoonBundler for Phoenix and Phoenix LiveView assets. Use when installing or configuring :duskmoon_bundler, :duskmoon_bundler_runtime, or duskmoon_npm; replacing esbuild, Tailwind CLI, Bun, npm, or yarn workflows; adding DuskmoonBundler.DevServer; defining named bundler profiles; wiring static_path or preload tags; building assets with mix duskmoon_bundler.build; installing packages with mix npm.install; or running JS/TS format and lint tasks.
Other plugins' skills for the same job
npx claudepluginhub gsmlg-dev/code-agent --plugin duskmoon-ui