Fact-check documentation
Aligns documentation claims with current repository behavior while separating plans and historical decisions.
doc-fact-checking
See how it helpsWhen is it useful?
Use when documentation describes features whose implementation or status is uncertain.
What does it help you do?
- Maps existing documentation before adding competing sources of truth.
- Checks commands, paths, configuration and behavior against primary code.
- Labels planned work, obsolete decisions and unverified claims explicitly.
Try asking this
Audit our installation guide and mark commands that work, outdated steps and features still only planned. Trace each installation command to its current script or configuration. Replace obsolete instructions and clearly label a feature whose implementation is not present.
Detailed documentation
Read the skill’s original instructions, examples and checks in their authored language.
Show less
Codebase Research & Fact Checking
Write only what the code, configuration, tests, command output and accepted decisions actually prove. Never invent endpoints, commands, configuration keys, defaults or product capabilities, and never repeat an older document's claim without checking the source that runs today.
1. Establish the existing documentation map first
- Inspect the repository's documentation layout before drafting or editing: root
README.md,CONTRIBUTING.md,AGENTS.md,CLAUDE.md, package-level READMEs,docs/, ADR directories, OpenAPI specs and inline module comments. - Identify which document owns which subject so you update the canonical file instead of creating a parallel, competing explanation.
- Note the language, formatting, heading structure and link style the project already uses.
2. Verify every claim against the primary source in the repo
- Commands and scripts: check
package.jsonscripts (in the root and each workspace),Makefile,composer.json, CLI entry points and CI workflows (.github/workflows/*). Record the exact working directory and required prerequisites. - Configuration and environment variables: find where the variable or setting is actually parsed in code, its type, its fallback/default value, and when it takes effect (build time, startup, per request). Cross-check
.env.exampleagainst the reader in code. - Endpoints, routes and payloads: read the route registration, middleware/guards, request schema/validator, handler and response serializer. Check status codes and error shapes from the error handler and tests.
- Data model and state transitions: check migrations, schema definitions, models and domain services for column names, constraints, allowed states and side effects.
- Background jobs, queues and schedules: check job classes/handlers, retry/backoff settings, idempotency guards, timeout configuration and failure handling.
- Tests as executable evidence: read unit, integration and e2e tests to confirm edge cases, expected inputs, error responses and invariants.
3. Separate present truth, planned work and history
- Keep three distinct buckets while researching:
- Current behavior: what the code on the current branch actually executes.
- Planned or proposed behavior: specs, open RFCs, unimplemented roadmap items or feature-flagged stubs. Label them explicitly as planned; never present them as working features.
- Historical context: superseded ADRs, legacy migration notes or deprecated paths. Mark why they existed and what replaced them.
- When existing documentation and the code disagree, the code shows what runs. Surface the discrepancy clearly. Document the observed behavior, but never enshrine a known bug as an intended requirement.
4. Handle unknowns honestly
- Keep a clear distinction between verified facts, unverified assumptions (for example, an external service behavior you cannot run locally), and open questions that need an architect or product decision.
- Never resolve a business or architectural contradiction by guessing in prose; record the contradiction and cite both sides with file paths.
Before you finish
- Existing documentation structure and canonical files mapped before creating or editing.
- Every command, path, config key, default, route and type checked against the code.
- Current behavior, planned changes and historical decisions clearly separated.
- Code-vs-doc mismatches identified without turning bugs into requirements.
- Any unverified claim or external dependency explicitly marked.
Included files 2
LICENSE.txtSKILL.md
About this skill package
doc-fact-checking
doc-fact-checking: Keep developer documentation, API guides and operational runbooks accurate, usable and connected to the code.
Show less
doc-fact-checking
doc-fact-checking: Keep developer documentation, API guides and operational runbooks accurate, usable and connected to the code.
Includes the complete skill and its supporting files (2 files). The exact authored scope is preserved below.
Original skill description (source language)
Use when researching a codebase, configuration, schema, test suite or decision records to write, review or update documentation, implementation notes or knowledge base documents: tracing actual behavior from source files, separating current behavior from planned changes and historical decisions, and backing every claim with verifiable evidence.
Install the skill, review its source and trust settings, then enable it for the relevant project or agent.
Requirements
- Orqestria installed on your computer.
