repo-polishlisted
Install: claude install-skill Sagargupta16/claude-skills
# 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#
```
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[