Skip to content

docs: add agent-first Squad setup guide - #2529

Open
bradygaster wants to merge 7 commits into
devfrom
bradygaster-psychic-parakeet
Open

bradygaster wants to merge 7 commits into
devfrom
bradygaster-psychic-parakeet

Conversation

@bradygaster

Copy link
Copy Markdown
Collaborator

What

Adds an agent-first setup guide for Claude and GitHub Copilot that installs a user-selected stable or newest/prerelease Squad build from github/squad GitHub Releases, customizes the generated team for the target repository, validates it, and opens a pull request. It also clarifies in the README that github/squad is the canonical repository while legacy-named package-manager identifiers remain distribution names.

Why

Repository owners need a single prompt they can paste into an agent session to receive a safe, codebase-specific Squad configuration rather than a generic initialization. GitHub Releases provide an inspectable source for stable and preview artifacts without relying on npm dist-tags.

No linked issue.

How

The guide asks the owner to choose the newest release (including prereleases) or newest stable release, resolves the exact tag through GitHub Releases, installs checksum-verified platform assets, and uses a pinned npm version only as a fallback. It then walks the agent through repository analysis, Squad initialization, Claude/Copilot discovery files, customization, review, validation, and PR creation while preserving existing instructions and keeping CI opt-in.


⚠️ Quick Check

  • If SDK/CLI source files changed: completed the applicable Changeset step below (npx changeset add / .changeset/*.md, direct CHANGELOG.md entry for maintainers, or skip-changelog label for no user-facing changes) — N/A, documentation only

PR Readiness Checklist

The PR readiness bot will validate these automatically after push.
Check each item before requesting review. See CONTRIBUTING.md for full details.

Branch & Commit

  • Branch created from dev (not main)
  • Branch is up to date with dev
  • Verified diff contains only intended changes
  • PR is not in draft mode
  • Commit history is clean

Build & Test

  • npm run build passes — not run for documentation-only changes
  • npm test passes — targeted npx vitest run test/docs-build.test.ts passed (22/22)
  • npm run lint passes — not run for documentation-only changes
  • npm run lint:eslint passes — not run for documentation-only changes
  • For migration PRs (>20 files): N/A

Changeset

  • Changeset added via npx changeset add — N/A, no SDK/CLI source changes
  • Or direct CHANGELOG.md entry — N/A
  • Or skip-changelog label applied — N/A

Docs

  • README section updated
  • Docs feature page added

Exports

  • package.json subpath exports updated — N/A, no SDK changes

Breaking Changes

None.

Waivers

None.

bradygaster and others added 4 commits November 17, 2026 19:59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Ask the owner to choose newest (incl. prerelease) or stable, resolve the
tag from GitHub Releases, install checksum-verified release assets, and
use npm only as a version-pinned fallback.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Copilot AI adaptive review requested due to automatic review settings November 17, 2026 20:32

Copilot AI 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.

🟡 Changes recommended

The documentation still contains unresolved setup and release-flow defects, including unverified script execution, architecture mismatch, missing PowerShell tag initialization, unintended VS Code changes, and an incomplete PR-body command.

5 open issues
What changed in this PR

Adds an agent-first Squad setup guide for Claude and GitHub Copilot, covering release-based installation, repository-specific customization, validation, and pull-request creation, while clarifying the canonical repository and exposing the guide throughout the documentation.

Changes:

  • Added the comprehensive agent-first setup workflow with stable and prerelease selection, platform installation, customization, validation, and PR instructions.
  • Linked the guide from the README and installation documentation.
  • Added the guide to documentation navigation and build expectations.
File Description
test/​docs-build.test.ts Updates documentation build expectations to include the new agent setup page.
README.md Clarifies that github/squad is the canonical repository and links to the agent setup guide.
docs/​src/​navigation.ts Adds the agent setup guide to the Get Started documentation navigation.
docs/​src/​content/​docs/​get-started/​installation.md Links the installation documentation to the agent setup guide.
docs/​src/​content/​docs/​get-started/​agent-setup.md Adds release-based installation, repository customization, validation, and pull-request workflow instructions for Claude and GitHub Copilot.

Review effort: Lite (adaptive)

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

🛫 PR Readiness Check

ℹ️ This comment updates on each push. Last checked: commit 7052e66

PR Scope: 🔧 Infrastructure

⚠️ 2 item(s) to address before review

Status Check Details
❌ Single commit 7 commits — consider squashing before review
✅ Not in draft Ready for review
✅ Branch up to date Up to date with dev
❌ Copilot review No Copilot review yet — it may still be processing
✅ Changeset present No source files changed — changeset not required
✅ Scope clean No .squad/ or docs/proposals/ files
✅ No merge conflicts No merge conflicts
✅ Copilot threads resolved 1 active Copilot thread(s) resolved (4 outdated skipped)
✅ CI passing All checks passing

Files Changed (5 files, +312 −2)

File +/−
README.md +8 −1
docs/src/content/docs/get-started/agent-setup.md +299 −0
docs/src/content/docs/get-started/installation.md +3 −0
docs/src/navigation.ts +1 −0
test/docs-build.test.ts +1 −1

Total: +312 −2


This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.

@github-actions

Copy link
Copy Markdown
Contributor

🟡 Impact Analysis — PR #2529

Risk tier: 🟡 MEDIUM

📊 Summary

Metric Count
Files changed 5
Files added 1
Files modified 4
Files deleted 0
Modules touched 3

🎯 Risk Factors

  • 5 files changed (≤5 → LOW)
  • 3 modules touched (2-4 → MEDIUM)

📦 Modules Affected

docs (3 files)
  • docs/src/content/docs/get-started/agent-setup.md
  • docs/src/content/docs/get-started/installation.md
  • docs/src/navigation.ts
root (1 file)
  • README.md
tests (1 file)
  • test/docs-build.test.ts

This report is generated automatically for every PR. See #733 for details.

bradygaster and others added 2 commits November 19, 2026 12:06
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

3 participants