Token导航 LogoToken导航TokenDH.com
前端设计权限需确认github未标认证来源可访问许可证需确认审计通过

duskmoon-dev-css-artduskmoon DEV CSS ART 命令行

Agent Skill

duskmoon-dev-css-art 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

356

周安装

15

GitHub Stars

公开资料未说明

下载量

125
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:duskmoon-dev-css-art(duskmoon DEV CSS ART 命令行)
来源仓库:https://github.com/gsmlg-dev/code-agent
仓库路径:skills/duskmoon-dev-css-art
安装命令:
npx skills add https://github.com/gsmlg-dev/code-agent --skill duskmoon-dev-css-art
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/gsmlg-dev/code-agent --skill duskmoon-dev-css-art

简介

纯 CSS 绘制的装饰插画组件集合,完全脱离图像资源依赖。

  • 每个作品都是独立的 CSS 类,具备高度可定制特性。
  • 可与 @duskmoon-dev/core 组件库协同使用而不产生样式冲突。
  • 安装方式:通过 npx skills add 命令从 GitHub 仓库安装。
  • 注意:所有样式封装在 css-art 图层内,保证命名空间隔离安全性。

SKILL.md

@duskmoon-dev/css-art Skill

Overview

@duskmoon-dev/css-art is a pure CSS art component library — decorative illustrations built entirely with CSS. No images, no SVGs, no JavaScript. Each art piece is a self-contained CSS class with customizable properties.

Installation

# Bun
bun add @duskmoon-dev/css-art

# npm
npm install @duskmoon-dev/css-art

# pnpm
pnpm add @duskmoon-dev/css-art

Setup

CSS Import

@import "@duskmoon-dev/css-art";

All art styles are wrapped in @layer css-art {}, so they won't conflict with @duskmoon-dev/core's @layer components {}.

Using with @duskmoon-dev/core

@import "tailwindcss";
@import "@duskmoon-dev/core";
@import "@duskmoon-dev/css-art";

Available Art Components

Celestial

  • art-moon — Moon with craters, crescent variant, and animated glow

- Variants: art-moon-crescent, art-moon-glow - Sizes: art-moon-sm (4rem), default (8rem), art-moon-lg (12rem), art-moon-xl (16rem) - Custom properties: --art-moon-size, --art-moon-color, --art-moon-shadow, --art-moon-glow

  • art-sun — Sun with radial gradient, spinning rays, and pulse animation

- Variants: art-sun-rays, art-sun-sunset, art-sun-pulse - Sizes: art-sun-sm (4rem), default (8rem), art-sun-lg (12rem), art-sun-xl (16rem) - Custom properties: --art-sun-size, --art-sun-color, --art-sun-corona, --art-sun-glow

  • art-atom — Animated atom with three orbiting electrons and pulsing nucleus

- Sizes: art-atom-sm (180px), default (360px), art-atom-lg (480px) - Children: .electron, .electron-alpha, .electron-omega — three electron orbits - Custom properties: --art-atom-size, --art-atom-color, --art-atom-electron-color, --art-atom-speed

  • art-eclipse — Solar eclipse with six animated corona layers

- Sizes: art-eclipse-sm (300px), default (600px), art-eclipse-lg (800px) - Children: .layer.layer-1 through .layer.layer-6 — six corona layers - Custom properties: --art-eclipse-size, --art-eclipse-bg

Landscape

  • art-mountain — Mountain peak with snow cap, range variant with multiple peaks

- Variants: art-mountain-range, art-mountain-sunset, art-mountain-forest - Sizes: art-mountain-sm (10rem×6rem), default (16rem×10rem), art-mountain-lg (24rem×15rem) - Children (range): .art-peak — individual peaks within a range - Custom properties: --art-mountain-width, --art-mountain-height, --art-mountain-color, --art-mountain-shadow, --art-mountain-snow

Weather

  • art-snowflake — Snowflake dot with optional Unicode character variant

- Variants: art-snowflake-unicode (❆ character), art-snowflake-fall (falling animation) - Custom properties: --art-snowflake-size, --art-snowflake-color, --art-snowflake-duration

