AGENT SKILL

setup-shop

Start the oven, check ingredients, prep the shop. Bootstrap a new project or configure ByTheSlice in an existing one. First-time install, system-wide config, or per-project setup.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
1

01 前言 Front Matter

name
setup-shop
model
opus
effort
high
triggers
[ "/bytheslice:setup-shop", "/setup-shop", "set up the shop", "open the pizza shop", "/bytheslice:setup", "/setup", "set up bytheslice", "configure bytheslice", "scaffold a new project", "first time using bytheslice", "create a new monorepo", "bootstrap a new app for bytheslice" ]
description
Start the oven, check ingredients, prep the shop. Bootstrap a new project or configure ByTheSlice in an existing one. First-time install, system-wide config, or per-project setup.
user-invocable
true

02 资源文件 9

03 SKILL.md 正文

<!-- skills/setup-shop/SKILL.md --> <!-- Pizza-shop framing: this is the morning-prep / shop-opening action: chairs out, oven hot, lights on. Three-flow setup orchestrator: first-time-install (system-wide), new-project (bootstrap + per-project config), existing-project (per-project config only). All ByTheSlice personalization flows through this skill. -->

Setup

ByTheSlice setup orchestrator. Drives every first-touch interaction with the plugin: system-wide install, new-project scaffold, and per-project config customization.

Mode detection

/setup-shop is always standalone by nature; it's the entry point. There is no parent checklist to coordinate with. Mode detection is a no-op here; the skill simply runs its three-flow logic (first-time install / new-project / existing-project) and exits.

Reference Files

Read all of these before beginning:

File Purpose
references/bytheslice-config-schema.md Full config schema, precedence rules, per-key documentation
references/bytheslice.config.example.json Copy-pasteable JSONC starter, every block commented out
references/model-tier-guide.md Per-agent model tier defaults; cross-link from modelTiers config block
references/bootstrap-templates-catalog.md Documents which scaffolders Step 1 wraps (create-next-app, create-turbo, create-vite, create-svelte, create-astro) and why
references/framework-detect.md Canonical stack list, detection signals, and per-framework path map. Read this BEFORE Step 1's stack question and BEFORE any skill branches on framework.

Flow Selection

Detect which flow applies before doing anything else:

1. Does ~/.bytheslice/defaults.json exist?
   No  → consider Flow A (offer first-time install) before continuing
   Yes → skip to step 2

2. Working directory contains a package.json?
   No  → Flow B (new project: bootstrap + per-project config)
   Yes → Flow C (existing project: per-project config only)

If the user explicitly asks for first-time install (e.g. "configure my ByTheSlice defaults", "system-wide setup"), run Flow A regardless of detection.


Flow A: First-time install (system-wide setup)

Goal: create ~/.bytheslice/defaults.json so future projects can opt in to your preferred defaults via Group 1.

When this fires:

  • ~/.bytheslice/defaults.json does NOT exist, AND
  • The user is willing to set up defaults now (ask first; many users prefer per-project answers).

Procedure:

  1. Ask: "ByTheSlice can store system-wide defaults at ~/.bytheslice/defaults.json so you don't have to answer the same setup questions on every project. Want to set those up now?"
    • single_select: ["Yes, set up system-wide defaults", "No, skip; ask per project"]
  2. If yes: run the Group 2 questions below, but write the answers to ~/.bytheslice/defaults.json instead of a per-project file.
  3. Print: "Defaults saved at ~/.bytheslice/defaults.json. Future runs of /bytheslice:setup-shop will offer these as one-click defaults via the 'use defaults?' question."
  4. After Flow A completes, fall through to Flow B or C based on the working-directory detection.

Flow B: New project (Bootstrap + Config + CI/CD baseline)

Goal: scaffold a fresh project on disk, drop in a per-project bytheslice.config.json, gitignored ROADMAP.local.md, and offer to scaffold the CI/CD baseline.

When this fires: working directory contains no package.json (parent folder of a new project).

Step 1: Project Bootstrap (REQUIRED in Flow B). See Step 1 below.

Step 2: Per-project Config Customization (REQUIRED). See Step 2 below.

