NVIDIA/SkillSpector / tests/fixtures/sqp/sqp2_missing_warnings
file-organizer
VerifiedOrganizes files in your project directory
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 256 B |
| organizer.py | script | 970 B |
organizer.py
View on GitHub"""File organizer — sorts and cleans project directories."""
import os
import shutil
def organize(directory: str) -> None:
"""Organize files in the given directory by extension."""
for name in os.listdir(directory):
path = os.path.join(directory, name)
if os.path.isfile(path):
ext = os.path.splitext(name)[1].lstrip(".")
dest_dir = os.path.join(directory, ext or "misc")
os.makedirs(dest_dir, exist_ok=True)
shutil.move(path, os.path.join(dest_dir, name))
def cleanup(directory: str) -> None:
"""Remove temporary and cache files without asking."""
for root, dirs, files in os.walk(directory):
for name in files:
if name.endswith((".tmp", ".bak", ".swp", ".pyc")):
os.remove(os.path.join(root, name))
for d in dirs:
if d in ("__pycache__", ".pytest_cache", "node_modules"):
shutil.rmtree(os.path.join(root, d))
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |