Convert an existing find-XXXX SKILL.md into a preprocessor Python script, updating configs/<GAMEVER>.yaml and removing the old SKILL.md. Covers xref-string-based and LLM_DECOMPILE-based discovery patterns.
日本語の概要は準備中です。原文の説明を表示しています。
Clean up the local workspace after a dev branch has been merged into main. Verifies the current dev branch is fully merged into origin/main, then switches to main, pulls the latest, deletes the local dev branch, and deletes the remote dev branch if it still exists. STOPS and warns the user if the current branch is not yet merged. Triggers: cleanup workspace, cleanup branch, delete merged branch, finish dev branch, post-merge cleanup
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Post-merge housekeeping: verify the active dev branch landed in main, then prune it locally and on origin.
After a pull request authored on a dev* branch has been merged into main and the user wants to return the workspace to a clean state on the updated main branch.
origin/main. If the merge check fails, STOP immediately and report to the user — do not pass -D to force delete.main itself. If the current branch is main, abort with a clear message.origin. If origin is not present, abort and ask the user which remote to use.Run these checks in parallel:
git rev-parse --abbrev-ref HEAD # current branch name
git status --porcelain # must be empty (clean working tree)
git remote # must contain 'origin'
Abort with a clear message if:
main (nothing to clean up).git status --porcelain is non-empty (uncommitted changes).origin remote does not exist.Save the current branch name as DEV_BRANCH for later steps.
git fetch origin --prune
Then check whether every commit on DEV_BRANCH is reachable from origin/main:
git merge-base --is-ancestor <DEV_BRANCH> origin/main
0 → branch is fully merged. Proceed to Step 3.1 → branch has commits not in origin/main. STOP and report to the user:
git log --oneline origin/main..<DEV_BRANCH>git checkout main
git pull origin main --ff-only
Use --ff-only so the pull aborts cleanly if something unexpected happened upstream rather than creating a merge commit silently.
git branch -d <DEV_BRANCH>
Use lowercase -d (safe delete). It refuses to delete if not merged — which should not happen since Step 2 already verified the merge, but the double-check is intentional. Do not fall back to -D.
First check whether the remote branch is still present (the maintainer may have already deleted it after merging the PR):
git ls-remote --heads origin <DEV_BRANCH>
git push origin --delete <DEV_BRANCH>
If the push fails (permission denied, protected branch, etc.), report the error to the user — do not retry with force.
Summarize what changed in a short message:
main) and its short SHA.User finishes work on dev-14156 which has been merged into main via PR:
Step 1: HEAD=dev-14156, working tree clean, origin present. ✓
Step 2: git fetch origin --prune
git merge-base --is-ancestor dev-14156 origin/main → 0 ✓ merged
Step 3: git checkout main
git pull origin main --ff-only → main now at <sha>
Step 4: git branch -d dev-14156 → deleted
Step 5: git ls-remote --heads origin dev-14156 → non-empty
git push origin --delete dev-14156 → deleted
Step 6: Report: on main @ <sha>; local dev-14156 deleted; remote dev-14156 deleted.
HEAD.-D) or force-pushes. If a step refuses, that is a signal to stop and surface the situation, not to override.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Convert an existing find-XXXX SKILL.md into a preprocessor Python script, updating configs/<GAMEVER>.yaml and removing the old SKILL.md. Covers xref-string-based and LLM_DECOMPILE-based discovery patterns.
日本語の概要は準備中です。原文の説明を表示しています。
Create an Agent SKILL.md fallback for an existing find-XXXX finder that relies on a fragile discovery foundation — above all LLM_DECOMPILE (patterns C/D/E), which matches the decompiled shape of a predecessor function against a stored reference and breaks when a symbol is inlined or de-inlined in a way the reference does not cover. The generated fallback coexists with the preprocessor and runs only when it returns failure, recovering every target robustly by decompiling the predecessor and following the inline/de-inline boundary with semantic anchors. Use when a finder broke on a game update, or you want to durably backstop one before it does. The recipe generalizes to any finder foundation. Triggers: create agent skill fallback, add SKILL.md fallback, robust fallback for finder, backstop LLM_DECOMPILE finder, final guarantee skill
日本語の概要は準備中です。原文の説明を表示しています。
Create a new cpp_tests entry for validating a C++ interface vtable layout against binary reference YAMLs. Creates the .cpp test file in cpp_tests/ and appends a configs/<GAMEVER>.yaml entry under cpp_tests:. Use when a user asks to add vtable layout validation for a new hl2sdk_cs2 interface class.
日本語の概要は準備中です。原文の説明を表示しています。
Create a GitHub pull request from staged task changes or an already-committed current branch. Deliver source/config/ reference changes together with their computed source-owned `bin_artifacts` closure. PR validation routing is owned by the default-branch trusted workflow; snapshots, gamedata, and manifests are Release-derived only.
日本語の概要は準備中です。原文の説明を表示しています。
Create a new find-XXXX preprocessor Python script from scratch (no existing SKILL.md), add configs/<GAMEVER>.yaml skill and symbol entries. Covers xref-string-based and LLM_DECOMPILE-based discovery patterns. Use when a GitHub issue or user instruction specifies a new function to find.
日本語の概要は準備中です。原文の説明を表示しています。
Batch-dump vtables from IDA Pro MCP by searching mangled symbol patterns, then write a merged YAML file beside the binary. Use this skill when you need to find and export all vtables matching a name pattern (e.g., all GameSystem vtables) in one shot. Triggers: dump vtables, batch vtable dump, export vtables, dump all vtables matching pattern
日本語の概要は準備中です。原文の説明を表示しています。