Agent skill

Check Docs

by go-to-k in go-to-k/cdkd

Check if documentation (README.md, AGENTS.md, docs/) is up to date with recent code changes.

Apache-2.0Auto-check passedAgent Workflows

Install Check Docs

skills CLI
$ npx skills add go-to-k/cdkd --skill check-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install go-to-k/cdkd check-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/go-to-k/cdkd.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/check-docs .claude/skills/check-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
check-docs
GitHub stars
144
Token cost
~1.4k tokens
SKILL.md length
647 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Check if documentation (README.md, AGENTS.md, docs/) is up to date with recent code changes.

  • Works in 6 steps: Identify what changed: git diff… → Decide whether a deep review is needed… → For each changed source file, determine… → …
  • Code has been modified and docs may be stale
  • SKILL.md covers Steps, When to run this and Important
  • Calls git

What it does

Check Docs is an agent skill from go-to-k/cdkd. Check if documentation (README.md, AGENTS.md, docs/) is up to date with recent code changes. Use when code has been modified and docs may be stale.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files. It works with Amazon Web Services and AWS CloudFormation. The repository describes itself as: Drop-in CDK CLI for existing CDK apps — up to 15x faster deploys via direct AWS SDK calls instead of CloudFormation. The licence is Apache-2.0.

When your agent uses it

  • Code has been modified and docs may be stale
  • Tasks that involve Agent instruction files

