Readme Updater
Overview
Apply a deterministic, non-speculative workflow to assess README quality, close enterprise gaps, and deliver a high-signal README that supports onboarding, operations, compliance, and maintainability.
Trigger Hints
Use this skill when prompts include terms such as:
- "update README", "rewrite README", "create README"
- "enterprise README", "production-ready docs", "onboarding docs"
- "standardize documentation", "harden docs", "fix inaccurate README"
Workflow
- Resolve target README scope and repository root.
- Collect repository evidence from source-of-truth files.
- Audit the current README against enterprise criteria.
- Define the target README structure and applicability.
- Rewrite README content using only verified evidence.
- Run verification gates and finalize with a gap report.
0) Resolve Target Scope (required)
- Default target is
README.md at repository root.
- If multiple README files exist, prioritize root README unless user explicitly requests another path.
- If the user-requested README path does not exist, create it only when the request implies creation; otherwise ask one precise clarification question before writing.
- If README is missing, create one using this skill's target structure.
- If the requested scope conflicts with repository evidence, keep user-requested scope and note constraints in the gap report.
1) Identify Repository Context
- Determine project type, runtime, package manager, delivery model, and ownership signals from repository files.
- Extract canonical facts from
package.json, lockfiles, build configs, infra manifests, workflow files, and deployment configs.
- Build a short evidence map before writing using this format:
- Fact
- Source file path
- Section where the fact will appear
- Do not infer unsupported operational, security, or compliance claims.
2) Audit Enterprise Criteria
Score each area as complete, partial, or missing:
- Purpose and business context
- Architecture and boundaries
- Prerequisites and local setup
- Environment/configuration strategy
- Build, test, lint, and quality commands
- Runbook basics (run, debug, troubleshoot)
- Deployment and release process
- Observability/support ownership
- Security, secrets, and compliance notes
- Contribution and governance model
- Versioning/changelog references
Also record:
- Top 3 gaps that block onboarding or safe operation.
- Any claims in the current README that cannot be verified from repository evidence.
3) Define Target README Structure
Use this baseline structure, then tailor to repo realities:
- Title and one-sentence value proposition
- Overview and scope
- Architecture at a glance
- Prerequisites
- Quick start
- Configuration and environment variables
- Development workflow (test/lint/build)
- Operations and troubleshooting
- Deployment and release
- Security and compliance
- Contributing and code standards
- Ownership/support and escalation
- License and legal notices
If sections are inapplicable, keep the heading and explicitly mark Not applicable with brief rationale.
4) Rewrite Rules
- Prefer precise, executable commands over prose.
- Keep language neutral, concise, and professional.
- Convert ambiguous wording into verifiable statements.
- Use tables for env vars, ports, and command catalogs.
- For TODO or unknown values, mark
TBD (owner needed) rather than guessing.
- Preserve repository-specific terminology and established naming.
- Keep heading hierarchy valid and consistent for Markdown renderers.
- Prefer relative repository paths for file references and local workflows.
5) Verification Gates
Before finalizing:
- Validate all commands against repository tooling.
- Confirm referenced files/paths exist.
- Ensure section order and headings are consistent.
- Check that setup instructions are minimal and reproducible.
- Remove stale/duplicated instructions.
- Confirm links are valid repository-relative links or resolvable absolute URLs.
- Verify no unverifiable claims remain without
TBD (owner needed) marker.
Minimum verification output:
- Command validation result (
pass/fail) with corrected replacements if failures were found.
- Path/link validation result (
pass/fail) with removed or corrected targets.
- Claim verification result identifying corrected unverifiable statements.
6) Output Contract
When applying this skill, return:
- Updated
README.md.
- A compact gap report listing unresolved
TBD items.
- A short verification summary listing what was validated (commands, paths, links).
- Optional follow-up tasks only when they unblock README completeness.
Reference
Load references/enterprise-readme-checklist.md when you need detailed review prompts and section-level acceptance criteria.
1---2name: readme-updater-43description: Audit, create, or rewrite repository README.md files to enterprise-grade quality using a deterministic evidence workflow across purpose, architecture, setup, operations, security, governance, and quality gates. Use when users ask to update/standardize/harden README docs, fix inaccurate onboarding instructions, prepare production-ready repository documentation, or generate executive/ownership-ready README content.4---5
6# Readme Updater
7
8## Overview
9Apply a deterministic, non-speculative workflow to assess README quality, close enterprise gaps, and deliver a high-signal README that supports onboarding, operations, compliance, and maintainability.
10
11## Trigger Hints
12Use this skill when prompts include terms such as:
13- "update README", "rewrite README", "create README"
14- "enterprise README", "production-ready docs", "onboarding docs"
15- "standardize documentation", "harden docs", "fix inaccurate README"
16
17## Workflow
181. Resolve target README scope and repository root.
192. Collect repository evidence from source-of-truth files.
203. Audit the current README against enterprise criteria.
214. Define the target README structure and applicability.
225. Rewrite README content using only verified evidence.
236. Run verification gates and finalize with a gap report.
24
25## 0) Resolve Target Scope (required)
26- Default target is `README.md` at repository root.
27- If multiple README files exist, prioritize root README unless user explicitly requests another path.
28- If the user-requested README path does not exist, create it only when the request implies creation; otherwise ask one precise clarification question before writing.
29- If README is missing, create one using this skill's target structure.
30- If the requested scope conflicts with repository evidence, keep user-requested scope and note constraints in the gap report.
31
32## 1) Identify Repository Context
33- Determine project type, runtime, package manager, delivery model, and ownership signals from repository files.
34- Extract canonical facts from `package.json`, lockfiles, build configs, infra manifests, workflow files, and deployment configs.
35- Build a short evidence map before writing using this format:
36 - Fact
37 - Source file path
38 - Section where the fact will appear
39- Do not infer unsupported operational, security, or compliance claims.
40
41## 2) Audit Enterprise Criteria
42Score each area as `complete`, `partial`, or `missing`:
43- Purpose and business context
44- Architecture and boundaries
45- Prerequisites and local setup
46- Environment/configuration strategy
47- Build, test, lint, and quality commands
48- Runbook basics (run, debug, troubleshoot)
49- Deployment and release process
50- Observability/support ownership
51- Security, secrets, and compliance notes
52- Contribution and governance model
53- Versioning/changelog references
54
55Also record:
56- Top 3 gaps that block onboarding or safe operation.
57- Any claims in the current README that cannot be verified from repository evidence.
58
59## 3) Define Target README Structure
60Use this baseline structure, then tailor to repo realities:
611. Title and one-sentence value proposition
622. Overview and scope
633. Architecture at a glance
644. Prerequisites
655. Quick start
666. Configuration and environment variables
677. Development workflow (test/lint/build)
688. Operations and troubleshooting
699. Deployment and release
7010. Security and compliance
7111. Contributing and code standards
7212. Ownership/support and escalation
7313. License and legal notices
74
75If sections are inapplicable, keep the heading and explicitly mark `Not applicable` with brief rationale.
76
77## 4) Rewrite Rules
78- Prefer precise, executable commands over prose.
79- Keep language neutral, concise, and professional.
80- Convert ambiguous wording into verifiable statements.
81- Use tables for env vars, ports, and command catalogs.
82- For TODO or unknown values, mark `TBD (owner needed)` rather than guessing.
83- Preserve repository-specific terminology and established naming.
84- Keep heading hierarchy valid and consistent for Markdown renderers.
85- Prefer relative repository paths for file references and local workflows.
86
87## 5) Verification Gates
88Before finalizing:
89- Validate all commands against repository tooling.
90- Confirm referenced files/paths exist.
91- Ensure section order and headings are consistent.
92- Check that setup instructions are minimal and reproducible.
93- Remove stale/duplicated instructions.
94- Confirm links are valid repository-relative links or resolvable absolute URLs.
95- Verify no unverifiable claims remain without `TBD (owner needed)` marker.
96
97Minimum verification output:
98- Command validation result (`pass`/`fail`) with corrected replacements if failures were found.
99- Path/link validation result (`pass`/`fail`) with removed or corrected targets.
100- Claim verification result identifying corrected unverifiable statements.
101
102## 6) Output Contract
103When applying this skill, return:
104- Updated `README.md`.
105- A compact gap report listing unresolved `TBD` items.
106- A short verification summary listing what was validated (commands, paths, links).
107- Optional follow-up tasks only when they unblock README completeness.
108
109## Reference
110Load `references/enterprise-readme-checklist.md` when you need detailed review prompts and section-level acceptance criteria.