chore(opencode): add issue slash command #254

Merged
jwilger merged 1 commit from config-issue-command into main 2026-05-18 12:00:36 -07:00
Owner

Why:

  • Provide a quick project-local prompt for completing Forgejo issues through opencode.

What:

  • Add the /issue slash command template that expands an issue number into Complete issue <issue-number> and submit a PR.

Validation:

  • jq empty opencode.json && just opencode-test
Why: - Provide a quick project-local prompt for completing Forgejo issues through opencode. What: - Add the `/issue` slash command template that expands an issue number into `Complete issue <issue-number> and submit a PR.` Validation: - `jq empty opencode.json && just opencode-test`
chore(opencode): add issue slash command
All checks were successful
CI / Format check (pull_request) Successful in 6s
CI / Clippy (pull_request) Successful in 43s
CI / opencode plugin tests (pull_request) Successful in 10s
CI / Test (pull_request) Successful in 57s
CI / Dependency policy (pull_request) Successful in 10s
CI / Build (pull_request) Successful in 34s
CI / Request auto_review semantic review (pull_request) Successful in 1s
CI / Build PR artifacts (no token) (pull_request) Successful in 2s
auto_review auto_review: no findings
879f7f65e9
Why:
- Provide a quick project-local prompt for completing Forgejo issues through opencode.

What:
- Add /issue command template that expands an issue number into the completion-and-PR prompt.

Validation:
- jq empty opencode.json && just opencode-test
auto-review left a comment

This PR introduces a new /issue slash command in the opencode.json file, allowing users to quickly expand an issue number into a prompt for completing a Forgejo issue and submitting a PR. The change appears straightforward and safe to merge.

Walkthrough

  • opencode.json:
    • Added a new /issue command under the command section.
    • The command includes a description and a template for expanding issue numbers into a prompt for completing and submitting a PR.
This PR introduces a new `/issue` slash command in the `opencode.json` file, allowing users to quickly expand an issue number into a prompt for completing a Forgejo issue and submitting a PR. The change appears straightforward and safe to merge. ## Walkthrough - **opencode.json**: - Added a new `/issue` command under the `command` section. - The command includes a description and a template for expanding issue numbers into a prompt for completing and submitting a PR.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Slipstream/auto_review!254
No description provided.