npx skills add https://github.com/2389-research/claude-plugins --skill review公告:"我正在使用 git-repo-prep:review 来审计此仓库的开放度。"
为所有审计类别创建一个 TodoWrite 清单:
在开始前将每个任务标记为"进行中",完成后立即标记为"已完成"。
这是一次开放度审计,而非代码质量审查。请专注于对仓库公开化至关重要的方面。请不要评论错误处理、架构、性能、代码风格、测试覆盖率质量或设计模式。
检测生态系统以定制检查项:
| 文件 | 生态系统 |
|---|---|
package.json | Node.js |
pyproject.toml / setup.py / setup.cfg |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| Python |
Cargo.toml | Rust |
go.mod | Go |
*.csproj / *.sln | .NET |
Gemfile | Ruby |
pom.xml / build.gradle | Java/Kotlin |
扫描以下每个类别。严格按照本表中的严重性定义,将每个发现归类为严重、建议或锦上添花。请勿创建自己的类别,也请勿升级或降级严重性——使用问题出现的列。
| 类别 | 严重 | 建议 | 锦上添花 |
|---|---|---|---|
| 密钥 | API 密钥、密码、令牌、已提交的 .env 文件 | .env 在 gitignore 中 | git 历史记录扫描 |
| 个人信息 | 源代码中的真实姓名/邮箱 | 作者字段审查 | 用户名清理 |
| 许可证 | 没有 LICENSE 文件 | LICENSE 文件与包元数据不匹配;README 中没有许可证章节 | 源代码文件中的许可证头部 |
| 文档 | 没有 README 或 README 为空 | 缺少安装/使用章节 | CONTRIBUTING.md, SECURITY.md, CLAUDE.md |
| Gitignore | 敏感文件被跟踪/提交 | 缺少针对生态系统的常见模式 | IDE/操作系统文件 |
| CI/CD | — | 没有 CI 流水线;完全没有测试(CI 无法运行) | 没有 Dependabot,没有钩子,没有覆盖率 |
| 元数据 | — | 包元数据中没有仓库 URL | 缺少引擎/版本、关键词、描述 |
按顺序处理每个类别。
sk_live, sk_test, ghp_, AKIA, password\s*=, secret\s*=, token\s*=, api_key, -----BEGIN.*PRIVATE KEY, 包含嵌入式凭据的连接字符串。.env 文件(任何层级)。.gitignore 是否包含 .env 和 .env.* 排除模式。.pem, .key 或凭据文件。package.json 的 author, pyproject.toml 的 authors, Cargo.toml 的 authors)。\b\S+@\S+\.\S+\b)。DEFAULT_USER, AUTHOR, URL 或路径中的用户名)。这是最常被忽视的领域。检查以下三个位置并进行比较:
license 字段是什么?标记这三者之间的任何不匹配。标记任何缺失的位置。
.gitignore 是否存在?node_modules/, .env, dist/, coverage/__pycache__/, *.pyc, .env, *.egg-info/, dist/, .venv/target/, .envvendor/ (如果未使用 vendor), .env.env, .env.*, *.log, .DS_Store, *.pem, *.keygit ls-files 检查 .env, 凭据, 密钥)。.github/workflows/, .gitlab-ci.yml, Jenkinsfile, .circleci/ 等。.github/dependabot.yml)或 Renovate(renovate.json)。检查特定生态系统的元数据完整性:
package.json 中的 repository, engines, keywords, descriptionpyproject.toml 中的 [project.urls], classifiers, requires-python, keywords, descriptionCargo.toml 中的 repository, keywords, categories, description以对话方式呈现发现结果——不要编写报告文件。
按严重性分组,从最紧急的开始:
对于每个发现:
以统计结束:"发现 X 个严重,Y 个建议,Z 个锦上添花 的问题。"
如果存在严重问题,建议在发布前解决它们。如果没有,说明仓库看起来已准备就绪,并建议处理建议项以完善项目。
每周安装次数
1
仓库
GitHub 星标数
25
首次出现
1 天前
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Announce: "I'm using git-repo-prep:review to audit this repo for openness."
Create a TodoWrite checklist for all audit categories:
Mark each task in_progress before starting, completed immediately after.
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.
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 |
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 |
Work through each category in order.
sk_live, sk_test, ghp_, AKIA, password\s*=, secret\s*=, token\s*=, api_key, -----BEGIN.*PRIVATE KEY, connection strings with embedded credentials..env files in the repo (any level)..gitignore for and exclusion patterns.package.json author, pyproject.toml authors, Cargo.toml authors).\b\S+@\S+\.\S+\b) in source files (not node_modules, not vendor, not lock files).DEFAULT_USER, AUTHOR, usernames in URLs or paths).This is the most commonly missed area. Check all three locations and compare:
license field say in package.json / pyproject.toml / Cargo.toml?Flag any mismatch between these three. Flag if any location is missing.
.gitignore exist?node_modules/, .env, dist/, coverage/__pycache__/, *.pyc, .env, *.egg-info/, dist/, .venv/.github/workflows/, .gitlab-ci.yml, Jenkinsfile, .circleci/, etc..github/dependabot.yml) or Renovate (renovate.json).Check ecosystem-specific metadata completeness:
repository, engines, keywords, description in package.json[project.urls], classifiers, requires-python, keywords, description in pyproject.tomlPresent findings conversationally — do NOT write a report file.
Group by severity, starting with the most urgent:
For each finding:
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.
Weekly Installs
1
Repository
GitHub Stars
25
First Seen
1 day ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Azure RBAC 权限管理工具:查找最小角色、创建自定义角色与自动化分配
117,000 周安装
| Metadata |
| — |
| No repo URL in package metadata |
| Missing engine/version, keywords, description |
.env.env.*.pem, .key, or credential files.target/, .envvendor/ (if not vendoring), .env.env, .env.*, *.log, .DS_Store, *.pem, *.keygit ls-files for .env, credentials, keys).repository, keywords, categories, description in Cargo.toml