agentleFS
2389-research2389-research/git-repo-prep/skills/review/SKILL.md

review

Skill2 starsChanged 49 days agoMITView on GitHub

Audits a codebase for openness across secrets, license, documentation, gitignore, CI/CD, and metadata, with severity-classified findings. Use when checking a repo for secrets, missing docs, or gaps before making it public — or at any point after preparation to validate state.

  • Reads credentials

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 157 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a TodoWrite checklist for all audit categories:

    line 12
  2. Very specific:

    Check for .env files in the repo (any level).

    line 64
  3. Very specific:

    Check .gitignore for .env and .env.* exclusion patterns.

    line 65
  4. Very specific:

    Look for .pem, .key, or credential files.

    line 66
  5. Very specific:

    Check author fields in package metadata (package.json author, pyproject.toml authors, Cargo.toml authors).

    line 70
  6. Very specific:

    Look for hardcoded usernames in config or source (DEFAULT_USER, AUTHOR, usernames in URLs or paths).

    line 72
  7. Very specific:

    Check if any sensitive files are already tracked by git (git ls-files for .env, credentials, keys).

    line 99
  8. Very specific:

    Look for .github/workflows/, .gitlab-ci.yml, Jenkinsfile, .circleci/, etc.

    line 103
  9. Very specific:

    Check for Dependabot config (.github/dependabot.yml) or Renovate (renovate.json).

    line 104
  10. Distinctive:

    Check ecosystem-specific metadata completeness:

    line 108
  11. Distinctive:

    If critical findings exist, recommend addressing them before release.

    line 134

“Common” is measured: kept by at least 6 in 10 of the 157 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
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:

  1. Secrets scan
  2. Personal info scan
  3. License check
  4. Documentation check
  5. Gitignore check
  6. CI/CD check
  7. Metadata check
  8. 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:

FileEcosystem
package.jsonNode.js
pyproject.toml / setup.py / setup.cfgPython
Cargo.tomlRust
go.modGo
*.csproj / *.sln.NET
GemfileRuby
pom.xml / build.gradleJava/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.

CategoryCriticalRecommendedNice-to-have
SecretsAPI keys, passwords, tokens, .env committed.env in gitignoregit history scan
Personal infoReal names/emails in source codeAuthor field reviewUsername cleanup
LicenseNo LICENSE fileMismatch between LICENSE file and package metadata; no license section in READMELicense headers in source files
DocumentationNo README or empty READMEMissing install/usage sectionsCONTRIBUTING.md, SECURITY.md, CLAUDE.md
GitignoreSensitive files tracked/committedMissing common patterns for ecosystemIDE/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 metadataMissing 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 .env files in the repo (any level).
  • Check .gitignore for .env and .env.* exclusion patterns.
  • Look for .pem, .key, or credential files.

2. Personal Info

  • Check author fields in package metadata (package.json author, pyproject.toml authors, Cargo.toml authors).
  • 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:

  1. LICENSE file — Does it exist? What license does it contain?
  2. Package metadata — What does the license field say in package.json / pyproject.toml / Cargo.toml?
  3. 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 .gitignore exist?
  • 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
  • Check if any sensitive files are already tracked by git (git ls-files for .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, description in package.json
  • Python: [project.urls], classifiers, requires-python, keywords, description in pyproject.toml
  • Rust: repository, keywords, categories, description in Cargo.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:

  1. Critical — issues that must be fixed before going public
  2. Recommended — issues that should be addressed for a quality release
  3. 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.