Skip to content

Examples and Recipes

sarmakska edited this page May 31, 2026 · 3 revisions

Examples and recipes

Copy-paste flows for the things people actually do with slipstream. Slash commands run inside Claude Code; the node dist/cli/index.js ... lines are what the helper does under the hood, useful for scripting or debugging.

First run on a new project

/plugin marketplace add sarmakska/slipstream
/plugin install slipstream
/slipstream:doctor        # confirm the install is wired
/slipstream:map           # build the project map once

Then work as normal. Claude will reach for sp_symbol and sp_lines instead of reading whole files.

Read one symbol instead of a file

In chat, just ask for the function; Claude calls sp_symbol. To do it by hand:

node dist/cli/index.js slice . src/map/retrieve.ts retrieveSymbol

Returns the declaration with its doc comment, nothing else. For a non-exported region, use a line range:

node dist/cli/index.js lines . src/cli/index.js 40 80

Find where something lives

node dist/cli/index.js map . --search "session cookie"

Ranked locations, no file bodies. In chat this is sp_search.

Save and recall a decision

/slipstream:remember
# "We verify Stripe webhooks with the raw request body, not the parsed one"

Later, on a stripe branch, it comes back automatically at session start. On demand:

/slipstream:recall stripe webhook

Survive a compaction

You do nothing. When Claude Code compacts, the PreCompact hook writes a digest; the next session reloads it. To see the digest it would write from a sample:

node dist/cli/index.js digest --session demo \
  --activity "decided to use Hono for the API||edited src/api/index.ts" \
  --files src/api/index.ts \
  --open-task "Stand up the API and wire the first route"

Preview the relevant subset recall would reload

node dist/cli/index.js recall-signal --branch fix/stripe-webhook \
  --files src/payments/webhook.ts --prompt "verify the signature"

Prints only the matching memories, with the match reasons.

Delegate a pre-push review

In chat: "use sp-reviewer to check this before I push." It runs lint, build, tests and a secret scan, reviews the diff, and ends with PASS or FAIL. See Subagents.

Ship a site end to end

In chat: "use sp-shipper to take this from scaffold to deployed on Vercel." It drives the frontend, backend, integration and deploy skills, running each ## Verify gate and stopping on a red one.

Watch the session live

The dashboard URL is printed at session start. Open it for the agents, activity stream, token budget bar and mind map. Replay a finished session from the session picker in the header. See Live agent dashboard.

Switch to the terse output style

/output-style slipstream

Shorter, higher-signal answers. Switch back with /output-style default. See Output style.

See also


SarmaLinux . sarmalinux.com . Repository

Clone this wiki locally