readme-generator
Creates or updates the GitHub README for a textbook project with badges, project overview, site metrics, and getting-started instructions.
от dmccreary★ 115 звёзд на GitHub
Установить readme-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
README Generator
Generate or update a comprehensive README.md file for GitHub repositories following best practices.
Purpose
This skill automates the creation of professional, well-structured README.md files for GitHub repositories. It generates all essential sections including badges for technologies used, project overview, site metrics, getting started instructions, project structure, and contact information. The skill is particularly optimized for MkDocs-based intelligent textbook projects but can be adapted for any repository type.
When to Use This Skill
Use this skill when:
- Starting a new GitHub repository that needs a README.md
- Updating an existing README.md to follow best practices
- After significant project changes that should be documented
- Before publishing or sharing a repository
- When migrating from another documentation system
- After adding new technologies or dependencies
Workflow
Step 1: Analyze Repository Context
Before generating the README, gather information about the repository:
- Check if README.md already exists in the root directory
- Identify the repository name from
.git/configor the working directory - Read
mkdocs.ymlif it exists to extract:- Site name
- Site description
- Site URL (for GitHub Pages link)
- Repository URL
- Check for documentation in
/docsdirectory - Identify technologies used (look for package.json, requirements.txt, mkdocs.yml, etc.)
User Dialog Triggers:
- If README.md exists: Ask "README.md already exists. Would you like to update it or create a backup first?"
- If repository URL not found: Ask "What is the GitHub repository URL? (e.g., https://github.com/username/repo-name)"
- If site URL not configured: Ask "Is this site deployed to GitHub Pages? If yes, what's the URL?"
Step 2: Generate Badges
Create badges for all relevant technologies and platforms. Use shields.io format for consistency.
Badge Order:
- MkDocs (if mkdocs.yml exists)
- MkDocs Material (if theme is Material)
- GitHub Pages live badge (if site is deployed)
- Claude Code badge
- Claude Skills badge (if .claude/skills or skills/ directory exists)
- License badge
- Additional technology badges (Python, JavaScript, p5.js, etc.)
Do NOT include a "GitHub repo" badge that links the README back to its own repository. Anyone reading the README is already on GitHub (or already has the repo cloned), so a self-link adds no value. The GitHub Pages badge is fine because it points to a different surface (the published site).
Badge Templates:
[](https://www.mkdocs.org/)
[](https://squidfunk.github.io/mkdocs-material/)
[](SITE_URL)
[](https://claude.ai/code)
[](https://github.com/dmccreary/ibook-skills)
Check for these additional badges:
- p5.js:
[](https://p5js.org/) - Python:
[](https://www.python.org/) - JavaScript:
[](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
Step 3: Add License Badge
Look for license information in:
LICENSEfile in rootdocs/license.mdmkdocs.yml(copyright field)
Default to Creative Commons BY-NC-SA 4.0 if not specified:
[](https://creativecommons.org/licenses/by-nc-sa/4.0/)
Other common licenses:
- MIT:
[](https://opensource.org/licenses/MIT) - Apache 2.0:
[](https://opensource.org/licenses/Apache-2.0) - GPL-3.0:
[](https://www.gnu.org/licenses/gpl-3.0)
Step 4: Create Website Link Section
After badges, add a prominent link to the live website (if deployed):
## View the Live Site
Visit the interactive textbook at: [https://username.github.io/repo-name](https://username.github.io/repo-name)
Step 5: Write Overview/Short Description
Create a compelling 1-3 paragraph overview that answers:
- What is this project?
- Who is it for?
- Why is it valuable?
- What makes it unique or special?
Guidelines:
- Keep it concise but engaging
- Use active voice
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
- references/badges.md
- scripts/collect-site-metrics.py
- scripts/validate-readme.py
FAQ
Что делает скилл readme-generator?
Creates or updates the GitHub README for a textbook project with badges, project overview, site metrics, and getting-started instructions.
Как установить скилл readme-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл readme-generator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…