mit einem Klick
push-to-pr
// Push commits to an existing GitHub PR's source branch. NEVER create new branches. Use when the user says "push to PR
// Push commits to an existing GitHub PR's source branch. NEVER create new branches. Use when the user says "push to PR
i18n (internationalization) toolkit for projects using i18next. Provides three main functions: (1) i18n-check - Detect hardcoded Chinese text in HTML/JS files, (2) i18n-fix - Replace hardcoded text with i18n markers, (3) i18n-sync - Align translation keys across multiple languages (zh-CN, zh-TW, en, ja, ko, ru, es, pt). Use when working on internationalization tasks, detecting untranslated strings, or syncing locale files.
Gemini 模型通过 OpenAI 兼容 API 接入指南。包含:(1) 辅助 API 配置(summary/correction/emotion/vision),(2) extra_body 格式用于控制 thinking,(3) 响应格式处理(markdown 代码块)。当需要将 Gemini 作为辅助模型接入、配置 thinking 参数、或处理 Gemini API 返回格式时使用。
应对 WebGL 端 MMD 物理 (Ammo.js) 炸模、穿模、卡顿等极限边缘工况的终极调优指南与 Hack 技巧。
When masking httpx.AsyncClient with unittest.mock in Pytest, AsyncMock must be used instead of MagicMock for async methods like post/get to prevent TypeError when awaited.
Best practices for extracting data from modern React/Vue SSR pages (like Next.js or Nuxt.js) by targeting hydration state blocks (__NEXT_DATA__, __NUXT__) using regex and `jmespath`, avoiding brittle DOM selector scraping.
Convention for reporting errors from multiprocessing TTS workers to the main process frontend. Use this skill when modifying, adding, or debugging TTS workers in tts_client.py to ensure connection errors, quotas, and API limits correctly display Toast notifications to the user rather than failing silently.
| name | push-to-pr |
| description | Push commits to an existing GitHub PR's source branch. NEVER create new branches. Use when the user says "push to PR |
Push local commits to an existing PR's source branch. Never create new branches.
curl -s https://api.github.com/repos/{OWNER}/{REPO}/pulls/{N} \
| python3 -c "import sys,json; p=json.load(sys.stdin); print(f\"branch={p['head']['ref']}\nclone_url={p['head']['repo']['clone_url']}\ncan_modify={p['maintainer_can_modify']}\")"
head.ref = branch name (e.g. active_visual_chat)head.repo.clone_url = fork URLmaintainer_can_modify must be truegit remote -v # check if clone_url already listed
git remote add <name> <clone_url> # only if missing
git fetch <remote> <branch>
# If local commits not on top:
git rebase <remote>/<branch>
git push <remote> HEAD:<branch>
git push <remote> <local_branch> if local branch differs from PR branch — always use HEAD:<pr_branch>head.ref in API responsemaintainer_can_modify is false, inform user — cannot push