Agent SkillsSouthclaws/storyden › normalize

normalize

GitHub

分析并重构功能以符合设计系统标准,确保UI一致性。通过发现设计系统、分析当前功能并制定计划,规范排版、颜色、组件及可访问性,消除硬编码和自定义偏差。

.agents/skills/normalize/SKILL.md Southclaws/storyden

触发场景

需要统一UI风格时 修复设计不一致问题时

安装

npx skills add Southclaws/storyden --skill normalize -g -y
更多选项

非标准路径

npx skills add https://github.com/Southclaws/storyden/tree/main/.agents/skills/normalize -g -y

不安装直接使用

npx skills use Southclaws/storyden@normalize

指定 Agent (Claude Code)

npx skills add Southclaws/storyden --skill normalize -a claude-code -g -y

安装 repo 全部 skill

npx skills add Southclaws/storyden --all -g -y

预览 repo 内 skill

npx skills add Southclaws/storyden --list

SKILL.md

Frontmatter
{
    "name": "normalize",
    "description": "Normalize design to match your design system and ensure consistency",
    "argument-hint": [
        "FEATURE=<value>"
    ],
    "user-invocable": true
}

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

MANDATORY PREPARATION

Use the frontend-design skill — 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.

版本历史

  • 661b102 当前 2026-08-20 16:28

同 Skill 集合

.agents/skills/adapt/SKILL.md
.agents/skills/agent-builder/SKILL.md
.agents/skills/animate/SKILL.md
.agents/skills/arrange/SKILL.md
.agents/skills/audit/SKILL.md
.agents/skills/bolder/SKILL.md
.agents/skills/clarify/SKILL.md
.agents/skills/colorize/SKILL.md
.agents/skills/critique/SKILL.md
.agents/skills/delight/SKILL.md
.agents/skills/distill/SKILL.md
.agents/skills/extract/SKILL.md
.agents/skills/frontend-design/SKILL.md
.agents/skills/harden/SKILL.md
.agents/skills/onboard/SKILL.md
.agents/skills/optimize/SKILL.md
.agents/skills/overdrive/SKILL.md
.agents/skills/polish/SKILL.md
.agents/skills/quieter/SKILL.md
.agents/skills/react-doctor/SKILL.md
.agents/skills/teach-impeccable/SKILL.md
.agents/skills/typeset/SKILL.md
.agents/skills/agent-browser/SKILL.md
.agents/skills/impeccable/SKILL.md
.claude/skills/impeccable/SKILL.md

元信息

文件数
0
版本
8842382
Hash
ea96d7a5
收录时间
2026-08-20 16:28

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-18 20:59
浙ICP备14020137号-1