Skip to content

Commit 6d51130

Browse files
committed
Clarify stack PR URL reporting
1 parent 472f5e7 commit 6d51130

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.agents/skills/stack/SKILL.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ Use this to understand local stack metadata, current branch position, missing
7979
parents, tracked PR numbers, and PR titles when GitHub is available. It is
8080
opinionated: backup branches are hidden, and when the current branch is
8181
stack-relevant it focuses on that stack instead of listing every local branch.
82+
When relaying a stack view to the user, always include the full PR URLs for
83+
every branch that has a PR, not just PR numbers or titles. If `stack status`
84+
does not print a URL for a branch, query GitHub with `gh pr view`/`gh pr list`
85+
and include the URL in the shown stack view.
8286

8387
Use `stack sync --dry-run`, not `stack status`, when you need GitHub PR-base
8488
inference before mutation.
@@ -129,6 +133,8 @@ nonzero if any stack failed.
129133
Sync output is intentionally outcome-oriented. It should show the stack tree with
130134
icons like ``, ``, ``, and ``, plus changed PRs/backups/undo instructions. It
131135
should not default to internal phase logs like fetch, inspect, or reconcile.
136+
When you show a stack tree to the user, include full PR URLs alongside each PR
137+
entry so the stack view is directly actionable.
132138

133139
If a replay fails, `stack sync` aborts the failed cherry-pick, restores the
134140
original branch, deletes the temporary replay branch, keeps backups and the undo

0 commit comments

Comments
 (0)