Dhpk Nextjs 15 5 Notes
ASecurityNext.js 15.5 (current stable; the 15.x line ends at v15.5.19) signature features and traps. Use when writing or reviewing Next.js 15.5 code or a package constrained to ^15.5. Covers typegen, typed routes, beta Turbopack production builds, and the next lint deprecation. Not for application business logic; pair with `dhpk-react-18-notes` or `dhpk-react-19-notes` for React guidance and `dhpk-nextjs-16-notes` for the upgrade target. Output: version-specific guidance, migration traps, and verifica...
- 2 stars
- 0 votes
- 0 copies
- 1 view
- Added September 2, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add hmj1026/dhpk --skill dhpk-nextjs-15-5-notes --agent claude-codeAre you the author of Dhpk Nextjs 15 5 Notes?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hmj1026-dhpk-nextjs-15-5-notes)---
name: dhpk-nextjs-15-5-notes
description: "Next.js 15.5 (current stable; the 15.x line ends at v15.5.19) signature features and traps. Use when writing or reviewing Next.js 15.5 code or a package constrained to ^15.5. Covers typegen, typed routes, beta Turbopack production builds, and the next lint deprecation. Not for application business logic; pair with `dhpk-react-18-notes` or `dhpk-react-19-notes` for React guidance and `dhpk-nextjs-16-notes` for the upgrade target. Output: version-specific guidance, migration traps, and verification gates."
metadata:
dhpk-invocation-class: implicit-eligible
---
# Next.js 15.5 — current stable
Current stable release of the 15.x line. **The 15.x line ends at
v15.5.19** — 15.6 never shipped stable (canary-only) before the jump
to 16.0, so there is **no `nextjs-15.6` module**.
> Read [frontend-framework-routing.md](references/frontend-framework-routing.md) for family
> selection and compatibility. This module owns Next.js 15.5 APIs and
> migration traps after routing.
---
## Signature features
### `next typegen`
Introduced in 15.5.0. Generates TypeScript definitions for routes and
route params, writing to `<distDir>/types`, without running a full
`next build`:
```bash
next typegen
```
### Stable typed routes
`typedRoutes` is promoted out of `experimental` — it is now a
top-level `next.config` key (requires TypeScript in the project):
```js
/** @type {import('next').NextConfig} */
const nextConfig = { typedRoutes: true }
module.exports = nextConfig
```
### Beta Turbopack production builds
```bash
next build --turbopack
```
Turbopack production-build support was experimental in 15.3.0 and
became **beta** in 15.5.0. Turbopack for `next dev` has been
**stable since 15.0.0**. In 15.5, Turbopack is **not yet the
default** for builds — you opt in with the flag; its absence still
means webpack.
### AMP support deprecated
AMP support is deprecated in the 15.x line.
---
## Migration traps
### `next lint` deprecated
`next lint` is deprecated in 15.5 (scheduled for removal in 16 —
cross-reference `dhpk-nextjs-16-notes`). Migration path off it is the
ESLint CLI directly; a codemod automates the swap:
```bash
npx @next/codemod@canary next-lint-to-eslint-cli .
```
Note: projects already using a non-ESLint linter see no build-time
lint step run automatically once `next lint` is dropped.
### 15.x line end-of-life at v15.5.19
The 15.x line ends at **v15.5.19** — 15.6 never went stable (canary
only before the jump to 16.0). Do not expect a `nextjs-15.6` module;
plan upgrades straight from 15.5 to 16.
---
## What's missing compared to 16
- **Turbopack is not yet the default** — still opt-in via
`--turbopack` for `next build` (stable default arrives in 16)
- **`next lint` still exists** — deprecated but present; removed in
16
- **Synchronous access to Request APIs** (`params`, `searchParams`,
`cookies`, `headers`) still has a compatibility shim in 15.5 — 16
removes it (async-only)
---
## When NOT to Use
Not for application business logic. Not for a project on a different
Next.js major — use `dhpk-nextjs-16-notes`. Not for generic JS/TS tooling
concerns (ESLint config, typing strategy) — use the `js` module.
## Output
Framework-touching code or review notes that match Next.js 15.5's
APIs (App Router files, `next.config`, build tooling) — flag any
`next lint` usage, un-opted Turbopack build assumption, or sync
Request-API access that actually belongs to a different major.
## Verification
- Confirm the project runs 15.5 (`package.json` `next` on `^15.5`,
or `npx next --version`).
- Note the React 18/19 floor before using version-gated React APIs.
- Cross-check any cited API against Context7 `/vercel/next.js`,
since Next.js ships frequently.
---
## Cross-references
- `skills/dhpk-nextjs-16-notes/SKILL.md` — the upgrade
target (Turbopack-by-default, `next lint` removed)
- `skills/dhpk-react-18-notes/SKILL.md` and
`skills/dhpk-react-19-notes/SKILL.md` — pair a React major
cross-stack for React-language guidance
- `modules/js/skills/` — the generic JS/TS ESLint + typing tooling
module
Files in this skill
- SKILL.md
- agents/openai.yaml
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.