When to Use This Skill
| Use this skill when... |
Use another approach when... |
| Creating a README.md for a new project from scratch |
Editing specific README content — use direct file editing |
| Auditing an existing README for missing sections (badges, install, structure) |
Writing detailed API documentation — use /configure:docs |
| Standardizing README format across multiple projects |
Creating GitHub Pages documentation site — use /configure:github-pages |
| Adding shields.io badges, tech stack table, or project structure section |
Writing a changelog — use release-please automation via conventional commits |
| Ensuring README includes correct install/build/test commands for the detected stack |
Only need to update a single section — edit the file directly |
Context
- Project root: !
pwd
- Project name: !
basename $(pwd)
- README exists: !
find . -maxdepth 1 -name 'README.md'
- Package files: !
find . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' \)
- Git remotes: !
git remote -v
- License file: !
find . -maxdepth 1 -name 'LICENSE*'
- Assets directory: !
find . -maxdepth 2 -type d \( -name 'assets' -o -name 'public' -o -name 'images' \)
- Logo files: !
find . -maxdepth 3 -type f \( -name 'logo*' -o -name 'icon*' \)
Parameters
Parse from command arguments:
--check-only: Report README compliance status without modifications (CI/CD mode)
--fix: Apply fixes automatically without prompting
--style <minimal|standard|detailed>: README detail level (default: standard)
--badges <shields|custom>: Badge style preference (default: shields)
--no-logo: Skip logo section even if assets exist
Style Levels:
minimal: Title, description, badges, basic install/usage
standard: Logo, badges, features, tech stack, getting started, license (recommended)
detailed: All of standard plus: architecture diagram, API reference, contributing guide, changelog link
Execution
Execute this README configuration workflow:
Step 1: Detect project metadata
Read project metadata from the detected package files:
- package.json (JavaScript/TypeScript): Extract name, description, version, license, repository, keywords
- pyproject.toml (Python): Extract project name, description, version, license, keywords, URLs
- Cargo.toml (Rust): Extract package name, description, version, license, repository, keywords
- go.mod (Go): Extract module path for owner/repo
Fallback detection when no package file matches:
- Project name: directory name
- Description: first line of existing README or ask user
- Repository: git remote URL
- License: LICENSE file content
For detailed package file format examples, see REFERENCE.md.
Step 2: Analyze current README state
Check existing README.md for these sections:
Discover logo/icon assets in common locations:
assets/logo.png, assets/icon.png, assets/logo.svg
public/logo.png, public/icon.svg
images/logo.png, docs/assets/logo.png
.github/logo.png, .github/images/logo.png
Step 3: Generate compliance report
Print a section-by-section compliance report showing PASS/MISSING/PARTIAL status for each README section. Include content quality checks (code examples, command correctness, link validity).
If --check-only is set, stop here.
For the compliance report format, see REFERENCE.md.
Step 4: Apply configuration (if --fix or user confirms)
Generate README.md following the standard template structure:
- Centered logo section (if assets exist and
--no-logo not set)
- Project title and tagline
- Badge row with shields.io URLs
- Features section with key highlights
- Tech Stack table
- Getting Started (prerequisites, installation, usage)
- Project Structure
- Development commands
- Contributing section
- License section
For the full README template and badge URL patterns, see REFERENCE.md.
Step 5: Handle logo and assets
If no logo exists but user wants one:
- Check for existing assets in standard locations
- Suggest creating a simple text-based placeholder or using emoji heading
- Create assets directory if needed:
mkdir -p assets
- Suggest tools: Shields.io for custom badges, Simple Icons for technology icons
Step 6: Detect project commands
Auto-detect project commands based on package manager/build tool:
| Package Manager |
Install |
Run |
Test |
Build |
| npm/bun (package.json) |
Read scripts from package.json |
npm run dev |
npm test |
npm run build |
| uv/poetry (pyproject.toml) |
uv sync / poetry install |
uv run python -m pkg |
uv run pytest |
- |
| cargo (Cargo.toml) |
cargo build |
cargo run |
cargo test |
cargo build --release |
| go (go.mod) |
go build |
go run . |
go test ./... |
go build |
Step 7: Generate project structure
Run tree -L 2 -I 'node_modules|target|__pycache__|.git|dist|build' --dirsfirst to generate accurate project structure. Skip common generated directories (node_modules, vendor, target, dist, build, pycache, .pytest_cache, .git, .venv, venv).
Step 8: Update standards tracking
Update .project-standards.yaml:
components:
readme: "2025.1"
readme_style: "[minimal|standard|detailed]"
readme_has_logo: true|false
readme_badges: ["license", "stars", "ci", "version"]
Step 9: Validate generated README
After generating README, validate:
- Check for markdown syntax errors
- Verify all links are accessible (warn only)
- Ensure shields.io URLs are correctly formatted
- Verify logo/image paths exist
Step 10: Report configuration results
Print a summary of changes made, the README location, and recommended next steps (customize feature descriptions, add logo, run other configure commands).
For the results report format, see REFERENCE.md.
When --style detailed is specified, also include architecture section with mermaid diagram, API reference link, and changelog link. For detailed style templates, see REFERENCE.md.
Output
Provide:
- Compliance report with section-by-section status
- Generated or updated README.md content
- List of detected project metadata
- Suggestions for improvement (logo, more features, etc.)
Agentic Optimizations
| Context |
Command |
| Quick compliance check |
/configure:readme --check-only |
| Auto-fix all issues |
/configure:readme --fix |
| Minimal README |
/configure:readme --fix --style minimal |
| Full detailed README |
/configure:readme --fix --style detailed |
| Generate project tree |
tree -L 2 -I 'node_modules|target|__pycache__|.git|dist|build' --dirsfirst |
| Check README exists |
test -f README.md && echo "EXISTS" || echo "MISSING" |
See Also
/configure:docs - Configure code documentation standards
/configure:github-pages - Set up documentation hosting
/configure:all - Run all compliance checks
- REFERENCE.md - README templates, badge reference, section standards, compliance checklists
1---
2created: 2025-12-17
3modified: 2026-07-05
4reviewed: 2026-02-08
5description: "README.md with logo, badges, features, tech stack sections. Use when creating a README, auditing missing sections, or adding shields.io badges."
6allowed-tools: Glob, Grep, Read, Write, Edit, Bash, AskUserQuestion, TodoWrite, WebSearch
7args: "[--check-only] [--fix] [--style <minimal|standard|detailed>] [--badges <shields|custom>]"
8argument-hint: "[--check-only] [--fix] [--style <minimal|standard|detailed>] [--badges <shields|custom>]"
9name: configure-readme
10---
11
12## When to Use This Skill
13
14| Use this skill when... | Use another approach when... |
15|------------------------|------------------------------|
16| Creating a README.md for a new project from scratch | Editing specific README content — use direct file editing |
17| Auditing an existing README for missing sections (badges, install, structure) | Writing detailed API documentation — use `/configure:docs` |
18| Standardizing README format across multiple projects | Creating GitHub Pages documentation site — use `/configure:github-pages` |
19| Adding shields.io badges, tech stack table, or project structure section | Writing a changelog — use release-please automation via conventional commits |
20| Ensuring README includes correct install/build/test commands for the detected stack | Only need to update a single section — edit the file directly |
21
22## Context
23
24- Project root: !`pwd`
25- Project name: !`basename $(pwd)`
26- README exists: !`find . -maxdepth 1 -name 'README.md'`
27- Package files: !`find . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' \)`
28- Git remotes: !`git remote -v`
29- License file: !`find . -maxdepth 1 -name 'LICENSE*'`
30- Assets directory: !`find . -maxdepth 2 -type d \( -name 'assets' -o -name 'public' -o -name 'images' \)`
31- Logo files: !`find . -maxdepth 3 -type f \( -name 'logo*' -o -name 'icon*' \)`
32
33## Parameters
34
35Parse from command arguments:
36
37- `--check-only`: Report README compliance status without modifications (CI/CD mode)
38- `--fix`: Apply fixes automatically without prompting
39- `--style <minimal|standard|detailed>`: README detail level (default: standard)
40- `--badges <shields|custom>`: Badge style preference (default: shields)
41- `--no-logo`: Skip logo section even if assets exist
42
43**Style Levels:**
44- `minimal`: Title, description, badges, basic install/usage
45- `standard`: Logo, badges, features, tech stack, getting started, license (recommended)
46- `detailed`: All of standard plus: architecture diagram, API reference, contributing guide, changelog link
47
48## Execution
49
50Execute this README configuration workflow:
51
52### Step 1: Detect project metadata
53
54Read project metadata from the detected package files:
55
561. **package.json** (JavaScript/TypeScript): Extract name, description, version, license, repository, keywords
572. **pyproject.toml** (Python): Extract project name, description, version, license, keywords, URLs
583. **Cargo.toml** (Rust): Extract package name, description, version, license, repository, keywords
594. **go.mod** (Go): Extract module path for owner/repo
60
61**Fallback detection** when no package file matches:
62- Project name: directory name
63- Description: first line of existing README or ask user
64- Repository: git remote URL
65- License: LICENSE file content
66
67For detailed package file format examples, see [REFERENCE.md](REFERENCE.md).
68
69### Step 2: Analyze current README state
70
71Check existing README.md for these sections:
72
73- [ ] Logo/icon present (centered image at top)
74- [ ] Project title (h1)
75- [ ] Description/tagline
76- [ ] Badges row (license, version, CI status, coverage)
77- [ ] Features section
78- [ ] Tech Stack section
79- [ ] Prerequisites section
80- [ ] Installation instructions
81- [ ] Usage examples
82- [ ] Project structure
83- [ ] Contributing guidelines
84- [ ] License section
85
86Discover logo/icon assets in common locations:
87- `assets/logo.png`, `assets/icon.png`, `assets/logo.svg`
88- `public/logo.png`, `public/icon.svg`
89- `images/logo.png`, `docs/assets/logo.png`
90- `.github/logo.png`, `.github/images/logo.png`
91
92### Step 3: Generate compliance report
93
94Print a section-by-section compliance report showing PASS/MISSING/PARTIAL status for each README section. Include content quality checks (code examples, command correctness, link validity).
95
96If `--check-only` is set, stop here.
97
98For the compliance report format, see [REFERENCE.md](REFERENCE.md).
99
100### Step 4: Apply configuration (if --fix or user confirms)
101
102Generate README.md following the standard template structure:
103
1041. Centered logo section (if assets exist and `--no-logo` not set)
1052. Project title and tagline
1063. Badge row with shields.io URLs
1074. Features section with key highlights
1085. Tech Stack table
1096. Getting Started (prerequisites, installation, usage)
1107. Project Structure
1118. Development commands
1129. Contributing section
11310. License section
114
115For the full README template and badge URL patterns, see [REFERENCE.md](REFERENCE.md).
116
117### Step 5: Handle logo and assets
118
119If no logo exists but user wants one:
120
1211. Check for existing assets in standard locations
1222. Suggest creating a simple text-based placeholder or using emoji heading
1233. Create assets directory if needed: `mkdir -p assets`
1244. Suggest tools: Shields.io for custom badges, Simple Icons for technology icons
125
126### Step 6: Detect project commands
127
128Auto-detect project commands based on package manager/build tool:
129
130| Package Manager | Install | Run | Test | Build |
131|----------------|---------|-----|------|-------|
132| npm/bun (package.json) | Read `scripts` from package.json | `npm run dev` | `npm test` | `npm run build` |
133| uv/poetry (pyproject.toml) | `uv sync` / `poetry install` | `uv run python -m pkg` | `uv run pytest` | - |
134| cargo (Cargo.toml) | `cargo build` | `cargo run` | `cargo test` | `cargo build --release` |
135| go (go.mod) | `go build` | `go run .` | `go test ./...` | `go build` |
136
137### Step 7: Generate project structure
138
139Run `tree -L 2 -I 'node_modules|target|__pycache__|.git|dist|build' --dirsfirst` to generate accurate project structure. Skip common generated directories (node_modules, vendor, target, dist, build, __pycache__, .pytest_cache, .git, .venv, venv).
140
141### Step 8: Update standards tracking
142
143Update `.project-standards.yaml`:
144
145```yaml
146components:
147 readme: "2025.1"
148 readme_style: "[minimal|standard|detailed]"
149 readme_has_logo: true|false
150 readme_badges: ["license", "stars", "ci", "version"]
151```
152
153### Step 9: Validate generated README
154
155After generating README, validate:
156
1571. Check for markdown syntax errors
1582. Verify all links are accessible (warn only)
1593. Ensure shields.io URLs are correctly formatted
1604. Verify logo/image paths exist
161
162### Step 10: Report configuration results
163
164Print a summary of changes made, the README location, and recommended next steps (customize feature descriptions, add logo, run other configure commands).
165
166For the results report format, see [REFERENCE.md](REFERENCE.md).
167
168When `--style detailed` is specified, also include architecture section with mermaid diagram, API reference link, and changelog link. For detailed style templates, see [REFERENCE.md](REFERENCE.md).
169
170## Output
171
172Provide:
1731. Compliance report with section-by-section status
1742. Generated or updated README.md content
1753. List of detected project metadata
1764. Suggestions for improvement (logo, more features, etc.)
177
178## Agentic Optimizations
179
180| Context | Command |
181|---------|---------|
182| Quick compliance check | `/configure:readme --check-only` |
183| Auto-fix all issues | `/configure:readme --fix` |
184| Minimal README | `/configure:readme --fix --style minimal` |
185| Full detailed README | `/configure:readme --fix --style detailed` |
186| Generate project tree | `tree -L 2 -I 'node_modules\|target\|__pycache__\|.git\|dist\|build' --dirsfirst` |
187| Check README exists | `test -f README.md && echo "EXISTS" \|\| echo "MISSING"` |
188
189## See Also
190
191- `/configure:docs` - Configure code documentation standards
192- `/configure:github-pages` - Set up documentation hosting
193- `/configure:all` - Run all compliance checks
194- [REFERENCE.md](REFERENCE.md) - README templates, badge reference, section standards, compliance checklists