Skip to content

#10: Add inline text support to /comment#11

Merged
mrdon merged 1 commit into
mainfrom
mrdon/10-slash-comment-inline-text
Mar 27, 2026
Merged

#10: Add inline text support to /comment#11
mrdon merged 1 commit into
mainfrom
mrdon/10-slash-comment-inline-text

Conversation

@mrdon
Copy link
Copy Markdown
Contributor

@mrdon mrdon commented Mar 27, 2026

Summary

  • /comment <text> now posts the text directly as a general PR comment
  • Bare /comment (no args) still opens the comment modal as before
  • Slash command parsing now splits name from args on first space
  • Fixed nil pointer crash when commentSubmittedMsg has no pendingItem

Closes #10

Security implications of changes have been considered

- Parse slash command args from input
- Post comment directly when text provided
- Guard nil pendingItem in comment handler
@skills-sleuth-io
Copy link
Copy Markdown

Skills Check

This PR may require updates to the following skills:

  • add-pr-action: The Command.Run function signature now requires an args string third and more (Review PR)

Skill updates will not auto-merge. Add 👍 to this comment to merge them when your PR merges.
If this PR is closed or merged without 👍, skill changes are dropped.

@mrdon mrdon merged commit 8e5f62c into main Mar 27, 2026
3 of 4 checks passed
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.

Slash comment command posts inline text directly

1 participant