README Generator
Generates professional, comprehensive README.md for any project.
When This Activates
- User says: "create README", "generate README", "project documentation"
- New project initialization
- Missing or outdated README
README Template
# Project Name
Brief one-sentence description of what this project does.
## π Features
- Feature 1 - Brief description
- Feature 2 - Brief description
- Feature 3 - Brief description
## π¦ Installation
### Prerequisites
- Node.js 18+ (or Python 3.11+, etc.)
- Database (PostgreSQL, MongoDB, etc.)
- Other requirements
### Quick Start
\`\`\`bash
# Clone repository
git clone https://github.com/username/project.git
cd project
# Install dependencies
npm install # or: bun install, pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
# Edit .env with your configuration
# Run database migrations
npm run db:migrate
# Start development server
npm run dev
\`\`\`
Visit `http://localhost:3000` to see the app.
## π οΈ Usage
### Basic Example
\`\`\`javascript
import { someFunction } from 'project';
const result = someFunction({ param: 'value' });
console.log(result);
\`\`\`
### Advanced Example
\`\`\`javascript
// More complex usage example
\`\`\`
## π API Reference
### Main Functions
#### \`functionName(param1, param2)\`
Description of what the function does.
**Parameters:**
- \`param1\` (string): Description
- \`param2\` (number): Description
**Returns:** Description of return value
**Example:**
\`\`\`javascript
const result = functionName('value', 42);
\`\`\`
## ποΈ Project Structure
\`\`\`
project/
βββ src/ # Source code
β βββ components/ # React components
β βββ lib/ # Utility libraries
β βββ app/ # Main application
βββ tests/ # Test files
βββ docs/ # Documentation
βββ scripts/ # Build/deployment scripts
\`\`\`
## π§ͺ Testing
\`\`\`bash
# Run all tests
npm test
# Run specific test file
npm test path/to/test.test.ts
# Run with coverage
npm run test:coverage
# Run in watch mode
npm run test:watch
\`\`\`
## π’ Deployment
### Production Build
\`\`\`bash
npm run build
npm start
\`\`\`
### Docker
\`\`\`bash
docker build -t project-name .
docker run -p 3000:3000 project-name
\`\`\`
### Deploy to Vercel/Netlify/etc.
\`\`\`bash
# Platform-specific deployment commands
\`\`\`
## βοΈ Configuration
### Environment Variables
Create a \`.env\` file in the root directory:
\`\`\`env
DATABASE_URL=postgresql://user:pass@localhost:5432/dbname
API_KEY=your_api_key_here
NODE_ENV=development
\`\`\`
See \`.env.example\` for all available options.
## π€ Contributing
Contributions are welcome! Please follow these steps:
1. Fork the repository
2. Create your feature branch (\`git checkout -b feature/amazing-feature\`)
3. Commit your changes (\`git commit -m 'feat: add amazing feature'\`)
4. Push to the branch (\`git push origin feature/amazing-feature\`)
5. Open a Pull Request
Please ensure:
- All tests pass
- Code follows project style guide
- Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/)
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## π₯ Authors
- **Your Name** - [GitHub](https://github.com/username)
## π Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration sources
- Libraries/tools used
## π Support
- π§ Email: support@example.com
- π¬ Discord: [Join our server](https://discord.gg/xyz)
- π Issues: [GitHub Issues](https://github.com/username/project/issues)
## π Additional Resources
- [Documentation](https://docs.example.com)
- [Changelog](CHANGELOG.md)
- [API Reference](https://api.example.com)
- [Contributing Guide](CONTRIBUTING.md)
---
Made with β€οΈ by [Your Name](https://github.com/username)
Auto-Detection
Analyze project to auto-fill:
-
Language/Framework:
- package.json β Node.js/TypeScript
- requirements.txt β Python
- Cargo.toml β Rust
- go.mod β Go
-
Scripts:
- Extract from package.json scripts
- Detect test commands
- Find build commands
-
Dependencies:
- List major dependencies
- Mention notable libraries
-
Project Structure:
- Scan directories
- Identify patterns (Next.js, React, etc.)
Badges
Add relevant badges:




Best Practices
β DO:
- Keep it concise (aim for 1-2 screen lengths)
- Include working examples
- Add badges for status/coverage
- Update regularly with changes
- Include troubleshooting section
β DON'T:
- Write a novel (keep it scannable)
- Use outdated examples
- Forget installation steps
- Skip configuration details
- Miss contributor guidelines
Generate README, present to user, write file with approval.
