README Generator
Automatically generates professional, comprehensive README.md files by analyzing your project structure, dependencies, and code patterns.
What This Skill Does
This skill helps you create high-quality README files by:
- Analyzing project structure and identifying key components
- Detecting programming languages and frameworks
- Finding configuration files (package.json, requirements.txt, etc.)
- Identifying test frameworks and CI/CD setup
- Generating appropriate sections with relevant content
- Following README best practices
Instructions
When generating a README, follow these steps:
1. Project Discovery
First, analyze the project structure:
- Use Glob to find key files:
package.json, pyproject.toml, Cargo.toml, go.mod, etc.
- Use Glob to identify main source directories
- Use Read to examine configuration files
- Use Grep to find test files and CI configuration
2. Content Analysis
Based on findings, determine:
- Project type (library, application, CLI tool, etc.)
- Primary programming language(s)
- Dependencies and frameworks
- Build and test commands
- License type (from LICENSE file)
3. README Generation
Create a README.md with these sections (adapt based on project type):
Required Sections:
- Title and Description: Project name and one-line summary
- Features: Key functionality (if applicable)
- Installation: How to install/set up
- Usage: Basic usage examples
- License: License information
Optional Sections (include if relevant):
- Prerequisites: Required software/tools
- Development: How to set up for development
- Testing: How to run tests
- Contributing: Contribution guidelines
- API Documentation: For libraries
- Screenshots: For applications with UI
- Roadmap: Future plans
- Acknowledgments: Credits and thanks
4. Writing Style
Use this style for generated READMEs:
- Clear, concise language
- Active voice
- Code blocks with proper syntax highlighting
- Badge shields for status indicators (if CI/CD detected)
- Emoji sparingly (only if user requests)
- Professional but approachable tone
5. Output
Present the generated README to the user and offer to:
- Write it to README.md
- Make adjustments based on feedback
- Add additional sections
Examples
Example 1: Python Project
User Request:
"Generate a README for this Python project"
Workflow:
- Glob for Python files:
**/*.py
- Read
pyproject.toml or setup.py
- Check for
requirements.txt, Pipfile
- Look for test files in
tests/ or *_test.py
- Generate README with:
- Installation via pip
- Python version requirements
- Virtual environment setup
- Testing with pytest/unittest
Example 2: Node.js Project
User Request:
"Create a README for my npm package"
Workflow:
- Read
package.json for name, description, scripts
- Identify framework (React, Vue, Express, etc.)
- Check for TypeScript (
tsconfig.json)
- Look for test configuration (Jest, Mocha)
- Generate README with:
- npm/yarn installation
- Available scripts
- API documentation (for packages)
- Usage examples
Configuration
This skill adapts to project type:
| Project Type |
Key Files |
Focus Areas |
| Python |
pyproject.toml, setup.py |
pip install, virtual env |
| Node.js |
package.json |
npm install, scripts |
| Rust |
Cargo.toml |
cargo build, features |
| Go |
go.mod |
go get, modules |
| Generic |
None |
Basic structure |
Tool Requirements
- Read: Examine configuration and source files
- Glob: Find relevant files across project
- Grep: Search for patterns (tests, CI, etc.)
- Write: Create the README.md file
Limitations
- Cannot include screenshots (user must add manually)
- May miss custom build processes not in standard files
- Generates starting point - user should review and customize
- Works best with standard project structures
- Does not analyze actual code logic for features
Best Practices
When using this skill:
- Run from project root: Ensure you're in the main project directory
- Review before writing: Check generated content before writing to file
- Customize: Treat output as a template, add project-specific details
- Update regularly: Regenerate when project structure changes significantly
- Backup existing: If README.md exists, back it up first
Error Handling
- No project files found: Ask user to confirm working directory
- Multiple languages detected: Generate sections for each, note polyglot nature
- Existing README: Prompt user before overwriting, offer to merge
- Missing key info: Generate placeholder sections with TODO markers
Related Skills
Changelog
Version 1.0.0 (2025-01-13)
- Initial release
- Support for Python, Node.js, Rust, Go projects
- Automatic dependency detection
- Standard section generation
Contributing
Found a bug or want to add support for a new project type? Please:
- Open an issue with details
- Submit a PR with improvements
- Follow Contributing Guidelines
License
Apache License 2.0 - See LICENSE
Author
GLINCKER Team
1---2name: readme-generator3description: Generates comprehensive README.md files for software projects by analyzing codebase structure4license: Apache-2.05---67# README Generator89Automatically generates professional, comprehensive README.md files by analyzing your project structure, dependencies, and code patterns.1011## What This Skill Does1213This skill helps you create high-quality README files by:14- Analyzing project structure and identifying key components15- Detecting programming languages and frameworks16- Finding configuration files (package.json, requirements.txt, etc.)17- Identifying test frameworks and CI/CD setup18- Generating appropriate sections with relevant content19- Following README best practices2021## Instructions2223When generating a README, follow these steps:2425### 1. Project Discovery2627First, analyze the project structure:28- Use Glob to find key files: `package.json`, `pyproject.toml`, `Cargo.toml`, `go.mod`, etc.29- Use Glob to identify main source directories30- Use Read to examine configuration files31- Use Grep to find test files and CI configuration3233### 2. Content Analysis3435Based on findings, determine:36- Project type (library, application, CLI tool, etc.)37- Primary programming language(s)38- Dependencies and frameworks39- Build and test commands40- License type (from LICENSE file)4142### 3. README Generation4344Create a README.md with these sections (adapt based on project type):4546**Required Sections:**47- **Title and Description**: Project name and one-line summary48- **Features**: Key functionality (if applicable)49- **Installation**: How to install/set up50- **Usage**: Basic usage examples51- **License**: License information5253**Optional Sections** (include if relevant):54- **Prerequisites**: Required software/tools55- **Development**: How to set up for development56- **Testing**: How to run tests57- **Contributing**: Contribution guidelines58- **API Documentation**: For libraries59- **Screenshots**: For applications with UI60- **Roadmap**: Future plans61- **Acknowledgments**: Credits and thanks6263### 4. Writing Style6465Use this style for generated READMEs:66- Clear, concise language67- Active voice68- Code blocks with proper syntax highlighting69- Badge shields for status indicators (if CI/CD detected)70- Emoji sparingly (only if user requests)71- Professional but approachable tone7273### 5. Output7475Present the generated README to the user and offer to:76- Write it to README.md77- Make adjustments based on feedback78- Add additional sections7980## Examples8182### Example 1: Python Project8384**User Request:**85"Generate a README for this Python project"8687**Workflow:**881. Glob for Python files: `**/*.py`892. Read `pyproject.toml` or `setup.py`903. Check for `requirements.txt`, `Pipfile`914. Look for test files in `tests/` or `*_test.py`925. Generate README with:93 - Installation via pip94 - Python version requirements95 - Virtual environment setup96 - Testing with pytest/unittest9798### Example 2: Node.js Project99100**User Request:**101"Create a README for my npm package"102103**Workflow:**1041. Read `package.json` for name, description, scripts1052. Identify framework (React, Vue, Express, etc.)1063. Check for TypeScript (`tsconfig.json`)1074. Look for test configuration (Jest, Mocha)1085. Generate README with:109 - npm/yarn installation110 - Available scripts111 - API documentation (for packages)112 - Usage examples113114## Configuration115116This skill adapts to project type:117118| Project Type | Key Files | Focus Areas |119|--------------|-----------|-------------|120| Python | `pyproject.toml`, `setup.py` | pip install, virtual env |121| Node.js | `package.json` | npm install, scripts |122| Rust | `Cargo.toml` | cargo build, features |123| Go | `go.mod` | go get, modules |124| Generic | None | Basic structure |125126## Tool Requirements127128- **Read**: Examine configuration and source files129- **Glob**: Find relevant files across project130- **Grep**: Search for patterns (tests, CI, etc.)131- **Write**: Create the README.md file132133## Limitations134135- Cannot include screenshots (user must add manually)136- May miss custom build processes not in standard files137- Generates starting point - user should review and customize138- Works best with standard project structures139- Does not analyze actual code logic for features140141## Best Practices142143When using this skill:1441451. **Run from project root**: Ensure you're in the main project directory1462. **Review before writing**: Check generated content before writing to file1473. **Customize**: Treat output as a template, add project-specific details1484. **Update regularly**: Regenerate when project structure changes significantly1495. **Backup existing**: If README.md exists, back it up first150151## Error Handling152153- **No project files found**: Ask user to confirm working directory154- **Multiple languages detected**: Generate sections for each, note polyglot nature155- **Existing README**: Prompt user before overwriting, offer to merge156- **Missing key info**: Generate placeholder sections with TODO markers157158## Related Skills159160- [changelog-generator](../../automation/changelog-generator/SKILL.md) - Create CHANGELOG.md161- [api-doc-generator](../api-doc-generator/SKILL.md) - Generate API documentation162- [license-picker](../../automation/license-picker/SKILL.md) - Add license files163164## Changelog165166### Version 1.0.0 (2025-01-13)167- Initial release168- Support for Python, Node.js, Rust, Go projects169- Automatic dependency detection170- Standard section generation171172## Contributing173174Found a bug or want to add support for a new project type? Please:1751. Open an issue with details1762. Submit a PR with improvements1773. Follow [Contributing Guidelines](../../../docs/CONTRIBUTING.md)178179## License180181Apache License 2.0 - See [LICENSE](../../../LICENSE)182183## Author184185**GLINCKER Team**186- GitHub: [@GLINCKER](https://github.com/GLINCKER)187- Repository: [claude-code-marketplace](https://github.com/GLINCKER/claude-code-marketplace)