本文へ移動
cccskills
無料GitHub で公開

refactor-ui

Analyze a design against all 10 Refactoring UI skills and generate a comprehensive assessment with specific fixes

日本語の概要は準備中です。原文の説明を表示しています。

gnurio/refactoring-ui-pluginスター 453(GitHub 453 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Meta-Skill: /refactor-ui

Purpose

Run a complete UI design audit against all 10 Refactoring UI principles, generating a prioritized list of specific improvements.

Workflow

Phase 1: Load Skill Registry

Read skills.json
Validate all 10 skills available

Phase 2: Sequential Skill Application

Execute each skill in optimal order:

1. establish-visual-hierarchy
   ↓
2. apply-typography-scale
   ↓
3. build-color-palette
   ↓
4. apply-consistent-spacing
   ↓
5. design-button-hierarchy
   ↓
6. eliminate-visual-clutter
   ↓
7. design-empty-states
   ↓
8. use-shadows-appropriately
   ↓
9. manage-color-contrast
   ↓
10. group-related-elements

Phase 3: Consolidate Findings

Aggregate results from all skills:

  • Collect all FAIL assessments
  • Group by severity (Critical | High | Medium | Low)
  • Remove duplicates (same issue caught by multiple skills)
  • Prioritize by impact

Phase 4: Generate Report

Output structured assessment:

{
  "overall_score": "PASS | NEEDS_WORK | FAIL",
  "summary": "3 critical, 5 high, 2 medium priority fixes",
  "violations": [
    {
      "skill": "visual-hierarchy",
      "severity": "critical",
      "issue": "Primary CTA buried",
      "location": "Hero section",
      "fix": "Increase button to solid brand color, reduce surrounding contrast"
    }
  ],
  "priority_fixes": [
    "1. Make primary CTA prominent with brand color",
    "2. Consolidate font sizes from 12 to 6",
    "3. Add 8-10 grey shades to palette"
  ],
  "skill_breakdown": {
    "visual-hierarchy": { "status": "FAIL", "issues": 2 },
    "typography-scale": { "status": "PASS", "issues": 0 },
    "color-palette": { "status": "FAIL", "issues": 1 },
    ...
  }
}

Execution Modes

Mode: Quick Scan

  • Run all 10 skills
  • Report only FAILs
  • Time: ~30 seconds

Mode: Deep Analysis

  • Run all 10 skills
  • Report PASS with rationale
  • Cross-reference between skills
  • Suggest composition improvements
  • Time: ~2 minutes

Mode: Fix Mode

  • Run all 10 skills
  • Generate specific fix instructions
  • Provide before/after code examples
  • Time: ~5 minutes

Usage Examples

Example 1: Marketing Page

Input: Landing page description with hero, features, CTA

/refactor-ui
→ Overall: NEEDS_WORK
→ Critical: Visual hierarchy (CTA buried)
→ High: Typography (8 sizes, need 5)
→ Medium: Spacing (ambiguous grouping)
→ Priority fixes: [3 items]

Example 2: Dashboard

Input: Analytics dashboard screenshot

/refactor-ui --deep
→ Overall: PASS with suggestions
→ Visual hierarchy: PASS (clear primary)
→ Color palette: FAIL (only 4 greys)
→ Shadows: FAIL (decorative on cards)
→ Suggestions: [5 items]

Integration with Validation

This meta-skill can validate against NotebookLM:

For each skill assessment:
  Query: "According to Refactoring UI, is this correct?"
  Validate assessment matches expert
Report agreement rate

References

  • ../skills.json - Skill registry
  • ../examples/ - Before/after examples for all skills

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Use systematic spacing with 25% minimum jumps, start with excess whitespace

日本語の概要は準備中です。原文の説明を表示しています。

gnurio/refactoring-ui-plugin4532026年4月26日 更新

Create clear typographic hierarchy using hand-crafted font sizes, weights, and colors

日本語の概要は準備中です。原文の説明を表示しています。

gnurio/refactoring-ui-plugin4532026年4月26日 更新

Create comprehensive palette with 8-10 greys, 5-10 primary, 5-10 accent shades

日本語の概要は準備中です。原文の説明を表示しています。

gnurio/refactoring-ui-plugin4532026年4月26日 更新

Create clear primary/secondary/tertiary action distinctions

日本語の概要は準備中です。原文の説明を表示しています。

gnurio/refactoring-ui-plugin4532026年4月26日 更新

Create helpful, actionable zero-content states

日本語の概要は準備中です。原文の説明を表示しています。

gnurio/refactoring-ui-plugin4532026年4月26日 更新

Remove unnecessary borders, backgrounds, shadows, decorations

日本語の概要は準備中です。原文の説明を表示しています。

gnurio/refactoring-ui-plugin4532026年4月26日 更新

gnurio のスキルをすべて見る

このスキルの問題を報告する