Commit Graph

19 Commits

Author SHA1 Message Date
Trevin Chow 83588a3cb7 feat(git-commit-push-pr): stack-aware ship as the single ship path
Adds four-case routing between push and description steps:
- Case 1: on a stack branch → gh stack push + gh stack submit + per-PR
  description via ce-pr-description + gh pr edit per PR
- Case 2: not in stack, change passes two-stage effectiveness test →
  suggest stacking, on yes load ce-pr-stack, on return re-enter routing
  as Case 1
- Case 3: gh-stack not installed, change passes stage-1 → offer-and-run
  install, on success re-enter as Case 2
- Case 4: monolithic default → existing git push + gh pr create, now
  with description via ce-pr-description

Monolithic Steps 6-7 stay untouched; they are the single source of truth
for monolithic description generation. Case 1 explicitly exits before
them; Case 4 explicitly hands back to them.

Effectiveness test prose carries a sync-obligation comment listing all
four locations (this file, ce-work shipping, ce-work-beta shipping,
ce-plan). Changes to the heuristic update all four atomically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:17:32 -07:00
Trevin Chow 8cc603a7a1 feat(ce-pr-description): extract PR description writing into a focused skill
New skill owns the value-first description writing logic that was
previously inline in git-commit-push-pr. Input contract is two-shape:
pr:<number> for existing PRs (used by refresh mode), or range:<base>..<head>
for pre-PR generation (used by new PR creation and by ce-pr-stack per
layer). Output is structured {title, body}; caller decides whether to
apply via gh pr edit.

No interactive prompts, no auto-apply, no branch coupling. The skill
is a pure capability — git-commit-push-pr wraps it with confirmation
prompts and evidence-capture for single-PR interactive flows;
ce-pr-stack (via git-commit-push-pr's stack-aware routing, coming next)
will call it per layer without the interactive scaffolding.

Refactor preserves git-commit-push-pr's user-facing behavior:
- Full flow: commit + push + create PR, description generated via
  ce-pr-description with range:<base>..<head> and passed to gh pr create
  in a single call (no transient placeholder on GitHub)
- Refresh mode (DU-1/DU-2/DU-3): interactive scaffolding stays; DU-3
  delegates description generation to ce-pr-description with pr:<number>,
  then presents the compare-and-confirm as before

Naming: ce-pr-description, not git-pr-description. PR is a GitHub
artifact; the ce- prefix matches the future convention for plugin
skills. git-commit-push-pr will rename later.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:12:07 -07:00
Trevin Chow a55990387d fix(git-commit-push-pr): rewrite descriptions as net result, not changelog (#558)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 23:22:47 -07:00
Trevin Chow b979143ad0 feat(ce-demo-reel): add demo reel skill with Python capture pipeline (#541)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 21:29:51 -07:00
Trevin Chow 044a035e77 fix(git-commit-push-pr): remove harness slug from badge table (#539)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 23:30:43 -07:00
Trevin Chow 9a82222aba fix(document-review): widen autofix classification beyond trivial fixes (#524) 2026-04-06 22:05:27 -07:00
Trevin Chow 949bdef909 fix(review,work): omit mode parameter in subagent dispatch to respect user permissions (#522)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 12:12:31 -07:00
Trevin Chow f6544eba0e fix(git-commit-push-pr): simplify PR probe pre-resolution (#513)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 12:44:32 -07:00
Trevin Chow bbd4f6de56 feat(git-commit-push-pr): pre-resolve context to reduce bash calls (#488)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:17:01 -07:00
Trevin Chow 428f4fd548 fix(git-commit-push-pr): filter fix-up commits from PR descriptions (#484)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 16:04:04 -07:00
Trevin Chow 6ca7aef7f3 feat(git-commit-push-pr): precompute shield badge version via skill preprocessing (#464)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 00:21:17 -07:00
Trevin Chow 44e3e77dc0 feat(git-commit-push-pr): add conditional visual aids to PR descriptions (#444)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 14:13:25 -07:00
Trevin Chow 1f499482bc fix(git-commit-push-pr): quiet expected no-pr gh exit (#439) 2026-03-29 11:45:27 -07:00
Trevin Chow f83305e22a fix: harden git workflow skills with better state handling (#406)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 01:04:54 -07:00
Trevin Chow 4b44a94e23 fix: prevent orphaned opening paragraphs in PR descriptions (#393) 2026-03-26 09:55:48 -07:00
Trevin Chow 31f07c0047 fix: add default-branch guard to commit skills (#386) 2026-03-25 21:41:17 -07:00
Trevin Chow 355e7392b2 fix: scope commit-push-pr descriptions to full branch diff (#385) 2026-03-25 20:52:15 -07:00
Trevin Chow efa798c52c feat: improve commit-push-pr skill with net-result focus and badging (#380) 2026-03-25 16:28:47 -07:00
Trevin Chow fe08af2b41 feat: add git commit and branch helper skills (#378) 2026-03-25 14:53:39 -07:00