prune
Skill2 starsChanged 5 months agoBSD-3-ClauseView on GitHub
Find and remove unused CSS in a Tideway project — classes defined in stylesheets but never referenced in markup. Use whenever the user wants to prune dead CSS, find unused styles or classes, clean up or slim a stylesheet, find orphaned BEM classes, or "tree-shake" hand-written CSS.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- tyler-berggren/tb-claude-kittheir own version, first seen Sep 29, 2026
- hasansezertasan/infra-copilottheir own version, first seen Sep 24, 2026
- simota/agent-skillstheir own version, first seen Sep 17, 2026
- taecontrol/skillstheir own version, first seen Sep 12, 2026
- yugasun/aiopstheir own version, first seen Aug 20, 2026
Used with
Projects with it also use status, plan and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 3 projects that use this
AWSSkillprototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Also in 3 projects that use this
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- simota/agent-skills★ 87same name
- domengabrovsek/agent-config★ 17same name
- JordanGunn/aux★ 4same name
- yugasun/aiops★ 4same name
- hasansezertasan/infra-copilot★ 2same name
- tyler-berggren/tb-claude-kit★ 2same name
- metallurgical/ogre-runner★ 1same name
- taecontrol/skills★ 1same name
- prajwalppv/engram★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- site/AGENTS.mdAGENTS.md
- site/CLAUDE.mdCLAUDE.md
- migrateSkill
- reviewSkill
- styleSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Report the findings to the user: before changing anything. Group by file so the scope is clear.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tideway: prune
Prune finds CSS classes a project defines but no longer uses, so hand-written stylesheets don't accumulate dead rules. Tideway's conventions make this reliable: every selector is a single flat class, so each rule maps to exactly one class name, and the distinctive BEM names are unambiguous to search for.
Workflow
Run the detector from the project root:
python scripts/find_unused.py <project-dir>It scans every
.cssfile for defined classes, searches the project's markup and scripts for each, and prints two groups: Unused (no reference anywhere) and Possibly dynamic (see below).- Report the findings to the user before changing anything. Group by file so the scope is clear.
- Remove what's confirmed unused, on the user's go-ahead. Because a block's CSS lives together, removing an unused element or modifier is a local deletion; an entire unused block is its whole section or file. Removal is safe to do under version control.
The one thing to be careful about
A class can be referenced without its full name ever appearing in the source — when markup builds it at runtime: `card--${variant}`, clsx("card", isOpen && "card--open"), or other string construction. Such a class is live but looks unused to a text search.
The detector flags these as Possibly dynamic: the exact name isn't found, but its prefix (card--) does appear in the source. Never remove a class from this group on the report alone — open the construction site, confirm the full name can't be produced there, and only then treat it as dead. When unsure, keep it.
Out of scope
Writing new CSS is the style skill. Converting an existing project onto Tideway is the migrate skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

