Skip to content

feat(docs): revamp homepage demo + SDD documentation#324

Merged
rubenmarcus merged 7 commits intomainfrom
feat/sdd-homepage-and-docs
Apr 8, 2026
Merged

feat(docs): revamp homepage demo + SDD documentation#324
rubenmarcus merged 7 commits intomainfrom
feat/sdd-homepage-and-docs

Conversation

@rubenmarcus
Copy link
Copy Markdown
Member

Summary

Homepage revamp

  • Replaced low-quality GIF-based DemoShowcase with clean terminal-style code demos
  • Added OpenSpec as 5th tab (was: Figma, GitHub, Linear, Notion -- now includes OpenSpec first)
  • Renamed section: "One CLI, Four Integrations" → "One CLI, Five Sources"
  • Label: "Spec Driven Development" instead of "See It In Action"
  • Each tab shows realistic terminal output with color-coded lines (dim, normal, success, accent)

New documentation pages (3)

  • Spec Driven Development guide -- Full SDD workflow, comparison table (ralph-starter vs OpenSpec vs Spec-Kit vs Kiro), writing good specs, supported formats
  • OpenSpec source -- How to use OpenSpec with ralph-starter, directory structure, all fetch modes
  • spec CLI reference -- validate, list, summary subcommands with scoring breakdown

Sidebar updates

  • Added openspec to Input Sources (first position)
  • Added figma and spec to CLI Reference
  • Added spec-driven-development to Guides

Test plan

  • pnpm build in docs/ passes (no broken links)
  • 45 documentation pages processed
  • Visual review of DemoShowcase on localhost

🤖 Generated with Claude Code

- Replace GIF-based DemoShowcase with terminal-style code demos
- Add OpenSpec as 5th tab (OpenSpec, Figma, GitHub, Linear, Notion)
- Rename section from "One CLI, Four Integrations" to "One CLI, Five Sources"
- Add SDD comparison table (ralph-starter vs OpenSpec vs Spec-Kit vs Kiro)
- New docs: Spec Driven Development guide, OpenSpec source, spec CLI reference
- Add figma, spec, openspec pages to sidebar navigation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Issue Linking Reminder

This PR doesn't appear to have a linked issue. Consider linking to:

  • This repo: Closes #123
  • ralph-ideas: Closes multivmlabs/ralph-ideas#123

Using Closes, Fixes, or Resolves will auto-close the issue when this PR is merged.


If this PR doesn't need an issue, you can ignore this message.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

🔗 Docs Preview

Preview URL: https://feat-sdd-homepage-and-docs.ralph-starter-docs.pages.dev

This preview was deployed from the latest commit on this PR.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 8, 2026

Greptile Summary

This PR revamps the homepage DemoShowcase by replacing GIF-based demos with an interactive terminal-style component showing realistic CLI output for all five spec sources, and adds three new documentation pages (SDD guide, OpenSpec source, spec CLI reference) with corresponding sidebar entries.

Confidence Score: 5/5

Safe to merge — documentation and UI-only changes with a single minor style rule violation.

All findings are P2. The only code issue is using interface instead of type for the Demo shape, which is a style-guide preference and does not affect runtime behavior. The new docs pages are well-structured, cross-links are consistent, and sidebar entries correctly reference the new and existing files.

docs/src/components/DemoShowcase/index.tsx — minor interface vs type violation on the Demo shape.

Vulnerabilities

No security concerns identified. Changes are limited to documentation markdown and a frontend UI component with no data handling, authentication, or external requests.

Important Files Changed

