normalize

GitHub

审计并重构 UI,使其与设计系统标准、间距、令牌和模式保持一致。用于解决设计漂移、样式不匹配或恢复功能与系统对齐的场景。

templates/skills/impeccable/normalize/SKILL.md fengshao1227/ccg-workflow

Trigger Scenarios

用户提到一致性、设计漂移或不匹配的样式 需要使功能回归系统设计标准

Install

npx skills add fengshao1227/ccg-workflow --skill normalize -g -y
More Options

Non-standard path

npx skills add https://github.com/fengshao1227/ccg-workflow/tree/main/templates/skills/impeccable/normalize -g -y

Use without installing

npx skills use fengshao1227/ccg-workflow@normalize

指定 Agent (Claude Code)

npx skills add fengshao1227/ccg-workflow --skill normalize -a claude-code -g -y

安装 repo 全部 skill

npx skills add fengshao1227/ccg-workflow --all -g -y

预览 repo 内 skill

npx skills add fengshao1227/ccg-workflow --list

SKILL.md

Frontmatter
{
    "name": "normalize",
    "description": "Audits and realigns UI to match design system standards, spacing, tokens, and patterns. Use when the user mentions consistency, design drift, mismatched styles, tokens, or wants to bring a feature back in line with the system.",
    "argument-hint": "[feature (page, route, component...)]",
    "user-invocable": true
}

Analyze and redesign the feature to perfectly match our design system standards, aesthetics, and established patterns.

MANDATORY PREPARATION

Invoke /frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no design context exists yet, you MUST run /teach-impeccable first.


Plan

Before making changes, deeply understand the context:

  1. Discover the design system: Search for design system documentation, UI guidelines, component libraries, or style guides (grep for "design system", "ui guide", "style guide", etc.). Study it thoroughly until you understand:

    • Core design principles and aesthetic direction
    • Target audience and personas
    • Component patterns and conventions
    • Design tokens (colors, typography, spacing)

    CRITICAL: If something isn't clear, ask. Don't guess at design system principles.

  2. Analyze the current feature: Assess what works and what doesn't:

    • Where does it deviate from design system patterns?
    • Which inconsistencies are cosmetic vs. functional?
    • What's the root cause—missing tokens, one-off implementations, or conceptual misalignment?
  3. Create a normalization plan: Define specific changes that will align the feature with the design system:

    • Which components can be replaced with design system equivalents?
    • Which styles need to use design tokens instead of hard-coded values?
    • How can UX patterns match established user flows?

    IMPORTANT: Great design is effective design. Prioritize UX consistency and usability over visual polish alone. Think through the best possible experience for your use case and personas first.

Execute

Systematically address all inconsistencies across these dimensions:

  • Typography: Use design system fonts, sizes, weights, and line heights. Replace hard-coded values with typographic tokens or classes.
  • Color & Theme: Apply design system color tokens. Remove one-off color choices that break the palette.
  • Spacing & Layout: Use spacing tokens (margins, padding, gaps). Align with grid systems and layout patterns used elsewhere.
  • Components: Replace custom implementations with design system components. Ensure props and variants match established patterns.
  • Motion & Interaction: Match animation timing, easing, and interaction patterns to other features.
  • Responsive Behavior: Ensure breakpoints and responsive patterns align with design system standards.
  • Accessibility: Verify contrast ratios, focus states, ARIA labels match design system requirements.
  • Progressive Disclosure: Match information hierarchy and complexity management to established patterns.

NEVER:

  • Create new one-off components when design system equivalents exist
  • Hard-code values that should use design tokens
  • Introduce new patterns that diverge from the design system
  • Compromise accessibility for visual consistency

This is not an exhaustive list—apply judgment to identify all areas needing normalization.

Clean Up

After normalization, ensure code quality:

  • Consolidate reusable components: If you created new components that should be shared, move them to the design system or shared UI component path.
  • Remove orphaned code: Delete unused implementations, styles, or files made obsolete by normalization.
  • Verify quality: Lint, type-check, and test according to repository guidelines. Ensure normalization didn't introduce regressions.
  • Ensure DRYness: Look for duplication introduced during refactoring and consolidate.

Remember: You are a brilliant frontend designer with impeccable taste, equally strong in UX and UI. Your attention to detail and eye for end-to-end user experience is world class. Execute with precision and thoroughness.

Version History

  • cc8cc34 Current 2026-08-20 06:34

Same Skill Collection

.agents/skills/openspec-apply-change/SKILL.md
.agents/skills/openspec-archive-change/SKILL.md
.agents/skills/openspec-bulk-archive-change/SKILL.md
.agents/skills/openspec-continue-change/SKILL.md
.agents/skills/openspec-explore/SKILL.md
.agents/skills/openspec-ff-change/SKILL.md
.agents/skills/openspec-new-change/SKILL.md
.agents/skills/openspec-onboard/SKILL.md
.agents/skills/openspec-sync-specs/SKILL.md
.agents/skills/openspec-verify-change/SKILL.md
templates/skills/domains/ai/SKILL.md
templates/skills/domains/architecture/SKILL.md
templates/skills/domains/data-engineering/SKILL.md
templates/skills/domains/development/SKILL.md
templates/skills/domains/devops/SKILL.md
templates/skills/domains/frontend-design/claymorphism/SKILL.md
templates/skills/domains/frontend-design/glassmorphism/SKILL.md
templates/skills/domains/frontend-design/liquid-glass/SKILL.md
templates/skills/domains/frontend-design/neubrutalism/SKILL.md
templates/skills/domains/frontend-design/SKILL.md
templates/skills/domains/infrastructure/SKILL.md
templates/skills/domains/mobile/SKILL.md
templates/skills/domains/orchestration/SKILL.md
templates/skills/domains/security/SKILL.md
templates/skills/domains/seo/SKILL.md
templates/skills/impeccable/adapt/SKILL.md
templates/skills/impeccable/animate/SKILL.md
templates/skills/impeccable/arrange/SKILL.md
templates/skills/impeccable/audit/SKILL.md
templates/skills/impeccable/bolder/SKILL.md
templates/skills/impeccable/clarify/SKILL.md
templates/skills/impeccable/colorize/SKILL.md
templates/skills/impeccable/critique/SKILL.md
templates/skills/impeccable/delight/SKILL.md
templates/skills/impeccable/distill/SKILL.md
templates/skills/impeccable/extract/SKILL.md
templates/skills/impeccable/harden/SKILL.md
templates/skills/impeccable/onboard/SKILL.md
templates/skills/impeccable/optimize/SKILL.md
templates/skills/impeccable/overdrive/SKILL.md
templates/skills/impeccable/polish/SKILL.md
templates/skills/impeccable/quieter/SKILL.md
templates/skills/impeccable/teach-impeccable/SKILL.md
templates/skills/impeccable/typeset/SKILL.md
templates/skills/orchestration/multi-agent/SKILL.md
templates/skills/scrapling/SKILL.md
templates/skills/SKILL.md
templates/skills/tools/gen-docs/SKILL.md
templates/skills/tools/verify-change/SKILL.md

Metadata

Files
0
Version
cc8cc34
Hash
82d76417
Indexed
2026-08-20 06:34

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 21:34
浙ICP备14020137号-1 $mapa de visitantes$