Skip to content

Conversation

@schpet
Copy link
Owner

@schpet schpet commented Dec 12, 2025

use case:

  • you are addressing feedback on an issue ABC-123
  • run linear issue start 123 to re-start that issue
  • fire up claude code
  • run ! linear issue view to drop the issue, and comments into context
  • run ! linear issue commits to dump the diff of previous work into context
  • ask claude to address the feedback (it will have a much better shot of knowing what you are talking about)

@schpet schpet force-pushed the schpet/push-ktzrottwvzoz branch 4 times, most recently from d437a4f to 9bdcb70 Compare December 14, 2025 16:21
@schpet schpet changed the title Add 'issue diff' command for jj-vcs Add 'issue commits' command (jj-vcs only) Dec 14, 2025
@schpet schpet force-pushed the schpet/push-ktzrottwvzoz branch from 9bdcb70 to 0c3cb5f Compare December 14, 2025 16:24
Implement 'linear issue commits' to show all commits associated with a
Linear issue by searching for commits with the Linear-issue trailer.

- Add issue-commits.ts command that uses jj revsets to find matching commits
- Verify issue exists in Linear before displaying commits
- Display error if no commits found for the issue
- Add logClientError helper to format GraphQL errors with syntax highlighting
- Errors display query and variables in gray text that respects TTY detection
- Add snapshot test for help text, manual testing needed for main flow

Claude-session-id: 5a3c2426-d8b9-4e47-b694-05ae5e889207
Claude-session-id: b3d1bee0-92ed-4873-ae82-7a09c45d95cb
Claude-session-id: 519d0b6c-1a76-4755-9417-d5c80d519450
Claude-session-id: d48d5f7a-1525-43db-a3fb-4c361bf8fddd
@schpet schpet force-pushed the schpet/push-ktzrottwvzoz branch from 0c3cb5f to 2822ff2 Compare December 14, 2025 16:29
@schpet schpet merged commit 51ff1b2 into main Dec 14, 2025
8 checks passed
@schpet schpet deleted the schpet/push-ktzrottwvzoz branch December 14, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants