code-review, a test-checkout, a verify-accessibility - things you sometimes want to run and don’t want the agent starting on its own.
How commands fit with the other Context Base types
The four Context Base types compared:
A skill is knowledge, a rule is a constraint, a guide is reference material - all three are things the agent reads. A command is the only one that’s an action. You ask for a skill implicitly (by describing the task) or explicitly (by naming it); you invoke a command by name to have the agent run its defined flow.
What commands are good for
Reviews & checks
code-review, verify-accessibility, check-performance -
things you run when you want them, not every time the agent
touches the codebase. Invoking them explicitly keeps the agent
from second-guessing.Build recipes
build-landing-page, scaffold-product-detail-page,
add-block-component - the team’s way of creating something you
put together often enough that “build me one of those” should
always land the same shape.Writing a command
Open Context → Commands in the admin app and click Add Command. Creation asks only for a name. Write it as a plain title - Code Review, Build Landing Page. Once you name it, the command is saved and you land in the editor, where you write the operation itself in Markdown - the steps in order, with enough detail that the agent doesn’t have to guess. New commands start Active. Switch one to Draft while you’re still writing it. Commands can be scoped to this project (the default) or promoted to your Team so they apply across every project on it. The command body is the operation itself. Unlike skills (domain expertise) and rules (constraints), the command body is an actionable procedure the agent is expected to execute when triggered.Example: build-landing-page
A creation recipe - a repeatable “build me one of these” pattern that bakes in the team’s choices so every landing page lands in the same shape.Example: verify-accessibility
An audit command - a different shape from a build recipe. The agent reviews something that already exists and reports back.Running a command
Ask the agent for the command by name - in Studio, the Designer, Buddy, or your editor:Run the Build Landing Page command - brief for the spring sale campaign attached.
Run Verify Accessibility on the checkout confirmation page.The agent reads the command from your Context Base through the Frontic MCP server, confirms what it needs, and works through the steps. You stay in control: destructive steps still go through normal approval, and the agent pauses wherever a step needs your confirmation.
Running a command as a slash command, and picking one from the command menu, is coming soon.
Command or skill - how to choose
Commands and skills share the same content shape, so the decision is about what the content describes and when you want it to fire:- Is it a domain the agent should carry into every relevant task → skill.
shopware-headless-commerce,seo-optimizer,product-variants-and-scopes- expertise that applies across many tasks. Let the agent discover and apply it on its own. - Is it a specific procedure you only want run when you ask → command.
code-review,verify-accessibility,build-landing-page- narrow actions with a beginning, middle, and end. Stay out of every task until invoked.
Related
Context Base
The mental model for the whole Context Base.
Skills
Task-specific reusable know-how.
Rules
Always-on guardrails build-side agents follow.
Guides
Reference documents the agent reads on demand.