Skip to content
Back to skills

Dhpk Nextjs 15 5 Notes

ASecurity

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 verifica...

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
developmenttypescriptbashreactnextjsapifrontend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 24, 2026

npx -y skills add hmj1026/dhpk --skill dhpk-nextjs-15-5-notes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dhpk Nextjs 15 5 Notes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dhpk Nextjs 15 5 Notes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hmj1026-dhpk-nextjs-15-5-notes/badge)](https://www.skillsdirectory.com/skills/hmj1026-dhpk-nextjs-15-5-notes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md4 KB
  • agents/openai.yaml252 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.