Filename Overview
docs/src/components/DemoShowcase/index.tsx Replaces GIF-based demo with a terminal-style component; uses interface instead of type for the Demo shape (minor rule violation). Dynamic CSS module lookup styles[line_${line.type}] is valid at runtime. Logic and structure are otherwise clean.
docs/src/components/DemoShowcase/styles.module.css Adds terminal UI styles (header dots, body, line-type variants, caption link) and adjusts responsive breakpoints; well-structured with no issues.
docs/sidebars.ts Adds sources/openspec (first in Input Sources), cli/figma, cli/spec, and guides/spec-driven-development — all correctly map to new or existing doc pages.
docs/docs/sources/openspec.md New OpenSpec source documentation; directory structure, all fetch modes, output format, and metadata table are accurate and internally consistent.
docs/docs/guides/spec-driven-development.md New SDD guide with workflow diagram, spec scoring table, comparison table, example spec, and supported formats — well-written and cross-linked correctly.
docs/docs/cli/spec.md New CLI reference for ralph-starter spec; validate/list/summary subcommands, scoring breakdown table, and examples are clear and consistent with the SDD guide.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[DemoShowcase component] --> B{activeTab index}
    B --> C[demos array - 5 entries]
    C --> D[OpenSpec]
    C --> E[Figma]
    C --> F[GitHub]
    C --> G[Linear]
    C --> H[Notion]
    D & E & F & G & H --> I[Terminal UI]
    I --> I1[terminalHeader - dots + title]
    I --> I2[commandLine - prompt + command]
    I --> I3[output lines - typed by dim/normal/success/accent/warn]
    I --> J[Caption + Link to source docs]
Loading
Prompt To Fix All With AI
This is a comment left during a code review.
Path: docs/src/components/DemoShowcase/index.tsx
Line: 5-12

Comment:
**Use `type` instead of `interface` for plain data shapes**

`Demo` is a simple data structure with no inheritance or extension, so it should be declared as a `type` alias per the project's TypeScript convention.

```suggestion
type Demo = {
  id: string;
  label: string;
  command: string;
  lines: { text: string; type: 'dim' | 'normal' | 'success' | 'accent' | 'warn' }[];
  caption: string;
  link: string;
};
```

**Rule Used:** Use `type` by default in TypeScript unless you spe... ([source](https://app.greptile.com/review/custom-context?memory=c862f053-5655-4b41-be69-c840e3c9f280))

**Learnt From**
[cytonic-network/ai-frontend#48](https://github.com/cytonic-network/ai-frontend/pull/48)

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "feat(docs): revamp homepage demo section..." | Re-trigger Greptile

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aa8ec621cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

rubenmarcus and others added 2 commits April 8, 2026 18:20
- Add OpenSpec to IntegrationShowcase (first position)
- Add OpenSpec "Spec Driven Development" use case card
- Add OpenSpec scenario to HeroSection rotation
- Add OpenSpec logo to hero integration logos bar
- Create openspec-logo.svg icon

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add OpenSpec card to /integrations page with features, setup steps, and docs link
- Add OpenSpec "Spec to Implementation" use case to /use-cases page with workflow steps
- Update page meta descriptions to include OpenSpec

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cc5ba7be5c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Delete TodoistSource, TodoistOAuthProvider, and all references across
src, docs, CLAUDE.md, CONTRIBUTING.md, and marketplace.json.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions bot added candidate-release PR is ready for release core labels Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

✔️ Bundle Size Analysis

Metric Value
Base 2827.81 KB
PR 2836.86 KB
Diff 9.05 KB (0%)
Bundle breakdown
140K	dist/auth
80K	dist/automation
4.0K	dist/cli.d.ts
4.0K	dist/cli.d.ts.map
24K	dist/cli.js
16K	dist/cli.js.map
740K	dist/commands
28K	dist/config
4.0K	dist/index.d.ts
4.0K	dist/index.d.ts.map
4.0K	dist/index.js
4.0K	dist/index.js.map
916K	dist/integrations
100K	dist/llm
1.3M	dist/loop
188K	dist/mcp
60K	dist/presets
92K	dist/setup
40K	dist/skills
428K	dist/sources
76K	dist/ui
144K	dist/utils
336K	dist/wizard

- Add `ralph-starter openspec` interactive wizard that detects/creates
  openspec/ directories, browses changes with validation scores, scaffolds
  new changes, and delegates to the run command
- Update all homepage CLI examples (HeroSection, DemoShowcase,
  FeatureSections, QuickStart) to use wizard commands instead of verbose
  --from flags
- Center-align last card on integrations and use-cases pages when odd count

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions bot added the config label Apr 8, 2026
- Change `interface Demo` to `type Demo` in DemoShowcase (P2)
- Fix `spec validate --path` to handle directory paths, not just files
- Fix `spec summary` to read specs/*/spec.md matching validate behavior
- Update scoring tables to show partial credit tiers (RFC 2119: 25/10, Depth: 10/5)
- Fix invalid file source syntax in SDD guide (--from ./path not --from file path)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@rubenmarcus rubenmarcus merged commit ee9c794 into main Apr 8, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant