Skip to content

docs: add a copy-paste prompt for new project to Slack - #14

Open
jerelvelarde wants to merge 3 commits into
mainfrom
jerel/readme-getting-started-prompt
Open

docs: add a copy-paste prompt for new project to Slack#14
jerelvelarde wants to merge 3 commits into
mainfrom
jerel/readme-getting-started-prompt

Conversation

@jerelvelarde

@jerelvelarde jerelvelarde commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #12 and #13, which made the skills install the default path for Slack. This adds the prompt a developer pastes after that install, and makes it the first thing in the section.

Why

The README already has a coding-agent prompt, but it assumes a project exists — it adds a Channels listener to code you already have. The common first-time case does not: someone wants a CopilotKit app and a working Slack channel, starting from nothing. Nothing covered that path.

The new prompt covers it end to end, and is deliberately defensive about the ways this setup goes wrong:

  • Names the three skills to read first (copilotkit-setup, copilotkit-channels, setup-slack-channel) and tells the agent to stop rather than improvise if any is missing.
  • Pins every CLI call to npx copilotkit@latest — the same stale-CLI failure docs: pin the skills install to copilotkit@latest #13 fixed.
  • Makes the agent state up front whether it can actually drive a browser, instead of guessing, since half this workflow is browser-only.
  • Keeps tokens and signing secrets out of the chat entirely.
  • Holds success to the three gates in setup-slack-channel, so "the runtime started" cannot be reported as done.

Placement

The prompt leads "Build your first Channel" under a Start with a prompt heading, linked from the header nav alongside Try Channels / Build with the SDK / Explore OpenTag. Most people arrive to do exactly this, so it should not sit below install commands and a troubleshooting note.

Promoting it made the previous "Fastest path for Slack" block redundant — both pitched install the skills, let the agent drive. The two are merged into one section rather than left as competing pitches.

One correctness change fell out of that merge: installing every skill now leads, with --skill setup-slack-channel as the narrower option. The prompt reads three skills, so the Slack-only install would have left it a skill short — the previous ordering pointed most readers at the wrong command for the prompt sitting right under it.

The manual walkthrough keeps its framing under a new Or set it up by hand heading. The prompt body stays in a collapsed <details> — it is ~35 lines and would otherwise push the numbered steps well below the fold.

Verification

  • npx copilotkit@latest --help lists create (an alias of init), so the scaffold command in the prompt is real.
  • copilotkit skills install --list shows all three skill names the prompt references.
  • Every in-page anchor checked against generated heading anchors: #start-with-a-prompt, #build-your-first-channel, #see-a-complete-channels-app all resolve.
  • An earlier draft cross-linked the other prompt as [prompt below](#build-it-with-your-coding-agent). GitHub only generates anchors for real headings, not <summary> text, so that link would have shipped broken — it is now a plain textual reference. The new nav link targets a real ### heading for this reason.

One inconsistency to flag, not fixed here

The prompt gates on Node.js 20 or newer. Step 1 of this same README says Node.js 22 or later. An agent following the prompt could greenlight Node 20 and then hit an SDK that wants 22.

Left as written since the prompt text came in verbatim, but one of the two numbers is wrong and they are now closer together on the page. Happy to align them here — say which is authoritative.

Docs-only diff — no code, no tooling at the repo root, nothing to run.

The README's coding-agent prompt assumes a project already exists. The
common first-time case does not: a developer wants a CopilotKit app and
a working Slack channel, starting from nothing.

Add a prompt covering that path end to end. It names the three skills to
read, pins every CLI call to npx copilotkit@latest, makes the agent
declare whether it can drive a browser before touching a live account,
keeps secrets out of the chat, and holds success to the three gates in
setup-slack-channel.
Most people land here to do exactly this, so the prompt should not sit
below the install commands and a troubleshooting note.

Promote it to the top of Build your first Channel under a 'Start with a
prompt' heading, and link that heading from the header nav.

Promoting it made the old 'Fastest path for Slack' block redundant --
both pitched installing skills and letting the agent drive -- so the two
are merged into one section. Installing every skill now leads, since the
prompt reads three of them and the Slack-only install would leave it
short. The manual walkthrough keeps its framing under a new 'Or set it
up by hand' heading.
Three code blocks and a troubleshooting callout stood between 'Start
with a prompt' and the actual prompt, so the thing people came for sat
below a screenful of setup.

Keep one install command above it -- the prompt reads the skills, and
skipping it costs a round trip -- and move the narrower --skill variant
and the stale-CLI note below the prompt, where they are reference rather
than a gate.
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