source-command-clean
Skill294 starsChanged 18 days agoApache-2.0View on GitHub
Clean build artifacts and cache files
- Deletes or force-pushes
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 0 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when the user asks to run the migrated source command clean.
- Very specific: line 16
Remove Python cache: find .
- Very specific: line 17
Remove .pyc files: find . -type f -name "*.pyc" -delete
- Very specific: line 18
Remove pytest cache: rm -rf .pytest_cache
- Very specific: line 19
Remove coverage data: rm -rf htmlcov .coverage coverage.xml
- Very specific: line 20
Remove build artifacts: rm -rf dist build *.egg-info
- Very specific: line 21
Remove mypy cache: rm -rf .mypy_cache
- Very specific: line 22
Remove ruff cache: rm -rf .ruff_cache
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
source-command-clean
Use this skill when the user asks to run the migrated source command clean.
Command Template
Clean all build artifacts, cache files, and temporary files from the project.
Execute the following cleanup commands:
- Remove Python cache:
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true - Remove .pyc files:
find . -type f -name "*.pyc" -delete - Remove pytest cache:
rm -rf .pytest_cache - Remove coverage data:
rm -rf htmlcov .coverage coverage.xml - Remove build artifacts:
rm -rf dist build *.egg-info - Remove mypy cache:
rm -rf .mypy_cache - Remove ruff cache:
rm -rf .ruff_cache
Report back with:
- List of directories/files removed
- Disk space freed
- Confirmation that working directory is clean
In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/fastmcp/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .claude/skills/fastmcp/CLAUDE.mdCLAUDE.md
- .cursor/rules/common-mistakes.mdcCursor rule
- .cursor/rules/core-principles.mdcCursor rule
- .cursor/rules/environment-setup.mdcCursor rule
- .cursor/rules/mcp-tools.mdcCursor rule
- .cursor/rules/project-context.mdcCursor rule
- .cursor/rules/README.mdCursor rule
- .cursor/rules/unifi-api.mdcCursor rule
- .cursor/rules/workflow.mdcCursor rule
- FastMCP DevelopmentSkill
- mcp-builderSkill
- source-command-build-dockerSkill
- source-command-check-depsSkill
- source-command-docsSkill
- source-command-formatSkill
- source-command-lintSkill
- source-command-prSkill
- source-command-securitySkill
- source-command-setupSkill
- source-command-testSkill
- source-command-unifi-api-docs-update-2Skill
- source-command-unifi-api-docs-updateSkill
- source-command-unifi-mcp-add-toolSkill
- source-command-unifi-mcp-release-prepSkill
- source-command-unifi-mcp-test-coverageSkill
- source-command-unifi-mcp-update-docsSkill
- unifi-cloud-fleet-toolsSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-protect-toolsSkill
- unifi-security-toolsSkill
- FastMCP DevelopmentSkill
- mcp-builderSkill
- unifi-cloud-fleet-toolsSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-protect-toolsSkill
- unifi-security-toolsSkill
- unifiSkill
- unifi-channel-planningSkill
- unifi-cloud-fleet-toolsSkill
- unifi-devicesSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-networkSkill
- unifi-protect-toolsSkill
- unifi-securitySkill
- unifi-security-toolsSkill
- unifi-systemSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

