You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(instructions): modernize nextjs-tailwind for Next.js 15+ and Tailwind v4 (#5114) 🤖🤖🤖 - #5129
Modernizes instructions/nextjs-tailwind.instructions.md to reflect production standards for Next.js 15+ (App Router) and Tailwind CSS v4, resolving the maintainer staleness audit flagged in #5114.
Key Updates
Scoped Boundaries: Narrowed applyTo from global '**/*.{ts,tsx,jsx,js,css}' to App Router and component directories ('app/**/*.{ts,tsx,js,jsx}, src/app/**/*.{ts,tsx,js,jsx}, components/**/*.{ts,tsx,js,jsx}') to prevent context pollution in unrelated files.
Next.js 15+ Async Request APIs: Documented asynchronous access signatures for await params, await searchParams, await cookies(), and await headers().
Caching Semantics: Clarified default uncached (no-store) fetch and route handler behavior with explicit force-cache and revalidation tag patterns.
React 19 Server Actions: Modernized form action standards to React 19 useActionState (replacing deprecated useFormState).
Tailwind CSS v4 CSS-First Configuration: Updated styling guidelines to enforce @import "tailwindcss"; and @theme root CSS configurations instead of legacy tailwind.config.js.
Documentation Consistency: Regenerated docs/README.instructions.md via npm run build.
Verification & Validation
npm run build executed successfully; documentation in sync.
npm run skill:validate passed (435/435 skills valid).
npm run plugin:validate passed (104/104 plugins and external catalog valid).
Line endings verified as pure Unix LF (git diff --check clean).
Soft-gate risk scan (eng/pr-risk-scan.mjs) returned 0 findings.
Risk tier:merge-risk:medium — New or substantially changed resource without privileged execution Required to merge: passing submission-gate checks plus 1 approval from reviewers with write access.
🙋 Added needs-reviewer. Reviewer routing is assigning a reviewer now.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Modernizes
instructions/nextjs-tailwind.instructions.mdto reflect production standards for Next.js 15+ (App Router) and Tailwind CSS v4, resolving the maintainer staleness audit flagged in #5114.Key Updates
applyTofrom global'**/*.{ts,tsx,jsx,js,css}'to App Router and component directories ('app/**/*.{ts,tsx,js,jsx}, src/app/**/*.{ts,tsx,js,jsx}, components/**/*.{ts,tsx,js,jsx}') to prevent context pollution in unrelated files.await params,await searchParams,await cookies(), andawait headers().no-store)fetchand route handler behavior with explicitforce-cacheand revalidation tag patterns.useActionState(replacing deprecateduseFormState).@import "tailwindcss";and@themeroot CSS configurations instead of legacytailwind.config.js.docs/README.instructions.mdvianpm run build.Verification & Validation
npm run buildexecuted successfully; documentation in sync.npm run skill:validatepassed (435/435 skills valid).npm run plugin:validatepassed (104/104 plugins and external catalog valid).git diff --checkclean).eng/pr-risk-scan.mjs) returned 0 findings.Resolves part of #5114.