Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Readme Check

ASecurity

Audits all README.md files in the repo for staleness after significant code changes and auto-fixes drifted tables. Discovers READMEs dynamically. Skips automatically when fewer than 50 C# files changed in recent history. Triggers on: check readme, readme stale, is readme up to date, readme check, readme accuracy, readme outdated, update readme.

2 stars
0 votes
0 copies
0 views
Added 10/6/2026
code-qualitygoc#bash

Security Analysis

A100/100

Scanned 10/6/2026

$npx -y skills add e128/dotnet-reference --skill readme-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Readme Check?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Readme Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/e128-readme-check/badge)](https://www.skillsdirectory.com/skills/e128-readme-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: readme-check
description: >
  Audits all README.md files in the repo for staleness after significant code
  changes and auto-fixes drifted tables. Discovers READMEs dynamically. Skips
  automatically when fewer than 50 C# files changed in recent history.
  Triggers on: check readme, readme stale, is readme up to date, readme check,
  readme accuracy, readme outdated, update readme.
allowed-tools: Read, Glob, Grep, Bash, Edit
flags:
  --skip-threshold: Skip Step 1 (threshold check) and proceed directly to the audit.
                    Use when the caller (e.g. /yeet) has already computed the count
                    and confirmed it meets the threshold.
---

Audits all README.md files for staleness after significant code changes. Only triggers a review when the change volume warrants it.

## README discovery

Discover all READMEs dynamically in Step 2. Common locations:

| File                          | Audience     | Key content to verify                     |
| ----------------------------- | ------------ | ----------------------------------------- |
| `README.md`                   | Contributors | Project table, script table, .NET version |
| `scripts/README.md`           | Contributors | Script tables match `scripts/help.sh`     |
| `src/*/README.md`             | Package users| Rule tables, version, install snippets    |

## Step 1: Check threshold

**Skip this step if invoked with `--skip-threshold`** — proceed directly to Step 2.

Count `.cs` file changes in the last 30 commits:
```
scripts/status.sh --history 30
```

If **fewer than 50** `.cs` files changed, report "README check skipped — below threshold" and stop.

## Step 2: Discover READMEs

```bash
scripts/solution-inventory.sh --readmes
```

Verify the inventory above is still complete. If a new README exists, flag it.

## Step 3: Audit each README

### Root README.md
1. Read `README.md`
2. Cross-reference project tables against `scripts/solution-inventory.sh --json` (`solution` + `projects[].path`)
3. Cross-reference script table against `scripts/help.sh` output
4. Check .NET version against `Directory.Build.props` or the global.json SDK pin (`scripts/sdk-version.sh`)
5. Verify lode links resolve to existing files

### scripts/README.md
1. Run `scripts/readme-table-diff.sh --json` — deterministic set-diff of documented vs. on-disk scripts. `drift: false` means the script tables (public + `internal/`) are in sync; act only on a non-empty `missing_from_readme` / `extra_in_readme`.
2. Read `scripts/README.md` and check that flags documented match actual script `--help` or argument parsing

### src/*/README.md (packable projects)
For each packable project from `scripts/solution-inventory.sh --json` (`projects[].packable == true`) that has a README:
1. Read the README
2. If the project contains an analyzer rule table, run `scripts/readme-table-diff.sh --analyzer --json` — deterministic set-diff of the rule table against analyzer source. `drift: false` means every diagnostic ID is present and the "Code Fix" column matches actual `CodeFixProvider` coverage; act only on a non-empty `missing_from_readme` / `extra_in_readme` / `code_fix_mismatches`
3. Check `<Version>` in the `.csproj` matches any installation snippet in the README
4. Verify rule categories and titles match the `DiagnosticDescriptor` fields

## Step 4: Report

- If no drift found across any README — report "README audit: PASS — no drift" and stop
- If drift found — present all findings grouped by file, with specific proposed edits

## Step 5: Apply fixes

1. Apply all fixes using the Edit tool
2. Leave staging and committing to the caller (e.g., `/yeet` stages and commits as one unit)

## Rules

- **Audit all READMEs, not just root** — every README in the inventory must be checked
- **Skip if below threshold** — don't waste time auditing after minor changes
- **No agent spawn** — audit directly using Read + Glob + Grep
- **Auto-fix drift** — apply corrections directly; only ask for approval on structural changes
- **Don't restructure** — match the existing style and organization of each README
- **Analyzer README is NuGet-facing** — accuracy is critical; verify every rule ID, title, category, and code fix flag

Attribution

e128e128
View sourceSee grades on GitHubMore from e128 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman Review

Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.

1100021 votes

Caveman Commit

Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.

1100021 votes

Springboot Verification

Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.

2456590 votes

Verification Loop

一个全面的 Claude Code 会话验证系统。

2456590 votes

Django Verification

Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.

2456590 votes
View all in code-quality →