Skip to content

Make the agent get-started path impossible to miss: /start hub, nav entry, hero CTA - #34

Merged
FlyOverCoderKY merged 2 commits into
mainfrom
claude/pegma-agent-get-started-8a55a1
Jul 29, 2026
Merged

FlyOverCoderKY merged 2 commits into
mainfrom
claude/pegma-agent-get-started-8a55a1

Conversation

@FlyOverCoderKY

Copy link
Copy Markdown
Contributor

Problem

A developer who has never heard of Pegma lands on stack/examples/roadmap and never sees how to put Pegma in Claude Code / Cursor / Codex / Grok Build. The install path existed but was footer-only ("Agents: install skill · …"), so untrained agents regenerate sessions/identity instead of composing @pegma/*.

What changed

  • New /start install hub (src/pages/start.astro) owning the cold-start story in four steps:
    1. Install the assembly skill — curl blocks for .claude/skills/pegma/SKILL.md and .grok/skills/pegma/SKILL.md, the generic .agents/… shape, and rules-file paste for Cursor/Codex in plain language
    2. Point at catalog.json as the source of truth (skill stays judgment-only; no versions hardcoded)
    3. Optional MCP — https://pegma.dev/api/mcp + the same config snippet already on /skill
    4. Assemble — a first prompt (passkey accounts on a Worker), the recipes/scaffold-cf-minimal scaffold, and green recipes on /examples
  • Nav: "Get started" entry after Home (nav now wraps on narrow screens)
  • Homepage hero CTA: primary button "Use Pegma with your coding agent" → /start, secondary "Browse the stack"
  • Cross-links: /examples notice and /skill notice link back to the hub; footer keeps power-user links and adds /start
  • llms.txt: "Get started" section near the top plus a Site listing entry
  • Whitespace fix in touched copy: Astro's compressHTML eats a newline+indent adjacent to an inline tag, so the live footer renders "Agents:install skill ·skill.md". Fixed in the footer and all copy this PR touches by keeping boundary spaces on one line (comment in Base.astro explains the constraint). The same pre-existing artifact remains elsewhere on the site (e.g. index "events.Storage Core", examples "lives incatalog.json") — left out of scope.

Rules held

  • No invented composition snippets — the page links the scaffold and examples fixtures; the only code blocks are shell/config/prompt text
  • Skill stays judgment-only; all version facts point at catalog.json
  • Static pages only; vendored brand assets untouched; RetireGolden, LLC credit unchanged

Verification

  • npm run check — 0 errors (astro check + worker/recipes tsc)
  • npm test — 184 passing (182 node + 2 D1)
  • npm run build — 11 pages; built HTML inspected to confirm every text/inline-tag boundary in touched copy renders with its space

🤖 Generated with Claude Code

A first-time visitor previously had to find the footer to learn how to put
Pegma in a coding agent. This makes the cold-start path primary navigation:

- New /start install hub owning the story in four steps: install the skill
  (.claude / .grok / .agents directories, rules-file paste for Cursor/Codex),
  point at catalog.json as the source of truth, optionally wire the MCP
  endpoint, then assemble — first prompt, scaffold-cf-minimal, green recipes.
  No versions hardcoded; no invented composition snippets.
- "Get started" nav item and a primary homepage CTA ("Use Pegma with your
  coding agent") so discovery no longer depends on the footer.
- /examples and /skill lead-ins link back to the hub; llms.txt gains a
  Get started section; footer keeps the power-user links plus /start.
- Fix compressHTML whitespace loss at text/inline-tag boundaries in the
  copy this change touches (the footer previously rendered
  "Agents:install skill ·skill.md").

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 29, 2026 19:02
@cursor

cursor Bot commented Jul 29, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Grok Grok Build Review — no issues

Review complete. Nothing actionable to report.

This change correctly elevates the agent install path from a footer-only power-user link to a first-class entry point via /start, primary navigation, and the homepage hero CTA. The new hub is factually aligned with the existing skill, catalog, MCP, and recipe surfaces; it does not invent composition code, and it keeps version authority on catalog.json. Cross-links and llms.txt updates are consistent with the stated discoverability goal. No defects warranting revision were identified in the diff.

Reviewed commit 74959ad · workflow run

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.

Pull request overview

Adds a prominent “get started” path for first-time Pegma users by introducing a dedicated /start install hub and surfacing it across navigation, homepage, and supporting content so developers (and their agents) reliably find the assembly-skill + catalog-driven workflow.

Changes:

  • Add new /start hub page describing skill install, catalog usage, optional MCP, and a first “assemble” prompt.
  • Promote the hub via header nav (“Get started”), homepage hero CTA buttons, and cross-links from /skill, /examples, footer, and llms.txt.
  • Update global styling to support wrapped nav on narrow screens and introduce CTA/button styles.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/styles/global.css Enables wrapped header nav layout and adds CTA row + primary button styling for the homepage hero.
src/pages/start.astro New /start install hub page consolidating the recommended agent setup workflow.
src/pages/skill.astro Adds a notice linking new users to /start for the full setup path.
src/pages/index.astro Adds hero CTA links to /start and /stack.
src/pages/examples.astro Adds a notice linking to /start for prerequisite agent setup context.
src/layouts/Base.astro Adds “Get started” to the main nav and updates footer agent links + whitespace handling note.
public/llms.txt Adds /start to the top-level “Get started” section and to the “Site” listing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/pages/start.astro Resolved
Comment thread src/pages/examples.astro Resolved
Comment thread public/llms.txt Resolved
The /start page has four numbered sections (skill, catalog, optional MCP,
assemble), so "three steps" conflicted with what the reader sees. The lede
now says "Two steps, an optional third, then a first prompt"; examples and
llms.txt drop the count entirely.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@FlyOverCoderKY
FlyOverCoderKY merged commit aac6937 into main Jul 29, 2026
2 checks passed
@FlyOverCoderKY
FlyOverCoderKY deleted the claude/pegma-agent-get-started-8a55a1 branch July 29, 2026 19:49
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