/ in chat to pick one.
Use this for work you do the same way every time: writing a commit message, checking a PR, generating tests in a fixed shape.
Add one
- Open Settings → Agents → Workflows.
- Give it a short name. That name is what you type after
/. - Write the prompt you want Shape to follow. Be specific about the output: a commit message, a list of risks, a test file, and so on.
- Save it.
Run one
Type/ in the composer and choose the command. You can add extra text after it, such as /commit focus on the billing page.
A trigger phrase in a normal message can run it too, if you set one on the command.
What to put in the prompt
Write it like you would brief a person who has never seen this repo:- What to look at (
@files, or “the diff in source control”). - What to produce.
- What to avoid (“do not change snapshots”).