verify
Pre-merge verification gate. Build, test, and lint must all pass before marking done or shipping.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- verify
- dimension
- evaluation_and_reward
- description
- Pre-merge verification gate. Build, test, and lint must all pass before marking done or shipping.
03 SKILL.md 正文
Verify — Pre-Completion Check
Iron Law
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE. "I tested it" without output is an unverified claim.
When to Trigger
- Before a
/gosubagent reports "done" - Before
/shipcreates a PR - Before telling the user "it's ready"
- After any significant code change
Process
1. Build
# Detect and run the project's build command
npm run build # or: go build ./... | cargo build | make
Must exit 0. If it fails, fix before proceeding.
2. Test
# Run the project's test suite
npm test # or: go test ./... | pytest | cargo test
Must exit 0. If tests fail, invoke debug skill.
3. Lint
# Run linter if configured
npm run lint # or: golangci-lint run | ruff check | cargo clippy
Warnings are OK. Errors must be fixed.
4. Type Check (if applicable)
npx tsc --noEmit # TypeScript
mypy . # Python
5. Final Sanity
- [ ] No
console.log/printdebug statements left - [ ] No
TODOorFIXMEintroduced without explanation - [ ] No hardcoded test values or credentials
- [ ] All new files are tracked by git
Anti-Rationalization
| Excuse | Rebuttal | What to do instead |
|---|---|---|
| "Tests pass locally" | Did you actually run them? Trust the output, not your memory. | Run npm test right now. Show the output. |
| "I only changed one file" | One file can break the entire build. Imports propagate. | Full build + test. Every time. No exceptions. |
| "Lint warnings aren't errors" | Warnings become errors. Fix them before they multiply. | Zero warnings policy. Fix now or suppress with justification. |
| "CI will catch it" | CI feedback is 5-10 min delayed. Catch it locally in seconds. | Run verify locally before pushing. CI is the safety net, not the test. |
Evidence Required
Before reporting "ready", show ALL of these:
- [ ] Build output: exit code 0 (show the command + result)
- [ ] Test output: all passing (show summary line)
- [ ] Lint output: zero errors (show summary or "clean")
- [ ] Type check output: no errors (show
tsc --noEmitor equivalent) - [ ] Final sanity: no console.log, no unexplained TODO, no hardcoded values
Each check needs actual command output. "I ran it" without output = not verified.
Red Flags
- Reporting success without showing actual command output
- Skipping type check "because JavaScript is dynamic"
- Committing with TODO/FIXME and no explanation
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.