Skip to content

docs: Add an agent setup prompt to the installation page - #872

Merged
Isakdl merged 6 commits into
mainfrom
docs/agent-setup-prompt
Oct 2, 2026
Merged

Isakdl merged 6 commits into
mainfrom
docs/agent-setup-prompt

Conversation

@Isakdl

@Isakdl Isakdl commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

On the docs page:

Screenshot 2026-10-02 at 15 55 30

In claude:

Screenshot 2026-10-02 at 15 38 23

Adds a Set up with an AI agent section at the top of the installation page with a copyable prompt. The prompt tells a coding agent to check what is already installed, install only the missing tooling (latest stable Flutter and the Serverpod CLI), and verify with flutter doctor, dart --version, and serverpod version. If an existing Flutter is too old for the Serverpod CLI, the agent asks before upgrading.

Code block copies are now reported to Google Analytics as a copy_code_block event with page_path, language, and block_title. The prompt block is titled Agent setup prompt so its copies can be filtered. block_title needs to be registered as an event-scoped custom dimension in GA to break reports down by block.

Testing

Ran Claude Code with an earlier version of the prompt in a bare debian:bookworm-slim arm64 container (only curl, ca-certificates, and sudo). The agent installed the missing system packages, cloned Flutter stable, installed the Serverpod CLI, and all three verification commands passed in a fresh shell. That run added PATH entries only for interactive shells, so the prompt now asks for non-interactive shells too. The final wording has not been re-run.

🤖 Generated with Claude Code

Isakdl and others added 2 commits October 2, 2026 15:22
Adds a copyable prompt that tells a coding agent to check for and install
only the missing tooling (Flutter and the Serverpod CLI), then verify it.
Code block copies are now reported to Google Analytics as a
`copy_code_block` event.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@SandPod SandPod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NICE! Might be here before you are done, but I'm hyped for this. Add this to the older versions of the documentation as well.

Comment thread docs/04-get-started/01-installation.md Outdated
Isakdl and others added 3 commits October 2, 2026 15:32
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alexander Sandor <137198655+SandPod@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Isakdl
Isakdl requested a review from SandPod October 2, 2026 13:38
@Isakdl

Isakdl commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@SandPod I appended your suggestion, I attached a screenshot of a dry-run on my machine, I also ran a test in a docker container (with nothing installed), and it worked too.

@SandPod SandPod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this to version 4 of the documentation or else it will only be visible under /next. I'll give a preliminary thumbs up because I need to run 😅

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Isakdl
Isakdl merged commit 3d8d36d into main Oct 2, 2026
6 checks passed
@Isakdl
Isakdl deleted the docs/agent-setup-prompt branch October 2, 2026 13:56
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.

2 participants