一键导入
tool-routing
Use when choosing the right lookup and execution tools for GitLab repo work
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when choosing the right lookup and execution tools for GitLab repo work
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Keep a GitLab issue's native Status in sync with its merge requests, and start implementing an issue by assigning it to the current user and setting the active milestone. Use when asked to start work on an issue, update an issue's status as MRs progress, or track issue state through the dev/review/complete lifecycle.
Run commands in a temporary tmux pane with full interactive zsh environment (login shell, shims, PATH, aliases, TTY).
Hammerspoon macOS automation. Config in ~/.hammerspoon/. Modules: init.lua, spaces, sleepwake, urlrouter, httpserver, meetings, webcam. Keywords: hammerspoon, hs, lua, audiodevice, hotkey, caffeinate, httpserver, Stream Deck, Rectangle Pro, blueutil, AirPods, URL routing, webcam, uhubctl. Use when: editing ~/.hammerspoon/ files, debugging Hammerspoon modules, adding Hammerspoon features, checking Hammerspoon logs.
Use before any Git branch operation in this repo. SSOT for the branch naming convention (<username>/<issue-id>/<branch-name>) — load before creating a branch instead of guessing the name. Also provides helpers for finding a branch's parent, rebasing related branches, force-pushing feature branches, and understanding commit or diff structure across stacked Git branches.
Iteratively test and refine prompts, skills, and agent configurations using opencode run
Inspect GitLab local ClickHouse tables, schemas, ingestion paths, and data patterns. Use for CH table questions, DESCRIBE TABLE, schema/source-of-truth checks under db/click_house, ClickHouse ingestion debugging, and investigating aggregates, distributions, or anomalous data in the GitLab repo.
| name | tool-routing |
| description | Use when choosing the right lookup and execution tools for GitLab repo work |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","author":"pedropombeiro","keywords":"routing, tools, glean, context7, knowledge-graph, tmux","workflow":"gitlab"} |
Use this skill before searching, reading docs, or executing commands when the best tool is not obvious. The goal is to avoid repeated tool-selection mistakes and unnecessary permission prompts.
Map task intent to the smallest correct tool sequence.
Classify the work into one of these intents:
library-docsgitlab-docscompany-knowledgeclickhouse-schemarepo-code-search-broadrepo-code-search-targetedknown-file-readinteractive-commandlong-running-commandIf several intents apply, choose the primary one first and mention the fallback.
Return four short sections only:
library-docswebfetch, raw GitHub URLs, man.gitlab-docswebfetch, gitlab_documentation_search.company-knowledgeclickhouse-schemaclickhouse skill.Read known schema files or targeted git ls-files and git grep.Glob and Grep before trying the repo-local ClickHouse workflow, especially when the table name is already known.repo-code-search-broadgit ls-files and git grep.Glob for tracked files unless untracked or ignored files matter.repo-code-search-targetedgit ls-files and git grep.Read for known files, Knowledge Graph for structural follow-up.Glob and Grep unless git-scoped tools are insufficient.known-file-readRead.git ls-files if the path is uncertain.cat, head, tail.interactive-commandrun-in-tmux-pane.long-running-commandrun-in-tmux-pane if it also needs zsh init, auth state, or a TTY.docs.gitlab.com, handbook, runbooks, and internal process, use Glean first.CH questions in this repo, load .opencode/skills/clickhouse/SKILL.md first.git ls-files and git grep.fgdku, gpsup, and test_mr, use run-in-tmux-pane.Prompt:
Use tool-routing for a broad code search in this repo.
Expected shape:
Intent
- repo-code-search-broad
Primary tool
- Knowledge Graph
Fallback
- `git ls-files` and `git grep`
Avoid
- `Glob` for tracked files
- docs lookup tools