Step 3: CI/CD Baseline Check (REQUIRED, but the SCAFFOLD action is optional). See Step 3 below. Detects whether the baseline exists; offers to scaffold via /bytheslice:final-quality-check if not.

Step 4: Feature intake (REQUIRED). See Step 4 below. Writes the Feature intake rule into the project rules file and confirms the workflow nudge is wired.


Flow C: Existing project (Config + CI/CD baseline)

Goal: drop a per-project bytheslice.config.json into a project that already exists, then check CI/CD readiness.

When this fires: working directory contains a package.json.

Skip Step 1 entirely. Run Step 2, then Step 3, then Step 4. Step 3 is what makes this flow viable for projects that aren't going through the full PRD-to-phased-dev workflow, special-order and sell-slice need the CI/CD baseline to be present.


Step 1: Project Bootstrap

(Flow B only, skipped in Flow C.)

Phase 1: Plan-Mode Question Gate

Enter plan mode and ask the user with ask_user_input_v0, one question at a time. If bootstrap.{variant,stack,roadmapFile} are all set in ~/.bytheslice/defaults.json (and the user opted into defaults in Step 2 Group 1), skip this gate and use those values directly.

Q-bootstrap-variant

"Single application or Turborepo monorepo?" single_select: ["single-app, one frontend app", "monorepo, Turborepo with apps/ and packages/"]

Q-bootstrap-name

"What's the project name? Use kebab-case (lowercase, hyphens only)." text_input: regex ^[a-z][a-z0-9-]*[a-z0-9]$

Q-bootstrap-stack

"Which frontend stack? Next.js App Router is the most-validated path end-to-end. Vite + React, SvelteKit, and Astro are detected and bootstrapped correctly, but the Phase 4.5 library-preview templates currently assume Next App Router conventions; non-Next stacks will hit an HITL bubble at that gate until per-framework adapters land. Pure Node API skips the frontend pipeline entirely. See references/framework-detect.md for the full support matrix." single_select: ["Next.js (TypeScript, App Router, Tailwind, Turbopack), recommended", "Vite + React (TypeScript, Tailwind)", "SvelteKit (TypeScript, Tailwind)", "Astro (TypeScript, Tailwind)", "Node API only (no frontend)"]

Q-bootstrap-roadmap

"Create a ROADMAP.local.md for personal future-version notes? It will be gitignored." single_select: ["Yes, create ROADMAP.local.md", "No, skip"]

Confirm answers before proceeding.

Phase 2: Run the official scaffolder

Read references/bootstrap-templates-catalog.md for the exact invocation. Single-app uses create-next-app; monorepo uses create-turbo.

After scaffolding, cd <project-name> for the remaining steps.

Phase 3: Initial commit

git add -A
git commit -m "chore: scaffold project via /bytheslice:setup-shop

Stack: <stack>
Variant: <variant>"

Phase 4: Update .gitignore

Append to the new project's .gitignore:

# Personal scratchpad files (gitignored by convention)
*.local.md
ROADMAP.local.md

# Per-user AI tooling workspaces
.claude/
.cursor/
.aider*
.continue/
.codex/
.windsurf/

Phase 5: Create the roadmap file (if Q-bootstrap-roadmap = Yes)

Write ROADMAP.local.md at the new project root:

# Roadmap (local, gitignored)

Personal scratchpad for future versions and next dev stages. Not committed to the remote.

## Next ByTheSlice run
- [ ] Brief idea
- [ ] Brand notes / design references
- [ ] Open questions to resolve before /bytheslice:create-menu

## Future versions / Phase 2+
- [ ] ...

## Friction notes (for future /bytheslice:close-shop)
- [ ] ...

Then proceed to Step 2.

Hard constraints: Step 1

  • One bootstrap per project root. If working directory contains a package.json, refuse Step 1 and switch to Flow C (Config only). Surface: "Detected an existing project at <path>. Skipping bootstrap; running per-project config setup only."
  • Non-Next.js stacks bootstrap fine but library-preview templates aren't fully adapted yet. When the user picks Vite + React, SvelteKit, or Astro, run the matching scaffolder from references/framework-detect.md and proceed normally; they get a working design system + CI/CD scaffold. The first time /sell-slice Phase 4.5 (Library Preview Gate) fires on one of these stacks, it will bubble HITL asking the operator to confirm the route convention. Track which stacks see active use via /bytheslice:close-shop so per-framework adapters can be prioritized. Remix and other stacks not in framework-detect.md are still out of scope; bubble HITL and stop.
  • Never modify files outside the new project directory during bootstrap.
  • Never delete anything. Step 1 is purely additive.

