fix(website): show openspec init in the homepage getting-started box - #1434
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesInstallation snippet
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Deploying openspec-docs with
|
| 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 |
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>
832ed93 to
d60babb
Compare
alfred-openspec
left a comment
There was a problem hiding this comment.
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.
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-project→openspec init); the landing page didn't.How it was fixed: Added the second step to the box so it reads:
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 --noEmitinwebsite/passes clean. Change is confined to theFinalCtacomponent inwebsite/app/(home)/page.tsx; built output underwebsite/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