Interactive

  • art-plasma-ball — Interactive plasma ball with glass sphere, electrode, electric rays, and toggle switch

- Sizes: art-plasma-ball-sm (200px), default (350px), art-plasma-ball-lg (500px) - Uses input:checked CSS selectors for toggle behavior (no JS required) - Children: input.switcher, .glassball, .electrode, .rays, .ray, .base, .switch - Custom properties: --art-plasma-ball-size, --art-plasma-ball-base-color

  • art-circular-gallery — CSS anchor-positioned circular gallery with 20 rotating card thumbnails

- Sizes: art-circular-gallery-sm (400px), default (600px), art-circular-gallery-lg (800px) - Children: h1 (center title), div elements (one per card) with data-title attribute, a > img (card thumbnail) - Uses CSS offset-path, position-anchor, and :target for hover/selection behavior — no JS - Custom properties: --art-circular-gallery-size, --art-circular-gallery-radius, --art-circular-gallery-card-width

Scenes

  • art-cat-stargazer — A cat in a spacesuit gazing at the night sky with stars and a glowing moon

- Sizes: art-cat-stargazer-sm (300px), default (500px), art-cat-stargazer-lg (700px) - Children: .moon, .cat, .cat.bubble, .cat.backpack, .cat.tail, .cat.body, .cat.ear, .cat.head - Custom properties: --art-cat-stargazer-size

  • art-flower-animation — Blooming flowers with grass, light particles, and floating heart bubbles against a night sky

- Sizes: art-flower-animation-sm (300px), default (600px), art-flower-animation-lg (900px) - Children: .night, .flowers, .flower.flower--1 through .flower--4, .bubbles, .bubble - Custom properties: --art-flower-animation-size, --art-flower-animation-bg

Abstract / Generative

  • art-color-spin — 3D spinning Olympic-style color rings with reflections and perspective

- Sizes: art-color-spin-sm (385px), default (770px), art-color-spin-lg (1000px) - Children: ul (required container), ul > li × 4 (one per ring) - Custom properties: --art-color-spin-size, --art-color-spin-color1 through --art-color-spin-color4

  • art-synthwave-starfield — Synthwave-aesthetic 3D starfield tunnel with neon grid walls and animated stars

- Sizes: art-synthwave-starfield-sm (300px), default (600px), art-synthwave-starfield-lg (900px) - Modifier: art-synthwave-starfield-paused — pauses all animations - Children: .art-synthwave-starfield-sides.art-synthwave-starfield-lefrig, .art-synthwave-starfield-sides.art-synthwave-starfield-topbot, .art-synthwave-starfield-stars (×2) - Custom properties: --art-synthwave-starfield-size, --art-synthwave-starfield-line-color

Gaming

  • art-csswitch — CSS-only game controller switch (Nintendo Switch inspired)

- Sizes: art-csswitch-sm, default, art-csswitch-lg - Children: complex controller structure with .controller, .joycon-left, .joycon-right, .frame, .main-frame, .mushroom, .direction, .bar, .logo, .light - Custom properties: --art-csswitch-size, --color, --color-shadow, --joycon-left, --joycon-left-shadow, --joycon-right, --joycon-right-shadow

Loading

  • art-snowball-preloader — Animated snowball loading spinner with orbital rings

- Sizes: art-snowball-preloader-sm, default, art-snowball-preloader-lg - Children: .art-snowball-preloader-ball, .art-snowball-preloader-ball-texture, .art-snowball-preloader-ball-inner-shadow, .art-snowball-preloader-ball-outer-shadow, .art-snowball-preloader-ball-side-shadows, .art-snowball-preloader-inner-ring, .art-snowball-preloader-outer-ring, .art-snowball-preloader-track-cover - Custom properties: --art-snowball-preloader-size, --art-snowball-preloader-bg

UI Components

  • art-gemini-input — Gemini-style animated conic-gradient border with glow halo on a textarea input

