repo-sweep
БесплатноБез исполняемых скриптовНе проверенComprehensive pre-production repository audit for preparing repos for public release. Use when the user wants to perform a "final sweep", "production check"…
Об этом скилле
Repo Sweep
Perform a comprehensive pre-production audit of a repository before making it public. This skill systematically checks metadata files, documentation, and development artifacts to ensure the repo is production-ready.
Workflow
1. Initial Repository Scan
Start by understanding the repository structure and project type(s):
# Get repository overview
ls -la
find . -type f -name "*.json" -o -name "*.toml" -o -name "*.mod" -o -name "go.mod" | head -20
Identify all project types present (can be multiple in monorepos):
- Fabric Minecraft mod: Look for
fabric.mod.json,gradle.properties - Node/npm: Look for
package.json,package-lock.json - Go: Look for
go.mod,go.sum - Python: Look for
pyproject.toml,setup.py,requirements.txt,uv.lock - Other: Check for project-specific metadata files
2. Metadata Audit
For each project type found, audit metadata files for correctness. The expected username is GhostTypes and organization names should be verified with the user.
Fabric Minecraft Mods
Check fabric.mod.json:
cat fabric.mod.json
Verify:
"authors": Should include "GhostTypes""contact": URLs should use correct GitHub username"sources": Should point to correct repository URL"homepage": Should use correct username/org"issues": Should point to correct repository issues
Check gradle.properties:
cat gradle.properties
Verify:
maven_group: Should use correct organization (e.g.,io.github.ghosttypes)- Any URLs or author fields
Node/npm Projects
Check package.json:
cat package.json
Verify:
"name": Should follow correct naming convention with org scope if applicable"author": Should be "GhostTypes" or include correct details"repository": URL should use correct GitHub username"bugs": URL should point to correct repository"homepage": Should use correct username/org- Any other URL fields
Critical: Check for package-lock.json:
ls -la package-lock.json
git check-ignore package-lock.json
Verify:
package-lock.jsonexists (required fornpm ciin CI/CD)- Not in
.gitignore(should be committed) - If missing or ignored, warn user that GitHub Actions will fail with
npm ci
Go Projects
Check go.mod:
cat go.mod
Verify:
modulepath: Should use correct GitHub username (e.g.,github.com/GhostTypes/project-name)
Python Projects
Check pyproject.toml or setup.py:
cat pyproject.toml 2>/dev/null || cat setup.py 2>/dev/null
Verify:
authors/author: Should be "GhostTypes"homepage/urls: Should use correct GitHub usernamerepository: Should point to correct repo URL
For UV projects: Also check the [tool.uv] section if present and any [project.urls] entries.
3. README and Documentation Audit
Check README and other documentation for outdated links:
cat README.md
find . -name "*.md" -type f | grep -v node_modules | head -10
Look for and update:
- GitHub repository links (should use GhostTypes or correct org)
- GitHub badge URLs (shields.io badges, workflow badges, etc.)
- Any references to old usernames or placeholder names
- Documentation links that should point to the correct repo
- Installation instructions that reference the repo
4. Development Artifacts Scan
Scan for leftover development files that may not be needed in production:
Development Planning/Tracking Files
Look for markdown files typically generated during development:
find . -type f \( -name "*plan*.md" -o -name "*todo*.md" -o -name "*roadmap*.md" -o -name "*implementation*.md" -o -name "*spec*.md" -o -name "*design*.md" -o -name "*notes*.md" -o -name "*blueprint*.md" -o -name "*tracker*.md" -o -name "*bugs*.md" -o -name "*features*.md" \) | grep -v node_modules | grep -v .git
Action: Present findings to user and ask what to do with each file:
- Keep in repo (in a
docs/ordev-docs/folder) - Delete
- Keep for now (user will handle manually)
Test Scripts and Temporary Files
Look for standalone test scripts and temporary files in the root:
# Test scripts
find . -maxdepth 2 -type f \( -name "test*.js" -o -name "test*.py" -o -name "test*.go" -o -name "*_test_*.py" -o -name "debug*.js" -o -name "scratch*.py" \) | grep -v node_modules | grep -v __tests__ | grep -v tests/
# Log files
find . -type f \( -name "*.log" -o -name "*.log.*" \) | grep -v node_modules | head -20
# Temporary files
find . -maxdepth 2 -type f \( -name "*.tmp" -o -name "*.temp" -o -name "temp_*" -o -name "tmp_*" \) | grep -v node_modules
Action: Present findings to user and recommend deletion unless they serve a specific purpose.
Build Artifacts and Cache Files
Check for build artifacts that shouldn't be in the repo:
# Common build/cache directories (should be in .gitignore)
ls -la | grep -E "(dist|build|out|target|__pycache__|.c
Установить repo-sweep в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл repo-sweep?
Comprehensive pre-production repository audit for preparing repos for public release. Use when the user wants to perform a "final sweep", "production check", "pre-release audit", or prepare a repository to be made public. Audits metadata files across all project types (Fabric mods, Node/npm, Go, Python, etc.) for correct username/organization, checks README links, and identifies leftover development artifacts like planning docs, test scripts, and temporary files. Interactive cleanup with user confirmation.
Как установить скилл repo-sweep?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл repo-sweep запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic