Imported from seanmcquaid/scaffolding-templates (templates/next-ssr/AGENTS.md). Install upstream with npx skills add seanmcquaid/scaffolding-templates --skill next-ssr. Copyright stays with the author.
Next.js SSR Template
Commands
# Install dependenciespnpm install# Start development server (with Turbopack)pnpm dev# Build for productionpnpm build# Start production serverpnpm start# Run unit testspnpm test# Run tests in watch modepnpm test:watch# Run tests with coveragepnpm test:coverage# Run lintingpnpm lint# Fix lint errorspnpm lint:fix# Run Playwright E2E testspnpm playwright:run-e2e# Run Playwright integration testspnpm playwright:run-integration
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/seanmcquaid-scaffolding-templates-next-ssr/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.