commit-all-repos
БесплатноБез исполняемых скриптовНе проверенIterate through all sub-repos in repos/ and stage/commit/push each one, then do the same for the master repo
от raffertyuy★ 19 звёзд на GitHubОб этом скилле
Commit All Repos
Iterate through every sub-repo in repos/ and stage, commit, and push changes in each one individually, then do the same for the master repo last.
Order of Operations
- Sub-repos first — iterate through each directory in
repos/*/that is a git repository - Master repo last — commit root-level changes after all sub-repos are done
For Each Sub-Repo
For each directory under repos/<name>/ that is a git repository (has a .git directory):
Note: Skip
type: localentries fromrepos/repos.yaml— local source folders have no git history of their own. Their changes are committed via the root repo's/commitskill.
cdinto the repo directory- Run
git status(never use-uall) — if no changes, skip it - Run
git diffto review what changed - Run
git log --oneline -5to match that repo's commit message style - Read the sub-repo's agentic instructions if they exist (in priority order):
CLAUDE.mdin the sub-repo rootAGENTS.mdin the sub-repo root.github/copilot-instructions.mdin the sub-repo- These instructions take precedence over root-level instructions for that repo's commit
- Follow the sub-repo's commit message guidelines if they define any; otherwise fall back to the root
.claude/prompt-snippets/commit-message.md - Stage relevant files using explicit paths — never
git add -A - Create the commit
- Run
git pushto push the commit to the remote - Run
git statusto verify
For the Master Repo
After all sub-repos are committed:
- Run the
/commitskill for the root workspace (which excludesrepos/) - If there are no root-level changes, skip — don't create an empty commit
Notes
- Report a summary at the end: which repos had commits, which were skipped (clean), and any errors
- If a sub-repo has no changes, skip it silently — don't create empty commits
- If a pre-commit hook fails in a sub-repo, report the error and continue to the next repo
- Never force-push or amend existing commits in sub-repos
Установить commit-all-repos в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл commit-all-repos?
Iterate through all sub-repos in repos/ and stage/commit/push each one, then do the same for the master repo
Как установить скилл commit-all-repos?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл commit-all-repos запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic