a markdown file becomes a slash command. glrs has three kinds: native ones that
ship, markdown ones you write, and skills, which answer to /skill:name. see
commands.
.glrs/commands/review.md:
---
description: review the working diff
---
review the working diff for anything that would fail CI. pay attention to $ARGUMENTS.
/review the migration
the filename is the name, lowercased. frontmatter is optional: without it the whole file is the prompt.
$ARGUMENTS is everything after the name. $1 to $9 are its words. a body
with no placeholder gets the arguments appended in an <arguments> block.
put the file in <user config>/commands/ instead of the project. on a name
clash the project wins. configuration
resolves <user config>.
/reload picks up a new file without restarting.
next: write a skill