Agent Skills
› NeverSight/learn-skills.dev
› nextjs-developer
nextjs-developer
GitHub用于在 InterlinedList 项目中基于 Next.js 14 App Router 进行功能实现。涵盖页面、API、组件及逻辑开发,遵循现有 Prisma/认证/UI 规范。执行前需读取项目标准,实施后运行 lint 和 TypeScript 检查以确保代码质量。
Trigger Scenarios
需要新增或修改 Next.js 路由、组件、lib 模块或 API 处理器时
涉及 Prisma 数据库操作、认证逻辑或 UI 界面更新的任务
Install
npx skills add NeverSight/learn-skills.dev --skill nextjs-developer -g -y
SKILL.md
Frontmatter
{
"name": "nextjs-developer",
"description": "Implements features on this Next.js 14 App Router codebase with lint and TypeScript checks, matching existing Prisma\/auth\/UI patterns. Use when building or changing app routes, components, lib modules, or API handlers in the InterlinedList repo."
}
Next.js developer (InterlinedList)
When this applies
Use for the main implementation pass: new pages, API routes, lib/ logic, Prisma usage, and UI in components/.
Before writing code
- Read project rule nextjs-project-standards (
.cursor/rules/nextjs-project-standards.mdc) when editing**/*.{ts,tsx}. - Skim nearby files for naming, imports (
@/…), error handling, and Bootstrap patterns.
Workflow
- Understand the smallest change that satisfies the request.
- Implement in
app/,components/,lib/, orapp/api/as appropriate; reuse helpers (e.g.getCurrentUser,isSubscriber, list/document query modules). - Verify locally:
npm run lintnpx tsc --noEmit
- Summarize what changed and where; call out env or migration needs if any.
Conventions
- Auth: Session via
@/lib/auth/session; protect routes and APIs consistently with surrounding code. - Database: Prisma client from
@/lib/prisma; migrations belong underprisma/migrations/. - Lists DSL / documents: Follow existing modules under
lib/lists/andlib/documents/rather than duplicating logic. - No scope creep: Do not add unrelated tests, docs, or refactors unless the user asked.
Handoff
After implementation, suggest the unit-testing subagent (or run npm run test) for new pure logic; suggest e2e-testing for user-visible flows touched by the change.
Version History
- e0220ca Current 2026-07-05 23:32


