Skip to main content

neutronium

星标1
分支1
更新时间2026年7月27日 04:30

Execution rules and a visual-quality bar for all front-end work in an Astro + SolidJS + TypeScript codebase. Use this skill for ANY task that touches the UI or front-end files — creating or editing pages and components (.astro, .tsx), styles, forms, search/filter features, toggles, client state, animations, or front-end tests — even when the request never names the frameworks ("add a page", "wire up this form", "make it look better"). Also trigger on front-end symptoms: an element that renders but does nothing when clicked, layout shift while loading, janky motion, build/SSR errors like "window is not defined", or state that falls out of sync between components on a page. Always use it when refactoring or reviewing front-end code, especially anything written with React idioms (useState/useEffect, destructured props, className). Not for backend APIs, CI/tooling config, or React/Vue/Next codebases.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly