qa-css-analysis
Creates concise test plans to detect CSS conflicts and breakages before deployment.
Install
mkdir -p .claude/skills/qa-css-analysis && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12130" && unzip -o skill.zip -d .claude/skills/qa-css-analysis && rm skill.zipInstalls to .claude/skills/qa-css-analysis
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Generate focused QA test plans (300 lines max) for customer CSS deploymentsKey capabilities
- →Identify predicted breakages in customer CSS deployments
- →Assess risks associated with CSS changes
- →Generate a manual test plan for CSS deployments
- →Detect conflicts between customer and application styles
How it works
The skill reads customer and application CSS, detects conflicts by comparing selectors and specificity, and then generates a structured QA report.
Inputs & outputs
When to use qa-css-analysis
- →Generate CSS deployment test plan
- →Analyze CSS for customer site
- →Assess deployment risk
- →Identify layout breakages
About this skill
⚠️ OUTPUT RULES - READ FIRST
Generate EXACTLY these 3 sections in this order:
- Predicted Breakages (3-7 issues max)
- Risk Assessment (single table)
- Manual Test Plan (test sessions with checkboxes)
Total length: 300 lines maximum
All other sections are FORBIDDEN unless explicitly valuable for THIS deployment.
When to Use This Skill
- User mentions: "QA test plan", "CSS conflicts", "analyze CSS for [customer]"
- Customer CSS deployment scenarios
- Pre-deployment risk assessment
Analysis Workflow
Step 1: Read Customer CSS
- Location:
src/customers/[customer]/custom.css - Flag: Global selectors, !important, element selectors
Step 2: Read Application Styles
- Core:
src/app/@core/components/ - Theme:
src/app/@theme/ - Pages:
src/app/pages/
Step 3: Detect Conflicts
- Compare selectors
- Check specificity + !important
- Predict cascade issues
Step 4: Check Git History
- Search: "CSS", "style", "[customer name]"
- Find patterns from past bugs
Step 5: Generate Report
Follow exact format below.
REQUIRED OUTPUT FORMAT
File: risk reports/qa_test_report_[customer].md
Structure (STRICT):
# QA Test Report - [Customer] CSS Deployment
## 🔍 Predicted Breakages
### Issue #1: [Short Title]
**Severity:** 🔴 CRITICAL
**Priority:** P1
**Confidence:** 95%
**What Breaks:**
- Component: [name]
- Expected: [normal behavior]
- After deploy: [broken behavior]
**Root Cause:**
```css
/* problematic CSS */
```
**Impact:**
- User: [how affected]
- Business: [consequences]
**Where to Test:**
- Page 1
- Page 2
**Test Steps:**
1. Navigate to [page]
2. Check [element]
3. Expected: [result]
4. If broken: [what happens]
[Repeat for issues #2-7 max]
---
## 📊 Risk Assessment
| Issue | Severity | Priority | Confidence | Impact |
|-------|----------|----------|------------|--------|
| [Issue 1] | 🔴 CRITICAL | P1 | 95% | [desc] |
| [Issue 2] | 🟡 HIGH | P2 | 90% | [desc] |
**Severity Key:**
- 🔴 CRITICAL: App unusable, blocks deployment
- 🟡 HIGH: Major visual/functional issue
- 🟢 MEDIUM: Minor issue, workarounds exist
- ⚪ LOW: Negligible impact
---
## 📋 Manual Test Plan
### Test Session 1: Critical Issues (XX min)
**Setup:**
- Browser: Chrome (latest)
- Environment: Test
#### Test 1.1: [Test Name]
- [ ] Step 1: [action]
- [ ] Step 2: [action]
- [ ] Expected: [result]
- [ ] If broken: [report what]
- [ ] Stop condition: Yes/No
[Repeat for sessions 2-3 max]
---
**END OF REPORT**
Optional Sections (Use Sparingly)
Include ONLY if critically valuable:
- Executive Summary (2-3 lines) - Deploy yes/no at top
- Stop Conditions - When to halt testing
- Time Estimates - Per session only
Do NOT add:
- Screenshots checklists
- Bug templates
- Historical context
- Reference info
- Success criteria
- Contact info
- Execution logs
- ASCII diagrams
Severity Guidelines
Confidence:
- 100%: Same selector + !important
- 90-95%: Global selector
- 80-90%: Similar selectors
- 70-80%: Potential conflict
- <70%: Low risk
Priority:
- P1: Blocks deployment
- P2: Test before deploy
- P3: Document only
Best Practices
- Check git history for patterns
- Focus on:
button,input,div, element selectors - Any
!important= red flag - Global selectors = dangerous
- Keep report under 300 lines
Output Checklist
Before saving, verify:
- Only 3 main sections
- 3-7 issues max
- Under 300 lines
- No forbidden sections
- Saved to:
risk reports/qa_test_report_[customer].md
Example Output Length
# QA Test Report - CustomerB CSS
## Predicted Breakages (7 issues × 20 lines = 140 lines)
## Risk Assessment (table = 15 lines)
## Manual Test Plan (3 sessions × 30 lines = 90 lines)
---
Total: ~250 lines ✅
When not to use it
- →When the output needs to exceed 300 lines
- →When detailed historical context or bug templates are required
Limitations
- →The report is limited to a maximum of 300 lines
- →Only 3-7 predicted breakages are included
- →Only 2-3 test sessions are included in the manual test plan
How it compares
This skill automates the analysis of CSS conflicts and generates a focused, structured test plan, unlike manual CSS review.
Compared to similar skills
qa-css-analysis side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| qa-css-analysis (this skill) | 0 | 5mo | No flags | Intermediate |
| webapp-testing | 353 | 3mo | Review | Intermediate |
| ui-ux-expert-skill | 91 | 9mo | Review | Advanced |
| accessibility | 42 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
webapp-testing
anthropics
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
ui-ux-expert-skill
fercracix33
Technical workflow for implementing accessible React user interfaces with shadcn/ui, Tailwind CSS, and TanStack Query. Includes 6-phase process with mandatory Style Guide compliance, Context7 best practices consultation, Chrome DevTools validation, and WCAG 2.1 AA accessibility standards. Use after Test Agent, Implementer, and Supabase agents complete their work.
accessibility
tech-leads-club
Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
playwright-browser-automation
lackeyjb
Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.
svelte-expert
Raudbjorn
Expert Svelte/SvelteKit development assistant for building components, utilities, and applications. Use when creating Svelte components, SvelteKit applications, implementing reactive patterns, handling state management, working with stores, transitions, animations, or any Svelte/SvelteKit development task. Includes comprehensive documentation access, code validation with svelte-autofixer, and playground link generation.
browser-daemon
noiv
Persistent browser automation via Playwright daemon. Keep a browser window open and send it commands (navigate, execute JS, inspect console). Perfect for interactive debugging, development, and testing web applications. Use when you need to interact with a browser repeatedly without opening/closing it.