用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/navikt/grillmester --skill grillmester-handoff命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Create or update a pull request for a verified task-scoped change. Use when the user explicitly asks to open or update a PR after implementation, self-review, and required deterministic gates are complete.
Create or update a pull request for a verified task-scoped change. Use when the user explicitly asks to open or update a PR after implementation, self-review, and required deterministic gates are complete.
Walk through a pull request or resolved task diff one meaningful reading step at a time, then prepare a formal human pre-merge review.
正在显示 SKILL.md
| name | grillmester-handoff |
| description | Create a compact temporary handoff so a fresh OpenCode session can continue the current work. |
OpenCode v1: Backticked
grillmester-*names below are skill IDs, not slash commands. Load them with the nativeskilltool. Slash commands are direct user entry points only.
Create a handoff only at a real session seam or context-pressure boundary. Use a short, bounded task brief for same-flow agent delegation instead.
mktemp -d on Unix-like systems. Do not write the handoff to
the repository or directly to a predictable shared temporary path.Verified now and Unverified or pending sections. Include
the command, path, or link that supports each important verified claim;
put assumptions, stale reports, and unfinished checks in the latter.When inside a Git worktree with an existing HEAD, capture fresh output for
the canonical repository path, branch or detached state, full commit ID, and
complete status including untracked paths:
set -euo pipefail
repository_root=$(git rev-parse --show-toplevel)
(cd "$repository_root" && pwd -P)
git -C "$repository_root" symbolic-ref --quiet --short HEAD || printf '%s\n' DETACHED
git -C "$repository_root" rev-parse HEAD
git -C "$repository_root" status --short --branch --untracked-files=all
Tell the receiving session to use that repository path, rerun the commands,
and compare the branch, commit, and status before continuing. Stop and resolve
the discrepancy with the user when the state has drifted. If no Git worktree
or HEAD exists, record the canonical working directory and relevant artifact
paths instead.
This preflight verifies repository identity and the shape of the working tree, not byte-for-byte equality of uncommitted content. Treat claims about modified or untracked content and previous test results as unverified after the handoff: reread the complete current diff and rerun the relevant checks before relying on them.
After writing the document, reopen it from its canonical path and confirm that it is readable and non-empty. Then print that absolute path so the user can give it to the receiving session.