Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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"…

MCDxAIот MCDxAI★ 49 звёзд на GitHub18 установок в других каталогах

Об этом скилле

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.json exists (required for npm ci in 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:

  • module path: 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 username
  • repository: 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/ or dev-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
Полный SKILL.md на GitHub

Установить repo-sweep в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/project-patterns.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить repo-sweep с