metaphor/marketplace

skill · from the commit-commands plugin

/commit-push-pr

Commit, push, and open a PR

  • commit-commands plugin
  • Slash command
try it

you ›install the commit-commands plugin

metaphor ›Installed commit-commands. /commit-push-pr is ready.

you ›/commit-push-pr

metaphor ›Loaded the commit-push-pr skill. What should I work on?

What the agent is told

This is the skill's SKILL.md, exactly what Metaphor reads before the task.

Context

  • Current git status: (run git status)
  • Current git diff (staged and unstaged changes): (run git diff HEAD)
  • Current branch: (run git branch --show-current)

Your task

Based on the above changes:

  1. Create a new branch if on main
  2. Create a single commit with an appropriate message
  3. Push the branch to origin
  4. Create a pull request using gh pr create
  5. You have the capability to call multiple tools in a single response. You MUST do all of the above in a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.

Questions

What is the commit-push-pr skill?

Commit, push, and open a PR

How do I use commit-push-pr in Metaphor?

Install the commit-commands plugin by asking the agent "install the commit-commands plugin", then type /commit-push-pr in the composer.

What is a skill?

A skill is a set of written instructions the agent reads before it starts a kind of task. It changes how the agent works, not what it is allowed to do.

More from commit-commands