ccg-workflow
How to run a non-trivial change end to end with the CCG role tools (ccg_analyze / ccg_design…
Frontend design skill fused from Impeccable + custom extensions. Covers design philosophy, anti-AI-slop patterns, typography, color (OKLCH), spatial design, motion, interaction, responsive, UX writing, state management, engineering, and 4 style variants. Includes 20 command
$ npx -y skills add fengshao1227/ccg-workflow --skill frontend-design --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/frontend-designContext preview
The summary Claude sees to decide when to auto-load this skill.
Frontend design skill fused from Impeccable + custom extensions. Covers design philosophy, anti-AI-slop patterns, typography, color (OKLCH), spatial design, motion, interaction, responsive, UX writing, state management, engineering, and 4 style variants. Includes 20 command
name: frontend-design description: "Frontend design skill fused from Impeccable + custom extensions. Covers design philosophy, anti-AI-slop patterns, typography, color (OKLCH), spatial design, motion, interaction, responsive, UX writing, state management, engineering, and 4 style variants. Includes 20 command skills for audit/critique/polish/animate/etc." license: "Apache 2.0 (Impeccable) + MIT (custom extensions)" user-invocable: true disable-model-invocation: false
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. It fuses [Impeccable](https://github.com/pbakaus/impeccable) design philosophy with extended knowledge on state management, engineering, and design style systems.
---
Design skills produce generic output without project context. You MUST have confirmed design context before doing any design work.
**Required context** — every design skill needs at minimum:
**Gathering order:** 1. **Check current instructions (instant)**: If your loaded instructions already contain a **Design Context** section, proceed immediately. 2. **Check .impeccable.md (fast)**: If not in instructions, read `.impeccable.md` from the project root. If it exists and contains the required context, proceed. 3. **Gather it now (REQUIRED)**: If neither source has context, ask the user for the three items above before doing anything else. Do NOT skip this step and do NOT infer context from the codebase instead. Once gathered, offer to save it to `.impeccable.md` at the project root so future sessions skip straight to step 2. (The detailed intake playbook lives at `impeccable/teach-impeccable/SKILL.md`.)
---
Commit to a BOLD aesthetic direction:
**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work — the key is intentionality, not intensity.
---
> *Consult [typography reference](reference/typography.md) for scales, pairing, and loading strategies.*
Choose fonts that are beautiful, unique, and interesting. Pair a distinctive display font with a refined body font.
**DO**: Use a modular type scale with fluid sizing (clamp) for display text; fixed rem scales for app UIs **DO**: Vary font weights and sizes to create clear visual hierarchy **DON'T**: Use overused fonts — Inter, Roboto, Arial, Open Sans, system defaults **DON'T**: Use monospace typography as lazy shorthand for "technical/developer" vibes **DON'T**: Put large icons with rounded corners above every heading — they rarely add value
> *Consult [color reference](reference/color-and-contrast.md) for OKLCH, palettes, and dark mode.*
Commit to a cohesive palette. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
**DO**: Use OKLCH (not HSL) for perceptually uniform, maintainable palettes **DO**: Tint your neutrals toward your brand hue — even a subtle hint creates subconscious cohesion **DON'T**: Use gray text on colored backgrounds — use a shade of the background color instead **DON'T**: Use pure black (#000) or pure white (#fff) — always tint **DON'T**: Use the AI color palette: cyan-on-dark, purple-to-blue gradients, neon accents on dark backgrounds **DON'T**: Use gradient text for "impact" — it's decorative rather than meaningful **DON'T**: Default to dark mode with glowing accents
> *Consult [spatial reference](reference/spatial-design.md) for grids, rhythm, and container queries.*
**DO**: Create visual rhythm through varied spacing — tight groupings, generous separations **DO**: Use fluid spacing with clamp() that breathes on larger screens **DO**: Use asymmetry and unexpected compositions; break the grid intentionally **DON'T**: Wrap everything in cards — not everything needs a container **DON'T**: Nest cards inside cards — flatten the hierarchy **DON'T**: Use identical card grids — same-sized cards with icon + heading + text, repeated endlessly **DON'T**: Center everything — left-aligned text with asymmetric layouts feels more designed **DON'T**: Use the same spacing everywhere — without rhythm, layouts feel monotonous
**DO**: Use intentional, purposeful decorative elements that reinforce brand **DON'T**: Use glassmorphism everywhere — blur effects used decoratively rather than purposefully **DON'T**: Use rounded elements with thick colored border on one side — a lazy accent **DON'T**: Use sparklines as decoration — tiny charts that convey nothing meaningful **DON'T**: Use rounded rectangles with generic drop shadows — safe, forgettable **DON'T**: Use modals unless there's truly no better alternative
> *Consult [motion reference](reference/motion-design.md) for timing, easing, and reduced motion.*
**DO**: Use motion to convey state changes — entrances, exits, feedback **DO**: Use exponential easing (ease-out-quart/quint/expo) for natural deceleration **DO**: For height animations, use grid-template-rows transitions **DON'T**: Animate layout properties (width, height, padding, margin) — use transform and opacity only **DON'T**: Use bounce or elastic easing — they feel dated and tacky
多模型协作工作流引擎 — /ccg:go 一个命令,AI 自动分析意图、选择策略、编排 Codex + Gemini + Claude 协作执行
Repo: fengshao1227/ccg-workflow
How to run a non-trivial change end to end with the CCG role tools (ccg_analyze / ccg_design…
变更校验关卡。分析代码变更,检测文档同步状态,评估变更影响范围。当用户提到变更检查、文档同步、代码审查、提交前检查、diff分析时使用。在设计级变更、重构完成时自动触发。
模块完整性校验关卡。扫描目录结构、检测缺失文档、验证代码与文档同步。当用户提到模块校验、文档检查、结构完整性、README检查、DESIGN检查时使用。在新建模块完成时自动触发。
代码质量校验关卡。检测复杂度、重复代码、命名规范、函数长度等质量指标。当用户提到代码质量、复杂度检查、代码异味、重构建议、lint检查、代码规范时使用。在复杂模块、重构完成时自动触发。
安全校验关卡。自动扫描代码安全漏洞,检测危险模式,确保安全决策有文档记录。当用户提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变…