agentleFS
enunoenuno/unifi-mcp-server/.agents/skills/source-command-clean/SKILL.md

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
  1. Very specific:

    Use this skill when the user asks to run the migrated source command clean.

    line 8
  2. Very specific:

    Remove Python cache: find .

    line 16
  3. Very specific:

    Remove .pyc files: find . -type f -name "*.pyc" -delete

    line 17
  4. Very specific:

    Remove pytest cache: rm -rf .pytest_cache

    line 18
  5. Very specific:

    Remove coverage data: rm -rf htmlcov .coverage coverage.xml

    line 19
  6. Very specific:

    Remove build artifacts: rm -rf dist build *.egg-info

    line 20
  7. Very specific:

    Remove mypy cache: rm -rf .mypy_cache

    line 21
  8. Very specific:

    Remove ruff cache: rm -rf .ruff_cache

    line 22

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  1. Remove Python cache: find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
  2. Remove .pyc files: find . -type f -name "*.pyc" -delete
  3. Remove pytest cache: rm -rf .pytest_cache
  4. Remove coverage data: rm -rf htmlcov .coverage coverage.xml
  5. Remove build artifacts: rm -rf dist build *.egg-info
  6. Remove mypy cache: rm -rf .mypy_cache
  7. Remove ruff cache: rm -rf .ruff_cache

Report back with:

  • List of directories/files removed
  • Disk space freed
  • Confirmation that working directory is clean

Download now (ZIP)

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.