Skip to content

feat(examples): add platform feature recipes - #10

Merged
batuhan merged 2 commits into
masterfrom
examples/platform-feature-suite
Sep 26, 2026
Merged

batuhan merged 2 commits into
masterfrom
examples/platform-feature-suite

Conversation

@batuhan

@batuhan batuhan commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Why

The recipe gallery needs real framework combinations for every publish lane.

Scope

  • Add trailhead (Next.js static export + @spacefast/image), unfurl (Next.js on Functions), astro-zero (Astro with a staged Zero capsule), and wp-zero (WordPress content + Zero reactions and search) under recipes/.
  • Teach the publish workflow the Functions runtime, framework-staged Zero capsules in site/dist, and Next's site/out.
  • Target the released 0.4.1 CLI and SDK.

Builds on the recipes/ layout from #7.

Verification

  • All four recipes build through the CI build logic with spacefast@0.4.1; unfurl packages its OpenNext worker with sf build.
  • wp-zero: 3 tests pass; server and client typecheck.
  • astro-zero: typechecks and stages its capsule into dist/.
  • Catalog tests pass and the manifest builds all 53 recipes.

@coderabbitai

coderabbitai Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 6c175f47-e9ce-4e06-9eab-46c170117c91

📥 Commits

Reviewing files that changed from the base of the PR and between 4ca5749 and 9198e75.

