doc-sync

Map git diffs to affected skills and publish updates for Claude, Codex, and other targets.

95|4|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/aspenkit/aspens --skill doc-sync-aspenkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-sync
Source: https://github.com/aspenkit/aspens/tree/main/.agents/skills/doc-sync
Command: npx skills add https://github.com/aspenkit/aspens --skill doc-sync-aspenkit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps agent skills in sync with a codebase by mapping git diffs to affected skills and optionally syncing via a post-commit hook, reducing drift and manual maintenance.

Core Features & Use Cases

  • Monorepo-aware diffing that targets only changed subprojects and updates the corresponding skills
  • Multi-target publishing with context-aware transformations to support Claude, Codex, and other targets
  • Graph-based context refresh that rebuilds on commit and preserves stability across large repos

Quick Start

Run doc-sync to map the latest diffs to affected skills and publish updates, including enabling the post-commit hook integration.

Frequently Asked Questions about doc-sync

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

FAQPage Schema
How do I keep agent skills in sync with code changes in a monorepo?

To keep agent skills in sync with code changes, this skill maps git diffs to affected skills and incrementally updates documentation. It targets only changed subprojects in a monorepo, reducing manual maintenance and preventing documentation drift across multi-target publishing environments.

How does incremental documentation updating work with git diff?

Incremental documentation updating works by mapping git diff primitives to affected skills and using a graph-based context to refresh only impacted domains. It rebuilds the repository graph on every sync to ensure updates remain accurate without scanning the entire codebase.

Does doc-sync support multi-target publishing for different LLM agents?

Yes, multi-target publishing supports different LLM agents through context-aware transformations. It can sync and publish updated documentation to multiple targets like Claude and Codex, ensuring consistent skill mappings across different publishing destinations.

Can I automatically update documentation using a post-commit hook?

Yes, you can automatically update documentation using a post-commit hook integration. Enabling the hook maps the latest committed diffs to affected skills and publishes incremental updates automatically, enforcing safety by restricting LLM tool usage during the sync process.

What are the safety constraints when using LLMs to update documentation?

Safety constraints restrict LLM tool usage during the documentation sync process. The system relies strictly on git primitives for diffs and enforces graph-based context boundaries, preventing the LLM from executing unauthorized operations while incrementally updating affected skills.

What is the best way to maintain agent skills across large repositories?

The best way to maintain agent skills across large repositories is using graph-based context refreshes that rebuild on every commit. This approach preserves stability across large monorepos by targeting only changed subprojects and incrementally updating corresponding skills instead of rewriting everything.