checking-freshness

Detect outdated skill documentation by comparing source changes with SKILL.md files.

Updated Jan 3, 2026
One-click install
npx skills add https://github.com/shren207/awesome-anki --skill checking-freshness-shren207
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: checking-freshness
Source: https://github.com/shren207/awesome-anki/tree/main/.claude/skills/checking-freshness
Command: npx skills add https://github.com/shren207/awesome-anki --skill checking-freshness-shren207

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps keep documentation aligned with code by automatically detecting when skill documentation becomes stale relative to source changes.

Core Features & Use Cases

  • Automated freshness checks: Compare source files against SKILL.md and references to surface outdated documentation.
  • Source-to-doc mapping: Applies to core source directories (packages/core and server/web) and associated references to identify drift between code and documentation.
  • Pre-commit integration: Works with a pre-commit hook (.claude/scripts/check-docs-freshness.sh) to warn about stale content during commits.

Quick Start

Run the pre-commit hook to verify documentation freshness, then review the generated warnings to update the corresponding SKILL.md and references.

Frequently Asked Questions about checking-freshness

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

FAQPage Schema
How do I check if my documentation is outdated after code changes?

Check documentation freshness by comparing source file modifications against the corresponding SKILL.md and references using git log. This automated detection flags stale documentation whenever source code changes occur, ensuring docs stay aligned with the actual codebase.

Can I detect stale documentation automatically before committing code?

Yes, you can detect stale documentation before committing by integrating a pre-commit hook. This hook runs an automated freshness check that warns you about outdated SKILL.md and references content during the git commit process, preventing documentation from falling behind code changes.

What is documentation freshness checking and how does it work with git?

Documentation freshness checking is the process of identifying when documentation becomes stale relative to source changes. It works by using git log to determine the last modification times of source files and skill docs, then comparing them to surface outdated content that needs updating.

Does the documentation freshness check work with my core packages and web directories?

Yes, the freshness check applies to core source directories including packages/core and server/web along with their associated references. It maps these source files against SKILL.md and references to identify drift between code and documentation across your project structure.

What's the best way to keep SKILL.md files in sync with source code?

The best way to keep SKILL.md files in sync is to automate detection of outdated documentation by comparing source changes with the corresponding skill docs. Using a pre-commit hook to warn about stale content ensures documentation updates happen alongside code changes rather than as an afterthought.

Why does my pre-commit hook warn about outdated documentation content?

Your pre-commit hook warns about outdated documentation because it runs an automated freshness check comparing source file modification times against SKILL.md and references. This warning indicates that your documentation has fallen behind recent code changes and needs to be updated before committing.