Skip to content

Commit 3d500fb

Browse files
committed
Clarify clickable stack PR links
1 parent af0fa81 commit 3d500fb

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.agents/skills/stack/SKILL.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ stack-relevant it focuses on that stack instead of listing every local branch.
8282
When relaying a stack view to the user, always include the full PR URLs for
8383
every branch that has a PR, not just PR numbers or titles. If `stack status`
8484
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.
85+
and include the URL in the shown stack view. Use Markdown links or plain URL
86+
lines for user-facing stack views so the PR links are clickable; do not hide the
87+
only copy of the PR URLs inside a fenced code block.
8688

8789
Use `stack sync --dry-run`, not `stack status`, when you need GitHub PR-base
8890
inference before mutation.
@@ -134,7 +136,8 @@ Sync output is intentionally outcome-oriented. It should show the stack tree wit
134136
icons like ``, ``, ``, and ``, plus changed PRs/backups/undo instructions. It
135137
should not default to internal phase logs like fetch, inspect, or reconcile.
136138
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.
139+
entry so the stack view is directly actionable. Prefer Markdown list/tree output
140+
with clickable links over fenced code blocks when relaying PR URLs to a user.
138141

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

0 commit comments

Comments
 (0)