AGENT SKILL

doc-fact-check

Use when a document for people to read has been drafted and its claims have not yet been checked against code, PRs, migrations or deployed state — also when a draft is about to be published, or when the user asks to fact-check a doc (核一下).

License 许可
MIT
最近更新
2026-11-14
Stars
★ 76
Forks
17

01 前言 Front Matter

name
doc-fact-check
description
Use when a document for people to read has been drafted and its claims have not yet been checked against code, PRs, migrations or deployed state — also when a draft is about to be published, or when the user asks to fact-check a doc (核一下).

03 SKILL.md 正文

doc-fact-check

Stage 1 of the finishing pipeline, and the only stage a draft needs. Match what the document says against code, PRs, migrations and deployed state, claim by claim. Produce a list; do not edit the document.

Who runs it

A read-only subagent, never the author's session: the author remembers the narrative, not the source. A cheaper model is fine. If this session may not spawn subagents, ask the user for permission; do not replace this stage with self-review.

What to check

Kind Check
Code references file:line exists and still shows that code; function, table, column and endpoint names are spelled right
Numbers and IDs PR, issue and migration numbers, and which repo owns them; whether a PR is merged or still open
Time merge, release and deploy timestamps, converted to the reader's time zone
Values constants, thresholds, defaults, test counts — checked against the source, not memory
Order sequences match PR descriptions and migration constraints
Scope facts owned by another document (rule files, reports, other write-ups) are linked, not rewritten
Quotations text in quotes is the original wording; a paraphrase or translation in quotes is wrong
Versions a line number is checked against the version the sentence talks about, not the working tree

Check a line number at a version:

git show <tag>:<path> | perl -ne 'print "$.\n" if /<pattern>/'

In the document, carry the version ("v1.5.0's stream.rs:5109") or drop the line number.

Output

WRONG     §2.3 "migration 018 revoked anon"
          → 018 revoked service_role; 017 revoked anon
          evidence: migrations/018_revoke_grant.sql:18
IMPRECISE §1.5 "merged 08-21 19:38"
          → mergedAt 2026-08-21T11:38:36Z; the conversion is right but the time zone is not stated
OK        §1.1 migration number 0054

The author applies the fixes.

One discipline

When a finding conflicts with the author's source, the author verifies it before changing anything. Subagents also read the wrong version or the wrong repo, or treat an open PR as merged.

Next

  • Staying a draft: stop here.
  • Going to published: doc-polish, then doc-review. The whole flow is doc-publish.

04 同仓库更多 Skills

etherfunlab
etherfunlab/workflow

doc-review

Use when reviewing docs in this repo (team version).

★ 76
etherfunlab
etherfunlab/workflow

zh-hant-converter

Use when Simplified Chinese text needs a Traditional Chinese version — internal team docs converted with opencc s2hk, or a product's Simplified Chinese UI copy mirrored into its Traditional Chinese locale — or when the user says 转繁, 同步繁体, or "convert to zh-Hant".

★ 76
etherfunlab
etherfunlab/workflow

cleaning-dev-caches

Use when this Mac's disk is nearly full, or the user asks to clear re-downloadable caches (「清缓存」「硬盘满了」, "clear caches") — Homebrew, npm / pnpm / yarn / bun / uv / pip, Gradle, Playwright browsers, Edge and VS Code updater caches, simulator dyld caches, unused Rust toolchains. Not for build output (cleaning-dev-build-artifacts) or personal files.

★ 76
etherfunlab
etherfunlab/workflow

cleaning-dev-build-artifacts

Use when this Mac's disk is nearly full, or the user asks to clean build output — Rust target/ dirs or Claude Code worktrees (.claude/worktrees) under {{DEV_ROOT}} (「清编译产物」「清 target」「清 worktree」「硬盘满了」, "clean build artifacts"). Not for package-manager or app caches (cleaning-dev-caches) or personal files.

★ 76
etherfunlab
etherfunlab/workflow

ios-keyboard-page-shift

Use when, on iPhone Safari or an iOS WebView, a page or a full-screen app shell (top bar, scrolling list, bottom input) moves up when a text field is focused and stays up after the keyboard closes, leaving the top bar off-screen, the input mid-screen and an empty band below it, or when an earlier fix for that symptom did not hold.

★ 76
etherfunlab
etherfunlab/workflow

codex-review

Use when the user asks to review a branch, PR or diff with codex ("review this with codex", 用 codex 审一下, "codex review PR N"). Runs `codex exec` from the shell with a hand-written, repo-aware prompt; falls back to one OpenRouter GPT call only when codex is out of quota. Covers the invocation contract and the failure modes that make codex look dead or silently produce no report.

★ 76