Nuqs
trycompai/crm
nuqs (type-safe URL query state) best practices for Next.js and other React frameworks.
Build or audit Next.js 16 App Router apps using a next-beats-style React Server Components architecture.
$ npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jakubwarkusz/themes nextjs-app-architecture --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/jakubwarkusz/themes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/nextjs-app-architecture .claude/skills/nextjs-app-architecture && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "nextjs-app-architecture" agent skill from https://github.com/jakubwarkusz/themes/tree/main/.agents/skills/nextjs-app-architecture into .claude/skills/nextjs-app-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs-app-architecture", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/jakubwarkusz/themes/tree/main/.agents/skills/nextjs-app-architectureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jakubwarkusz/themes nextjs-app-architecture --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jakubwarkusz/themes.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/nextjs-app-architecture .agents/skills/nextjs-app-architecture && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nextjs-app-architecture" agent skill from https://github.com/jakubwarkusz/themes/tree/main/.agents/skills/nextjs-app-architecture into .agents/skills/nextjs-app-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs-app-architecture", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jakubwarkusz/themes nextjs-app-architecture --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jakubwarkusz/themes.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/nextjs-app-architecture .cursor/skills/nextjs-app-architecture && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "nextjs-app-architecture" agent skill from https://github.com/jakubwarkusz/themes/tree/main/.agents/skills/nextjs-app-architecture into .cursor/skills/nextjs-app-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs-app-architecture", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/jakubwarkusz/themes.git --path .agents/skills/nextjs-app-architecture--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jakubwarkusz/themes nextjs-app-architecture --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jakubwarkusz/themes.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/nextjs-app-architecture .gemini/skills/nextjs-app-architecture && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "nextjs-app-architecture" agent skill from https://github.com/jakubwarkusz/themes/tree/main/.agents/skills/nextjs-app-architecture into .gemini/skills/nextjs-app-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs-app-architecture", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install jakubwarkusz/themes nextjs-app-architectureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jakubwarkusz/themes.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/nextjs-app-architecture .github/skills/nextjs-app-architecture && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "nextjs-app-architecture" agent skill from https://github.com/jakubwarkusz/themes/tree/main/.agents/skills/nextjs-app-architecture into .github/skills/nextjs-app-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs-app-architecture", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jakubwarkusz/themes nextjs-app-architecture --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jakubwarkusz/themes.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/nextjs-app-architecture .opencode/skills/nextjs-app-architecture && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "nextjs-app-architecture" agent skill from https://github.com/jakubwarkusz/themes/tree/main/.agents/skills/nextjs-app-architecture into .opencode/skills/nextjs-app-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nextjs-app-architecture", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
nextjs-app-architectureBuild or audit Next.js 16 App Router apps using a next-beats-style React Server Components architecture.
Nextjs App Architecture is an agent skill from jakubwarkusz/themes. Build or audit Next.js 16 App Router apps using a next-beats-style React Server Components architecture. Use when scaffolding a new app, adding a feature, reviewing an existing app, refactoring route-loader-shaped pages into feature-owned async server components, deciding where queries/actions/components live, keeping pages synchronous with params.then(), placing Suspense boundaries, choosing the client/server boundary, designing skeletons, preventing CLS, or enabling Cache Components. Also use when the user asks…
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/cache-components.md`, `references/components.md` and `references/example.md`).
It sits in Development, covering Project scaffolding and Refactoring. It works with Next.js and React. The repository describes itself as: A modern, fully-featured theme management library for Next.js. The licence is MIT.
10 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1fb713c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
preview.nextjs.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Nextjs App Architecture loads about 2.5k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 183 tokens; SKILL.md has 1,162 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from jakubwarkusz/themes at commit 1fb713c, republished under its MIT licence (© jakubwarkusz). 1,162 words, ~2,542 tokens.
.claude/skills/nextjs-app-architecture/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.A workflow for building and auditing Next.js 16+ App Router apps so they follow one consistent, feature-sliced RSC architecture like next-beats.
Follow the workflow below step by step — it produces the invariants by construction. Load the reference a step names for the decision it depends on. Get framework mechanics (API signatures, config options, hook contracts) from the linked docs — don't restate or improvise them.
Before changing a Next.js app, make sure the project is set up for AI agents to read version-matched docs. Follow the AI Coding Agents guide: prefer the project's AGENTS.md / bundled docs, and create or refresh them when missing. Then use this skill for architecture decisions.
Build pages that describe the loading experience, not pages that act like route loaders:
app/**/page.tsx and layout.tsx are synchronous composition surfaces: static chrome, section headings, <Suspense> boundaries, error boundaries, and transition wrappers.id, slug, handle, parsed filter values) or already-fetched records, never raw params / searchParams.The non-negotiables. The workflow produces them; the final check verifies them.
<Suspense>. No queries, no domain logic, no route-specific components defined inline.params.then() / searchParams.then(), never await params at the top — so chrome paints into the static shell and only data-dependent sections suspend.params / searchParams at the page boundary and pass plain values (id, slug, query) into features.'use client' only for hooks, event handlers, or browser APIs — and only on leaves, never on parents of server content.<Suspense>.Feed and FeedSkeleton are siblings.<domain>-queries.ts (import 'server-only'); actions live in <domain>-actions.ts ('use server'). The file name matches the folder, even for sub-concepts.<domain>-cache.ts, client query definitions in <domain>-query-options.ts, hook wrappers in hooks/use-*.ts, and tiny client leaves in components/; promote support code only after real cross-feature reuse.Run these in order for build-from-scratch, feature work, or audits. Each step names the reference to consult and the check it must pass.
app/ pages first; list every async page, page-level query import, route prop leak, missing Suspense boundary, and feature folder mismatch.
→ references/example.md for the target shape; references/feature-folders.md for placement.
✓ You know whether you are creating the architecture or converting loader-shaped code into it.references/feature-folders.md (decision tree + merge rules).
✓ A real domain, or folded into the right parent.<domain>-queries.ts with import 'server-only'; keep shared tag/key identities in a pure <domain>-cache.ts.
→ references/queries-actions.md; for SWR/TanStack Query → references/single-page-applications.md; with cacheComponents: true, also → references/cache-components.md.
✓ Cache identities are defined once; server reads are server-only, cached/tagged/lifetimed under Cache Components, and return domain types rather than ORM rows.features/<domain>/<domain>-actions.ts, 'use server' at the top.
→ references/queries-actions.md.
✓ Re-checks auth, validates input, invalidates matching cache tags under Cache Components (refresh() only for justified dynamic reads), returns a discriminated union.features/<domain>/components/<name>.tsx: an async server component that awaits its own query from minimal props; 'use client' only on interactive leaves.
→ references/components.md; for a client data library or strict-SPA/CSR feature → references/single-page-applications.md.
✓ Component receives IDs/handles/parsed filters or already-resolved records, not params; skeleton is a sibling export at the end; no alias skeleton wrappers.app/<route>/page.tsx: synchronous, params.then(), place <Suspense fallback={<NameSkeleton />}><Name /></Suspense>, and wrap fallible sections in an error boundary.
→ references/pages-suspense.md.
✓ The page only composes; the boundary lives here, not in the feature; route props are resolved to plain values before reaching feature components.references/ux-patterns.md.
✓ Feedback isn't doubled; destructive actions confirm; feature-owned client coordination stays with that feature instead of leaking into unrelated domains.Inspect the diff against every invariant — each is checkable by reading the changed files:
*-queries file or defines a route-specific component inline.params.then() / searchParams.then().params or searchParams.<Suspense> for page data sits in the page; no feature pre-wraps itself.*Skeleton in the same file, at the end; no tiny skeleton aliases just to pass props.*-queries.ts starts with import 'server-only'; every *-actions.ts with 'use server'.cacheComponents: true, reusable reads use 'use cache' / cacheTag / cacheLife, or 'use cache: private' / 'use cache: remote' when appropriate; any dynamic read is intentional and justified.updateTag() / revalidateTag(..., 'max') for the matching tags; refresh() is not a substitute for tag invalidation.<folder>-actions.ts; no sub-concept spawned its own folder.<domain>-cache.ts; queries, actions, hydration, query options, and hooks import from it.use-* hook wrappers in hooks/, leaf components in components/, and shared support only after real cross-feature reuse.'use client' components are leaves — they import actions/hooks/providers, not async server components.references/feature-folders.md — where code goes: folder layout, cache contracts, naming, and merging sub-concepts.references/queries-actions.md — query/action rules: server-only, dedup, validation, invalidation, return shape.references/components.md — server/client boundary, skeletons, use(), single-use helpers, live data.references/pages-suspense.md — page composition, params.then(), Suspense placement, CLS, error boundaries, prefetch.references/cache-components.md — the cacheComponents decisions: which reads to cache, which directive to use, how to invalidate.references/single-page-applications.md — client cache decisions: placement, server seeding, Cache Components coordination, hydration, and mutations.references/ux-patterns.md — interaction decisions: optimistic vs pending vs inline error, toasts, action-prop, confirmations.references/example.md — the next-beats reference app: invariant → file map, for seeing any rule in real code.© jakubwarkusz, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (references) in .agents/skills/nextjs-app-architecture of jakubwarkusz/themes.
Open the folder on GitHubat commit 1fb713c
We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in jakubwarkusz/themes, which our catalogue first saw on October 7, 2026.
Nextjs App Architecture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Nextjs App Architecture this skilljakubwarkusz/themes | 123 | 1 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Nuqstrycompai/crm | 11k | 1 repos | ~1.7k | Automated safety check: Pass | MIT | |
| React Best Practicesshapeshift/web | 206 | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Clean Code Refactorerfike/fastapi-blog | 101 | — | ~402 | Automated safety check: Pass | MIT | |
| Portaljs Connect Ckandatopian/portaljs | 2.4k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Senior Fullstackdavila7/claude-code-templates | 33k | 7 repos | ~1.1k | Automated safety check: Notes | MIT |
trycompai/crm
nuqs (type-safe URL query state) best practices for Next.js and other React frameworks.
shapeshift/web
Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering.
fike/fastapi-blog
Skill for identifying code smells and refactoring code using Clean Code, SOLID, and DRY principles.
datopian/portaljs
Wire a scaffolded PortalJS portal to a CKAN backend over its API.
davila7/claude-code-templates
Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL.
ragnar-pwninskjold/tech-snacks
Review React/Next.js code against the real vercel-react-best-practices skill, backlog the performance findings keyed to actual rule ids + impact tiers, rank the most over-subscribed tiers, then fix…
Categories
Build or audit Next.js 16 App Router apps using a next-beats-style React Server Components architecture. Nextjs App Architecture is an agent skill from jakubwarkusz/themes.js 16 App Router apps using a next-beats-style React Server Components architecture.
Nextjs App Architecture fits situations like: scaffolding a new app; adding a feature; reviewing an existing app; refactoring route-loader-shaped pages into feature-owned async server components.
Run `npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a claude-code`. Or copy the skill folder (.agents/skills/nextjs-app-architecture in jakubwarkusz/themes) into .claude/skills/nextjs-app-architecture in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a codex`. Or copy the skill folder (.agents/skills/nextjs-app-architecture in jakubwarkusz/themes) into .agents/skills/nextjs-app-architecture in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jakubwarkusz/themes --skill nextjs-app-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nextjs-app-architecture, .gemini/skills/nextjs-app-architecture, .github/skills/nextjs-app-architecture and .opencode/skills/nextjs-app-architecture in your project.
SKILL.md names no scripts, command-line tools or credentials: Nextjs App Architecture is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: preview.nextjs.org. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Nextjs App Architecture is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Nextjs App Architecture: Nuqs (trycompai/crm, 11k stars), React Best Practices (shapeshift/web, 206 stars), Clean Code Refactorer (fike/fastapi-blog, 101 stars) and Portaljs Connect Ckan (datopian/portaljs, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jakubwarkusz (a GitHub user) maintains it in jakubwarkusz/themes, which has 123 GitHub stars. The repository was last updated on October 7, 2026.
Source: jakubwarkusz/themes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.