Example prompts

  • “/check-docs”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Identify what changed: git diff main...HEAD --name-only (or
  2. Decide whether a deep review is needed (short-circuit). Most internal
  3. For each changed source file, determine what documentation is affected
  4. Read the relevant documentation sections and compare with the code, for
  5. Report findings as a checklist: each discrepancy with its file and
  6. Fix the issues, then re-run this check.

What it can do on your machine

Read from SKILL.md and the folder at commit 8a604fd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Check Docs loads about 1.4k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 647 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from go-to-k/cdkd at commit 8a604fd, republished under its Apache-2.0 licence (© go-to-k). 647 words, ~1,418 tokens.

Download SKILL.mdSave it as .claude/skills/check-docs/SKILL.md (or your agent's skills folder).
name
check-docs
description
Check if documentation (README.md, AGENTS.md, docs/) is up to date with recent code changes. Use when code has been modified and docs may be stale.

Documentation Consistency Check

You are checking whether documentation is up to date with recent code changes in this repository.

Steps

  1. Identify what changed: git diff main...HEAD --name-only (or git diff HEAD~5 --name-only if on main).

  2. Decide whether a deep review is needed (short-circuit). Most internal refactors and bug fixes do not affect anything the docs describe. A deep review IS required if the diff touches any of:

    • src/index.ts — public exports.
    • src/cli/options.ts, src/cli/commands/** — the CLI surface described in docs/getting-started.md and the per-command pages under docs/.
    • src/types/** — public type definitions.
    • src/state/** — bucket name, key layout, lock layout, schema version, all documented verbatim in docs/state-management.md, docs/troubleshooting.md, docs/stack-outputs.md and .claude/rules/state-schema.md. A path-layout change invalidates dozens of shell snippets across them.
    • Any NEW file under src/** — it must be reachable from the key-file index in .claude/rules/code-layout.md and its layout-*.md satellites.
    • package.json — dependency changes described in .claude/rules/package-and-release.md.
    • README.md, AGENTS.md, docs/**, .claude/rules/**, plugins/** — the docs themselves. plugins/** is a TRIGGER, not only a step-3 target: a plugins-only diff matches nothing else, and step 3 reads changed SOURCE files.
    • Any src/** file matched by a paths: glob in a .claude/rules/ satellite — in practice nearly every src file. A comment-only or message-only edit does NOT exempt it: those files assert DECISIONS about the code, and a reworded message is exactly what invalidates one.

    If none apply, write "no docs-visible surface touched" and stop.

  3. For each changed source file, determine what documentation is affected:

    • Any src/** change → the .claude/rules/ satellites whose paths: glob matches it. DERIVE them — for f in .claude/rules/*.md; do echo "$f"; sed -n '/^paths:/,/^---$/p' "$f"; done, or the per-area row in .claude/rules/code-layout.md — never recall them, and use the sed range rather than grep -A<n>, which truncates a file declaring several globs. Then read what each SAYS about the code you changed, not just whether it names your new files: nothing mechanical watches a rule file that asserts a decision.
    • src/cli/ → CLI options/commands in docs/getting-started.md and the per-command pages.
    • src/synthesis/, src/assets/, src/deployment/, src/analyzer/ → the matching section of docs/architecture.md.
    • src/provisioning/ → docs/provider-development.md and docs/provider-rules.md, plus .claude/rules/providers.md. For a NEW SDK provider also docs/supported-resources.md + docs/import.md. If the provider gates a stabilization wait on process.env['CDKD_NO_WAIT'], its resource type MUST appear in the per-type wait-semantics table in docs/cli-deploy.md and in the noWaitOption help + JSDoc in src/cli/options.ts (enforced by tests/unit/provisioning/no-wait-doc-coverage.test.ts).
    • src/state/ → docs/state-management.md.
    • New exports in src/index.ts → public API docs.
    • package.json dependency changes → .claude/rules/package-and-release.md.
    • New integration tests → docs/testing.md and docs/integ-fixture-conventions.md.
    • Any behaviour change → plugins/cdkd-skills/skills/cdkd/SKILL.md, the DISTRIBUTED plugin surface, written for an audience that never reads this repo. Grep it for the subject you changed. If you edit it, bump the version in BOTH plugins/cdkd-skills/.claude-plugin/plugin.json and .claude-plugin/marketplace.json in the same PR — nothing enforces that, and an un-bumped edit ships to nobody.
  4. Read the relevant documentation sections and compare with the code, for: missing mentions of new files / features / options; outdated descriptions; stale lists (provider lists, context-provider lists); hardcoded lists that should reference the source directory instead.

  5. Report findings as a checklist: each discrepancy with its file and section, and the suggested fix. If none, confirm the docs are consistent.

  6. Fix the issues, then re-run this check.

Show full SKILL.md (131 more words)Show less

When to run this

Before committing, and again before opening the PR if anything changed since. It only needs re-running when one of src/**, docs/**, README.md, AGENTS.md or .claude/rules/** is edited. If issues remain unfixed, fix them and re-run — do not report the docs consistent.

Important

  • Do NOT create new doc files; check consistency, not completeness.
  • Check the changelog entries for stale content. First ask whether this change writes a changelog entry AT ALL: only a user-visible behavior delta does — what the shipped binary does. Agent instructions, tests, CI, hooks and behavior-describing docs write none. A required entry is ONE file under changelog.d/entries/<YYYY-MM-DD>-<issue>-<slug>.md carrying the bullet and no dated heading, capped at 2000 characters (tests/unit/scripts/changelog-entry-size.test.ts); a design decision goes to docs/design/<issue>-<slug>.md instead.
  • Prefer referencing source directories over hardcoded lists in docs.

© go-to-k, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/check-docs of go-to-k/cdkd.

Open the folder on GitHubat commit 8a604fd

Compare with similar skills

Check Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Check Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Check Docs this skillgo-to-k/cdkd144—~1.4kAutomated safety check: PassApache-2.0
PR Reviewaws/aws-cdk-cli107—~2kAutomated safety check: PassApache-2.0
AWS Architecture Diagramawslabs/agent-plugins915—~3.8kAutomated safety check: NotesApache-2.0
Document Serviceawslabs/agent-plugins915—~4.4kAutomated safety check: PassApache-2.0
AWS Sam Bootstrapgiuseppe-trisciuoglio/developer-kit356—~954Automated safety check: NotesMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT

Similar skills

  • PR Review

    aws/aws-cdk-cli

    Official

    AWS CDK CLI general PR reviewer. An agent skill from aws/aws-cdk-cli.

    107 GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • AWS Architecture Diagram

    awslabs/agent-plugins

    Official

    Generate validated AWS architecture diagrams as draw.io XML using official AWS4 icon libraries.

    915 GitHub stars~3.8k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Document Service

    awslabs/agent-plugins

    Official

    This skill should be used when the user asks to "analyze this codebase", "document this service", "generate technical docs", "I inherited this code", "help me understand this system", "create docs…

    915 GitHub stars~4.4k tokensUpdated today
    DevOps & CloudAuto-check passed
  • AWS Sam Bootstrap

    giuseppe-trisciuoglio/developer-kit

    Provides AWS SAM bootstrap patterns: generates template.yaml and samconfig.toml for new projects via sam init, creates SAM templates for existing Lambda/CloudFormation code migration, validates…

    356 GitHub stars~954 tokensUpdated 29 days ago
    Backend & APIsAuto-check: notes
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed
  • AWS Cdk Development

    zxkane/aws-skills

    AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.

    367 GitHub starsUsed in 2 repos~2.5k tokens
    DevOps & CloudAuto-check passed

More from go-to-k/cdkd

All 14 skills in this repo
  • Hunt Bugs

    go-to-k/cdkd

    Proactively hunt for cdkd bugs by deploying real CDK apps that exercise common-but-untested AWS resources, configs, and CloudFormation notations against real AWS, then fix what breaks.

    144 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Use Cdkd

    go-to-k/cdkd

    Build the current cdkd checkout and use it from another CDK project.

    144 GitHub stars~669 tokensUpdated today
    Auto-check passed
  • Verify PR

    go-to-k/cdkd

    Comprehensive PR readiness check before merge. An agent skill from go-to-k/cdkd.

    144 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Work Issues

    go-to-k/cdkd

    Work through already-filed GitHub issues (typically the bug-hunt's output) end to end — triage safely, pick as many FILE-DISJOINT issues as the run can carry, claim each on the issue before starting…

    144 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Cdkd

    go-to-k/cdkd

    Install cdkd and use it safely from an AWS CDK project. An agent skill from go-to-k/cdkd.

    144 GitHub stars~6.7k tokensUpdated today
    Auto-check: notes
  • Run Integ

    go-to-k/cdkd

    Run integration tests (deploy + destroy) against real AWS. An agent skill from go-to-k/cdkd.

    144 GitHub stars~5.8k tokensUpdated today
    Auto-check passed

Questions about Check Docs

What does Check Docs do?

Check if documentation (README.md, AGENTS.md, docs/) is up to date with recent code changes. Check Docs is an agent skill from go-to-k/cdkd.md, docs/) is up to date with recent code changes.

When should I use Check Docs?

Check Docs fits situations like: code has been modified and docs may be stale; tasks that involve Agent instruction files.

How do I install Check Docs in Claude Code?

Run `npx skills add go-to-k/cdkd --skill check-docs -a claude-code`. Or copy the skill folder (.claude/skills/check-docs in go-to-k/cdkd) into .claude/skills/check-docs in your project. Claude Code loads it when a task matches its description.

How do I install Check Docs in Codex?

Run `npx skills add go-to-k/cdkd --skill check-docs -a codex`. Or copy the skill folder (.claude/skills/check-docs in go-to-k/cdkd) into .agents/skills/check-docs in your project. Codex loads it when a task matches its description.

Can I use Check Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add go-to-k/cdkd --skill check-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/check-docs, .gemini/skills/check-docs, .github/skills/check-docs and .opencode/skills/check-docs in your project.

What does Check Docs need to run?

Going by SKILL.md and its folder, Check Docs needs the command-line tools its instructions call (git).

Does Check Docs access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Check Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Check Docs use?

Check Docs is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Check Docs use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Check Docs?

Skills that share tags, products or a category with Check Docs: PR Review (aws/aws-cdk-cli, 107 stars), AWS Architecture Diagram (awslabs/agent-plugins, 915 stars), Document Service (awslabs/agent-plugins, 915 stars) and AWS Sam Bootstrap (giuseppe-trisciuoglio/developer-kit, 356 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Check Docs?

go-to-k (a GitHub user) maintains it in go-to-k/cdkd, which has 144 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 9, 2026.

Source: go-to-k/cdkd on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.