skills/bootstrap-checks-from-prs/SKILL.md
Bootstrap high-signal Amp checks from merged pull request history. Use this whenever the user asks to generate `.agents/checks`, infer team review conventions from PRs, or suggest checks from review history.
npx skillsauth add avoidthekitchen/agent-agnostic-skills bootstrap-checks-from-prsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to mine recent merged PRs, infer recurring review expectations, and auto-write draft checks into .agents/checks/ (and subtree check folders when applicable).
.agents/checks/*.md (global) and <area>/.agents/checks/*.md (scoped)AGENTS.md updated to reference .agents/checks/ for code reviews (created if missing)artifacts/pr-scan.jsonartifacts/rule-candidates.jsonartifacts/check-drafts.jsonartifacts/check-bootstrap-report.mdrepo (optional): owner/name; if omitted, infer from local repo via ghx (optional): merged PRs to analyze (default 30)base_branch (optional): default branch if not providedtime_window_days (optional): constrain recencymin_frequency (optional): default 2 (recommend 2-3)include_labels (optional): list of labelsinclude_paths (optional): only focus on these prefixesexclude_paths (optional): ignore these prefixesmax_checks (optional): cap initial output (default 10)default_severity (optional): default mediumRun these scripts in sequence from the skill directory:
python scripts/collect_prs.py --x 30
python scripts/extract_rule_candidates.py --min-frequency 2
python scripts/generate_check_drafts.py --max-checks 10 --default-severity medium
python scripts/write_checks.py
AGENTS.md references checksAGENTS.md is missing, create it..agents/checks/ and relevant subtree-scoped <subtree>/.agents/checks/.python scripts/generate_report.py
If user provides custom inputs, pass them through all relevant scripts.
-draft suffix (or -draft-N).AGENTS.md references .agents/checks/ for review checks.AGENTS.md is missing, create it.write_checks.py to mutate AGENTS.md; enforce this in agent workflow.5-10 checks).high/critical only with strong security/compliance evidence.Return a concise report with:
keep, refine, drop)Then recommend calibration on a holdout PR/diff before broad adoption.
development
Run deep, evidence-backed codebase research with parallel sub-investigations and produce a structured memo with file/line citations. Use this whenever the user asks to research, analyze, trace, debug, audit, or understand how code connects, including requests like "analyze this repo," "trace this flow," "where is this handled," root-cause investigations, architecture deep-dives, behavior comparisons, and implementation mapping, even if the user never says "research."
development
Create detailed, implementation-ready technical plans through an interactive and skeptical process grounded in codebase research. Use this whenever the user asks to plan, scope, design, spec, or phase implementation work (including "make a plan", "how should we build this", "break this into phases", and "write a technical spec"), even if they do not explicitly ask for a "plan."
development
Implement approved technical plans phase-by-phase, including code changes, verification, and progress updates directly in the plan file. Use this whenever the user asks to execute a plan, implement from a plan document, continue plan-based work, resume from checked/unchecked tasks, or "do phase 1/2/3" from an implementation plan in `rpi/plans/`, even if they do not explicitly name this skill.
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".