- Sizes: art-gemini-input-sm (280px), default (450px), art-gemini-input-lg (640px) - Children: .art-gemini-input-border, .art-gemini-input-inner, .art-gemini-input-btn, .art-gemini-input-field (textarea) - Custom properties: --art-gemini-input-width, --art-gemini-input-border-size, --art-gemini-input-gradient

Usage Examples

Basic Moon

<div class="art-moon"></div>

Crescent Moon with Glow

<div class="art-moon art-moon-crescent art-moon-glow"></div>

Sun with Animated Rays

<div class="art-sun art-sun-rays"></div>

Sunset Sun

<div class="art-sun art-sun-sunset art-sun-rays"></div>

Single Mountain

<div class="art-mountain"></div>

Mountain Range

<div class="art-mountain-range">
  <div class="art-peak"></div>
  <div class="art-peak"></div>
  <div class="art-peak"></div>
</div>

Atom

<div class="art-atom">
  <div class="electron"></div>
  <div class="electron-alpha"></div>
  <div class="electron-omega"></div>
</div>

Eclipse

<div class="art-eclipse">
  <div class="layer layer-1"></div>
  <div class="layer layer-2"></div>
  <div class="layer layer-3"></div>
  <div class="layer layer-4"></div>
  <div class="layer layer-5"></div>
  <div class="layer layer-6"></div>
</div>

Snowflakes

<!-- Simple dot snowflake -->
<div class="art-snowflake art-snowflake-fall"></div>

<!-- Unicode snowflake character -->
<div class="art-snowflake art-snowflake-unicode art-snowflake-fall"></div>

Plasma Ball (Interactive)

<div class="art-plasma-ball">
  <input class="switcher" type="checkbox" />
  <div class="glassball">
    <div class="electrode"></div>
    <div class="rays">
      <div class="ray"><span></span><span></span><span></span></div>
      <div class="ray bigwave"><span></span><span></span></div>
      <div class="ray"><span></span><span></span><span></span></div>
      <div class="ray bigwave"><span></span><span></span></div>
      <div class="ray"><span></span><span></span><span></span></div>
    </div>
    <!-- repeat .rays block 5 more times for full coverage -->
  </div>
  <div class="base"><div></div><div></div><span></span></div>
  <div class="switch"></div>
</div>

Cat Stargazer

<div class="art-cat-stargazer">
  <div class="moon"></div>
  <div class="cat">
    <div class="bubble"></div>
    <div class="backpack"></div>
    <div class="tail"></div>
    <div class="body">
      <div class="leg"></div>
      <div class="paw"></div><div class="paw"></div>
    </div>
    <div class="ear"></div><div class="ear"></div>
    <div class="head">
      <div class="whisker"></div><div class="whisker"></div>
      <div class="whisker"></div><div class="whisker"></div>
      <div class="nose"></div>
      <div class="eye"></div><div class="eye"></div>
    </div>
  </div>
</div>

Color Spin

<div class="art-color-spin">
  <ul>
    <li style="--i:1"></li>
    <li style="--i:2"></li>
    <li style="--i:3"></li>
    <li style="--i:4"></li>
  </ul>
</div>

Synthwave Starfield

<div class="art-synthwave-starfield">
  <div class="art-synthwave-starfield-sides art-synthwave-starfield-lefrig"></div>
  <div class="art-synthwave-starfield-sides art-synthwave-starfield-topbot"></div>
  <div class="art-synthwave-starfield-stars"></div>
  <div class="art-synthwave-starfield-stars"></div>
</div>

Circular Gallery

<div class="art-circular-gallery">
  <h1>Gallery</h1>
  <div style="--i:1" data-title="Photo 1"><a href="#item1"><img src="photo1.jpg" alt="Photo 1" /></a></div>
  <div style="--i:2" data-title="Photo 2"><a href="#item2"><img src="photo2.jpg" alt="Photo 2" /></a></div>
  <!-- repeat for up to 20 items -->
</div>

Flower Animation

