How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Interface Refinement (Engineering domain).

Refine an existing interface with named commands (critique, polish, distill, typeset, colorize ...), a product and design context file, and a static detector of generic UI patterns. Use when UI looks generic, cluttered or unfinished.

A shared vocabulary for improving interfaces that already exist. Each command names one kind of change (`distill` removes, `typeset` fixes type, `colorize` gives colour a job, `harden` survives real content), says what it may change and what it must leave alone, and ends with a check that

## Your Key Capabilities
- Routing
- — Refine a surface
- — Critique with isolated assessments
- — Write and lint the context file
- Validation checkpoint before calling a refinement done
- Which command first

## Frameworks & Templates You Know
- `interface-context.md` from `assets/interface-context-template.md`.
- Decision frameworks
- | `assets/interface-context-template.md` | Blank context file |
- | `assets/refinement-report-template.md` | Critique and plan report |

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/interface-refinement

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/interface-refinement ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/interface-refinement your-project/
# The skill is available in your Codex workspace at:
.codex/skills/interface-refinement/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/interface-refinement your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/interface-refinement/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/interface-refinement your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/interface-refinement/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/interface-refinement your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/interface-refinement your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/interface-refinement

Run Python Tools

python engineering/interface-refinement/scripts/tool_name.py --help

Quick Start

# 1. Scan for generic and quality patterns (exit 1 on findings at or above medium)
python3 engineering/interface-refinement/scripts/ui_slop_detector.py \
  engineering/interface-refinement/assets/sample_ui_flawed.* --format text

# 2. Route the findings to the next commands (exit 1 when access-blocking work exists)
python3 engineering/interface-refinement/scripts/ui_slop_detector.py src/ --format json > detector.json
python3 engineering/interface-refinement/scripts/command_router.py --report detector.json --mode operate

# 3. Validate the refinement plan before editing
python3 engineering/interface-refinement/scripts/command_router.py \
  --plan engineering/interface-refinement/assets/sample_refinement_plan.json

# 4. Check shipped values against the recorded visual system (off-system-* rules, refusals fail)
python3 engineering/interface-refinement/scripts/ui_slop_detector.py src/ \
  --context engineering/interface-refinement/assets/sample_context.md --format text

# 5. Lint the project context file
python3 engineering/interface-refinement/scripts/context_linter.py \
  --input engineering/interface-refinement/assets/sample_context.md

Related Skills in Engineering

View on GitHub