[feat] Add /capture command and product-manager persona for portable issue capture#66
Merged
Conversation
…o sidecar cmd file, fix Output format phrasing, drop unused Glob tool
This was referenced May 2, 2026
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.
Summary
agents/product-manager.md: persona-led subagent that turns a rough thought into a well-framed GitHub issue; applies four PM lenses (problem, value, acceptance criteria, Impact/Effort S/M/L); discovers issue templates at runtime vials .github/ISSUE_TEMPLATE/; falls back to a default body shape when none exist; sanitizes dup-scan keywords and temp-file slug against shell injection; binds theconfirmstep to a.cmdsidecar file so the filed command matches exactly what the user reviewedcommands/capture.md: thin orchestrator that echoes$ARGUMENTS, delegates toproduct-manager, enforces the preview-gate contract (nogh issue createuntil user repliesconfirm), and carries no ticket-context prelude or plan-output footer--label/--assignee/--milestone/--repoflags; works in any repo where the swe-workbench plugin is installedTest Plan
/swe-workbench:captureappears in fresh Claude Code session;product-manageragent resolvesFiling into: lugassawan/swe-workbenchexactlyadd a /retro command→feature_request.mdselected,## Product framingprepended, four lenses populated; replyconfirm→ issue URL returnedcleanup-merged sometimes leaves stale local branches→bug_report.md, problem framing emphasizes broken-state symptombump dependabot interval to weekly→chore_maintenance.md, value framing acknowledges internal cleanupthe workflow feels slow→ agent asks ONE clarifying question before draftingconfirm; verify NO issue created (gh issue list --limit 5)/capturewith that keyword surfaces it in "possibly related"GH_TOKEN=invalid /capture …→ clean single-line bail before any framing## Product framingappears at top with all four lenses.github/ISSUE_TEMPLATE/; preview surfaces "No issue templates found"; default body used; issue files into scratch repo, NOT swe-workbenchepic.mdtemplate; agent picksepic.md, not any swe-workbench-style nameIssue: N/A — captured during /design session 2026-05-02; this PR is the tracking artifact