document-sync_skill

This skill continuously verifies code and config against documentation, detecting drift and generating actionable updates to keep docs accurate.
  • Python

648

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill ananddtyagi/cc-marketplace --skill document-sync

  • SKILL.md7.8 KB

Overview

This skill analyzes your live codebase, tech stack, configuration, and architecture to ensure every documentation file is current and accurate. It never assumes—every doc claim is verified against the real system and flagged with evidence and a trust score. It can suggest, dry-run, or auto-update docs while preserving backups and diffs.

How this skill works

The skill performs a full system scan to detect languages, frameworks, dependencies, project structure, and deployment targets, producing a system_state.json and feature report. It then inventories all documentation and cross-references each claim with source code and configuration, producing a doc_verification_report and update plan. Finally, it can generate suggested edits, dry-run patches, or create PR-ready updates with clear diffs and backups based on user-selected conservatism.

When to use it

  • Before releases to ensure docs match code and config
  • When onboarding new contributors or auditing project health
  • After architectural changes, dependency upgrades, or migrations
  • To find undocumented config variables and hidden features
  • When preparing public API docs or SDK reference material

Best practices

  • Run a full system scan (system_scan.py) before running verification
  • Start in dry-run or suggest mode to review proposed changes
  • Protect sensitive docs via protected_docs config and require review for removals
  • Keep a conservative workflow: dry-run -> suggest -> auto-update only after review
  • Always commit backups and include clear change summaries for each update

Example use cases

  • Detect and remove documentation references to deprecated databases or libraries
  • Automatically add missing API routes or feature descriptions found in source files
  • Generate a prioritized docs_update_plan.md for release teams
  • Validate that environment variables documented actually exist and match .env or config schemas
  • Create a PR with safe, evidence-backed doc changes for reviewer approval

FAQ

It never rewrites without code evidence, creates backups and diffs, and honors protected_docs and review_required_for settings in the config file.

Can it make changes automatically?

Yes—auto-update mode exists, but you should use suggest or dry-run first and configure conservatism. All auto changes include backups and clear commit messages.

What is the trust score for each doc?

Each document section gets a trust rating based on matched code/config evidence, presence of executable examples, and schema validation; scores drive suggested actions.

Do I need to confirm fixes before closing issues?

Yes. The skill requires technical verification steps and an explicit user confirmation step before any fix is declared complete; success claims are not made without user approval.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational