generate-standard-readme
npx skills add https://github.com/nesnilnehc/ai-cortex --skill generate-standard-readme
Agent 安装分布
Skill 文档
Skill: Generate Standard README
Purpose
Create professional, consistent, highly readable front-page documentation for any software project (open source, internal services, microservices, tooling). A standardized information layout reduces collaboration cost, improves engineering norms, and keeps core assets discoverable.
Use Cases
- New project: Quickly add a standard README for a new repo.
- Asset governance: Unify README style across internal services or libraries for better indexing and cross-team discovery.
- Audit and compliance: Bring legacy systems up to documentation standards for internal audit or architecture review.
- Handover and release: When transferring a project, changing ownership, or releasing publicly, ensure the audience can understand purpose, usage, and how to contribute.
When to use: When the project needs a âfirst faceâ that explains what it is, how to use it, and how to collaborate.
Scope: This skill emphasizes a fixed output structure and governance (unified style, audit, discoverability); the output contract is embedded in the skill. For template-by-project-type or guided Q&A creation, use skills.shâs crafting-effective-readmes (e.g. softaworks/agent-toolkit).
Behavior
Principles
- Clarity: Readers immediately understand what the project is and what problem it solves.
- Completeness: Include everything users and contributors need.
- Actionable: Provide copy-paste install and quick-start commands.
- Professional: Use standard Markdown and a conventional section order.
Tone and style
- Use neutral, objective language; avoid hype (âThe best,â âRevolutionaryâ) unless backed by data.
- Direct and concise: Short sentences; avoid filler adjectives and bureaucratic phrasing; professionalism through clarity and scannability, not formality.
- Keep code examples short and comments clear.
Visual elements
- Badges: Include License, Version, Build Status, etc. at the top.
- Structure: Use
---or clear heading levels to separate sections. - Emoji: Use sparingly (e.g. ð¦, ð, ð) to improve scannability.
Input & Output
Input
- Project metadata: Name, one-line description.
- Features: Core capabilities.
- Requirements: e.g. Node.js/Python version.
- Install/run: Concrete shell commands.
Output
- README source: Markdown with this structure:
- Title and badges
- Core description
- ⨠Features
- ð¦ Installation
- ð Quick start
- ð Usage / configuration
- ð¤ Contributing
- ð License
- ð¤ Authors and acknowledgments
Restrictions
- No broken links: Do not add links that 404.
- No redundant repetition: Do not repeat the same fact (e.g. license) in multiple sections.
- No hardcoded paths: Use placeholders or variables in install and quick-start examples.
- License required: Always include a License section; do not omit it.
Self-Check
- Three-second test: Can a reader understand what the project does in a few seconds?
- Closed loop: Can someone run âQuick startâ after following âInstallationâ?
- Tone: Is the text direct and concise, without bureaucratic or report-like phrasing?
- Badges: Do badge links point to the correct branch or file?
- Narrow screens: Are tables and long code blocks readable on small screens?
Examples
Before vs after
Before (minimal):
MyProject
This program processes images. Install: pip install . Run: python run.py
After (standard):
MyProject
A high-performance image batch-processing tool that speeds up compression with concurrency.
⨠Features
- Concurrent compression: Multi-threaded; faster than baseline.
- Formats: WebP, PNG, JPEG conversion.
ð¦ Installation
pip install my-project
ð Quick start
from myproject import Compressor Compressor('images/').run()
Edge case: Legacy project with little info
- Input: Name: legacy-auth. No description. No feature list. Environment and install unknown.
- Expected: Still produce a structurally complete README; use placeholders (e.g. âSee source for featuresâ, âInstall steps TBDâ) and mark âto be completedâ; do not invent features or commands; keep badges, section order, and License so the user can fill in later.
Appendix: Output contract
When this skill produces a README, it follows this contract:
| Section order | Required |
|---|---|
| 1 | Title and badges |
| 2 | Core description |
| 3 | ⨠Features |
| 4 | ð¦ Installation |
| 5 | ð Quick start |
| 6 | ð Usage / configuration |
| 7 | ð¤ Contributing |
| 8 | ð License |
| 9 | ð¤ Authors and acknowledgments |
Restrictions: no broken links; no redundant repetition; no hardcoded paths; License section required.