AGENT SKILL

review-lessons

Library of lessons from past build-review loops — not a stage. Use when a review or fix round hits a specific case: a reviewer BLOCKING that contradicts the brief, a test that passes but checks nothing, a feature dead in production, SQLite/WAL migrations, MCP tool surfaces, REST API authz, app ↔ external-source sync, Android/APK verification, fill-template extraction, CLI/git mechanics, reviewer outages. Load the one file the case needs; never load the whole library.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 123
Forks
22

01 前言 Front Matter

name
review-lessons
metadata
{ "author": "moonlight-lupin", "hermes": { "tags": [ "lessons", "review-findings", "pitfalls", "sqlite", "mcp", "rest-api", "security-property-tests", "data-integrity", "test-quality", "dev-pipeline" ], "related_skills": [ "review-commit", "build", "test-evals" ] }, "license": "MIT", "version": "1.0.0", "platforms": [ "linux", "macos", "windows" ] }
description
Library of lessons from past build-review loops — not a stage. Use when a review or fix round hits a specific case: a reviewer BLOCKING that contradicts the brief, a test that passes but checks nothing, a feature dead in production, SQLite/WAL migrations, MCP tool surfaces, REST API authz, app ↔ external-source sync, Android/APK verification, fill-template extraction, CLI/git mechanics, reviewer outages. Load the one file the case needs; never load the whole library.

02 资源文件 34

03 SKILL.md 正文

Review Lessons

What past loops taught, filed by case. The dev-pipeline's PROCESS lives in the stage skills — round budgets, severity floor and stop conditions in review-commit/references/confirm-round-protocol.md, model names in orchestrator/references/lanes.md. Where a lesson here disagrees with those files, they win: lessons are dated evidence, the protocol is the current rule.

How to use: find the case below, read that one file, apply it to the finding in front of you. Don't preload — most of these are project-specific.

Old names: these files predate v0.2. "build-review-loop", "codex-confirm-loop" and "subagent-driven-development" in them mean today's review-commit and build stages; model names in them are what ran at the time, not current pins. Numbered references ("pitfall #N", "rule #N") point at the retired v0.1 stage SKILL.md numbering, which no longer exists — treat them as historical context, not as pointers to read.

By case

Adjudicating findings and fix rounds

Case File
Reviewer BLOCKING contradicts the dispatch spec or a contract test; deferred findings as design questions references/review-findings-adjudication.md
Fix at the wrong layer, red-test triage, two-sided fixes, live verification references/pitfalls-fix-round-verification.md
Builder self-report, regressions from fixes, mid-build user steers, brief races references/loop-pitfalls.md
Confirm-loop probes: exact repro shapes, vacuous tests, mutation-testing a fix, race probes, kernel state references/confirm-loop-lessons.md
Two reviewers in parallel, synthesizing their findings references/parallel-dual-review.md, references/cross-model-parallel-review.md
A reviewer lane is down; YAML frontmatter generated by f-strings references/generated-frontmatter-and-reviewer-outages.md
Plugin ship gates and fix-round contracts references/plugin-gates-and-fix-rounds.md

Test quality

Case File
Property tests for isolation / scope / role surfaces; inert tests; exempt paths references/security-property-tests.md
In-process scope property tests references/scope-test-in-process-execution.md
Feature has tests but no production caller references/production-reachability-review.md
Tests to update when the architecture shifts mid-loop references/architecture-refactor-test-updates.md
Upgrade-path tests references/upgrade-path-test-pattern.md
Before/after evidence pairs for delivery references/evidence-pairs.md

Data and storage

Case File
Invariants, foreign keys, idempotency, money as TEXT/Decimal, migration fixtures references/data-integrity-principles.md
SQLite table-rebuild migrations references/sqlite-migration-pitfalls.md
SQLite WAL migration review findings references/sqlite-wal-review-findings.md
Replacing N modules with one (caller inventory) references/full-module-replacement-scoping.md
Reconciliation logic references/reconciliation-review-findings.md

Surfaces and domains

