DocGuard
DocGuard reads what your documentation says about your code. It reads the code too, and it reports every claim where the two no longer agree. Each finding says how sure DocGuard is. It also says whether DocGuard can name the fix or leaves the decision to you. DocGuard runs offline and makes no model or network calls when it checks your project. It works with any coding agent.
npx docguard-cli demo
The demo runs against a sample project and needs no install or setup.
Start here
| If you want to | Read |
|---|---|
| Try it on a new project in five minutes | Quick Start |
| Install it as a CLI, Python package, Homebrew formula, container, Action or Spec Kit extension | Installation |
| Adopt it on a repository that already has code | Existing Projects |
| Fix a build that turned red when strict became the default | Upgrading to Strict |
| Use it with GitHub Spec Kit | Spec Kit |
| Use it with AWS AI-DLC | AWS AI-DLC |
| Gate pull requests | Continuous Integration |
| Know which languages and frameworks it reads | Languages and Frameworks |
| Write your documents in Portuguese, Spanish or another language | Documents in Other Languages |
| Connect your coding agent | Coding Agents and AI Integration |
| Understand a finding code | Finding Codes |
Guides
- Existing Projects: from a clean branch to a gated first pull request.
- Spec Kit: the extension, its hooks and the spec lifecycle registry.
- AWS AI-DLC: reading AI-DLC workspaces and the
docguardAI-DLC plugin. - Continuous Integration: GitHub Actions and other CI systems.
- Monorepos: several packages in one repository.
- Upgrading: moving between versions safely.
- Upgrading to Strict: what a strict failure looks like, and three ways to fix it.
- Troubleshooting: exit codes, false positives and partial coverage.
- AI Integration and Compliance Profiles.
Reference
- Commands and Configuration.
- Languages and Frameworks, Documents in Other Languages, Coding Agents and the MCP Server.
- Finding Codes, generated from the code that reports them.
- Glossary: the words these docs use, one for each concept.
- FAQ.
- Section-Addressable Docs: the markers that keep code-derived sections apart from your own text.
Background
- The technical brief (PDF) explains the method and the research behind the detectors. It also explains how DocGuard measures their numbers.
- Philosophy, the CDD Standard and Comparisons live in the repository.
Other languages
These guides are in English. A short introduction is also available in Spanish and Portuguese (Brazil).