update-reference

Synchronizes reference documents with code, tests, and documentation via type-specific update rules.

Updated Jun 21, 2025
One-click install
npx skills add https://github.com/grad13/cctop --skill update-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-reference
Source: https://github.com/grad13/cctop/tree/main/.claude/skills/update-reference
Command: npx skills add https://github.com/grad13/cctop --skill update-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that reference documents accurately reflect the current state of code, tests, and documentation, preventing outdated information from causing confusion or errors.

Core Features & Use Cases

  • Automated Synchronization: Compares reference documents against source code and tests to identify discrepancies.
  • Type-Specific Updates: Applies different update rules based on whether the reference is a 'fact' (current state), 'vision' (future plan), or 'history' (past record).
  • Use Case: After updating a feature in your codebase, run this Skill to automatically check and update the corresponding 'fact' type reference document, ensuring it accurately describes the new functionality.

Quick Start

Update the reference documents to reflect the latest changes in the code.

Frequently Asked Questions about update-reference

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

FAQPage Schema
How do I keep reference documents synchronized with code changes?

To keep reference documents synchronized, this Skill compares them against your current codebase and tests to identify discrepancies. It then updates the content, links, and confirmation dates to ensure your documentation accurately reflects the latest state.

What is the best way to update outdated documentation after a feature update?

The best way to update outdated documentation is to run a synchronization check against the source code. This Skill detects discrepancies and automatically applies type-specific update rules to align your reference documents with the new functionality.

How does reference document synchronization handle different types of knowledge management records?

Reference document synchronization handles knowledge management records by applying distinct update rules based on document type. It updates 'fact' documents for current state, 'vision' for future plans, and 'history' for past records accordingly.

Can I automatically check code and test discrepancies against existing documentation?

Yes, you can automatically check code and test discrepancies against existing documentation. The Skill scans your reference files, identifies mismatches with the current codebase, and updates content, links, or confirmation dates to resolve them.

Why do my reference documents show outdated information after version control updates?

Reference documents show outdated information after version control updates because they were not synchronized with the new code state. Running this Skill checks for discrepancies and updates the documents to match the latest changes.

When should I avoid using automated reference synchronization for my project?

You should avoid automated reference synchronization if your project lacks established document type classifications like 'fact', 'vision', or 'history', as the Skill relies on these distinct categories to apply the correct update rules.