<div class="art-flower-animation">
  <div class="night"></div>
  <div class="flowers">
    <div class="flower flower--1">
      <div class="flower__leafs flower__leafs--1">
        <div class="flower__leaf flower__leaf--1"></div>
        <div class="flower__leaf flower__leaf--2"></div>
        <div class="flower__leaf flower__leaf--3"></div>
        <div class="flower__leaf flower__leaf--4"></div>
        <div class="flower__white-circle"></div>
      </div>
      <div class="flower__line">
        <div class="flower__line__leaf flower__line__leaf--1"></div>
        <div class="flower__line__leaf flower__line__leaf--2"></div>
      </div>
    </div>
  </div>
</div>

Gemini Input

<div class="art-gemini-input">
  <div class="art-gemini-input-border"></div>
  <div class="art-gemini-input-inner">
    <button class="art-gemini-input-btn">+</button>
    <textarea class="art-gemini-input-field" placeholder="Ask Gemini..."></textarea>
    <button class="art-gemini-input-btn">▶</button>
  </div>
</div>

CSSwitch (Game Controller)

<div class="art-csswitch">
  <div class="controller">
    <div class="frame">
      <div class="main-frame"><!-- controller frame --></div>
    </div>
  </div>
</div>

Snowball Preloader

<div class="art-snowball-preloader">
  <div class="art-snowball-preloader-outer-ring"></div>
  <div class="art-snowball-preloader-inner-ring"></div>
  <div class="art-snowball-preloader-track-cover"></div>
  <div class="art-snowball-preloader-ball">
    <div class="art-snowball-preloader-ball-texture"></div>
    <div class="art-snowball-preloader-ball-outer-shadow"></div>
    <div class="art-snowball-preloader-ball-inner-shadow"></div>
    <div class="art-snowball-preloader-ball-side-shadows"></div>
  </div>
</div>

Custom Colors

Override CSS custom properties to customize any art piece:

<!-- Blue moon -->
<div class="art-moon" style="--art-moon-color: oklch(80% 0.08 240);"></div>

<!-- Custom-sized sun -->
<div class="art-sun" style="--art-sun-size: 6rem;"></div>

<!-- Green atom -->
<div class="art-atom" style="--art-atom-color: #00ff88;">
  <div class="electron"></div>
  <div class="electron-alpha"></div>
  <div class="electron-omega"></div>
</div>

Composing a Night Scene

<div style="background: oklch(15% 0.02 260); padding: 3rem; position: relative; overflow: hidden;">
  <div class="art-moon art-moon-crescent art-moon-glow" style="position: absolute; top: 1rem; right: 2rem;"></div>
  <div class="art-snowflake art-snowflake-fall" style="left: 20%; --art-snowflake-duration: 6s;"></div>
  <div class="art-snowflake art-snowflake-fall" style="left: 50%; --art-snowflake-duration: 4s; animation-delay: 1s;"></div>
  <div class="art-snowflake art-snowflake-fall" style="left: 80%; --art-snowflake-duration: 5s; animation-delay: 2s;"></div>
  <div class="art-mountain-range" style="position: absolute; bottom: 0;">
    <div class="art-peak"></div>
    <div class="art-peak"></div>
    <div class="art-peak"></div>
  </div>
</div>

CSS Architecture

  • All classes prefixed with .art- to avoid collisions
  • All custom properties prefixed with --art- for namespacing
  • Uses @layer css-art to avoid cascade conflicts with other libraries
  • Colors use OKLCH format for perceptual uniformity
  • Animations use @keyframes with art- prefixed names

Importing Individual Art Pieces

/* Import only what you need */
@import "@duskmoon-dev/css-art/art";

Development Commands

# Build css-art package
bun run build:css-art

# Watch mode
bun run dev:css-art

# Unit tests
cd packages/css-art && bun test tests/unit

Bundle Size

  • Unminified: ~50 KB
  • Minified: ~36 KB

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.95%
按下载量换算47

Claude

32.15%
按下载量换算40

Cursor

17.79%
按下载量换算22

Gemini CLI

10.1%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills