generate_and_merge
БесплатноБез исполняемых скриптовНе проверенBuild Jupyter notebooks from scripts, commit, push, raise a PR to main, merge it, then return to main locally.
от PyAutoLabs★ 28 звёзд на GitHubОб этом скилле
Build notebooks for the autolens_workspace, then open and merge a PR into main, and return to main locally.
Steps
Check git state
Run
git statusandgit branchto confirm the working tree state and current branch. If there are uncommitted changes outsidenotebooks/, stop and tell the user.Create a working branch
Create and check out a new branch named
notebooks-update-<YYYY-MM-DD>(use today's date). If the branch already exists, check it out.Generate notebooks and the workspace catalogue
Run from the workspace root:
PYTHONPATH=../PyAutoHands/autohands python3 ../PyAutoHands/autohands/generate.py autolensThis regenerates all notebooks in
notebooks/fromscripts/. It may take a few minutes.In the same pass it also regenerates the LLM-facing workspace catalogue from the script docstrings —
llms-full.txt(the expanded companion to the curatedllms.txt) andworkspace_index.json(the machine-readable index). These come from PyAutoHands'snavigator.pyand cannot drift out of sync with the scripts, since they regenerate alongside the notebooks. Do not hand-edit either file, and never touch the curatedllms.txthere.Commit the generated notebooks and catalogue
Stage all changes under
notebooks/, any root-level*.ipynbfiles, and the generated catalogue files, then commit:git add notebooks/ start_here.ipynb llms-full.txt workspace_index.json git commit -m "Build notebooks from scripts"Stage
llms-full.txtandworkspace_index.jsonby name (as above) — nevergit add ., so unrelateddataset/churn is not swept in. Do not stage the curatedllms.txt. If there is nothing to commit (notebooks and catalogue already up to date), tell the user and stop.Push the branch
git push -u origin <branch-name>Open a PR into
mainUse the
ghCLI to create a pull request targetingmain(NOTrelease):gh pr create --base main --title "Update notebooks" --body "Regenerated notebooks from scripts using generate.py."Merge the PR
Merge with a merge commit (not squash, not rebase) and delete the remote branch after:
gh pr merge --merge --delete-branchReturn to main locally
Check out
mainand pull the merged changes so the local branch is up to date:git checkout main git pull origin mainConfirm success
Run
git log --oneline -5to confirm the merge commit is present onmain. Report the PR URL and merge commit to the user.
Установить generate_and_merge в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл generate_and_merge?
Build Jupyter notebooks from scripts, commit, push, raise a PR to main, merge it, then return to main locally.
Как установить скилл generate_and_merge?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generate_and_merge запускает скрипты?
Нет, скилл состоит только из инструкций (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