align-documentation

Parse diffs and generate documentation updates for AGENTS.md, API docs, and architecture docs.

18|11|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/Intense-Visions/harness-engineering --skill align-documentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: align-documentation
Source: https://github.com/Intense-Visions/harness-engineering/tree/main/agents/skills/claude-code/align-documentation
Command: npx skills add https://github.com/Intense-Visions/harness-engineering --skill align-documentation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Align documentation with code changes to prevent drift across project docs.

Core Features & Use Cases

  • Detect documentation drift after feature merges, bug fixes, or refactors.
  • Map impacted source changes to AGENTS.md, API docs, and architecture docs.
  • Generate an update plan and validate references to ensure consistency.

Quick Start

Trigger the alignment workflow after a feature is implemented to ensure docs reflect code changes.

Frequently Asked Questions about align-documentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What causes documentation drift after code changes?

Documentation drift happens when feature merges, bug fixes, or refactors alter source code without updating AGENTS.md, API docs, and architecture docs. It occurs because impacted files are not mapped to corresponding documentation artifacts for synchronization.

How do I keep API docs in sync with code changes?

You keep API docs in sync by parsing code diffs to identify modified files, mapping impacted files to relevant API documentation, and generating an update plan that validates references and maintains consistency across architecture docs.

When do I need to update AGENTS.md during a refactor?

You need to update AGENTS.md during a refactor when source code changes alter architecture or interface contracts. Detecting drift requires parsing diffs and mapping the impacted files to generate updated documentation artifacts.

Can I automatically generate an update plan for architecture docs after a feature merge?

Yes, you can automatically generate an update plan for architecture docs after a feature merge. The process parses diffs, maps impacted source files to documentation, and validates references to ensure consistency without manual tracking.

What is the best way to prevent documentation drift across a repository?

The best way to prevent documentation drift is triggering an alignment workflow after code changes. This maps impacted source files to AGENTS.md, API docs, and architecture docs, validating references to maintain consistency.

Do I need to manually track impacted files to sync documentation?

No, you do not need to manually track impacted files to sync documentation. The alignment process automatically parses diffs from code changes and maps the impacted files to AGENTS.md, API docs, and architecture docs.