lidge-jun/codexclaw / plugins/codexclaw/skills/dev-frontend
cxc-dev-frontend
UnverifiedUse for frontend code and UI fixes. Triggers: CSS, responsive, animation, React, Vue, Svelte, Tailwind, redesign, anti-slop, 프론트엔드, UI 작업, 반응형, 디자인 수정.
scripts/README.md
View on GitHub# Scripts
Utility scripts for React/artifact-based frontend projects.
## Available Scripts
### `init-artifact.sh`
Initializes a new React + TypeScript + Tailwind project aligned with [platform rules](../references/core/platform-runtime.md#12-frontend-platform-rules).
```bash
bash scripts/init-artifact.sh <project-name>
cd <project-name>
```
Creates:
- React 19 + TypeScript via Vite 8 (Rolldown/Oxc default)
- Tailwind CSS v4 through `@tailwindcss/vite`
- CSS-first theme tokens in `src/index.css`
- Path aliases (`@/`) configured
- `cn()` utility and `components.json` compatible with shadcn/ui
- A minimal responsive app with loading, empty, and success state examples
Requirements:
- Node.js 20.19+ or 22.12+
- pnpm
### `bundle-artifact.sh`
Bundles a React app into a single self-contained HTML file.
```bash
bash scripts/bundle-artifact.sh
```
Creates `bundle.html` with all JS, CSS, and dependencies inlined.
**Requirements**: `index.html` in project root.
### `shadcn-components.tar.gz`
Legacy pre-packaged shadcn/ui components. The current scaffold does not extract it by default because Tailwind v4 projects should follow local registry and CSS-token conventions.
## When to Use
- **React/Next.js artifacts**: Use `init-artifact.sh` to scaffold, `bundle-artifact.sh` to package
- **Vanilla HTML**: Not needed — output single `.html` file directly
- **Svelte/Vue**: Not applicable — use framework-specific scaffolding
## Note on Framework Agnosticism
These scripts are React-specific. For other stacks:
- **Next.js**: Use `npx create-next-app@latest`
- **Svelte**: Use `npx sv create`
- **Vue**: Use `npm create vue@latest`
- **Vanilla**: No scaffolding needed — single file output
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |