turn-entry

Defines how session handovers and turn maps load into context at session startup.

1|Updated Jan 14, 2024
One-click install
npx skills add https://github.com/Eyhenij/rt-tools --skill turn-entry-eyhenij
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: turn-entry
Source: https://github.com/Eyhenij/rt-tools/tree/main/.claude/skills/turn-entry
Command: npx skills add https://github.com/Eyhenij/rt-tools --skill turn-entry-eyhenij

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a new AI coding session starts, it knows nothing about what the previous session did. This rule governs how the session entry hook feeds the prior session's handover and the turn map (work states and mandatory actions) into context before the first reply, so work resumes from where it stopped instead of from a blank. ## Core Features & Use Cases - Handover loading by branch name: The startup hook reads the handover file named after the current branch from the handoff directory and places it into context whole. - Turn map as a standalone resource: The map of work states, mandatory actions, and four turn exits ships as its own defaults file rather than being parsed out of the rule, with a size limit enforced by a tree check. - Non-blocking entry: The hook exits zero on every launch type (first launch, resume, compaction, clear); a missing handover or map never refuses the session. - Use Case: A maintainer editing the session entry hook or the turn map consults this rule to keep the map, the rule's state table, and the consistency check in sync. ## Quick Start Ask the assistant to review the session entry hook and turn map against this rule before editing how handovers load at startup.

Frequently Asked Questions about turn-entry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I pass context from a previous AI session to a new one?

Write a session handover into a file named after the current branch in the handoff directory before the session ends. The startup hook reads that file by branch name and places its contents into the new session's context before the first reply.

How do I keep a turn map in sync with the rule that defines work states?

Keep the map as a standalone defaults file rather than parsing it from the rule, and run the tree's map check. The check reconciles state names both ways between the map and the rule table and enforces a byte limit on the map.

Should a session entry hook fail when no handover exists?

No. A branch with no prior session is an ordinary start of work, not a breakage. The hook prints nothing for missing parts and exits zero on every launch, so a failure never refuses the session.

Why write context-bound text as lists instead of tables?

Formatters pad table columns with spaces to a common width, and those spaces travel into every session's context carrying no meaning. Writing entries as list lines cut one glossary by thousands of characters without changing a word.

What are the limitations of a session entry hook?

It cannot verify handover completeness or whether the session actually read what was served. It also cannot distinguish itself from a broken hook when both parts are missing, since both print zero bytes and return zero.