Case File
REST API: routers, authz, SQL patterns references/rest-api-review-checklist.md
MCP tool surfaces and design review references/mcp-category-tool-implementation.md, references/mcp-design-review-patterns.md
App ↔ external source-of-truth sync (Sheets, SaaS mirrors) references/sync-pipeline-review-patterns.md
Android APK / WebView verification references/mobile-app-verification.md
Fill-template document extraction references/extraction-from-filled-docs.md
Styling against a shipped minified bundle references/minified-bundle-selector-research.md

Mechanics and process history

Case File
CLI flags, git mechanics, contract-test mechanics, push hygiene references/tool-mechanics-pitfalls.md
Dispatch, polling, parallel builds, brief races references/pitfalls-dispatch-semantics.md
CI and repo hygiene references/ci-and-repo-hygiene.md
Batching a phase by dependency and risk references/multi-batch-sequencing.md
Release-hardening-shaped cycle references/beta-gate-release-hardening.md
Integrating an operator's field briefing references/field-briefing-integration.md
Port notes: delegate-skills, planning-with-files references/delegate-skills-adaptation.md, references/planning-with-files-adaptation.md

Adding a lesson

Add a lesson only when a loop taught something a future loop would get wrong without it. One file per case; put the date and project type in the title; add a row above. If the lesson changes how the loop runs (a cap, a stop rule, who reviews), change confirm-round-protocol.md instead — a rule filed as a lesson becomes a second, contradicting copy.

04 同仓库更多 Skills

moonlight-lupin
moonlight-lupin/agent-skills

website-scraping

Generic playbook for extracting structured data from any website — hotel prices, flight fares, e-commerce listings, real estate, jobs, competitor product catalogues, anything where the goal is to turn one or more URLs into clean records on disk. Use this skill whenever the user mentions scraping, harvesting, extracting, or pulling data from a website; names a specific site or competitor they want data from; asks how to handle JavaScript-rendered pages, Cloudflare blocks, bot detection, Turnstile challenges, or Playwright; wants to monitor prices over time; needs to automate a copy-paste research task; or says things like "just get the data from X" or "I need a script that grabs N from site Y". Covers recon, picking the lightest extraction tool that works, surviving anti-bot defences, and writing clean JSONL output with a run manifest. Scope is scraping only — landing data in a database, scheduling, and downstream pipeline work are explicitly out of scope and live in other tools.

★ 123
moonlight-lupin
moonlight-lupin/agent-skills

greet

Greets a named person warmly.

★ 123
moonlight-lupin
moonlight-lupin/agent-skills

skill-quality-review

Use when auditing or reviewing skill quality — batch checks across a library, deep per-skill grep methodology, usage stats, efficacy testing, or fix planning. Single consolidated home for the writing-for-agents review framework and the 3-surface review methodology.

★ 123
moonlight-lupin
moonlight-lupin/agent-skills

people-enrichment

Use when the user has a list of names or companies and wants their job, employer, work history, LinkedIn URLs or company profiles looked up, or wants to find people or companies matching criteria — trigger on phrases like "enrich these contacts", "find their LinkedIn", "look up these people", "who works at X", "find directors at Y", "enrich these companies", or "get firmographics for". Enrich and search People Data Labs (PDL) Person and Company data, writing results to .xlsx. Five operations: enrich named PEOPLE into a profile, employment history and LinkedIn URL; IDENTIFY an ambiguous person as several scored candidates; SEARCH people by criteria (company, title, location); enrich COMPANIES into firmographics (industry, size, employees, HQ, founded, LinkedIn); and SEARCH companies by criteria. Do not scrape LinkedIn directly — this uses a licensed data aggregator (PDL) instead, for legal and reliability reasons.

★ 123
moonlight-lupin
moonlight-lupin/agent-skills

notebooklm-mode

Source-grounded research pipeline inspired by NotebookLM. Collect verbatim source extracts into a temporary workspace, then answer questions and create deliverables grounded in those sources. Two grounding modes: strict (vault-only) and augmented (vault + labeled [background] knowledge). Trigger when the user asks to research a topic from sources, wants NotebookLM-style grounded answers, asks to build a resource vault, or says "notebooklm mode".

★ 123
moonlight-lupin
moonlight-lupin/agent-skills

news-monitoring

Use when a topic or news stream needs recurring monitoring — cover it with web search, multi-language sources, digest formatting, and automated delivery via Hermes cron jobs. Covers search strategy, source selection, Chinese-language platforms, and digest templates.

★ 123