sproutkit-code 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/sproutkit-book.md +18 -0
- package/dist/commands/sproutkit-build.md +18 -0
- package/dist/commands/sproutkit-find.md +15 -0
- package/dist/commands/sproutkit-handover.md +22 -0
- package/dist/commands/sproutkit-leads.md +16 -0
- package/dist/commands/sproutkit-outreach.md +17 -0
- package/dist/commands/sproutkit-pipeline.md +20 -0
- package/dist/commands/sproutkit.md +15 -0
- package/dist/index.js +1039 -49
- package/dist/skill/SKILL.md +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Build a booking site (for a lead, or any business by name)
|
|
3
|
+
argument-hint: "<leadId> | \"Business Name, Town\" [--standalone]"
|
|
4
|
+
allowed-tools: Bash(sproutkit *)
|
|
5
|
+
---
|
|
6
|
+
Build a booking site. The operator asked: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Use `sproutkit book`. Notes:
|
|
9
|
+
- A lead id adds booking onto a site Sproutkit already built (same domain, /book).
|
|
10
|
+
- `--standalone` gives a booking site on its OWN url — for a client who already
|
|
11
|
+
has their own website and just needs bookings.
|
|
12
|
+
- A business NAME instead of an id works even if they aren't a lead yet: it looks
|
|
13
|
+
them up, reads their site, and builds a booking page in one shot.
|
|
14
|
+
- `--archetype slots|reservation|enquiry`, `--instructions "…"`, `--email owner@x`.
|
|
15
|
+
|
|
16
|
+
Booking sites include a client `/admin` panel. The result carries `adminUrl` and
|
|
17
|
+
`adminPassword` — ALWAYS pass both on to the operator. The password is shown only
|
|
18
|
+
at build time, so if you swallow it the client can't log in.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Build a demo website for a lead
|
|
3
|
+
argument-hint: "<leadId> [--multipage] [instructions]"
|
|
4
|
+
allowed-tools: Bash(sproutkit *)
|
|
5
|
+
---
|
|
6
|
+
Build a site. The operator asked: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Use `sproutkit build <leadId>`. Notes:
|
|
9
|
+
- `--multipage` gives real separate pages instead of one long scroll.
|
|
10
|
+
- Put any styling or content steer in `--instructions "…"`.
|
|
11
|
+
- `--skip-qa` only if they want speed over polish.
|
|
12
|
+
- No lead id given? Show `sproutkit list --status discovered` and ask which one.
|
|
13
|
+
|
|
14
|
+
Every generated site carries a DEMO banner by design — that's what stops clients
|
|
15
|
+
using the free preview as their real site. Don't try to remove it here; that's
|
|
16
|
+
what `/sproutkit-handover` does once they've paid.
|
|
17
|
+
|
|
18
|
+
When it's done, give the operator the live URL.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Find local businesses with no website (or no online booking)
|
|
3
|
+
argument-hint: "[area] e.g. Leeds LS1, or \"Swansea --no-booking\""
|
|
4
|
+
allowed-tools: Bash(sproutkit *)
|
|
5
|
+
---
|
|
6
|
+
Find new leads. The operator asked for: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Run `sproutkit find` with that area. Notes:
|
|
9
|
+
- Default finds businesses with NO website. If they mention booking, WhatsApp
|
|
10
|
+
bookings, or "has a site already", add `--mode no_booking` instead.
|
|
11
|
+
- Pass `--categories` only if they named specific trades.
|
|
12
|
+
- Results stream in as each category returns, so let it finish before summarising.
|
|
13
|
+
|
|
14
|
+
Then report how many were found and the most promising few, with a one-line
|
|
15
|
+
reason each. Don't build anything yet.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Hand a finished site to a paying client (removes the DEMO banner)
|
|
3
|
+
argument-hint: "<leadId> [--domain thesalon.co.uk]"
|
|
4
|
+
allowed-tools: Bash(sproutkit *)
|
|
5
|
+
---
|
|
6
|
+
Hand over a site. The operator asked: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
This is the PAID-DELIVERABLE step. It removes the DEMO banner from a live site,
|
|
9
|
+
attaches the client's domain, and marks the lead won. The banner is what stops a
|
|
10
|
+
client using a free preview as their real site, so:
|
|
11
|
+
|
|
12
|
+
1. Confirm the operator is telling you this client has PAID or signed off. If
|
|
13
|
+
that isn't explicit, ask — don't infer it from the site looking finished.
|
|
14
|
+
2. Then run `sproutkit handover <leadId> --yes` (add `--domain x.co.uk` if given).
|
|
15
|
+
The command refuses without `--yes` by design.
|
|
16
|
+
|
|
17
|
+
Afterwards, relay the whole credentials sheet verbatim: site URL, /admin panel
|
|
18
|
+
and password, booking page and its password, and any DNS records the client has
|
|
19
|
+
to set at their registrar. That output is the client handover — don't summarise
|
|
20
|
+
the passwords away.
|
|
21
|
+
|
|
22
|
+
To re-check whether a domain's DNS has propagated, run the same command again.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Show current leads and their stage
|
|
3
|
+
argument-hint: "[filter] e.g. site_built, or Leeds"
|
|
4
|
+
allowed-tools: Bash(sproutkit *)
|
|
5
|
+
---
|
|
6
|
+
Leads:
|
|
7
|
+
|
|
8
|
+
!`sproutkit list --compact 2>/dev/null`
|
|
9
|
+
|
|
10
|
+
The operator asked to see: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
Every lead is listed above (one JSON object per line, nothing truncated).
|
|
13
|
+
|
|
14
|
+
Show the matching leads as a compact table — id, name, town, stage, and whether
|
|
15
|
+
they have a site / booking page. If they didn't narrow it down, group by stage.
|
|
16
|
+
Read-only: don't build, contact, or change anything.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Prepare outreach messages for leads with a built site
|
|
3
|
+
argument-hint: "[--ids 3,5] [--channel sms|whatsapp|email]"
|
|
4
|
+
allowed-tools: Bash(sproutkit *)
|
|
5
|
+
---
|
|
6
|
+
Prepare outreach. The operator asked: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
This CONTACTS REAL BUSINESSES and moves leads to Contacted, so:
|
|
9
|
+
|
|
10
|
+
1. First run `sproutkit list --status site_built --json` and show exactly who is
|
|
11
|
+
about to be contacted, with a count.
|
|
12
|
+
2. Ask the operator to confirm before running `sproutkit outreach`.
|
|
13
|
+
3. Only then run it. Never add `--ids` you invented — use the ones they gave.
|
|
14
|
+
|
|
15
|
+
Routing is per-lead automatically: mobile number → SMS/WhatsApp, otherwise email
|
|
16
|
+
(harvesting the address if needed). Only pass `--channel` if they asked for a
|
|
17
|
+
specific one.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run the full pipeline — build then prepare outreach, in parallel
|
|
3
|
+
argument-hint: "[x3] [--book] [--limit 10]"
|
|
4
|
+
allowed-tools: Bash(sproutkit *)
|
|
5
|
+
---
|
|
6
|
+
Run the pipeline. The operator asked: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
This builds sites AND prepares outreach to real businesses, for many leads at
|
|
9
|
+
once. Before running:
|
|
10
|
+
|
|
11
|
+
1. Show which leads are queued (`sproutkit list --status discovered --json`) and
|
|
12
|
+
the count.
|
|
13
|
+
2. Confirm with the operator.
|
|
14
|
+
3. Run `sproutkit pipeline x<N>` where N is the concurrency they asked for
|
|
15
|
+
(default 3). Add `--book` to include a booking page, `--limit`/`--ids` to
|
|
16
|
+
scope it.
|
|
17
|
+
|
|
18
|
+
It prints a live board and can be stopped with the stop key. When it finishes,
|
|
19
|
+
report how many succeeded, and pass on any client admin panel credentials it
|
|
20
|
+
printed.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Sproutkit — show the pipeline and what to do next
|
|
3
|
+
allowed-tools: Bash(sproutkit *)
|
|
4
|
+
---
|
|
5
|
+
Current pipeline:
|
|
6
|
+
|
|
7
|
+
!`sproutkit list --compact 2>/dev/null`
|
|
8
|
+
|
|
9
|
+
Setup check:
|
|
10
|
+
|
|
11
|
+
!`sproutkit doctor 2>&1 | tail -20`
|
|
12
|
+
|
|
13
|
+
Summarise the pipeline for the operator in a few lines: how many leads at each
|
|
14
|
+
stage, and the single most useful next action. Mention any setup problem the
|
|
15
|
+
doctor output reveals. Don't run anything else unless asked.
|