Step 2: Per-project Config Customization

Generate a bytheslice.config.json at the project root (or ~/.bytheslice/defaults.json for Flow A). All keys are optional; the plugin uses built-in defaults for anything you omit.

Group 1: Use system-wide defaults?

Skip Group 1 entirely if ~/.bytheslice/defaults.json does NOT exist (no defaults to opt into yet; go straight to Group 2). Skip Group 1 in Flow A (we're CREATING the defaults file in this flow).

Q-defaults

"You have system-wide defaults at ~/.bytheslice/defaults.json. Want to use them as the starting point for this project?" single_select: ["Yes, copy my system-wide defaults into this project", "No, answer the per-section questions below"]

If yes: copy ~/.bytheslice/defaults.json content into the project's bytheslice.config.json and skip Group 2, except Q-gates below, which always runs. Print the resolved values for the user to review.

If no: continue to Group 2.

Group 2: Per-section questions

One question per top-level config section. Multi-select where multiple apply, single-select otherwise. Sections that take freeform input ("custom rules", "additional categories", "bootstrap defaults") include a "No / skip" option plus a text-input alternative.

Always provide a recommended answer in available options.

Q-modelTiers

"How do you want to handle per-agent model tier assignments? Each agent has a default tier per skills/setup-shop/references/model-tier-guide.md. Most projects don't need overrides." single_select: ["Use plugin defaults (recommended)", "I'll edit the modelTiers block manually after generation"]

If "Use plugin defaults": leave modelTiers: {} in the generated file. If "edit manually": leave modelTiers: {} plus a comment block listing the most-overridden agents (implementer, qualityReviewer, sliceVerifier) for the user to fill in.

Q-stages

"Use the default stage shape (6 tasks max per stage, at most 20 to 30 feature stages, fewer for a small app)? The defaults work for most projects. Lower the task cap for tighter slices; the band is a ceiling, never a target to pad toward." single_select: ["Yes, use defaults", "No, set custom values"]

If "No": follow up with two text inputs:

  • "Max tasks per stage (1 to 8)?", text_input
  • "Target feature-stage band (e.g. 10-15, 30-40)?", text_input

Q-mcps (multi_select)

"Which MCPs do you have installed in this workspace? Pick the ones you actually have running locally; the plugin reads this in addition to the project rules file." multi_select: ["shadcn", "Magic (21st.dev)", "Figma", "Chrome DevTools", "Supabase", "None"]

Map the selections to boolean entries in the mcps block. Selecting "None" sets every key to false.

Q-visualReview-tools

"Use the default visual-review tooling priority (claude-in-chrome > chrome-devtools-mcp > playwright > vizzly)? Override if you don't have Claude in Chrome installed." single_select: ["Yes, use defaults", "No, customize the ordered list (text input)"]

If "No": text input for an ordered list (one tool per line, top = highest priority).

Q-visualReview-vizzly

"Use Vizzly for visual diffs? Vizzly is a SaaS for visual diff review; skip if you don't have an account." single_select: ["Yes, keep Vizzly enabled", "No, disable Vizzly entirely"]

Q-hitl

"Add custom HITL categories beyond the four built-in (PRD ambiguity, external credentials, destructive operations, creative direction)? Use this if your project has domain-specific bubble-up needs (e.g. legal review, security signoff). Each entry creates a new HITL category the orchestrator surfaces." single_select: ["No, keep the four built-ins", "Yes, describe the additional categories (text input)"]

If "Yes": text input. Parse one category per line in the form <name>: <prompt-hint> and convert into the additionalCategories array.

Q-rules

"Import external rule files now (skips the Q9 elicitation in /bytheslice:cook-pizzas for this project)? Useful if you have a stable set of agentic rules across projects." single_select: ["No, answer Q9 per project", "Yes, paste URLs to your rule files (text input)"]

If "Yes": text input. One URL per line.

Q-bootstrap-defaults

"Set bootstrap defaults so future /bytheslice:setup-shop runs in fresh project folders skip the bootstrap question gate? Useful if you always start projects the same way." single_select: ["No, ask the bootstrap questions every time", "Yes, set variant / stack / roadmap-file defaults (text input)"]

If "Yes": three text inputs (variant, stack, roadmapFile: note null is allowed for roadmapFile to skip creating it).

Q-gates (always asked, in Group 1 and Group 2 alike; this is where the operator is told, once, that enabled gates are binding)

Say this once, before the question: "The quality gates this project runs (lint, typecheck, tests, build, e2e, design-system checks, accessibility including WCAG AA contrast, and anything your CI or pre-push runs) are binding. When one fails, agents fix the code until it passes, even when the cause is a shared design token or a file the slice only uses. They will not hand a failing gate back to you as a decision or a follow-up. They still stop for a destructive fix, a missing secret, or an exhausted fix cap."

"Mark any gate class advisory?" single_select: ["No, all binding (recommended)", "Yes, pick advisory classes"]

If "Yes": one follow-up.

"Which classes are advisory?" multi_select: ["visual", "design-system", "accessibility", "e2e", "lint", "typecheck", "build", "tests", "declared"]

Q-gates-declared

"Add project-specific gates?" single_select: ["No, skip (recommended)", "Yes, list commands (text input)"]

If "Yes": text input, one command per line, optionally <name>: <command>; each becomes a gates.declared entry. Commands the project's pre-push hook or CI already run need no entry: they count as enabled anyway.

Write gates.enforcement: "fix" whatever the answers, plus gates.advisory and gates.declared when they are non-empty. The rule itself is ../sell-slice/references/quality-gates.md.

Phase: Write the config file

Generate the JSONC file. Use references/bytheslice.config.example.json as the structural template. Fill in only the sections the user customized; leave the rest commented out. The gates block is the exception: "enforcement": "fix" is always written uncommented, so the rule is visible in the project's own config.

  • Flow A target: ~/.bytheslice/defaults.json (create the directory if missing: mkdir -p ~/.bytheslice)
  • Flow B / C target: <project-root>/bytheslice.config.json

Print the resolved values back to the user before continuing to Step 3.


Step 3: CI/CD Baseline Check (Flow B and Flow C only, skipped in Flow A)

Apps that haven't run /bytheslice:final-quality-check lack the gates that /bytheslice:sell-slice expects (typecheck, lint, design-system-compliance, @feature E2E, @regression-core E2E, @visual E2E, optional db-schema-drift; under quality.tier: lean, lint, typecheck, unit tests, build and one @smoke spec). This step detects whether the baseline exists and offers to scaffold it for projects that aren't going through the full PRD-to-phased-dev workflow.

Detection

Check the working directory (Flow C) or the newly-scaffolded project root (Flow B) for these markers:

First read quality.tier from bytheslice.config.json (default standard; auto resolves as /final-quality-check "Quality tier" documents: lean for at most 3 feature pies and no payments work, otherwise standard, and standard when no master checklist exists yet). The ci-cd-detector agent does this and returns the resolved tier.

Marker standard: what "present" looks like lean: what "present" looks like
.github/workflows/ci.yml Has typecheck, lint, and at least one test job (unit/integration/e2e) Has lint, typecheck, unit-tests, build and e2e-smoke (smoke dropped only when E2E was skipped)
.github/workflows/design-system-compliance.yml Exists Required only when a design system exists (docs/design-system.md is present, or the Prep display-case slice is [x]); otherwise not a marker
.husky/pre-push Exists and runs the slice tier (lint, typecheck, test, build); CI runs the full suite Exists and runs the lean set (lint, typecheck, test, build, test:e2e:smoke)
.github/pull_request_template.md Exists Exists (the lean checklist)

A lean project never needs e2e.yml, e2e-coverage.yml, db-schema-drift.yml or the @feature / @regression-core / @visual suites to count as ready.

If every required marker is present and looks complete (all four under standard; three, or four with a design system, under lean), set ci_cd_ready: true and skip the rest of Step 3 (just announce: "CI/CD baseline detected. Proceeding to Step 4.").

If any marker is missing, set ci_cd_ready: false and ask the user.

Q-ci-cd-baseline (only if ci_cd_ready: false)

"This project doesn't have the ByTheSlice CI/CD baseline (one or more of: ci.yml, design-system-compliance.yml, husky pre-push hook, PR template). The sell-slice and special-order skills depend on these gates being green before opening a PR. Want to scaffold the baseline now?" single_select: ["Yes, scaffold CI/CD baseline now (recommended)", "No, skip; I'll handle CI my own way"]

If "Yes": print "Run /bytheslice:final-quality-check next; it will run on a dedicated chore/final-quality-check branch and open a PR. Once that PR merges, return here and run /bytheslice:special-order (or /bytheslice:create-menu for a full PRD-to-app run)."

If "No": warn the user and continue:

⚠️ Without the CI/CD baseline: the PR has no baseline workflows for CI to run, so nothing re-checks the slice gates at the PR. You can still run /bytheslice:sell-slice, but you'll need to manually wire equivalent gates in your own CI for the per-stage @visual and design-system-compliance checks. To re-enable the offer later, delete .bytheslice/.skip-ci-cd and re-run /bytheslice:setup-shop.

If the user chose "No": create a sentinel file .bytheslice/.skip-ci-cd so future /bytheslice:setup-shop runs skip Q-ci-cd-baseline.

Step 4: Feature intake (Flow B and Flow C only)

Every ByTheSlice project routes new work through the framework: new features are documented with /special-order and built with /sell-slice or /sell-pie. This step writes that rule where every agent reads it and confirms the prompt hook that repeats it.

  1. Write the Feature intake block into the project rules file (CLAUDE.md, or AGENTS.md when it is the only one; a missing CLAUDE.md is created). The text lives in references/feature-intake.md; the script replaces an older copy between its markers and leaves every other line alone:

    node "${CLAUDE_PLUGIN_ROOT}/hooks/workflow-nudge.js" intake "<project-root>"
    
  2. Report its state:

    node "${CLAUDE_PLUGIN_ROOT}/hooks/workflow-nudge.js" doctor "<project-root>"
    

    Expect Feature intake: present in CLAUDE.md and Hooks: workflow nudge active on UserPromptSubmit .... Print the lines as they come. When the hooks read off or not wired, say so; this skill never turns them back on or off.

Nothing refuses a shortcut: the rule and the nudge inform the model, and the Pass warns when a slice is marked [x] with no verifier pass.

Next-step pointer

For Flow A:

Defaults saved at ~/.bytheslice/defaults.json. To use them on a project, run /bytheslice:setup-shop from the project's parent folder (Flow B) or inside the project (Flow C) and answer "Yes" to the Group 1 "use defaults?" question.

For Flow B:

Project scaffolded at <absolute-path> with bytheslice.config.json and ROADMAP.local.md.

CI/CD baseline: <"present" | "scaffold pending, run /bytheslice:final-quality-check next" | "skipped per user choice">

Feature intake: <the doctor's Feature intake line> · Hooks: <active | off | not wired>

Quality gates: binding (gates.enforcement: "fix")<; advisory: <classes>, if any>

Next steps:

  1. cd <project-name>
  2. (Optional) Edit bytheslice.config.json to refine any defaults
  3. (Optional) Add brief notes to ROADMAP.local.md
  4. Run /bytheslice:final-quality-check (if Step 3 said scaffold pending)
  5. Run /bytheslice:create-menu to write the PRD (full PRD-to-app flow), OR run /bytheslice:special-order later if you only want to bolt features onto an existing master checklist

The ByTheSlice pipeline from here is: PRD → phased plans → design system gate → CI/CD scaffold → env setup → optional DB schema → right-sized vertical-slice feature stages (a few for a small app, up to 20 to 30 for a large one).

For Flow C:

Config written to <project-root>/bytheslice.config.json. Future ByTheSlice skill runs in this project will honor these settings.

CI/CD baseline: <"present" | "scaffold pending, run /bytheslice:final-quality-check next" | "skipped per user choice">

Feature intake: <the doctor's Feature intake line> · Hooks: <active | off | not wired>

Quality gates: binding (gates.enforcement: "fix")<; advisory: <classes>, if any>

Next steps:

  • Have a PRD already? Run /bytheslice:cook-pizzas to generate phased plans.
  • No PRD yet? Run /bytheslice:create-menu to write one against this existing app's surface area.
  • Just want to add a feature or two? Run /bytheslice:special-order directly. Note: without a master checklist (no docs/plans/), special-order will redirect you back here. To go from existing-app → special-order flow, run /bytheslice:create-menu first to give the complexity assessor grounding context.

Unattended runs (run.unattended)

/pizza-party runs this skill with --unattended --ticket <order ticket path> --config <run config path>, and nothing here may ask:

  • Flow. /pizza-party picks it: Flow B from the parent folder for a new app (the scaffolder creates <project-name>/), Flow C inside an existing app.
  • Step 1 questions come from the ticket's Answers: Q-bootstrap-name is the app folder's name, Q-bootstrap-stack the Stack line (Next.js when it names none), Q-bootstrap-variant single-app unless the ticket says monorepo, Q-bootstrap-roadmap No.
  • Step 2. Skip Group 1 and Group 2, Q-gates included. Write bytheslice.config.json from the run config file /pizza-party passed, merged over the recommended Group 2 defaults (the run config's keys win), always with gates.enforcement: "fix". An existing bytheslice.config.json is merged the same way, never asked about.
  • Step 3. Skip Q-ci-cd-baseline: /pizza-party runs /final-quality-check itself in its Phase 5. Report ci_cd_ready only.
  • Step 4 runs as usual (intake, then doctor).
  • Record each of these in the ticket's Decisions made without you and return without the next-step pointer's questions.

HITL Handling

Setup is a top-of-funnel skill; there's no orchestrator above it. Plan-mode question gates ARE the user prompts; setup never bubbles up via the structured HITL contract. The one exception:

If the user re-runs setup inside an existing project but explicitly requests Flow B (bootstrap):

status: needs_human
summary: Bootstrap was requested inside an existing project (detected package.json at <path>). Bootstrap is for new projects only.
artifacts: []
needs_human: true
hitl_category: prd_ambiguity
hitl_question: "It looks like you're already inside a project. Did you mean to run Flow C (Config only)? Or should setup operate in the parent directory?"
hitl_context: "Detected existing package.json at the working directory; user explicitly requested bootstrap."

Hard Constraints: overall

  • One umbrella for setup. Don't fork the Bootstrap-only or Config-only behavior into separate skills; flow detection picks the right path.
  • Never write ~/.bytheslice/defaults.json without explicit consent (Flow A's Q-Flow-A question gates this).
  • Never overwrite an existing bytheslice.config.json in a project root without surfacing it to the user first. If detected, ask: "This project already has bytheslice.config.json. Overwrite, merge, or cancel?" Under run.unattended it is merged instead, never asked (see Unattended runs).
  • Never delete anything. Setup is additive.

Completion Checklist

  • [ ] Flow detected correctly (A / B / C) and announced to the user
  • [ ] Step 1 ran ONLY in Flow B (skipped in Flow A and Flow C)
  • [ ] Step 2 ran in every flow (always required)
  • [ ] Group 1 ran ONLY when ~/.bytheslice/defaults.json exists (skipped on first run + during Flow A)
  • [ ] Group 2 ran when needed (no defaults, OR Group 1 = "No", OR Flow A)
  • [ ] Q-gates ran (Group 1 or Group 2): the operator heard once that enabled gates are binding, and the config carries gates.enforcement: "fix" uncommented, plus any advisory or declared entries they gave
  • [ ] Generated config file is valid JSONC (parses cleanly, no syntax errors)
  • [ ] Generated config file is at the correct path (Flow A: ~/.bytheslice/defaults.json; Flow B/C: project root)
  • [ ] (Flow B only) .gitignore includes the personal-scratchpad and AI-tooling-workspace entries
  • [ ] (Flow B only) Initial git commit created on main
  • [ ] Step 3 (CI/CD baseline check) ran in Flow B and Flow C (skipped in Flow A)
  • [ ] Step 3 detected ci_cd_ready accurately based on the four markers
  • [ ] (Step 3 + ci_cd_ready false + user said no) .bytheslice/.skip-ci-cd sentinel file written
  • [ ] Step 4 ran in Flow B and Flow C: the Feature intake block is in the project rules file and the doctor reports the hooks active
  • [ ] Next-step pointer printed to the user, including the CI/CD baseline, Feature intake and Hooks lines

Sub-agent return contract

Setup uses this shape only when re-running inside an existing project under a misuse condition (see HITL Handling). Otherwise it returns plainly to the user.

status: complete | failed | needs_human
summary: <one paragraph>
artifacts:
  - <generated config file path>
  - <new project root path, if Flow B>
  - ROADMAP.local.md (if Flow B + Q-bootstrap-roadmap = Yes)
  - .gitignore (modified, if Flow B)
  - CLAUDE.md or AGENTS.md (Feature intake block, Flow B and C)
needs_human: false | true
hitl_category: null | "prd_ambiguity" | "external_credentials" | "destructive_operation" | "creative_direction"
hitl_question: null | "<plain-language question>"
hitl_context: null | "<what triggered this>"

04 同仓库更多 Skills

steve-piece
steve-piece/bytheslice

dashboard

Open the project's approved 3D kitchen in the native Browser pane with a verified localhost state connection, or with --lobby the machine-level lobby of every ByTheSlice project.

★ 0
steve-piece
steve-piece/bytheslice

special-order

Cook a slice with the customer's specifications on the spot: add new features mid-flight to an existing project. Auto-detects project type and extends the master checklist with new stages.

★ 0
steve-piece
steve-piece/bytheslice

set-display-case

Build the display case the pies will sit in, bootstrap your design system: tokens, Tailwind config, design rules, and the operator-only /library preview route. Run once before /sell-slice; also invocable standalone on any project.

★ 0
steve-piece
steve-piece/bytheslice

sell-slice

Sell a customer their slice - the high-touch single-slice delivery loop. Execute one slice from your master checklist as an interactive spine (prep gate · recon · build-plan auth · /goal · branch) + Workflow A (produce) + library gate + Workflow B (verify-once). Run me repeatedly, one fresh chat per slice. For autonomous whole-pie baking use /sell-pie.

★ 0
steve-piece
steve-piece/bytheslice

sell-pie

Bake a whole Pie autonomously - the v5 forefront delivery loop. A /loop-driven baker that drives ONE Pie (a coherent chapter, usually 3 to 8 slices) to "ready for review" without per-slice prompting; each slice runs the context-separated build→test→verify→fix Workflow, commits + pushes (no PR), and advances; when every slice is [x] it stops at the pie boundary and opens one PR via /box-it-up. Refuses flat v4 checklists (points you at /cook-pizzas --repie). For a continuous-review pie (review=continuous) it runs in high-touch /sell-slice mode. Opt-in merge-per-slice delivery (delivery.mode, or an explicit autonomous-delivery run instruction) instead gives each slice its own branch, PR and green-CI merge; opt-in ship-once delivery (delivery.mode, set by /pizza-party) merges each pie into one local ship branch on local gates only and ships one PR at the end. The four blocking HITL categories halt the loop instead of rescheduling (an unattended ship-once run defers the slice instead). Use when the user runs /sell-pie, says "sell a pie", "bake the pie", "run the next pie", "loop the pie", or wants one whole chapter delivered hands-off. For a single careful slice use /sell-slice; for the whole app end to end use /pizza-party.

★ 0
steve-piece
steve-piece/bytheslice

pizza-party

Cater a whole app, start to finish: from a short brief to a finished, deployed app with a URL. One interview up front (AskUserQuestion), then no human stops: /setup-shop, /create-menu, /cook-pizzas, the Prep pie, every pie through /sell-pie in ship-once delivery (all gates local), one PR that ships the app, a deploy to whatever host the operator has authorized (or an artifact or localhost link), and a run record for comparing runs over time. Every decision a sub-skill would normally ask about is decided, recorded in the order ticket, and the run continues. Use when the user runs /pizza-party, sets a /goal to build an app end to end, or says "build me this app end to end", "from scratch to production", "pizza party", "bake the whole roadmap" or "run all pies".

★ 0