| name | readme-generator |
| description | Auto-generates professional README.md files for Arduino/ESP32/RP2040 projects following open-source best practices. Use when user wants to document their project for GitHub, needs help writing a README, or says "make my project shareable". Follows awesome-readme standards with sections for Overview, Hardware, Software, Setup, Usage, Troubleshooting, and Contributing. |
README Generator
Creates professional, beginner-friendly README files for maker projects.
Resources
This skill includes bundled tools:
- scripts/generate_readme.py - Full README generator with wiring diagrams and templates
Quick Start
Interactive mode:
uv run scripts/generate_readme.py --interactive
Quick generation:
uv run scripts/generate_readme.py --project "Weather Station" --board "ESP32" --output README.md
Scan existing project:
uv run scripts/generate_readme.py --scan /path/to/arduino/project --output README.md
When to Use
- "Help me document this project"
- "I want to share this on GitHub"
- "Write a README for my project"
- User has working project, needs documentation
- Before publishing to GitHub/Instructables
Information Gathering
Ask User For:
1. Project name and one-line description
2. What problem does it solve / why did you build it?
3. Main features (3-5 bullet points)
4. Hardware components used
5. Software libraries required
6. Any photos/videos/GIFs available?
7. License preference (MIT recommended for open source)
8. Target audience (beginners/intermediate/advanced)
Auto-Extract From Code:
- Pin assignments from config.h
- Library includes
- WiFi/Bluetooth features
- Sensor types
README Template
Generate using this structure (based on awesome-readme best practices):
# ๐ฏ [Project Name]



> One-line description of what this project does and why it's useful.

