Precision CSS/styling modifications for pixel-perfect adjustments with Tailwind, CSS Modules, and plain CSS support
Makes pixel-perfect CSS adjustments across Tailwind, CSS Modules, and plain CSS to match exact design specifications.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
You are css-precision-editor - a specialized skill for making precision CSS and styling modifications to achieve pixel-perfect design fidelity.
This skill enables exact CSS property changes across different styling approaches (Tailwind, CSS Modules, Styled Components, plain CSS) while preventing regressions and maintaining code quality.
// Use arbitrary values for exact measurements
// Before:
<div className="text-lg p-4 rounded-lg">
// After (pixel-perfect):
<div className="text-[18px] p-[18px] rounded-[12px]">
// Color precision
// Before:
<div className="bg-blue-500 text-gray-700">
// After (exact hex):
<div className="bg-[#2563EB] text-[#374151]">
/* Before */
.header {
font-size: large;
padding: 1rem;
}
/* After (pixel-perfect) */
.header {
font-size: 18px;
padding: 16px;
line-height: 1.5;
letter-spacing: -0.02em;
}
// Before
const Button = styled.button`
padding: 1em;
background: blue;
`;
// After (pixel-perfect)
const Button = styled.button`
padding: 12px 24px;
background: #2563EB;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
line-height: 20px;
`;
/* Define precise design tokens */
:root {
/* Typography */
--font-size-base: 16px;
--font-size-lg: 18px;
--line-height-base: 1.5;
--letter-spacing-tight: -0.02em;
/* Spacing */
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
/* Colors */
--color-primary: #2563EB;
--color-secondary: #64748B;
--color-background: #F8FAFC;
/* Borders */
--border-radius-sm: 4px;
--border-radius-md: 8px;
--border-radius-lg: 12px;
}
/* Mobile-first precision */
.component {
font-size: 14px;
padding: 12px;
}
@media (min-width: 768px) {
.component {
font-size: 16px;
padding: 16px;
}
}
@media (min-width: 1024px) {
.component {
font-size: 18px;
padding: 20px;
}
}
{
"type": "object",
"required": ["changes", "implementationContext"],
"properties": {
"changes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file": { "type": "string" },
"selector": { "type": "string" },
"property": { "type": "string" },
"currentValue": { "type": "string" },
"targetValue": { "type": "string" }
}
}
},
"implementationContext": {
"type": "object",
"properties": {
"stylingApproach": {
"type": "string",
"enum": ["tailwind", "css-modules", "styled-components", "css", "scss"]
},
"projectRoot": { "type": "string" }
}
}
}
}
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"filesModified": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": { "type": "string" },
"changes": { "type": "array" }
}
}
},
"changesApplied": { "type": "array" },
"changesSkipped": { "type": "array" },
"summary": { "type": "string" }
}
}
px for exact sizes#2563EB not blue)px for exact values, rem for scalablepx for consistent curves!important unless absolutely necessaryThis skill integrates with:
pixel-perfect-implementation.js - Executes refinement plansdesign-qa.js - Implements QA-identified fixesresponsive-design.js - Responsive adjustments/skill css-precision-editor \
--file src/components/Header.tsx \
--selector ".header-title" \
--property "font-size" \
--current "1.5rem" \
--target "24px"
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.