
mohamed-hossam1/nextjs-skills
2 skills2.2k installs16 starsGitHub
Install
npx skills add https://github.com/mohamed-hossam1/nextjs-skillsSkills in this repo
1Nextjs Cache Architecturenextjs-cache-architecture is a Next.js 16+ App Router skill for designing correct, scalable caching architecture in production applications. It covers the use cache directive, cache tag registry patterns, mutation-to-invalidation wiring with cacheTag, updateTag, and revalidateTag, cacheLife profile selection, and Suspense boundaries for partial prerendering with personalized content near cache boundaries. Developers reach for nextjs-cache-architecture when data appears stale, over-fetched, or incorrectly fresh, or when migrating from unstable_cache to the Next.js 16 caching model. The skill triggers on domain descriptions like posts tables or product catalogs, not only explicit cache keywords, and addresses debugging stale and fresh data edge cases.2.2kinstalls2Next Action HandlerSets up and uses next-action-handler, a server-action layer that standardizes errors, logging, and auth context via next-safe-action, better-auth, pino, and zod. A developer uses it to scaffold action clients, required actionName metadata, and authed actions in a Next.js app.3installs