Rite handoff
Skill ViktorsBaikers/DevRites/pack/generated/codex/skills/rite-handoff
Stop your AI from shipping half-baked code. A disciplined senior-engineer workflow for Claude Code (spec, vet, build, prove, review, seal, ship) that keeps each feature's state on disk, catches spec drift mid-build, gates every phase on your project's principles, and refuses to claim "done" without proof.
npx -y skills add ViktorsBaikers/DevRites --skill rite-handoffAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
User-invoked handoff writer: sync chat-only context into `.devrites/` and write a fresh-agent handoff.
SKILL.md
8.0 KB, ~1.9k tokens by cl100k_base, as published. Nobody here has run it
Codex compatibility
This is the Codex mirror of a DevRites skill. In Codex:
- Load DevRites engineering standards from
.agents/skills/devrites-lib/reference/standards/. Read.agents/skills/devrites-lib/reference/standards/core.mdbefore workflow work, then load the other.agents/skills/devrites-lib/reference/standards/*.mdfiles exactly when this skill asks for them. - Installed
.agents/mirrors may be Git-ignored. If a repository-aware file tool refuses an ignored path, read it with a native filesystem command instead; a tool refusal is not a completed task. - For automatic Engram calls, omit optional
projectandsession_idunless an exact value came from Engram or repository configuration. Never derive either fromtask_name, a run ID, directory name, or normalized slug. Callmem_session_summarywithout them by default; onunknown_sessionorunknown_project, retry once with both optional fields omitted. If auto-detection is ambiguous, ask the user instead of guessing. - Use the installed
devrites-enginebinary as the canonical runtime helper surface for orientation, gates, and state mutation. - Invocation and dispatch are different: invoke means run a skill in this context; dispatch means start a fresh agent with
spawn_agent, await it, and reconcile its result. Never describe inline skill work as a dispatch. - On MultiAgent V2, call
spawn_agentwith the exact namedagent_type=devrites-<role>, a uniquetask_name, andfork_turns="none". A missing visibleagent_typefield is still V2—not capability loss, V1, or HITL—so send it anyway. If the named call rejects it, stop before any generic/default spawn. Codex loads the role TOML'sdeveloper_instructionsnatively; DevRites verifies the durable rollout, wait, completion, and delivered result. - Only after the runtime explicitly identifies MultiAgent V1, use generic
explorerfor a read-only role withfork_turns="none"and name exactly one.codex/agents/devrites-<role>.tomlcontract in the message. Trusted.codex/hooks.jsoninjects that contract's exactdeveloper_instructionsand binds the child to the fail-closed reviewer read-only guard. - On explicitly identified MultiAgent V1,
devrites-slice-wrightuses genericworkerwithfork_turns="none"and the exact role TOML named in the message. Trusted.codex/hooks.jsonbinds it to the active reconcile window and.wright-allowlist. - The invoked skill's
required-agent-rolesfrontmatter arms the fail-closed Stop receipt. Every listed role must have a confirmed start, wait, and non-empty result in this turn. - If the required dispatch for the explicitly identified runtime is unavailable or rejected, stop for HITL. Never switch runtime lanes. Never execute a DevRites specialist role in the root context.
- Wait for every required fresh-context dispatch before reconciling or advancing. A backgrounded or lost result is incomplete.
- Codex project hooks are installed in
.codex/hooks.json; declared-leaf hooks are scoped inside.codex/agents/devrites-*.toml. Review and trust them with/hooksbefore relying on hook enforcement. - When this skill asks a HITL question via
AskUserQuestion: Codex's equivalent (request_user_input) exists only in Plan mode. Outside Plan mode, render the option set as a plain numbered list in chat and end the turn so the human answers: NEVER silently pick an option yourself; auto-picking is AFK's contract, gated by the.devrites/AFKsentinel.
$rite-handoff: chat-only context, into a fresh-agent doc
DevRites' workspace .devrites/work/<slug>/ already captures everything that should
persist (spec, plan, tasks, decisions, evidence, drift, review). This skill captures
what the chat is holding that is not in the workspace, so a fresh agent (or
the same user after /clear) can pick the work up without re-reading the transcript.
Read .agents/skills/devrites-lib/reference/standards/core.md first: its "Persistence before stopping" discipline is
exactly what this skill executes. The other rule files load on demand.
Then run devrites-engine preamble for deterministic workspace orientation.
Where to write
- Active feature exists →
.devrites/work/<slug>/handoff.md(overwrites the previous handoff; the workspace is the canonical home for this slug). - No active feature → OS temp dir (
$TMPDIR//tmp/%TEMP%) asrite-handoff-<ISO-timestamp>.md. Print the absolute path after writing.
Before you write: sync, don't duplicate
For each of these, write the content into its canonical home first, then merely note in the handoff that the sync happened:
- Open mid-flight question → append to
questions.md(with best-guess attached if possible). - Decision discussed but not yet recorded → append to
decisions.mdwith the why, not just the what. - Assumption about behaviour / API / user intent → append to
assumptions.md. - Drift event raised but not fully resolved → update
drift.mdwith the current resolution status (open / asked-user / repaired). - Files modified in chat not yet in
touched-files.md→ append totouched-files.md.
The handoff doc itself then says "synced N entries into decisions.md", not the entries themselves. The workspace is the canonical store; the handoff is the chat-only delta.
What to include in the handoff
- Suggested next action. ONE command, not three options. If the active feature is
mid-phase, name the next
rite-*command. If a question blocks progress, point at it. If the user passed[what the next session will focus on], tailor this section to the named focus. Where you were mid-thought, quote the most recent next-step verbatim from the chat (the exact sentence describing what to do next) so no nuance is lost to paraphrase. - What just happened in this chat (3-5 bullets). Distil: do not transcribe.
- External references that exist only in chat: URLs, Figma links, screenshot paths, video timestamps the user pasted. List as references; do not embed.
- Live assumptions the agent is acting on that the workspace doesn't reflect yet (after the sync above, this section should be near-empty: flag anything that remains).
- How to resume: fixed boilerplate (see template below).
What NOT to include
- Anything already in
spec.md,plan.md,tasks.md,state.md,decisions.md,evidence.md,review.md: link by path instead. git diffoutput: the next agent runsgit diffthemselves.- The full conversation transcript: distil.
- Secrets (API keys, tokens, PII, credentials). Redact aggressively.
- New ideas the user didn't confirm. A handoff records what happened and what's next. Leave out fresh suggestions, scope the user didn't agree to, and redesigns you thought of. Capture the state, not your opinions about it.
Output template
Loaded on demand from reference/handoff-template.md.
Fill in each section and write to .devrites/work/<slug>/handoff.md (or to a temp
file when no active feature). Then use the compact reply contract
(devrites-lib/reference/reply-contract.md):
Done: handoff written for <slug | session>.
Changed: handoff.md plus synced workspace artifacts <n>
Evidence: not applicable; chat-only context persisted
Open: <none | unsynced caveats>
Next: <single resume command>
Record: <absolute path to handoff.md>
↻ Hygiene: /clear
Print the absolute path in Record: so the user or next agent can open it without searching.
Session hygiene
Close with the one-line hygiene advisory + the single resume command. This skill is the
pre-/clear bridge, so it's where the advisory matters most (context-hygiene.md):
↻ Hygiene: /clear