Repo Polish

Use when setting up new repositories, auditing existing ones, or preparing repos for public visibility. Generates .gitignore, .env.example, README, and LICENSE files. Detects committed secrets and flags security issues.

5 starsSecurity Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add Sagargupta16/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Sagargupta16/claude-skills --skill repo-polish
Manual install
git clone --depth 1 https://github.com/Sagargupta16/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/repo-polish/skills/repo-polish ~/.claude/skills/repo-polish

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Repository Polish

## Audit Checklist

| Item | Required | Check |
|------|----------|-------|
| `.gitignore` | Yes | Covers OS files, editor files, language artifacts, .env, secrets |
| `.env.example` | If .env used | Documents all env vars with placeholder values |
| `README.md` | Yes | Project name, description, setup, usage, tech stack |
| `LICENSE` | Yes | MIT for personal, match upstream for forks |
| No committed secrets | Critical | No .env, credentials, API keys in git history |

## Workflow

1. **Sync first**: `git pull` before making changes (skip for forks)
2. **Detect**: Identify project type from config files
3. **Audit**: Check what exists and what's missing
4. **Fix**: Create/update files using templates below
5. **Verify**: Search for committed secrets
6. **Commit**: `chore: add missing repo hygiene files`

## .gitignore Templates

### Node.js / React / Next.js
```
node_modules/
dist/
build/
.next/
.env
.env.local
.env.*.local
*.log
npm-debug.log*
.DS_Store
Thumbs.db
.vscode/
.idea/
coverage/
```

### Python / FastAPI / ML
```
__pycache__/
*.py[cod]
*$py.class
*.so
venv/
.venv/
.env
*.egg-info/
dist/
build/
.pytest_cache/
.coverage
htmlcov/
*.h5
*.pkl
*.model
*.weights
.ipynb_checkpoints/
.DS_Store
Thumbs.db
.vscode/
.idea/
```

### Go
```
bin/
vendor/
*.exe
*.test
*.out
.env
.DS_Store
Thumbs.db
.vscode/
.idea/
```

### Rust
```
target/
Cargo.lock
*.pdb
.env
.DS_Store
Thumbs.db
.vscode/
.idea/
```

### Unity / C#
Read the full skill on GitHub

Details

Skill name
repo-polish
Path
plugins/repo-polish/skills/repo-polish/SKILL.md
License
MIT
Repo updated
13 November 2026

FAQ

What does the Repo Polish skill do?

Use when setting up new repositories, auditing existing ones, or preparing repos for public visibility. Generates .gitignore, .env.example, README, and LICENSE files. Detects committed secrets and flags security issues.

How do I install the Repo Polish skill?

Claude Code plugin: /plugin marketplace add Sagargupta16/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Repo Polish popular?

It lives in Sagargupta16/claude-skills, which has 5 GitHub stars and 0 forks.

Related skills

Clean Code

5

Sagargupta16/claude-skills

Use when the user writes new Python, or asks for review, refactor, or cleanup of Python code, names, comments/docstrings, functions, or tests. Applies Robert Martin's complete Clean Code catalog -- naming, functions, comments, DRY, boundary conditions, and tests -- to the code being changed.

Software Development

Context Management

5

Sagargupta16/claude-skills

Use when managing Claude Code context window during long sessions, when context feels degraded, or when deciding between /compact, /clear, /rewind, and sub-agents. Covers context rot detection, compaction timing, branching strategy, and sub-agent isolation patterns.

AI, LLMs & Agents

Debug Triage

5

Sagargupta16/claude-skills

Use when triaging a pasted error, stack trace, or terminal transcript. Activates on "debug this", "fix this", "why is this broken", or when a user pastes red terminal output. Produces a tight cause-fix-test report, not a lecture.

Software Development

Security and Hardening

9

sandbaseai/workbuddy-skill

Use when building or reviewing features that accept untrusted input, handle authentication, store sensitive data, integrate external services, receive uploads/webhooks, or change dependencies and security controls.

Security

Openapi Review

9

sandbaseai/workbuddy-skill

Use when validating or reviewing an OpenAPI document for structural correctness, request/response semantics, security, backward compatibility, and consumer usability; do more than run a linter.

Security

Security Audit

9

sandbaseai/workbuddy-skill

Use when auditing an application, repository, integration, or process for security weaknesses, control gaps, or compliance evidence.

Security

Browse the most popular Claude skills, all security skills, or write your own with the skills generator.