Skip to content

feat: 5 slash commands + Claude-app playbook for non-technical users#11

Merged
OutQio merged 1 commit into
mainfrom
staging
Apr 28, 2026
Merged

feat: 5 slash commands + Claude-app playbook for non-technical users#11
OutQio merged 1 commit into
mainfrom
staging

Conversation

@OutQio
Copy link
Copy Markdown
Owner

@OutQio OutQio commented Apr 28, 2026

Summary

This is the change that turns the repo into something a non-technical Salla store owner can actually use without reading any code. They paste the GitHub URL into Claude.ai or open the folder in Claude Code, ask in plain English, and Claude follows a documented playbook.

Slash commands (.claude/commands/)

Five project-level commands, auto-discovered by Claude Code in any fork:

Command What it does
/setup First-time install walkthrough — 6 confirmed steps from chrome://extensions to a successful smoke test
/configure-store <url> Visits the user's storefront, samples products, derives rewrite rules + 2-3 examples in their actual voice, emits paste-ready blocks
/test-on <url> 6-step copy + paste smoke test on a specific product URL
/troubleshoot <symptom> Interactive triage against the known-issues table
/release <patch|minor|major> Version bump in 3 places + CHANGELOG + check + push + PR + merge (marker disable-model-invocation: true — maintainer-invoked only)

CLAUDE.md additions

New "End-user playbook" section that maps casual user phrasings ("set me up", "configure for my store", "something's wrong") to the right slash command or, for Claude.ai web app users who don't have slash commands, the procedure body in the matching .claude/commands/*.md file. Also adds 5 critical phrasing rules: no jargon, one question at a time, confirm before destructive actions, show success state, tell them what NOT to share (their API key).

README front-loaded

Right under the title: "🤖 Don't read all this — let Claude do it for you". Two options:

  • Option A: Claude.ai web app — paste https://github.com/OutQio/pilot + a table of canned prompts they can copy
  • Option B: Claude Code CLI — same 5 slash commands listed

Explicit "the rest of this README is for people who want to read the code" so non-tech users know they can stop reading.

.gitignore scoped

Was .claude/ (excluding everything). Now .claude/* with !.claude/commands/, !.claude/agents/, !.claude/settings.json whitelisted so the slash commands ship in the repo while the per-machine worktree state stays ignored.

Test plan

  • npm run check passes locally (syntax + lint + version stamps)
  • CI passes on this PR
  • After merge: clone the repo fresh in a new machine, open with Claude Code, type /setup and verify it auto-discovers
  • After merge: paste the GitHub URL into Claude.ai, type one of the canned prompts, verify Claude follows the documented procedure

🤖 Generated with Claude Code

The vast majority of users won't fork this and read the code — they'll
paste the GitHub URL into Claude.ai (web app) or open the cloned folder
with Claude Code, then ask in plain English for what they need. This
commit makes that path actually delightful.

Five project-level slash commands in .claude/commands/ — auto-discovered
by Claude Code. Each is a self-contained playbook Claude follows on the
user's behalf:

- /setup — first-time install walkthrough. 6 steps (verify Chrome, load
  unpacked, get Gemini key, save key, optional rewrite rules, smoke test).
  Asks for confirmation between each. Designed for someone who has never
  visited chrome://extensions before.

- /configure-store <storefront-url> — visits the user's live storefront
  with a browser tool, samples 3-5 products, observes the title pattern /
  description structure / dialect / forbidden patterns, and emits three
  paste-ready blocks (title rules, description rules, examples). The
  output format is exactly what the Options page expects.

- /test-on <product-url> — 6-step copy + paste smoke test through the
  extension. Handy for fresh installs and after rewrite-rules changes.

- /troubleshoot <symptom> — interactive triage. Verify version is
  current → match symptom against the known-issues table from CLAUDE.md
  → request SW console diagnostics if no match. Side-effect-free.

- /release <patch|minor|major> — version bump in three places, CHANGELOG
  entry, npm run check, commit, push, PR, wait for CI green, merge.
  Marked disable-model-invocation:true because it has side effects;
  maintainers invoke it explicitly.

CLAUDE.md gets a new "End-user playbook" section above the GitHub-rules
section. It maps casual user phrasings ("set me up", "configure for my
store at <url>", "fix this") to the right slash command (Claude Code) or
to the procedure body in the slash-command file (Claude.ai web app —
which doesn't run slash commands). Also lists 5 critical phrasing rules
for talking to non-technical users (no jargon, one question at a time,
confirm before destructive actions, show what success looks like, tell
them what NOT to share).

README front-loaded with a "🤖 Don't read all this — let Claude do it
for you" section right under the title. Contains:
  - Option A (Claude.ai web app): paste the GitHub URL + a 4-row table
    of canned prompts mapping common user goals to plain-English chat
    messages.
  - Option B (Claude Code CLI): the same 5 slash commands listed.
  - Explicit "the rest of this README is for people who want to read the
    code themselves" — non-tech users can stop right there.

.gitignore updated so .claude/* is ignored EXCEPT .claude/commands/,
.claude/agents/, and .claude/settings.json — the shared content that
should travel with the repo. The per-machine worktree state under
.claude/worktrees/ stays excluded.

All four CI checks (syntax + lint + version-stamps + manifest validity)
still green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@OutQio OutQio merged commit aebdd67 into main Apr 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant