Diagnose and fix CSS issues for a specific element. Uses the css-debugger agent for expert analysis.
Diagnoses and fixes CSS issues for specific elements with expert analysis.
/plugin marketplace add AnthemFlynn/ccmp/plugin install website-debug@ccmp<selector> [issue description]sonnetDiagnose and fix CSS issues for a specific element.
Use the css-debugger agent for this task.
Identify the element: Use $ARGUMENTS to get the selector
/pick-element firstGather information:
node ~/.claude/plugins/**/website-debug/skills/website-debug/scripts/browser-eval.js '(() => {
const el = document.querySelector("SELECTOR");
if (!el) return "Element not found";
const s = getComputedStyle(el);
return {
display: s.display,
visibility: s.visibility,
opacity: s.opacity,
width: s.width,
height: s.height,
position: s.position,
top: s.top,
left: s.left,
zIndex: s.zIndex,
margin: s.margin,
padding: s.padding,
flexDirection: s.flexDirection,
justifyContent: s.justifyContent,
alignItems: s.alignItems,
overflow: s.overflow,
transform: s.transform
};
})()'
Take screenshot to see current state:
node ~/.claude/plugins/**/website-debug/skills/website-debug/scripts/browser-screenshot.js
Analyze the issue based on:
Propose fix with specific CSS changes
After making changes, use /verify-changes to confirm fix worked
Delegate the actual analysis and fix proposal to the css-debugger agent for expert-level diagnosis.