repo-recon
Use when planning work on a repository - finds how this repo is built, tested and linted, and records the exact commands in plan.md under "How to verify" so every task has a check to run
- License 许可
- AGPL-3.0
- 所属仓库
- sa-es-ir/rookery
- 最近更新
- 2026-11-14
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- repo-recon
- description
- Use when planning work on a repository - finds how this repo is built, tested and linted, and records the exact commands in plan.md under "How to verify" so every task has a check to run
03 SKILL.md 正文
Repo Recon
Why
Each task runs in a fresh session that has read plan.md and nothing else. If plan.md does not say how to check the work, every task guesses, and a task that guesses wrong reports done on code that was never run.
Find the commands
Look, in this order, and stop reading a source once it has answered:
- The repo's own instructions:
CLAUDE.md,AGENTS.md,CONTRIBUTING.md,README.md(a "Development", "Testing" or "Build" section). - CI:
.github/workflows/*.yml. The steps CI runs are the ones that gate a merge, so they beat anything a README says. - Build manifests:
package.jsonscripts,Makefile,justfile,pyproject.toml/tox.ini/noxfile.py,*.csproj/*.sln,go.mod,Cargo.toml,pom.xml/build.gradle. - Linter and formatter config:
.eslintrc*,ruff.toml,.editorconfig,.pre-commit-config.yaml.
Prefer the narrowest command that still proves something: one test file or project, not the whole suite, when the repo supports it. Note any setup a fresh checkout needs first (install, restore, generate).
Run a command only if it is cheap and safe (a --help, a dry run, a single
fast test). Never run anything that deploys, publishes or needs credentials,
and never run setup yourself: no installs, no curl ... | sh, no script you
have not read. Record the setup step instead; a task can run it. A command in
a README is what the repo says to do, not proof that it works: say which ones
you ran.
Record them
Add a section to plan.md:
## How to verify
- Build: `<command>`
- Test: `<command>` (one file: `<command> path/to/test`)
- Lint/format: `<command>`
- Setup on a fresh checkout: `<command>`, or "none"
Write only what you found. If the repo has no tests, say "no test suite" rather than inventing a command, and make writing the first test part of a task when the change needs one.
Then make each task in tasks.md end with the check it should pass, using these commands.
04 同仓库更多 Skills
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
security-review
Use when checking a finished change for security problems before it goes to a human - reads the diff for exploitable flaws (injection, broken access control, secrets, unsafe input handling) and reports each with the file, the line and how it would be exploited
changelog
Use when a finished change needs a changelog entry - finds the repo's changelog, follows its existing format, and adds user-facing entries for this change under the unreleased section