lane-prompt-builder

Generate self-contained TBM build-lane prompts with boot steps and close protocol.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/blucsigma05/tbm-apps-script --skill lane-prompt-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lane-prompt-builder
Source: https://github.com/blucsigma05/tbm-apps-script/tree/main/.claude/skills/lane-prompt-builder
Command: npx skills add https://github.com/blucsigma05/tbm-apps-script --skill lane-prompt-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents build-lane prompt failures by generating fully self-contained prompts that force a spawned Sonnet/Opus/Codex thread to follow TBM’s canon-doc boot sequence and the four-step close protocol, reducing stale/local-only handoffs and missing PR/comment outcomes.

Core Features & Use Cases

  • Build-lane prompt construction with guardrails: Produces prompts that include SPAWN INVARIANT and a non-negotiable BOOT sequence so the spawned thread can’t drift from the repository’s current canon.
  • Mandatory evidence-before-claim behavior: Enforces “verify-before-assert” and a deliverable shipment check against gitea/main before the thread writes anything.
  • Deterministic close protocol: Requires writing a thread handoff file, committing it, pushing/opening a PR, and commenting the canonical <!-- handoff --> marker with the PR number to guarantee LT can pick up reliably.
  • Concurrency and hot-file lock reminders: Embeds lane identity, active work avoidance, and hot-file constraints so multiple lanes don’t collide on canonical docs or workflow infrastructure.

Quick Start

Ask your AI to “use lane-prompt-builder to generate the Sonnet prompt for the rescue queue (#441/#442) with a queue ordered by Issues/PRs, explicit carve-outs, and the predecessor handoff path.”

Frequently Asked Questions about lane-prompt-builder

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

FAQPage Schema
How do I generate build-lane prompts that prevent stale handoffs in concurrent threads?

Generate build-lane prompts by embedding canon-doc boot steps and a four-step close protocol to prevent stale handoffs. This ensures spawned threads verify-before-assert, check deliverables against gitea/main, and write handoff files with PR discoverability.

What is a build-lane close protocol and when do I need it for issue-driven work queues?

A build-lane close protocol is a deterministic sequence requiring a thread to write, commit, push a handoff file, and comment a canonical marker. You need it for issue-driven work queues to guarantee the lead thread can reliably pick up the completed work.

Does this prompt generation approach work with Sonnet, Opus mini, and Codex threads?

Yes, the prompt generation applies to spawning Sonnet, Opus mini, or Codex build-lane threads. It embeds required inputs like lane identity, concurrency caveats, and hot-file lock reminders to prevent multiple lanes from colliding on canonical docs.

How do I enforce evidence verification before a spawned AI thread asserts claims?

Enforce evidence verification by embedding a mandatory verify-before-assert rule and deliverable shipment check against gitea/main in the prompt. This forces the spawned thread to validate evidence before writing any claims or outputs.

Why do my spawned AI threads drift from the repository's current canon during concurrent builds?

Spawned threads drift when prompts lack a non-negotiable boot sequence and spawn invariants. Including a mandatory canon-doc boot step forces the thread to align with the repository's current state before starting work, preventing local-only handoffs.

Can I use lane-prompt-builder for concurrent build lanes without causing hot-file collisions?

Yes, you can use it for concurrent build lanes because it embeds lane identity, active work avoidance, and hot-file lock reminders. These constraints ensure multiple lanes do not collide on canonical docs or workflow infrastructure.