/ldaume-engineering:start-gatefrom ldaume-engineering
Pre-work gate that inspects the working tree, preserves foreign changes, fetches the latest default branch, and creates an isolated branch or worktree before editing.
Ships in ldaume-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The counterpart to completion-gate. That one runs before you call work done; this one runs before you touch anything. Work started on a stale or foreign tree produces a diff nobody can review: an unrelated change rides along, someone else's uncommitted work is destroyed, or the change is written against a version of the code that no longer exists.
Cost is a few commands. The failure it prevents is discovered at push time, or by the person whose work disappeared.
Before running this gate:
AGENTS.md, CLAUDE.md, .cursor/rules/,
contributing docs, or equivalents. Branch naming, worktree conventions,
lease or claim files, and protected branches are project truth and win over
the defaults below.main, git, or any
particular package manager.git status --short --branch
git worktree list
Read that output before deciding anything:
git fetch origin
git switch <default-branch>
git merge --ff-only origin/<default-branch>
Fast-forward only. A refused fast-forward means the local default branch has
diverged: resolve that as its own task. Do not git reset --hard a branch
whose contents you have not inspected, and do not start on the diverged tip
and hope.
One task, one branch, off the freshly updated default:
git switch -c <short-descriptive-name>
# or, to leave the primary checkout untouched:
git worktree add ../<repo>-<task> -b <short-descriptive-name>
Prefer a worktree when the primary checkout is in use, when several tasks run in parallel, or when the repository's own rules say so. Name the branch after the change, not the tool or model that writes it: no agent or product prefixes, and no producer chrome in commit messages or pull request descriptions.
Install dependencies with the project's own manager and its lockfile, using the frozen or immutable variant so a moved lockfile fails loudly instead of drifting. Start only the services this task actually needs.
A lockfile that moved on the default branch is the usual cause of an inexplicable local failure minutes later.
Read the verification commands from the repository - AGENTS.md, package
scripts, Makefile, CI config - so the finishing gate is not improvised later.
Run them now when the suite is fast, or when the checkout was already dirty,
inherited, or long unused: a failure that was there before your first edit is
cheap to recognize now and expensive to diagnose after.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ldaume/agentic-engineering-harness --plugin ldaume-engineering16 skills in this plugin
/agent-syncProactively evolves a repository's harness artifacts from durable evidence across sessions and tools. Use when starting or completing a session, when repeated friction reveals missing context or checks, when a lesson should outlive the current task, or when instructions, Skills, Rules, Hooks, MCP, or learnings may be stale./build-autonomous-agentsDesigns and implements a bounded agent for a product feature, or one finite agent workflow, with a runtime-neutral contract. Use when building an agent, finite workflow, subagent, tool, or channel integration into an application, adding Flue to an application, migrating an older Flue integration, or designing review loops and when an agent should ask a person./coding-disciplineEnforces clarity, surgical diffs, simplicity, and goal-driven TDD for any codebase. Use when implementing features, fixing bugs, refactoring, or making any code change./completion-gatePre-finish review gate for code changes - correctness, patterns, security, tests, verification, and checking the deployment a change targets before claiming work complete. Use when finishing a task, creating commits, opening PRs, gating a merge on required checks, or preparing to claim work complete./deliver-dependency-upgradesAssess and deliver dependency version changes from a bot signal through source-backed impact analysis, adaptation, protected integration, rollout, observation, rollback, and linked feature-opportunity capture. Use when a dependency bump must pass through its bounded production lifecycle. Do not use for updater configuration, managed Skill pins, isolated CI repair, or release-note summaries./documentation-and-adrsWrites and updates durable project documentation, decision records, runbooks, and architecture notes for a clear reader or operational purpose. Use when making architecture decisions, changing public APIs, adding operational procedures, documenting trade-offs, or deciding whether a change needs an ADR. The prose of a PR, commit, or Confluence page belongs to writing-engineering. Diagrams belong to design-slides.