verify-sources
Use when about to state a factual, technical, historical, or procedural claim in ANY domain (software, DIY/craft, health, legal, finance...) - a version number, default value, statistic, API behavior, a legal deadline, a health claim, a manufacturer spec, "X always/never does Y", "the docs say", "best practice is" - that you have not verified against a source this turn, or when tempted to answer a factual question from memory under time pressure
- License 许可
- BSD-3-Clause
- 最近更新
- 2026-11-11
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- verify-sources
- version
- 1.5.2
- description
- Use when about to state a factual, technical, historical, or procedural claim in ANY domain (software, DIY/craft, health, legal, finance...) - a version number, default value, statistic, API behavior, a legal deadline, a health claim, a manufacturer spec, "X always/never does Y", "the docs say", "best practice is" - that you have not verified against a source this turn, or when tempted to answer a factual question from memory under time pressure
03 SKILL.md 正文
Verify Sources
Overview
Stating an unverified claim as fact is a lie, even when it turns out true. Being right by luck is not the same as being right by evidence.
Core principle: No factual claim without a source, or an explicit "unverified" label.
A source includes any document already in context - a shared thread, a previously loaded guide, a file read earlier this turn - not only an external lookup. Citing from memory of it is the same violation as citing from memory of a web page: reread the exact passage before asserting what it says or how two documents differ. A read earlier in the same turn is memory too, above all one of several files read in a batch.
Violating the letter of this rule is violating the spirit of this rule.
The Iron Law
NO FACTUAL CLAIM WITHOUT A CITED SOURCE OR AN EXPLICIT UNVERIFIED LABEL
If you did not look it up in this turn, you cannot state it as fact. You may state it as a hypothesis, clearly labeled.
What Counts As A Claim Needing A Source
Any assertion whose truth the reader will act on:
- Version numbers, release dates, "changed in vX", "since vY"
- Default values, config keys, flag names, timeouts, limits
- API behavior ("returns null", "throws on empty", "is thread-safe")
- Absolutes: "always", "never", "unchanged across all versions", "not possible"
- Statistics, benchmarks, percentages, "most people", "the standard is"
- "The docs say", "the spec requires", "best practice is"
- A code snippet presented as working - its source is compiling and running it this turn; otherwise label it "untested"
Opinions, plans, and reasoning about the current code you can see are NOT claims needing an external source - but claims ABOUT what code does elsewhere are.
What Does NOT Need A Lookup
Do not burn a search on facts that are stable, non-versioned, non-numeric, and textbook-universal - the kind you would stake maximal confidence on. State them plainly: "Python is dynamically typed", "HTTP is stateless", "JSON is text".
The exemption is narrow. The moment a claim carries a version, a number, a default value, a date, an absolute ("always", "never"), or a "the docs/spec say", it is NOT trivial - verify it. If you feel the pull to label something "trivial" to dodge a lookup you are not actually sure of, that pull IS the rationalization - verify.
The Gate Function
BEFORE stating any factual/technical/historical/procedural claim:
0. PIN: Does the claim depend on a version/model/year/variant the user has
not stated? If yes, ASK before searching - you cannot source a fact
about an instance you have not identified
1. IDENTIFY: Is this a claim the reader will act on? (see list above)
2. SEARCH: Look up the MOST PRIMARY source you can reach - official docs,
source code, spec, changelog, the vendor's own manual, the file in
front of you. Aggregators and re-hosts are leads, not citations.
3. FOUND?
- YES: State the claim WITH the source cited (source must support the
EXACT claim - see "The source must actually support the exact claim")
- NO: SEARCH ONCE MORE with different terms. If the brand shown differs
from whoever actually publishes for it (parent group, underwriter,
manufacturer behind the brand), this search MUST use that name
4. STILL NOT FOUND?
- State "no source found" explicitly
- Give your best answer LABELED "hypothesis" - never as fact
5. ONLY THEN: Write the sentence
The loop is bounded: search, then one more search, then stop and label. Do not spin forever, and do not silently drop the claim - say you could not verify it.
Pin The Instance Before Searching
"What oil does a Peugeot 207 take" has no verifiable answer: year, engine and trim each change it. Searching anyway returns a source that is authoritative about a 207 and wrong about theirs - worse than no answer, because it arrives with a citation attached.
Ask for the identifying attributes the claim hangs on - version, model number,
year, engine, trim, jurisdiction, edition - and ask for the reference itself,
never a photo or a full inventory. One targeted question, then search. This is
guide-decision's framing gate applied to facts: an unasked question that
changes the fact is not ceremony.
If the user cannot supply it, answer per variant, or label the answer a hypothesis and name the attribute it hinges on. Never silently pick the most common variant - that is a guess wearing a citation.
Verified vs Hypothesis
[OK] "requests.get() default timeout is None (requests docs, Advanced/Timeouts)."
[NO] "requests.get() has never changed its default across any version."
-> Absolute historical claim, no source. Say instead:
"hypothesis (no source found): I believe the default has always been None,
but I did not verify the full version history."
State each verified fact once, cite it once. Label each unverified inference once.
The source must actually support the exact claim. A blog post is not proof that a default "never changed across all versions" - only the changelog or version history is. If the source backs a narrower fact than you are stating, narrow the claim to what the source supports, or label the gap a hypothesis. Citing something adjacent is not citing the claim.
This includes the source's modal strength (must/should/may/often/typically) - a truncated excerpt that drops the modal turns a hedge into a mandate. Read the full sentence, not a snippet, before stating what it requires.
Source Quality - Prefer Primary
A citation is only as good as its source. Rank before you trust; a weak or off-target source is not verification.
Hierarchy (reach for the highest you can):
- Primary - the artifact itself: official docs, source code, the spec/RFC, release notes/changelog, the vendor's own manual, the real command output or API response.
- Secondary - a reputable description of the primary: maintainer posts, MDN, an accepted answer that quotes the primary. A summary of a binding text (contract, terms, statute) - FAQ, brochure, a notice marked non-binding - is secondary to that text, even from the same publisher: report what it says, attributed to it; state the rule only from the binding text, otherwise label it a hypothesis.
- Tertiary - aggregators, manual re-host/mirror sites, random blogs, forum guesses, AI summaries. Use ONLY as a lead to a primary source, never as the citation.
Judge each source (PARC):
- Primacy - the thing itself, or someone describing it?
- Authority - does the publisher own or officially cover it? A financial stake in the reader believing the claim (seller, broker, lead-generation site, industry association) downgrades authority a notch even if the publisher is named and specialized - see Conflict Of Interest below.
- Relevance - does it match the EXACT version/model/case, not an adjacent one?
- Corroboration - do two INDEPENDENT sources agree? Near-identical titles, structure, or phrasing across "different" domains is a syndication signal, not agreement - clones of the same template do not corroborate each other.
Analogous is not the same. A manual for a similar model (a different Tuya switch) supports a HYPOTHESIS about yours, never a verified fact. Say: "no primary source for model X; the near-identical model Y documents Z (hypothesis)".
Across parties, only the shared text carries over. A document issued for one party (distributor, reseller, plan) supports another party's case only for terms of the common text both point to (a collective contract, a product spec). Terms each party sets on its own (claims handler, contacts, deadlines) need that party's own document; without it, label them a hypothesis.
A blocked route is not a blocked source. When an API refuses (403/429, quota
spent), reach the same primary data another way before downgrading - e.g.
repository metrics (contributors, activity, tags): git clone --filter=blob:none,
then git log/git shortlog.
If every primary source is network-blocked (403/429/503, dead link) after
every other route fails, say so with the [BLOCKED] <url> - <status> status, and
downgrade the whole answer to hypothesis. Do not backfill the gap with
tertiary/adjacent sources and present it as verified.
Conflict Of Interest
A source can be well-written, named, and topic-specific - and still not be neutral. Before citing a specialized commercial source, check who benefits if the reader believes the claim:
- A company selling a service/product stating that its own product/service is legally required, medically necessary, or "the recommended choice"
- A comparator, broker, or lead-generation site whose revenue depends on the reader contacting or buying (insurance broker, credit comparator, repair network)
- A trade or industry association funded by the sector it defends
A financial stake does not disqualify the source, but it is not authority either: verify the exact claim against a neutral source instead (see Craft And Consumer Domains Have Primary Sources Too below) before stating it as fact.
Recognizing Content Farms And Syndicated Content
Common in consumer/DIY/craft/lifestyle topics (home improvement, gardening, cooking, health-adjacent advice) where no single official body publishes an answer, so search results are dominated by SEO/AI-written sites. Signals a source is tertiary regardless of how professional it looks:
- No named author or credential, no publish date
- Title/structure nearly identical to other "independent" results - see Corroboration above, this is the same syndication signal
- Generic answer with no reference to a standard, spec, technical datasheet, or named institution
- Monetized via ads/affiliate links, not by selling the expertise or product itself
If most/all top results share this pattern, treat the whole result set as tertiary - it is a lead to search harder with, never a citation.
Craft And Consumer Domains Have Primary Sources Too
No "official docs" page does not mean no primary source exists - it means you have not searched for the right one yet. Before settling for blog consensus, search for:
- Manufacturer technical data sheets (fiche technique) for the specific product
- Technical standards governing the work (DTU, NF, ISO, EN)
- Trade federations / technical institutes (e.g. FCBA, CSTB, CAPEB, ADEME) instead of lifestyle blogs
- A named, credentialed professional instead of an anonymous "redaction"
Only fall back to blog-consensus-as-hypothesis after that search comes up empty.
Search-tool summaries can misattribute. A tool's auto-generated synthesis may name an authoritative body ("X confirms...") that is not actually among the returned source URLs. Check the citation is really in the result list before using it - do not trust the summary's framing.
Red Flags - STOP
- About to type a version number, default, or statistic you did not just look up
- Using "always", "never", "unchanged", "not possible" about external behavior
- "I'm pretty sure", "IIRC", "I think it's", "should be" - stated as if it were fact
- Time pressure: "just tell me fast", "don't overthink it", "reviewer is waiting"
- Reaching for memory because searching feels slow
- About to say what a file says, or how two files differ, from an earlier read
instead of a fresh
Grep/Readof the passage - Answering a NON-trivial factual question (version, number, default, date, absolute, "the docs say") with tool_uses still at 0
- Citing an aggregator, mirror, or re-host as if it were the primary source
- Searching for a fact about a model/version/year the user never stated - pin the instance first, the search cannot fix an unidentified subject
- Treating a similar-but-different model or version as if it documented yours
- Citing a document issued for one party about a term another party sets on its own (claims handler, contacts, deadlines)
- Several results agree but share the same generic FAQ skeleton and no named author - that is syndication, not corroboration
- Treating "a blog covers this topic" as authority when no standard, manufacturer, or named expert was found
- Citing a seller, broker, or lead-generation site's claim about its own product/service as if it were neutral authority
- Trusting a search tool's auto-generated summary attribution ("X confirms...") without checking the cited claim actually appears in one of the listed source URLs
Rationalization Prevention
| Excuse | Reality |
|---|---|
| "No time to search" | Wrong fact costs more than a 30-second lookup |
| "Don't overthink it" | The reader will paste this as fact. Verify it |
| "I'm confident" | Confidence is not evidence. Look it up |
| "I know this one" | Memory drifts. Skills evolve. Versions change. Verify |
| "It's probably right" | Probably-right stated as certainly-right is a lie |
| "It turned out true" | Right by luck is still ungrounded. Cite next time |
| "Too obscure to find" | Then say "no source found" and label it hypothesis |
| "An aggregator/mirror says so" | Re-hosts go stale or altered. Trace the primary |
| "A similar model/version matches" | Adjacent is hypothesis-grade, not fact |
| "Different wording, rule doesn't apply" | Spirit over letter. Any factual claim counts |
| "Several sites say the same thing" | Could be the same content-farm template reworded - check independence, not count |
| "It's a whole blog dedicated to this topic" | A niche isn't authority - find the standard/manufacturer/institute behind the claim |
| "The site specializes in exactly this service" | Selling it isn't the same as being neutral about it - check who benefits |
| "The search summary says the official body confirms it" | Verify that body's URL is actually in the source list - summaries fabricate attributions |
Relationship To Other Skills
- A claim that WORK is done (tests pass, build green) needs the same evidence: run the check before stating it. This skill covers claims that FACTS are true; apply both when a completion claim rests on a factual one.
The Bottom Line
Search first. Cite what you find. Label what you cannot verify. Never dress up memory as fact - not under time pressure, not "just this once", not even when you turn out to be right.
04 同仓库更多 Skills
write-guide
Use when writing a guide someone else will follow - a method guide, a playbook, a how-we-do-it document for a team or a client - or when reworking, auditing or extending one that already exists. Also when an outline is handed to you to fill in, when a guide's rules need evidence labels, or when a second guide joins the first and the two start contradicting each other.
write-french
Use when the output is French - a chat reply in French, or a French markdown deliverable such as a guide, a report or a synthesis - including when the user writes in French and expects French back. Prevents French that reads as translated English: word-for-word calques, sentences compressed until the meaning is gone, jargon used before it is defined, invented turns of phrase.
token-file-ops
Use when reading, editing, creating, or manipulating files; or running commands with potentially large output. Provides generic bash-first patterns for any file type.
token-codebase-exploration
Use when exploring an unfamiliar codebase, understanding how a specific feature or pattern works, or learning how components interact. Provides the exploration workflow and strategy.
teach
Use when the user sets learning a topic or skill as their own goal - "teach me X", "I want to learn X", "help me get good at X", a course or study plan for themselves. Not for a question one reply answers ("what is X", "explain X").
search-first
Use before writing any script, config, workflow or service that automates a task or connects two systems - even when a standard approach seems obvious. Search for an existing tool, package, GitHub Action or service first, then adopt, extend, compose or build.