thedaviddias/front-end-checklist/css-file-size
Claude Code and agent skill by thedaviddias/front-end-checklist
- community
Checking that the SKILL.md file is still in the repository.
Use when auditing slow page loads, heavy assets, or rendering delays related to Optimize CSS file size. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.
Install
npx vskill@latest install thedaviddias/front-end-checklist/css-file-sizeSKILL.md
The same SKILL.md was published earlier as thedaviddias/front-end-checklist/css-file-size.
Optimize CSS file size
Large CSS files block rendering and increase the time it takes for the browser to construct the CSSOM, leading to a slower First Contentful Paint.
Quick Reference
- Keep individual CSS files small to speed up parsing and rendering
- Use minification and remove unused CSS (PurgeCSS)
- Leverage modular CSS or Tailwind to reduce duplication
Check
Audit the size of CSS files and identify those exceeding recommended limits (e.g., > 50KB gzipped).
Fix
Minify CSS, remove unused styles, and consider splitting large stylesheets into smaller, page-specific files.
Explain
Explain how CSS file size affects the critical rendering path and browser performance.
Code Review
Review the routes, assets, and loading behavior that affect Optimize CSS file size. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.
For full implementation details, code examples, and framework-specific guidance, see references/rule.md.
Rule page: https://frontendchecklist.io/rules/performance/css-file-size
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/css-file-size/SKILL.md
Popularity
- Repository stars
- 73,050
- Repository forks
- 6,652
- 7-day trend score
- 56
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thedaviddias/front-end-checklist/css-file-size)