Skip to content
mentoor

Custom commands and prompt files

For engineers

Turning recurring agent requests into reusable slash commands and prompt files with arguments and limited tools

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

What makes a slash command different from a skill?

Choose one answer

Check yourself · 2 of 5

What is the purpose of an argument placeholder such as $ARGUMENTS or {{args}} in a command file?

Choose one answer

Check yourself · 3 of 5

Which is the best way to choose commands for a team?

Choose one answer

Check yourself · 4 of 5

Why is a command containing 'git checkout $ARGUMENTS' inside a shell line risky?

Choose one answer

Check yourself · 5 of 5

A rule such as 'run pnpm test before saying you are done' should apply to every task. Where does it belong?

Choose one answer

Topics

  1. User-invoked commands versus model-invoked skills4 min read · Slash commands and prompt files run when you call them; skills load when the agent decides; when each fits
  2. Writing a reusable command with arguments5 min read · Argument placeholders, front matter for allowed tools and model, and pulling in shell output or files
  3. Commands for recurring team workflows4 min read · Review, fix-issue, release-note and handoff commands that make team output consistent
  4. Keeping powerful commands safe and reviewed5 min read · Commands that push, deploy or run shell need narrow tools, safe argument handling and code review

Start here

110 questions · last verified 2026-12