agentleFS
tuanductrantuanductran/nextdns-skills/skills/nextdns-frontend/SKILL.md

nextdns-frontend

Skill4 starsChanged 4 months agoMITView on GitHub

Nuxt, Next.js, Astro, SvelteKit, and React Router v8 patterns for building a secure, full-featured NextDNS management dashboard. Patterns for Nuxt 4 (Vue) projects. Patterns for Next.js 16 (React) projects using the App Router.

  • Reads credentials

The file

Files
SKILL.md
<!-- @case-police-ignore Api -->

NextDNS frontend skills

Nuxt, Next.js, Astro, SvelteKit, and React Router v8 patterns for building a secure, full-featured NextDNS management dashboard.

Nuxt rules

Patterns for Nuxt 4 (Vue) projects.

RuleKeywordsDescription
api-proxyapi key, bff, server route, proxy, runtimeConfig, securityProxy X-Api-Key through Nuxt server routes (BFF)
project-setupnuxt, setup, nuxt.config, runtimeConfig, environment variablesBootstrap a Nuxt 4 project for NextDNS integration
profile-management-uiprofile, crud, useFetch, composable, vueBuild profile list, create, update, and delete flows
logs-streaminglogs, streaming, sse, event source, real-time, server-sent eventsProxy and consume the NextDNS SSE log stream
analytics-chartsanalytics, charts, time series, dashboard, visualizationFetch and render analytics and time-series data
error-handlingerror handling, notifications, toast, createError, api errorsMap NextDNS API errors to Nuxt UI notifications
tanstack-querytanstack query, vue query, cache, mutation, optimistic, infiniteAdvanced data fetching with Vue Query and cache invalidation

Next.js rules

Patterns for Next.js 16 (React) projects using the App Router.

RuleKeywordsDescription
api-proxyapi key, bff, route handler, proxy, process.env, securityProxy X-Api-Key through Next.js Route Handlers (BFF)
project-setupnext.js, setup, next.config, env vars, typescript, app routerBootstrap a Next.js 16 project for NextDNS integration
profile-management-uiprofile, crud, server component, react, fetchBuild profile list, create, update, and delete flows
logs-streaminglogs, streaming, sse, readable stream, real-time, server-sentProxy and consume the NextDNS SSE log stream
analytics-chartsanalytics, charts, time series, dashboard, server componentFetch and render analytics and time-series data
error-handlingerror handling, error boundary, next response, toast, api errorsMap NextDNS API errors to React/Next.js error UI
tanstack-querytanstack query v5, react query, hydration, prefetch, infinitePrefetch in Server Components and mutate in Client Components

Astro rules

Patterns for Astro (React islands) projects.

RuleKeywordsDescription
api-proxyapi key, bff, endpoint, proxy, import.meta.env, securityProxy X-Api-Key through Astro API endpoints (BFF)
project-setupastro, setup, astro.config, ssr, adapter, react integrationBootstrap an Astro + React project for NextDNS integration
profile-management-uiprofile, crud, astro page, react island, client directive, hydrationBuild profile list, create, update, and delete flows
logs-streaminglogs, streaming, sse, readable stream, real-time, client:onlyProxy and consume the NextDNS SSE log stream
analytics-chartsanalytics, charts, time series, dashboard, react island, swrFetch and render analytics and time-series data
error-handlingerror handling, error page, astro actions, api errors, react islandMap NextDNS API errors to Astro pages and React islands
server-islandsserver islands, server:defer, lazy load, performance, astro 6Lazy-load analytics panels with Astro 6 Server Islands

SvelteKit rules

Patterns for SvelteKit (Svelte 5) projects.

RuleKeywordsDescription
api-proxyapi key, bff, +server.ts, proxy, $env/static/private, securityProxy X-Api-Key through SvelteKit +server.ts routes (BFF)
project-setupsveltekit, setup, svelte.config, adapter, environment variablesBootstrap a SvelteKit project for NextDNS integration
profile-management-uiprofile, crud, load function, form actions, svelte, page.server.tsBuild profile list, create, update, and delete flows
logs-streaminglogs, streaming, sse, event source, real-time, readable streamProxy and consume the NextDNS SSE log stream
analytics-chartsanalytics, charts, time series, dashboard, visualizationFetch and render analytics and time-series data
error-handlingerror handling, +error.svelte, error(), fail(), api errorsMap NextDNS API errors to SvelteKit error boundaries
websocket-alternativepolling, long-polling, cloudflare, edge, sse fallback, intervalPolling-based log fetching for platforms without SSE

React router v8 rules

Patterns for React Router v8 (formerly Remix) projects.

RuleKeywordsDescription
api-proxyapi key, bff, resource route, proxy, process.env, securityProxy X-Api-Key through React Router resource routes (BFF)
project-setupreact router, setup, react-router.config, ssr, environment variablesBootstrap a React Router v8 project for NextDNS integration
profile-management-uiprofile, crud, loader, action, react, formBuild profile list, create, update, and delete flows
logs-streaminglogs, streaming, sse, resource route, readable stream, real-timeProxy and consume the NextDNS SSE log stream
analytics-chartsanalytics, charts, time series, dashboard, loader, rechartsFetch and render analytics and time-series data
error-handlingerror handling, ErrorBoundary, loader errors, action errors, apiMap NextDNS API errors to React Router error boundaries
data-revalidationshouldRevalidate, fetcher, defer, await, revalidation, performanceControl loader revalidation and background mutations

Related skills

  • nextdns-api: REST endpoint reference — used by every server route in this skill.
  • nextdns-ui: Web dashboard strategy — complements this skill for configuration best practices.

Resources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.