Skip to content

fix(website): show openspec init in the homepage getting-started box - #1434

Merged
clay-good merged 1 commit into
mainfrom
fix/homepage-getting-started-init
Jul 23, 2026
Merged

fix(website): show openspec init in the homepage getting-started box#1434
clay-good merged 1 commit into
mainfrom
fix/homepage-getting-started-init

Conversation

@clay-good

@clay-good clay-good commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Status: Ready. Surgical, website-copy only — no CLI behavior, tests, or generated assets touched.

What was wrong: The homepage's final call-to-action ("Ship your first change in five minutes") shows a single command box containing only npm install -g @fission-ai/openspec@latest. As #1282 reports, that command installs the CLI but "does nothing by itself" — a new user who copies it gets no scaffolding and nothing to run. The README already documents the real flow (install → cd your-projectopenspec init); the landing page didn't.

How it was fixed: Added the second step to the box so it reads:

$ npm install -g @fission-ai/openspec@latest
$ cd your-project && openspec init

The box becomes a stacked two-line block (flex-col, left-aligned) and keeps the exact same card styling. No other content changed.

Proof: npx tsc --noEmit in website/ passes clean. Change is confined to the FinalCta component in website/app/(home)/page.tsx; built output under website/out/ is gitignored and untouched.

Notes: Matches the canonical README wording verbatim. No design/architecture change, no golden-hash or template impact.

Closes #1282

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Style
    • Improved the installation snippet layout in the final call-to-action section.
    • Commands are now displayed in separate, vertically stacked rows with left alignment for clearer spacing and improved readability.

@clay-good
clay-good requested a review from TabishB as a code owner July 23, 2026 17:55
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: aae5ac36-2bfb-45c1-819f-56bf2927c1ce

📥 Commits

Reviewing files that changed from the base of the PR and between 832ed93 and d60babb.

📒 Files selected for processing (1)
  • website/app/(home)/page.tsx

📝 Walkthrough

Walkthrough

The FinalCta installation snippet now displays its two commands in separate vertically stacked, left-aligned rows. Component logic and exported APIs are unchanged.

Changes

Installation snippet

Layer / File(s) Summary
Stack installation commands
website/app/(home)/page.tsx
The two setup commands are wrapped in separate flex rows within a vertical, left-aligned monospace container.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: tabishb, taltas

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding the full openspec init getting-started flow on the homepage.
Linked Issues check ✅ Passed The homepage now includes install, cd into a project, and openspec init, which satisfies issue #1282.
Out of Scope Changes check ✅ Passed The changes stay within the homepage getting-started box and its layout, with no unrelated scope introduced.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/homepage-getting-started-init

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploying openspec-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d60babb
Status: ✅  Deploy successful!
Preview URL: https://e3e636b7.openspec-docs.pages.dev
Branch Preview URL: https://fix-homepage-getting-started.openspec-docs.pages.dev

View logs

The final "Ship your first change in five minutes" call-to-action showed
only `npm install -g @fission-ai/openspec@latest`, which installs the CLI
but does nothing on its own. New users who copy that one line get no
scaffolding and nothing to run. Add the `cd your-project && openspec init`
step so the box matches the canonical README flow.

Closes #1282

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@clay-good
clay-good force-pushed the fix/homepage-getting-started-init branch from 832ed93 to d60babb Compare July 23, 2026 18:00

@alfred-openspec alfred-openspec left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Exact head d60babb fixes the incomplete homepage onboarding CTA by adding the canonical cd your-project && openspec init step directly after installation. The one-file diff is clean, the website installs and builds successfully from a clean checkout, and the full hosted cross-platform, security, CodeRabbit, and Cloudflare preview matrix passes. Approved technically; a real second-human approval is still required before merge.

@clay-good
clay-good added this pull request to the merge queue Jul 23, 2026
Merged via the queue into main with commit b976fc0 Jul 23, 2026
17 checks passed
@clay-good
clay-good deleted the fix/homepage-getting-started-init branch July 23, 2026 19:27
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.

Website's "Getting started" is incomplete

2 participants