Repository navigation
docs(skills): lessons from 2026-11-27/28 (worktree base, submit before review, mutations, patches, stacks) - #142
Merged
Conversation
…e review, mutations, patches, stacks, untracked overwrite) - flow-next: fast-forward a new worktree to origin/<base> before editing, and diff against it. - flow-complete: start a reviewer only after submit printed "Submitted for review"; INVALID_TRANSITION means re-claim or clear the blocker first. - test-driven-development: a mutation that doesn't compile proves nothing. - git-and-diff-workflows: write patches with git diff --output; back up and cmp untracked files that block a switch, never git clean or --force. - merge-pr: retarget a stacked PR to main once its base has merged. Refs scf-ozu1c Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Correct the patch lesson's cause (redirect re-encoding or 2>&1 warnings), cut four bullets to two lines, and say an early reviewer can't get a brief or approve. Refs scf-ozu1c Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
This adds six lessons from the 2026-11-27/28 session. Each is one or two lines in the skill that owns that procedure. Jev chose "apply" for each (confidence 0.82–0.97).
flow-nextorigin/<base>before editing, and diff against itorigin/main, and a reviewer flagged the misleading diffs this causedflow-completesubmitprinted "Submitted for review"test-driven-developmentgit-and-diff-workflowsgit diff --output=<file>git-and-diff-workflowscmp; nevergit cleanor--forceswitch main, and the first backup didn't match because the tracker rewrote the file during the copymerge-prmainonce its base has mergedgh pr edit --base main.agent/SKILL_INVENTORY.mdhas these rows and its Last reviewed date updated, and the mirrors are regenerated.Checks (all exit 0):
sync_assistant_trees.py --checkcheck_agent_frontmatter.pygenerate_agent_asset_inventory.py --checkcheck_skill_portability.pypytest tests/test_agent_frontmatter.py tests/test_sync_assistant_trees.py: 22 passedLine-ending-only rewrites were reverted, and no machine paths or host names were added.
AST10: documentation only. No change to side-effect level, approval or risk class.
Refs scf-ozu1c
🤖 Generated with Claude Code