Update Documentation References

Analyze GitHub pull requests to update documentation references affected by source changes.

Updated May 14, 2026
One-click install
npx skills add https://github.com/HabibTorjmen/Blockchain --skill update-documentation-references
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Update Documentation References
Source: https://github.com/HabibTorjmen/Blockchain/tree/main/aztec-packages/.claude/skills/update-doc-references
Command: npx skills add https://github.com/HabibTorjmen/Blockchain --skill update-documentation-references

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Documentation can become outdated when referenced source files change, causing readers to rely on incorrect APIs, types, examples, or behavior.

Core Features & Use Cases

  • PR-driven reference analysis: Extracts PR number, title, and changed source references from the dispatch prompt to determine what needs review.
  • Impact-aware documentation updates: Compares documentation frontmatter reference mappings against diffs to decide whether content truly changed.
  • Minimal, style-preserving edits: Applies only the precise documentation changes needed for accuracy, including updating examples when APIs differ.
  • Team-ready reporting: Creates a follow-up PR when changes are required and reports results to the provided Slack thread, including diffs if PR creation fails.

Quick Start

Ask the skill to update documentation references for the provided PR by analyzing the code diffs, validating the referenced mappings in doc frontmatter, and updating only the docs that require content changes.

Frequently Asked Questions about Update Documentation References

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

FAQPage Schema
How do I automatically update documentation when API signatures change in a pull request?

To update documentation automatically when API signatures change in a pull request, analyze the PR diffs against doc frontmatter references and apply minimal edits to the affected docs. This process evaluates API signatures, renamed public types, and example correctness to ensure accuracy.

What is frontmatter parsing for documentation maintenance?

Frontmatter parsing for documentation maintenance is the process of reading metadata headers to map source files to their corresponding docs. It confirms the source-to-doc mapping, allowing tools to determine exactly which documentation requires revision when referenced code is modified.

How do I keep docs correct after code changes using GitHub CLI?

To keep docs correct after code changes using GitHub CLI, extract PR metadata and diffs, validate the source-to-doc mappings via frontmatter, and generate minimal style-preserving edits. It then creates a follow-up PR and reports the results to a Slack thread.

Can I preserve documentation style while updating API references?

Yes, you can preserve documentation style while updating API references. The update process applies only the precise documentation changes needed for accuracy, updating examples when APIs differ while maintaining the original structure and formatting of the files.

Does this documentation update workflow require a shared extraction utility?

Yes, this documentation update workflow requires a shared extraction utility across multiple documentation files. It relies on these shared utilities alongside doc frontmatter references to properly confirm the source-to-doc mapping before evaluating doc-impact categories.

What happens if follow-up PR creation fails for documentation updates?

If follow-up PR creation fails for documentation updates, the system reports the results to the provided Slack thread and includes the generated diffs directly in the message. This ensures the team still receives the necessary documentation changes for manual application.