Repository navigation
Make the agent get-started path impossible to miss: /start hub, nav entry, hero CTA - #34
Conversation
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>
|
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. |
|
There was a problem hiding this comment.
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
/starthub 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, andllms.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.
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>

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
/startinstall hub (src/pages/start.astro) owning the cold-start story in four steps:.claude/skills/pegma/SKILL.mdand.grok/skills/pegma/SKILL.md, the generic.agents/…shape, and rules-file paste for Cursor/Codex in plain languagecatalog.jsonas the source of truth (skill stays judgment-only; no versions hardcoded)https://pegma.dev/api/mcp+ the same config snippet already on/skillrecipes/scaffold-cf-minimalscaffold, and green recipes on/examples/start, secondary "Browse the stack"/examplesnotice and/skillnotice link back to the hub; footer keeps power-user links and adds/startcompressHTMLeats 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 inBase.astroexplains 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
catalog.jsonVerification
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