Add three agent-workflow skills: worktree discipline, phase PR review loop, guarded DB migration - #3
Merged
Merged
Conversation
- multi-agent-worktree-discipline: session bootstrap, branch reconciliation, lost-work recovery, lockfile and signed-commit discipline for repos where multiple agents share git worktrees - phase-pr-review-loop: plan-first review, one-PR-per-phase, adversarial cross-agent review with per-thread fix verification, and an honest phase status ledger - guarded-db-migration: additive-vs-guarded DDL split, expected-host guard, preflight/migrate scripts, disposable-branch rehearsal, and post-run catalog + API verification All three are distilled from the AgentVouch Base-port delivery workflow. kb:format applied; validate green (17 skills). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_31a7f1ee-d975-4945-9d5c-cbc586f0278c) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Three authored skills distilled from the workflow that shipped the AgentVouch Base port (plan-PR-per-phase, multi-agent worktrees, guarded Neon migrations). Each is written generically so any repo/agent stack can use it; no secrets, machine paths, or localhost-only steps.
1.
multi-agent-worktree-disciplineSession bootstrap in fresh worktrees (toolchain pinning, lockfile installs, symlinked node_modules), shared-feature-branch + per-agent-scratch topology, the lost-work protocol (
git branch -a --containsbefore redoing anything), lockfile/dependency commit discipline, signed commits in headless shells, and gh account-identity checks. Ends with a failure-mode quick-reference table.2.
phase-pr-review-loopPlan reviewed as a PR before implementation, one phase = one PR with an honest verified/not-verified split, reviewer briefings, findings as inline threads, per-thread fix verification with evidence before resolving, the gh mechanics that trip agents up (can't approve own PRs, GraphQL reviewThreads vs top-level comments, reply endpoints), and the phase status ledger rules.
3.
guarded-db-migrationThe additive-runtime-DDL vs guarded-one-shot-script split, the
preflight/migratescript pattern with a non-bypassableEXPECTED_DATABASE_HOSTguard, disposable-branch rehearsal copied from production (Neon-style), post-run catalog + API-smoke verification, and a copy-paste migration PR checklist.Validation
npm run kb:formatapplied (frontmatter + indexes regenerated).npm run validategreen: validated 17 skills with OKF-style KB checks.origin: authored,license: MIT,publish_decision: candidate(free repo-backed listing default per repo rules).🤖 Generated with Claude Code
Note
Low Risk
Documentation-only skill additions and registry/index updates; no runtime, auth, or application code changes.
Overview
Adds three authored MIT skill packages to the knowledge bundle, each with
SKILL.md,index.md, andLICENSE.txt, and wires them intoregistry.json(origin: authored,publish_decision: candidate) and the generatedskills/index.md. The root bundleindex.mdtimestamp is bumped.multi-agent-worktree-disciplinedocuments safe parallel-agent work in git worktrees: session bootstrap (worktree/branch identity, per-invocation toolchain PATH, lockfile installs, sharednode_modulespitfalls,ghidentity), shared feature branch vs per-agent scratch branches, a lost-work recovery protocol before redoing commits, lockfile/branch-switch hygiene, signed commits in headless shells, and a symptom→fix table.phase-pr-review-loopdefines a one-PR-per-phase loop: plan-as-PR before implementation, honest verified/not-verified PR descriptions, reviewer briefings and inline threads, per-thread fix evidence before resolve, GitHub/ghmechanics (self-approve limits, GraphQLreviewThreads, reply APIs), and phase status ledger rules paired withplan-writing.guarded-db-migrationencodes production Postgres migration safety: additive runtime DDL vs guarded one-shot scripts,preflight/migratewith a non-bypassableEXPECTED_DATABASE_HOSTguard, disposable production-branch rehearsal, catalog + API smoke verification, design rules, and a migration PR checklist.Reviewed by Cursor Bugbot for commit 944c196. Bugbot is set up for automated code reviews on this repo. Configure here.