Skip to main content
GitHub

Slash Commands

Slash commands close the development loop inside the agent session. Building, auditing, and verifying performance happen without leaving the conversation — and every audit is checked against the thresholds you have declared in config.

Available commands

CommandWhat it does
/pulse-devStarts (or restarts) the development server. The server watches for file changes and reloads automatically.
/pulse-stopStops the running development server.
/pulse-buildRuns a production build. Bundles all specs via esbuild into public/dist/ with content-hashed filenames.
/pulse-startStarts the production server against the built output. Used to verify production behaviour before deploying.
/verifyRuns the full verification loop: validate, screenshot, Lighthouse desktop + mobile (pass bar: 100 on Accessibility, Best Practices, and SEO), a mobile layout check, a performance trace, and pulse_review — then writes the verification stamp. /verify --quick skips Lighthouse and the perf trace for fast mid-build checkpoints.

Optional commands

Some commands depend on a third-party service and credentials, or cost extra time and tokens, so no project gets them by default. Add one to a project when you want it:

pulse add-command quietlytics-speed
pulse add-command qa
CommandWhat it does
/qaStarts a separate agent that has never seen your code. It gets only the page's acceptance criteria and its URL, writes black-box checks (boundary lengths, injection, CSRF, a double submit, headers, HTML structure), runs them against the production server, and reports what passed and what looks wrong. The main agent then fixes the defects and runs /verify again. It costs a few minutes and some tokens, so it is opt-in.
/quietlytics-speedReads the Speed report from Quietlytics (a privacy-first analytics service) and proposes fixes for the speed problems real visitors hit, then makes the ones you approve. Needs a Quietlytics account and a read key in the QUIETLYTICS_READ_KEY environment variable. It never prints a key and treats the report as data, not instructions.

Once added, pulse update and pulse dev keep the command current like the built-in ones. Projects that never add it never get it. To remove it, delete .claude/commands/quietlytics-speed.md.

Using commands

Commands are typed directly into the agent chat:

/pulse-dev
/verify

The agent executes the relevant CLI steps and reports back with results, including whether any Lighthouse score fell short of the pass bar.

/verify runs Lighthouse against a full production build (pulse_build, then the production server on port 3001) — never against the dev server. Development builds are unminified and report misleading scores.

Plain language prompts

Slash commands cover the most common operations. For everything else, describe the goal — the agent handles the implementation within Pulse's spec structure:

"Create a blog index page that fetches posts from an API"
"Add email validation to the contact form"
"Build a checkout flow with a Stripe payment step"
"Add a guard to the dashboard so unauthenticated users are redirected to /login"

The agent produces spec files that conform to Pulse's structure — the framework enforces correctness, so there is no manual wiring to verify.