neubrutalism
Neubrutalism design system skill. Use when building bold UI with thick borders, offset solid shadows, high saturation colors, and minimal border radius.
Best use case
neubrutalism is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Neubrutalism design system skill. Use when building bold UI with thick borders, offset solid shadows, high saturation colors, and minimal border radius.
Teams using neubrutalism should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/neubrutalism/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How neubrutalism Compares
| Feature / Agent | neubrutalism | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Neubrutalism design system skill. Use when building bold UI with thick borders, offset solid shadows, high saturation colors, and minimal border radius.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Neubrutalism 设计规范
## 核心五要
1. **粗框** — `3–5px solid` 黑边
2. **硬影** — 零模糊 `box-shadow`(`5px 5px 0 #000`)
3. **高饱和** — 浓烈填色:粉、黄、蓝、绿
4. **锐角** — `border-radius` 0–8px
5. **纯平** — 无渐变、无模糊、无透明
## WCAG AA 配色参考
高饱和底色须验证文字对比度 ≥ 4.5:1。安全组合:
| 底色 | 文字色 | 对比度 |
|------|--------|--------|
| `#FFD600`(黄) | `#000` | 14.4:1 |
| `#FF6B9D`(粉) | `#000` | 6.2:1 |
| `#4ECDC4`(青) | `#000` | 8.6:1 |
| `#FF4444`(红) | `#fff` | 4.6:1 |
| `#2D2D2D`(深灰) | `#fff` | 12.6:1 |
避免:浅色底 + 白字、深饱和蓝底 + 黑字。
## CSS Tokens
`@import 'references/tokens.css';` — 详见 [references/tokens.css](references/tokens.css)
## 组件速查
共享:`border: var(--nb-border)` / `border-radius: var(--nb-radius)` / `font-family: var(--nb-font)`
```css
/* Card */
.nb-card { background: var(--nb-white); border: var(--nb-border-thick);
border-radius: var(--nb-radius); box-shadow: var(--nb-shadow); padding: 1.5rem; }
/* Button — hover 偏移放大影,active 归位消影 */
.nb-btn { background: var(--nb-yellow); box-shadow: var(--nb-shadow-sm);
padding: 0.6rem 1.4rem; font-weight: var(--nb-font-weight);
cursor: pointer; transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
.nb-btn:hover { transform: translate(-2px, -2px); box-shadow: var(--nb-shadow); }
.nb-btn:active { transform: translate(3px, 3px); box-shadow: none; }
.nb-btn:focus-visible { outline: 3px solid var(--nb-accent, #4ECDC4);
outline-offset: 2px; }
/* Navbar */
.nb-nav { background: var(--nb-bg); border-bottom: var(--nb-border-thick);
padding: 1rem 2rem; position: sticky; top: 0; z-index: 100; }
/* Input — focus 时影扩大 */
.nb-input { background: var(--nb-white); box-shadow: var(--nb-shadow-sm);
padding: 0.6rem 1rem; font-weight: var(--nb-font-weight-body); }
.nb-input:focus { outline: none; box-shadow: var(--nb-shadow); }
.nb-input:focus-visible { outline: 3px solid var(--nb-accent, #4ECDC4);
outline-offset: 2px; }
/* 表单验证态 */
.nb-input[aria-invalid="true"] { border-color: var(--nb-error, #FF4444);
box-shadow: 4px 4px 0 var(--nb-error, #FF4444); }
.nb-input:valid { border-color: var(--nb-success, #2ECC71); }
.nb-input:disabled { opacity: 0.5; cursor: not-allowed; }
/* Badge */
.nb-badge { background: var(--nb-pink); padding: 0.2rem 0.8rem;
font-weight: var(--nb-font-weight); font-size: 0.85rem; }
```
## 字体
粗体几何无衬线(Space Grotesk、Inter)。标题 `700`,正文 `500`,大写仅限标签。
```css
h1, h2, h3 { font-family: var(--nb-font-heading); font-weight: var(--nb-font-weight);
letter-spacing: var(--nb-letter-spacing); }
body { font-family: var(--nb-font); font-weight: var(--nb-font-weight-body); }
```
## 暗色模式
用语义 token 切换,勿直接交换黑白。
```css
[data-theme="dark"] {
--nb-bg: #1a1a2e;
--nb-surface: #2d2d44;
--nb-text: #f0f0f0;
--nb-border-color: #f0f0f0;
--nb-shadow-color: rgba(0,0,0,0.6);
}
/* 组件引用语义 token,暗色自动生效 */
.nb-card { background: var(--nb-surface); color: var(--nb-text);
border-color: var(--nb-border-color);
box-shadow: 5px 5px 0 var(--nb-shadow-color); }
```
## 无障碍
- 粗框利于弱视辨识;彩底文字须保 contrast ≥ 4.5:1
- `:focus-visible` 轮廓 ≥ 3px,与底色有足够反差
- `transition` 时长 ≥ `0.2s`(WCAG 2.2 最低可感知阈值)
```css
@media (prefers-reduced-motion: reduce) {
.nb-btn { transition: none; }
.nb-btn:hover, .nb-btn:active { transform: none; }
}Related Skills
name: parse-error
this is not frontmatter
multi-script
too many scripts
missing-description
No description provided.
invalid-tools
invalid tool name
clash-skill
second duplicate
review
Review skill. Read ~/.claude/skills/gstack/review/checklist.md before acting.
office-hours
Office hours skill. Uses ~/.claude/skills/gstack/bin/gstack-config.
codex
Should be skipped for codex host.
gstack
Root gstack skill. Uses ~/.claude/skills/gstack/bin helpers.
verify-security
安全校验关卡。自动扫描代码安全漏洞,检测危险模式,确保安全决策有文档记录。当魔尊提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变更、攻防任务、重构完成时自动触发。
verify-quality
代码质量校验关卡。检测复杂度、重复代码、命名规范、函数长度等质量指标。当魔尊提到代码质量、复杂度检查、代码异味、重构建议、lint检查、代码规范时使用。在复杂模块、重构完成时自动触发。
verify-module
模块完整性校验关卡。扫描目录结构、检测缺失文档、验证代码与文档同步。当魔尊提到模块校验、文档检查、结构完整性、README检查、DESIGN检查时使用。在新建模块完成时自动触发。