agentleFS
AWSKnown publisherawslabs/do-agent-aws/Container-Root/agent/skills/doc-freshness-auditor/SKILL.md

doc-freshness-auditor

Skill3 starsChanged 3 days agoApache-2.0View on GitHub

Audit documentation URLs and files for staleness by checking commit dates, release tags, and version history. Use when analysis relies on documentation that may be outdated or when building source-of-truth references.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check whether documentation sources are current or stale before using them as evidence in analysis or recommendations.

    line 9
  2. Distinctive:

    Before building analysis documents from multiple documentation sources

    line 114
  3. Distinctive:

    When a user says "some of these documents are outdated"

    line 115
  4. Distinctive:

    Before recommending configurations based on documentation

    line 116
  5. Distinctive:

    When cross-referencing between official docs and source code

    line 117
  6. Distinctive:

    After a major version release (check if docs reflect new version)

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Documentation Freshness Auditor Skill

Check whether documentation sources are current or stale before using them as evidence in analysis or recommendations.

Usage

/doc-freshness-auditor [path-or-url-list]

Workflow

Step 1: Collect All Documentation References

Extract every URL and file reference from the target document:

# Extract URLs from a markdown file
grep -oP 'https?://[^\s)>"]+' DOCUMENT.md | sort -u

# Extract file path references
grep -oP '`[^`]*\.(md|txt|yaml|json|py|cpp|h)`' DOCUMENT.md | sort -u

Step 2: Check Each Source

For GitHub URLs

# Get last commit date for a file
gh api repos/OWNER/REPO/commits?path=PATH&per_page=1 | \
  jq -r '.[0].commit.committer.date'

# Get release tags and dates
gh release list --repo OWNER/REPO --limit 10

# Check if file exists in current main
gh api repos/OWNER/REPO/contents/PATH 2>/dev/null && echo "EXISTS" || echo "NOT FOUND"

For Web Documentation

# Check last-modified header
curl -sI URL | grep -i "last-modified"

# Check page content for version numbers
curl -s URL | grep -oP 'version[:\s]*[\d.]+' | head -5

For Local Files

# Check modification date
stat -c '%Y %n' FILE | while read ts name; do
  echo "$(date -d @$ts '+%Y-%m-%d') $name"
done

# Check if file references deprecated versions
grep -n "v0\.\|deprecated\|removed\|obsolete" FILE

Step 3: Score Freshness

AgeRatingAction
< 30 daysFRESHUse as-is
30-90 daysRECENTVerify key claims still hold
90-180 daysAGINGCross-reference with newer sources
180+ daysSTALEFind replacement or verify against current code
File not foundDEADRemove reference entirely

Step 4: Check Version Alignment

For each documentation source, verify:

  • Does the doc reference the same software version you're using?
  • Has the API/config changed between the documented version and current?
  • Are there deprecation notices for anything mentioned in the doc?
# Compare documented version vs current
DOCUMENTED_VERSION=$(grep -oP 'version[:\s]*[\d.]+' DOC | head -1)
CURRENT_VERSION=$(gh release list --repo OWNER/REPO --limit 1 | awk '{print $1}')
echo "Doc: $DOCUMENTED_VERSION, Current: $CURRENT_VERSION"

Step 5: Generate Report

# Documentation Freshness Audit

**Audited:** YYYY-MM-DD
**Source document:** [path]

## Summary
- Total sources: N
- FRESH: N
- RECENT: N
- AGING: N
- STALE: N
- DEAD: N

## Details

| Source | Last Updated | Rating | Version Match | Notes |
|--------|-------------|--------|---------------|-------|
| URL/file | YYYY-MM-DD | FRESH | Yes/No | ... |

When to Use

  • Before building analysis documents from multiple documentation sources
  • When a user says "some of these documents are outdated"
  • Before recommending configurations based on documentation
  • When cross-referencing between official docs and source code
  • After a major version release (check if docs reflect new version)
<!-- imported on 2026-10-31 by tools/import-skills.py from a native Claude Code instance's skill library; the source site's names, ids, hosts and paths are scrubbed to <placeholders>; its other files were not copied -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.