## ๐ Table of Contents
- [Overview](#overview)
- [Features](#features)
- [Hardware Components](#hardware-components)
- [Wiring Diagram](#wiring-diagram)
- [Software Dependencies](#software-dependencies)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Troubleshooting](#troubleshooting)
- [Contributing](#contributing)
- [License](#license)
- [Acknowledgments](#acknowledgments)
## ๐ Overview
[2-3 paragraphs explaining:]
- What the project does
- Why you built it / what problem it solves
- Who it's for (target audience)
### Demo
[Embed video or GIF showing project in action]
## โจ Features
- โ
Feature 1 - brief description
- โ
Feature 2 - brief description
- โ
Feature 3 - brief description
- ๐ง Planned: Feature 4 (coming soon)
## ๐ง Hardware Components
| Component | Quantity | Purpose | Notes |
|-----------|----------|---------|-------|
| [MCU Board] | 1 | Main controller | [version/variant] |
| [Sensor 1] | 1 | [function] | [I2C address, etc.] |
| [Display] | 1 | User interface | [resolution] |
| ... | ... | ... | ... |
**Estimated Cost:** $XX-XX
### Where to Buy
- [Component 1](link) - Amazon/AliExpress
- [Component 2](link) - Adafruit/SparkFun
## ๐ Wiring Diagram

### Pin Connections
| MCU Pin | Component | Pin | Function |
|---------|-----------|-----|----------|
| GPIO21 | BME280 | SDA | I2C Data |
| GPIO22 | BME280 | SCL | I2C Clock |
| GPIO4 | LED | Anode | Status indicator |
| ... | ... | ... | ... |
## ๐ป Software Dependencies
### Required Software
- [Arduino IDE](https://www.arduino.cc/en/software) (v2.0+) or [PlatformIO](https://platformio.org/)
- [Board package] - [installation link]
### Required Libraries
| Library | Version | Purpose | Install via |
|---------|---------|---------|-------------|
| [Library1] | >=1.0.0 | [function] | Library Manager |
| [Library2] | >=2.3.0 | [function] | Library Manager |
| ... | ... | ... | ... |
## ๐ฆ Installation
### Option 1: Arduino IDE
1. **Install Arduino IDE**
- Download from [arduino.cc](https://www.arduino.cc/en/software)
2. **Add Board Support** (if using ESP32/RP2040)
File โ Preferences โ Additional Board Manager URLs: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Then: Tools โ Board โ Boards Manager โ Search "[board]" โ Install
3. **Install Required Libraries**
- Sketch โ Include Library โ Manage Libraries
- Search and install each library from the table above
4. **Clone or Download This Repository**
```bash
git clone https://github.com/[username]/[repo-name].git
Or download ZIP and extract
- Open the Project
- Open
[project-name].inoin Arduino IDE
- Open
Option 2: PlatformIO (Recommended for Advanced Users)
Install VS Code + PlatformIO extension
Clone and open:
git clone https://github.com/[username]/[repo-name].git cd [repo-name] code .PlatformIO will automatically install dependencies from
platformio.ini
โ๏ธ Configuration
Before uploading, customize config.h:
// === NETWORK SETTINGS ===
#define WIFI_SSID "your-wifi-name"
#define WIFI_PASSWORD "your-wifi-password"
// === HARDWARE PINS ===
#define LED_PIN 4
#define SENSOR_SDA 21
#define SENSOR_SCL 22
// === FEATURE FLAGS ===
#define ENABLE_OLED true
#define ENABLE_WIFI true
#define DEBUG_MODE true
Environment-Specific Settings
| Setting | Development | Production |
|---|---|---|
| DEBUG_MODE | true | false |
| SERIAL_BAUD | 115200 | 9600 |
| SLEEP_INTERVAL | 10s | 300s |
๐ Usage
Basic Operation
- Power On - Connect USB or battery
- Wait for Boot - Status LED blinks during initialization
- [Normal Operation] - Description of what happens
LED Status Indicators
| LED State | Meaning |
|---|---|
| Solid Green | Normal operation |
| Blinking Blue | WiFi connecting |
| Red Flash | Error (check serial) |
Serial Monitor
Open Serial Monitor at 115200 baud to see:
[BOOT] Project Name v1.0.0
[INFO] Initializing sensors...
[OK] BME280 found at 0x76
[INFO] Connecting to WiFi...
[OK] Connected: 192.168.1.100
[DATA] Temp: 23.5ยฐC, Humidity: 45%
Web Interface (if applicable)
Navigate to http://[device-ip] to access:
- Real-time sensor readings
- Configuration panel
- Data export
โ Troubleshooting
Common Issues
Upload fails: "Failed to connect"
ESP32: Hold BOOT button while clicking Upload, release when "Connecting..." appears.
Arduino: Check correct COM port selected in Tools โ Port.
Sensor not detected
- Check wiring (SDA/SCL not swapped?)
- Run I2C scanner sketch to verify address
- Add pull-up resistors (4.7kฮฉ) if not on module
- Check voltage compatibility (3.3V vs 5V)
WiFi won't connect
- Verify SSID/password in config.h (case-sensitive!)
- 2.4GHz only (ESP32 doesn't support 5GHz)
- Check router isn't blocking new devices
- Try moving closer to router
Random resets
- Power supply too weak - use 500mA+ source
- Add 100ยตF capacitor near MCU
- Check for short circuits
- Disable brownout detector (ESP32)
Still Stuck?
- Check Issues for similar problems
- Open a new issue with:
- Hardware setup (board, sensors)
- Error messages (full serial output)
- Steps to reproduce
๐ค Contributing
Contributions are welcome! Here's how:
Reporting Bugs
- Check existing issues first
- Use the bug report template
- Include serial output and hardware details
Suggesting Features
- Open an issue with
[Feature Request]prefix - Describe use case and expected behavior
Pull Requests
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Test thoroughly
- Commit:
git commit -m 'Add amazing feature' - Push:
git push origin feature/amazing-feature - Open a Pull Request
Code Style
- Use meaningful variable names
- Comment complex logic
- Follow existing formatting
- Test on actual hardware before PR
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) [year] [author]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
๐ Acknowledgments
- [Library/Project] - for [what it provides]
- [Person/Tutorial] - inspiration/guidance
- [Community] - testing and feedback
๐ฌ Contact
[Your Name] - @twitter_handle - email@example.com
Project Link: https://github.com/[username]/[repo-name]
โญ If this project helped you, please give it a star!
---
## Section Guidelines
### Good vs Bad Examples
**Project Description:**
โ Bad: "An Arduino project with sensors" โ Good: "Battery-powered environmental monitor that tracks temperature, humidity, and air quality, sending alerts when thresholds are exceeded"
**Features:**
โ Bad: "Has WiFi" โ Good: "๐ถ WiFi connectivity with automatic reconnection and OTA updates"
**Installation Steps:**
โ Bad: "Install the libraries and upload" โ Good: Step-by-step with screenshots, version numbers, exact menu paths
### Visual Assets
**Recommended:**
- Project photo (hero image)
- Wiring diagram (Fritzing or hand-drawn)
- Demo GIF (< 5MB, 10-15 seconds)
- Schematic (KiCad export)
**Creating GIFs:**
- Use ScreenToGif (Windows) or Peek (Linux)
- Optimize with ezgif.com
- Keep under 5MB for GitHub
### Badges
```markdown
<!-- Status badges -->



<!-- Platform badges -->



<!-- Social badges -->


File Structure Recommendation
project-name/
โโโ README.md # Main documentation
โโโ LICENSE # MIT license file
โโโ .gitignore # Ignore build files
โโโ src/
โ โโโ main.ino # Main sketch
โ โโโ config.h # User configuration
โโโ lib/ # Local libraries (optional)
โโโ docs/
โ โโโ WIRING.md # Detailed wiring guide
โ โโโ API.md # API documentation (if applicable)
โ โโโ CHANGELOG.md # Version history
โโโ images/
โ โโโ project-photo.jpg
โ โโโ wiring-diagram.png
โ โโโ demo.gif
โโโ hardware/ # PCB/enclosure files (optional)
โ โโโ schematic.pdf
โ โโโ enclosure.stl
โโโ examples/ # Additional example sketches
โโโ basic/
Quick README Checklist
Before publishing, verify:
โก Project name is clear and memorable
โก One-line description explains the "what" and "why"
โก Hero image/GIF shows project in action
โก All hardware components listed with links
โก Wiring diagram included
โก All libraries listed with versions
โก Step-by-step installation instructions
โก Configuration section explains all settings
โก Usage section shows expected output
โก Troubleshooting covers common issues
โก License file present
โก Contact information included
โก No broken links
โก Spelling/grammar checked