Skip to content

Document Next.js 16 proxy.ts conventions in bootstrap skills - #1

Merged
reyarqueza merged 4 commits into
mainfrom
cursor/nextjs-16-proxy-scaffold
May 23, 2026
Merged

reyarqueza merged 4 commits into
mainfrom
cursor/nextjs-16-proxy-scaffold

Conversation

@reyarqueza

Copy link
Copy Markdown
Owner

Summary

  • Add Next.js 16 prerequisites to scaffold-app with Vercel nextjs / routing-middleware skill chain
  • Include a canonical proxy.ts template and explicit anti-patterns (no Auth.js auth() wrapper as proxy export)
  • Document dashboard authoritative auth guard separate from optimistic proxy redirect
  • Update bootstrap orchestrator, AGENTS.md, and README to reference the new scaffolding guidance

Test plan

  • Review scaffold-app/SKILL.md proxy template matches production-tested pattern from usage-quota
  • Confirm bootstrap step 2 note chains to Next.js 16 prerequisites
  • Run a fresh bootstrap and verify proxy.ts works on first deploy without proxy export errors

Made with Cursor

Chain Vercel nextjs/routing-middleware guidance and add a canonical proxy template so scaffolds avoid Auth.js middleware wrapper pitfalls.

Co-authored-by: Cursor <cursoragent@cursor.com>
@reyarqueza
reyarqueza marked this pull request as ready for review May 23, 2026 02:06

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

Copy link
Copy Markdown

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: e3744e5488

ℹ️ 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".

Comment thread .cursor/skills/scaffold-app/SKILL.md Outdated
cursoragent and others added 2 commits May 23, 2026 03:23
Co-authored-by: Rey Arqueza <reyarqueza@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@reyarqueza
reyarqueza marked this pull request as draft May 23, 2026 08:17
@reyarqueza
reyarqueza marked this pull request as ready for review May 23, 2026 08:54
@reyarqueza
reyarqueza merged commit 3bc65b3 into main May 23, 2026
@reyarqueza
reyarqueza deleted the cursor/nextjs-16-proxy-scaffold branch May 23, 2026 09:19
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.

2 participants