Agent skill
review
Use when auditing a codebase for openness, checking for secrets, missing docs, or gaps before public release. Re-runnable at any point.
Install this agent skill to your Project
npx add-skill https://github.com/2389-research/claude-plugins/tree/main/git-repo-prep/skills/review
SKILL.md
Review Repo for Openness
Announce: "I'm using git-repo-prep:review to audit this repo for openness."
Setup
Create a TodoWrite checklist for all audit categories:
- Secrets scan
- Personal info scan
- License check
- Documentation check
- Gitignore check
- CI/CD check
- Metadata check
- Present findings and summary
Mark each task in_progress before starting, completed immediately after.
Scope
This is an openness audit, not a code quality review. Stay focused on what matters for making the repo public. Do NOT comment on error handling, architecture, performance, code style, test coverage quality, or design patterns.
Ecosystem Detection
Detect the ecosystem to tailor checks:
| File | Ecosystem |
|---|---|
package.json |
Node.js |
pyproject.toml / setup.py / setup.cfg |
Python |
Cargo.toml |
Rust |
go.mod |
Go |
*.csproj / *.sln |
.NET |
Gemfile |
Ruby |
pom.xml / build.gradle |
Java/Kotlin |
Audit Categories
Scan every category below. Classify each finding as Critical, Recommended, or Nice-to-have using the severity definitions in this table exactly. Do not invent your own categories, and do not upgrade or downgrade severity — use the column where the issue appears.
| Category | Critical | Recommended | Nice-to-have |
|---|---|---|---|
| Secrets | API keys, passwords, tokens, .env committed | .env in gitignore | git history scan |
| Personal info | Real names/emails in source code | Author field review | Username cleanup |
| License | No LICENSE file | Mismatch between LICENSE file and package metadata; no license section in README | License headers in source files |
| Documentation | No README or empty README | Missing install/usage sections | CONTRIBUTING.md, SECURITY.md, CLAUDE.md |
| Gitignore | Sensitive files tracked/committed | Missing common patterns for ecosystem | IDE/OS files |
| CI/CD | — | No CI pipeline; no tests at all (CI cannot function) | No dependabot, no hooks, no coverage |
| Metadata | — | No repo URL in package metadata | Missing engine/version, keywords, description |
Scanning Process
Work through each category in order.
1. Secrets
- Grep source files for patterns:
sk_live,sk_test,ghp_,AKIA,password\s*=,secret\s*=,token\s*=,api_key,-----BEGIN.*PRIVATE KEY, connection strings with embedded credentials. - Check for
.envfiles in the repo (any level). - Check
.gitignorefor.envand.env.*exclusion patterns. - Look for
.pem,.key, or credential files.
2. Personal Info
- Check author fields in package metadata (
package.jsonauthor,pyproject.tomlauthors,Cargo.tomlauthors). - Grep for email patterns (
\b\S+@\S+\.\S+\b) in source files (not node_modules, not vendor, not lock files). - Look for hardcoded usernames in config or source (
DEFAULT_USER,AUTHOR, usernames in URLs or paths).
3. License
This is the most commonly missed area. Check all three locations and compare:
- LICENSE file — Does it exist? What license does it contain?
- Package metadata — What does the
licensefield say in package.json / pyproject.toml / Cargo.toml? - README — Is there a license section? Does it name the same license?
Flag any mismatch between these three. Flag if any location is missing.
4. Documentation
- README: Does it exist? Is it non-empty? Does it have: project description, installation/getting started, usage, license section?
- CONTRIBUTING.md: Present or missing?
- SECURITY.md: Present or missing?
5. Gitignore
- Does
.gitignoreexist? - Compare against ecosystem best practices:
- Node.js:
node_modules/,.env,dist/,coverage/ - Python:
__pycache__/,*.pyc,.env,*.egg-info/,dist/,.venv/ - Rust:
target/,.env - Go:
vendor/(if not vendoring),.env - General:
.env,.env.*,*.log,.DS_Store,*.pem,*.key
- Node.js:
- Check if any sensitive files are already tracked by git (
git ls-filesfor.env, credentials, keys).
6. CI/CD
- Look for
.github/workflows/,.gitlab-ci.yml,Jenkinsfile,.circleci/, etc. - Check for Dependabot config (
.github/dependabot.yml) or Renovate (renovate.json).
7. Metadata
Check ecosystem-specific metadata completeness:
- Node.js:
repository,engines,keywords,descriptioninpackage.json - Python:
[project.urls],classifiers,requires-python,keywords,descriptioninpyproject.toml - Rust:
repository,keywords,categories,descriptioninCargo.toml - Go: module path matches repo URL, package doc comment
Presenting Findings
Present findings conversationally — do NOT write a report file.
Group by severity, starting with the most urgent:
- Critical — issues that must be fixed before going public
- Recommended — issues that should be addressed for a quality release
- Nice-to-have — improvements for polish
For each finding:
- Describe the issue concisely.
- Explain why it matters for openness (one sentence).
- Offer to fix it right now.
Summary
End with a tally: "X critical, Y recommended, Z nice-to-have findings."
If critical findings exist, recommend addressing them before release. If none, say the repo looks ready and suggest tackling recommended items for polish.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
css-development
This skill should be used when working with CSS, creating components, styling elements, refactoring styles, or reviewing CSS code. Triggers on "CSS", "styles", "Tailwind", "dark mode", "component styling", "semantic class", "@apply", "stylesheet". Routes to specialized sub-skills for creation, validation, or refactoring.
css-development:create-component
This skill should be used when creating new styled components or adding new CSS classes. Triggers on "create component", "new button", "new card", "add styles", "style component", "build UI element". Guides semantic naming, Tailwind composition, dark mode support, and test coverage.
css-development:refactor
This skill should be used when refactoring existing CSS from inline styles or utility classes to semantic patterns. Triggers on "refactor CSS", "extract styles", "consolidate CSS", "convert inline", "clean up styles", "migrate to semantic". Transforms to semantic classes with dark mode and tests.
css-development:validate
This skill should be used when reviewing or auditing existing CSS code for consistency with established patterns. Triggers on "review CSS", "audit styles", "check CSS", "validate stylesheet", "CSS review". Checks semantic naming, dark mode coverage, Tailwind usage, and test coverage.
ceo-personal-os
This skill should be used when building a personal productivity or operating system for a CEO, founder, or executive. Triggers on "personal OS", "annual review", "life planning", "goal setting system", "Bill Campbell", "Trillion Dollar Coach", "startup failure patterns", "Good to Great", "Level 5 Leadership", "Buy Back Your Time", "E-Myth", "Customer Development", "Steve Blank", "Small Is Beautiful", "Schumacher", "human-scale", "subsidiarity", "Buddhist economics", "permanence".
gtm-partner
Strategic go-to-market partner that recommends channels, validates strategy with the user, and generates only the assets that matter. Use when a user has a validated business idea and needs tailored GTM strategy, not generic marketing assets.
Didn't find tool you were looking for?