⛔ Files ignored due to path filters (5)
  • recipes/astro-zero/site/bun.lock is excluded by !**/*.lock
  • recipes/trailhead/site/bun.lock is excluded by !**/*.lock
  • recipes/trailhead/site/public/favicon.svg is excluded by !**/*.svg
  • recipes/unfurl/site/bun.lock is excluded by !**/*.lock
  • recipes/wp-zero/site/bun.lock is excluded by !**/*.lock
📒 Files selected for processing (84)
  • .github/workflows/publish.yml
  • .gitignore
  • recipes/astro-zero/README.md
  • recipes/astro-zero/meta.json
  • recipes/astro-zero/prompt.md
  • recipes/astro-zero/site/.gitignore
  • recipes/astro-zero/site/AGENTS.md
  • recipes/astro-zero/site/_headers
  • recipes/astro-zero/site/astro.config.mjs
  • recipes/astro-zero/site/package.json
  • recipes/astro-zero/site/scripts/stage-capsule.mjs
  • recipes/astro-zero/site/server/index.ts
  • recipes/astro-zero/site/sf.jsonc
  • recipes/astro-zero/site/shared/comments.ts
  • recipes/astro-zero/site/src/components/Margin.tsx
  • recipes/astro-zero/site/src/content.config.ts
  • recipes/astro-zero/site/src/content/posts/emoji-are-punctuation-now.md
  • recipes/astro-zero/site/src/content/posts/static-isnt-the-opposite-of-alive.md
  • recipes/astro-zero/site/src/content/posts/the-first-three-hundred-milliseconds.md
  • recipes/astro-zero/site/src/content/posts/your-comment-section-is-a-database.md
  • recipes/astro-zero/site/src/layouts/Base.astro
  • recipes/astro-zero/site/src/pages/index.astro
  • recipes/astro-zero/site/src/pages/posts/[slug].astro
  • recipes/astro-zero/site/src/styles/global.css
  • recipes/astro-zero/site/tsconfig.json
  • recipes/trailhead/README.md
  • recipes/trailhead/meta.json
  • recipes/trailhead/prompt.md
  • recipes/trailhead/site/.gitignore
  • recipes/trailhead/site/app/globals.css
  • recipes/trailhead/site/app/layout.tsx
  • recipes/trailhead/site/app/not-found.tsx
  • recipes/trailhead/site/app/page.tsx
  • recipes/trailhead/site/app/trails/[slug]/page.tsx
  • recipes/trailhead/site/components/site-chrome.tsx
  • recipes/trailhead/site/components/trail-card.tsx
  • recipes/trailhead/site/data/site.ts
  • recipes/trailhead/site/data/trails.ts
  • recipes/trailhead/site/lib/spacefast-image-loader.ts
  • recipes/trailhead/site/lib/units.ts
  • recipes/trailhead/site/next.config.ts
  • recipes/trailhead/site/package.json
  • recipes/trailhead/site/public/_headers
  • recipes/trailhead/site/public/_redirects
  • recipes/trailhead/site/public/sf.jsonc
  • recipes/trailhead/site/tsconfig.json
  • recipes/unfurl/README.md
  • recipes/unfurl/meta.json
  • recipes/unfurl/prompt.md
  • recipes/unfurl/site/.gitignore
  • recipes/unfurl/site/app/api/unfurl/route.ts
  • recipes/unfurl/site/app/globals.css
  • recipes/unfurl/site/app/layout.tsx
  • recipes/unfurl/site/app/page.tsx
  • recipes/unfurl/site/app/u/page.tsx
  • recipes/unfurl/site/components/CardMedia.tsx
  • recipes/unfurl/site/components/PreviewCard.tsx
  • recipes/unfurl/site/lib/guard.ts
  • recipes/unfurl/site/lib/parse.ts
  • recipes/unfurl/site/lib/unfurl.ts
  • recipes/unfurl/site/middleware.ts
  • recipes/unfurl/site/next.config.ts
  • recipes/unfurl/site/package.json
  • recipes/unfurl/site/sf.jsonc
  • recipes/unfurl/site/tsconfig.json
  • recipes/wp-zero/README.md
  • recipes/wp-zero/meta.json
  • recipes/wp-zero/prompt.md
  • recipes/wp-zero/site/.gitignore
  • recipes/wp-zero/site/AGENTS.md
  • recipes/wp-zero/site/assets/search.js
  • recipes/wp-zero/site/assets/styles.css
  • recipes/wp-zero/site/client/index.tsx
  • recipes/wp-zero/site/package.json
  • recipes/wp-zero/site/server/index.ts
  • recipes/wp-zero/site/sf.jsonc
  • recipes/wp-zero/site/shared/reactions.ts
  • recipes/wp-zero/site/shared/search.ts
  • recipes/wp-zero/site/test/build.test.ts
  • recipes/wp-zero/site/tools/build.ts
  • recipes/wp-zero/site/tools/config.ts
  • recipes/wp-zero/site/tools/render.ts
  • recipes/wp-zero/site/tools/wordpress.ts
  • scripts/build-manifest.mjs
 _____________________________________________________________
< Please stop using global state like it's a communal fridge. >
 -------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

@socket-security

socket-security Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@batuhan batuhan changed the title Platform-feature example suite: trailhead, unfurl, astro-zero, wp-zero feat(examples): add platform feature recipes Aug 31, 2026
@batuhan
batuhan force-pushed the examples/platform-feature-suite branch from 1c056cb to ba43278 Compare September 26, 2026 17:03
@batuhan
batuhan changed the base branch from master to codex/rebuild-examples September 26, 2026 17:03
@batuhan
batuhan force-pushed the examples/platform-feature-suite branch from ba43278 to 6b905f0 Compare September 26, 2026 17:06
Next.js static export with @spacefast/image, a Next.js Functions app,
Astro with a staged Zero capsule, and WordPress content with Zero.
The publish workflow learns the Functions runtime, framework-staged Zero
capsules under site/dist, and Next's site/out export directory.
- unfurl: drop the stale _rsc publish blocker and internal build notes;
  the prompt no longer asks for a Functions runtime in the dry run and
  tells the agent to claim before testing outbound fetches.
- trailhead: the prompt teaches the next.config.ts that actually builds;
  pin @spacefast/image 0.4.1.
- Replace dead docs links.
- astro-zero: show the newest 200 comments, spam-check both write paths.
- wp-zero: only record reactions for published articles, decode numeric
  entities in titles, show the loading state, drop an unknown theme key.
@batuhan
batuhan force-pushed the examples/platform-feature-suite branch from 6b905f0 to 9198e75 Compare September 26, 2026 17:42
@batuhan
batuhan changed the base branch from codex/rebuild-examples to master September 26, 2026 17:42
@batuhan
batuhan marked this pull request as ready for review September 26, 2026 18:04
@indent

indent Bot commented Sep 26, 2026

Copy link
Copy Markdown

Indent Indent is reviewing this pull request.

@batuhan
batuhan merged commit 0117b0a into master Sep 26, 2026
71 of 73 checks passed
@batuhan
batuhan deleted the examples/platform-feature-suite branch September 26, 2026 18:05
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.

1 participant