A tool to review or scaffold README files based on project type and scope.
Install
mkdir -p .claude/skills/readme-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10179" && unzip -o skill.zip -d .claude/skills/readme-review && rm skill.zipInstalls to .claude/skills/readme-review
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Strukturell gjennomgang og generering av README-er tilpasset prosjekttype — tjeneste, bibliotek, monorepo eller naisjobKey capabilities
- →Detect project scope (service, lib, monorepo, naisjob)
- →Review README sections against project-type specs
- →Generate README drafts from codebase manifests
- →Surface top 3 impactful documentation fixes
- →Hand off language-specific polish to @forfatter
How it works
It detects the project type via file structure, then routes to either a structural review or a template-based generation process.
Inputs & outputs
When to use readme-review
- →Generate a new README for a service
- →Review existing README structure
- →Scaffold documentation for a monorepo
- →Update README sections for clarity
About this skill
README Review & Scaffold
Structural review and generation of READMEs adapted to project type. Complements @forfatter (language quality) with structural guidance (what sections, what order, what depth).
Workflow
Step 0: Detect README scope
Step 1: Route → review or generate
Step 2a: Review existing README
Step 2b: Generate new README
Step 3: Hand off language issues to @forfatter
Step 0: Detect README scope
Before reviewing or generating, determine what kind of README this is. Use file location and nearby manifests:
| Scope | Signals | Example |
|---|---|---|
| Monorepo root | Root README.md, multiple apps/ or packages/, workspace config | navikt/fp-sak/README.md with apps/ dir |
| Service / API | .nais/ dir, main.go / Application.kt, Dockerfile | apps/my-service/README.md |
| Library / package | Published to npm/Maven, no .nais/, exports public API | libs/shared-utils/README.md |
| Naisjob | .nais/naisjob.yaml, scheduled execution, no HTTP endpoints | apps/batch-processor/README.md |
| Docs-only | No source code, only markdown files | docs/README.md |
If scope is unclear, ask the user.
Step 1: Route
- Existing README + user says "review", "check", "improve" → Step 2a
- No README or user says "create", "scaffold", "generate" → Step 2b
- Ambiguous → check if
README.mdexists in the target directory
Step 2a: Review existing README
2a.1 Check sections against spec
Read the existing README. For each section in the spec for this project type (see section-spec.md):
| Status | Meaning |
|---|---|
| ✅ OK | Section exists with substantive content |
| ⚠️ Weak | Section exists but is thin, outdated, or misplaced |
| ❌ Missing | Required section is absent |
| — | Section not applicable for this project type |
2a.2 Check for anti-patterns
Scan for structural anti-patterns (see anti-patterns.md). Flag only patterns that are actually present.
2a.3 Output
## README review — {project name}
**Scope:** {service / library / monorepo / naisjob}
### Section check
| Section | Status | Notes |
|---------|--------|-------|
| Title + one-liner | ✅ | — |
| Quick start | ❌ | No runnable commands found |
| ... | ... | ... |
### Anti-patterns found
- **{Pattern name}**: {One-sentence description of what's wrong and how to fix it}
### Top 3 fixes
1. {Most impactful fix}
2. {Second fix}
3. {Third fix}
Surface top 3 fixes ordered by impact. Don't overwhelm with minor issues.
Step 2b: Generate new README
- Pick template from
references/based on detected scope - Fill in what you can detect from the codebase:
- Project name (from directory or manifest)
- Tech stack (from
go.mod,package.json,build.gradle.kts) - Build/test commands (from
Makefile,.mise.toml,package.jsonscripts) - Endpoints (from route definitions)
- Config (from environment variable usage)
- Mark remaining placeholders with
{TODO: description} - Output the draft README
Templates: service · library · monorepo · naisjob
Step 3: Language handoff
After structural review or generation, if the text has language issues (AI markers, passive voice, anglicisms), suggest:
For language polish, use
@forfatteror thenorwegian-textinstruction (auto-applies to*.mdfiles).
Do not duplicate @forfatter's work. This skill handles structure; @forfatter handles language.
Principles
Cognitive funneling
Structure README from broad to specific. Readers scan top-down and bail when they have enough information:
- Title + one-liner — what is this? (< 120 characters)
- Quick start — how do I run it? (copy-paste commands)
- Details — API, config, architecture
- Meta — contributing, license, team
"Your documentation is complete when someone can use your module without ever having to look at its code." — Ken Williams
README is the front door
README should orient and get people started. Deep content belongs elsewhere:
| In README | In external docs |
|---|---|
| One-liner description | Full architecture docs |
| Quick start commands | Detailed runbooks |
| Config table (env vars) | ADRs, threat models |
| API overview or link | Full OpenAPI spec |
| Team + Slack channel | Incident response procedures |
Code over prose
# ❌ Prose
You can start the development server by running the development command
using the mise task runner.
# ✅ Code
mise dev
Fewer sections = less drift
Only include sections you will maintain. An empty "## Roadmap" is worse than no roadmap section. README rots faster than code.
Boundaries
✅ Always
- Detect project scope before suggesting sections
- Check for missing quick start (most common gap)
- Use Missing/Weak/OK status, not numeric scores
- Surface top 3 fixes, not an exhaustive list
⚠️ Ask first
- Rewriting large sections of an existing README
- Removing sections that may have historical context
- Changing README language (Norwegian ↔ English)
🚫 Never
- Duplicate content from AGENTS.md into README
- Dump full runbooks, security policies, or ADRs into README
- Add numeric scores or gamified ratings
- Rewrite prose style (that's
@forfatter's job)
Related
| Resource | Use for |
|---|---|
@forfatter | Language quality — klarspråk, AI markers, anglicisms |
norwegian-text.instructions.md | Auto-applied Norwegian text rules for *.md |
nav-architecture-review skill | ADR generation (link from README, don't inline) |
mcp-onboarding | Agent readiness assessment and AGENTS.md generation |
Sources
- Art of README — cognitive funneling
- Standard Readme — section ordering spec
- Make a README — practical guide
- Diátaxis — documentation framework (tutorials/how-to/reference/explanation)
- Readme Driven Development — write README first
When not to use it
- →When the project scope is ambiguous without user input
- →When the user expects numeric quality scores
- →When the user wants prose style rewriting
Limitations
- →Cannot rewrite prose style
- →Does not provide numeric quality scores
- →Requires user input for ambiguous project scopes
How it compares
Unlike manual writing, this skill enforces structural consistency across project types using predefined specs and anti-pattern detection.
Compared to similar skills
readme-review side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| readme-review (this skill) | 0 | 2mo | No flags | Beginner |
| ml-paper-writing | 48 | 6mo | Review | Advanced |
| docs-review | 10 | 7mo | No flags | Beginner |
| claude-md-improver | 21 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by navikt
View all by navikt →You might also like
ml-paper-writing
davila7
Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Use when drafting papers from research repos, structuring arguments, verifying citations, or preparing camera-ready submissions. Includes LaTeX templates, reviewer guidelines, and citation verification workflows.
docs-review
metabase
Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.
claude-md-improver
anthropics
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".
write-docs
tldraw
Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.
update-docs
vercel
This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.
wiki-architect
microsoft
Analyzes code repositories and generates hierarchical documentation structures with onboarding guides. Use when the user wants to create a wiki, generate documentation, map a codebase structure, or understand a project's architecture at a high level.