Skip to content

docs(web): document /commit command workflow#11669

Closed
Frexxis wants to merge 3 commits into
anomalyco:devfrom
Frexxis:docs/commitmsg-command
Closed

docs(web): document /commit command workflow#11669
Frexxis wants to merge 3 commits into
anomalyco:devfrom
Frexxis:docs/commitmsg-command

Conversation

@Frexxis

@Frexxis Frexxis commented Feb 1, 2026

Copy link
Copy Markdown

What

  • Document a copy/paste custom command (/commit) that generates a commit subject from git diffs/status.
  • Default behavior runs git commit -m \"...\" using staged changes; supports --dry (message only) and --ask (prompt before committing).

Why

  • Gives new users a safe, repeatable commit flow without adding opinionated built-in behavior.

How

  • Add a new section to the Commands docs with an example .opencode/commands/commit.md.

Copilot AI review requested due to automatic review settings February 1, 2026 21:22
@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds documentation for a custom command example that generates git commit messages using shell output placeholders. The example demonstrates how to use git commands (git diff, git diff --cached, git status --short) within a command template to create a repeatable commit-message workflow.

Changes:

  • Added a new "Generate a commit message" section with a complete, copy-paste ready command example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/web/src/content/docs/commands.mdx Outdated
@Frexxis Frexxis changed the title docs(web): add commit message command example docs(web): document /commit command workflow Feb 1, 2026
@Frexxis

Frexxis commented Feb 1, 2026

Copy link
Copy Markdown
Author

Copilot suggestion applied: the section is now a heading to preserve the doc hierarchy.

@github-actions

github-actions Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Apr 3, 2026
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