merge-to-dev

A release step that combines a feature branch into the development branch, refreshes public code documentation, and checks the complete test and type-stub suites.

In plain words
What is it for?
Use it to squash-merge a completed feature, remove its merged branch, run full verification, regenerate docstrings, and apply merge-specific lint checks.
Why use it?
It ensures the merged code has no unfinished tests, documentation drift, or mismatches between type declarations and their implementations.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nullhack/temple8/merge-to-dev
Any agent
npx skills add nullhack/temple8 --skill merge-to-dev
Clone the repo
git clone --depth 1 https://github.com/nullhack/temple8

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00031 $0.00367
Opus 5 $0.00015 $0.00183
Sonnet 5 $0.00006 $0.00073
Haiku 4.5 $0.00003 $0.00037

Measured 2d ago against content hash 0cb216fcb0d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

merge-to-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/merge-to-dev/SKILL.md · 15 lines

What it actually says

Merge To Dev

  1. Load [[software-craft/git-conventions]], [[software-craft/docstring-lifecycle]] — squash-merge form and the docstring lifecycle.
  2. Switch to dev and squash-merge the feature branch (feature/<session_id>) per [[software-craft/git-conventions]]; the green-suite and whole-suite stubtest gate is verified on dev after the merge. Delete the merged branch (git branch -d feature/<session_id>) — no dangling branches.
  3. Verify the full suite is green on dev after the merge: no pending markers remain (every source .pyi has its sibling .py, so every test runs) and every test passes.
  4. Verify whole-suite stubtest is clean across both source and tests: every source .pyi and every test .pyi agrees with its sibling .py — no drift smuggled in by the batch.
  5. Regenerate docstrings for the public surface of every contract shipped this cycle (modules, classes, public functions and methods) — faithful prose from the stable code, never a mechanical restatement of the signature; the why of an architectural decision lives in an ADR, not a docstring. Per [[software-craft/docstring-lifecycle]].
  6. Run task lint-merge — adds SIM and RUF to the dev select and runs ruff format . — so restructure and format land on dev exactly once per merge, never during build.
  7. Commit the regenerated docstrings and the format pass on dev as docs(<scope>): regenerate docstrings + format.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 15 lines · 31 tokens per session scan A 0cb216fcb0d0

Subscribe to this mod's changes

merge-to-dev is a skill published in the GitHub repository nullhack/temple8 (11 stars, last pushed 28d ago), licensed MIT. It adds 31 tokens to every session and 367 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

docs-sync

Detect user-visible changes from the last 24h of commits on main and propose doc and scenario updates as PRs.

ric03uec/clawrium · 27 tokens

conventional-commit

Draft a Conventional Commit message when the user requests a commit or message. Formats only; does not authorize Git operations.

bnet47/codexicon · 28 tokens

keel-autopilot

Gated autonomy for one session — advance phases back-to-back with the full /keel-phase-review run at every gate, auto-commit at phase ends, batch pushes for ONE approval. Stops on gate FAIL, UNCERTAIN decisions, architecture surprises, or security-adjacent changes. Push is never automatic. Solo sessions or an agent…

muratsilahtaroglu/claude-code-starter-kit · 103 tokens

scope-guard

Judgment check before calling substantial work done or proposing a commit. Use before "done", before committing more than a trivial change, and whenever you notice yourself building something nobody asked for. The judgment layer above the automated gates, not a duplicate of them.

Tradebaas/Groundwork · 55 tokens

git-precommit

Orchestrate pre-commit workflow including Memory Bank sync, README/CHANGELOG/ROADMAP updates. Triggers: GIT, gc, push, commit, 提交, 準備 commit, 要提交了, git commit, pre-commit, 推送, stage, 暫存, checkin, 簽入, submit, save, 準備發布, ready to commit, 要推了.

u9401066/template-is-all-you-need · 92 tokens

git-doc-updater

Auto-check and update key documentation before Git commits to keep docs in sync with code. Triggers: docs, 文檔, 更新文檔, sync docs, release, 發布, documentation, 同步文件, 文件檢查, doc check, 發布前, before release, 準備發布.

u9401066/template-is-all-you-need · 71 tokens