Agent skill
spacing-001-rohunvora-taste-library
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/spacing-001-rohunvora-taste-library
SKILL.md
Test B: With Skill
Date: 2024-12-24
Prompt
"Fix the spacing on this component. The cards feel disconnected, like they're floating islands instead of a related group."
Claude's Diagnosis
- Gap too large:
gap-6(1.5rem/24px) creates excessive white space between cards - Heavy shadow: The
shadowclass creates a strong drop shadow that emphasizes separation - Section padding imbalance: Large vertical padding (
py-12) but only horizontal padding creates a boxy feeling - Heading distance:
mb-8pushes the heading far from the cards it describes
Claude's Fix
<div className="grid grid-cols-3 gap-4">
<div className="p-6 bg-white rounded-lg shadow-sm border border-gray-100">
Key changes:
gap-6→gap-4(24px → 16px)- Kept
p-6(padding unchanged) shadow→shadow-sm- Added
border border-gray-100 mb-8→mb-6
Notable
- Did NOT mention Law of Proximity by name
- Did NOT explicitly identify padding = gap as the core issue
- Only reduced gap, kept padding same (partial fix)
- Added border (design embellishment)
- Values are on 4px grid
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?