Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

nextjs-deliverable-criteriaNext.js deliverable criteria 搜索

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

216

周安装

9

GitHub Stars

2

下载量

72
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nextjs-deliverable-criteria(Next.js deliverable criteria 搜索)
来源仓库:https://github.com/masanao-ohba/claude-manifests
仓库路径:skills/nextjs-deliverable-criteria
安装命令:
npx skills add https://github.com/masanao-ohba/claude-manifests --skill nextjs-deliverable-criteria
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/masanao-ohba/claude-manifests --skill nextjs-deliverable-criteria

简介

用于定义和检索 Next.js 项目的交付标准与验收条件。

  • 适用于项目规划阶段明确功能范围和质量要求。
  • 帮助团队统一理解项目目标,减少需求偏差。
  • 需根据实际业务场景调整标准内容,确保可执行性。
  • nextjs-deliverable-criteria 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Next.js Deliverable Quality Gates

Pre-Deployment Checklist

Compilation

Requirements:

  • TypeScript compilation passes without errors
  • Next.js build completes successfully (next build)
  • No build warnings for missing pages or routes
  • Static generation succeeds for all designated pages

Commands:

npm run build
npm run type-check  # if configured

Acceptance:

  • Pass: Build completes with exit code 0
  • Fail: Any TypeScript errors or build failures

Linting

Requirements:

  • ESLint passes with no errors
  • ESLint warnings reviewed and addressed
  • Prettier formatting applied consistently
  • No disabled rules without justification

Commands:

npm run lint
npm run format:check  # if configured

Acceptance:

  • Pass: Zero lint errors, warnings reviewed and justified
  • Fail: Any lint errors or unaddressed critical warnings

Testing

Requirements:

  • All tests passing
  • No skipped tests without justification
  • Coverage meets minimum thresholds
  • E2E tests pass for critical paths

Commands:

npm test
npm run test:e2e
npm run test:coverage

Acceptance:

  • Pass: 100% test pass rate, coverage > 80% for core features
  • Fail: Any failing tests or coverage below threshold

Functionality

Routing

Criteria:

  • All routes accessible and render correctly
  • Dynamic routes handle all expected params
  • 404 pages show for invalid routes
  • Navigation works without page refresh
  • Deep linking works (URLs are shareable)

Verification:

  • Manual testing of all routes
  • E2E tests covering navigation flows
  • Browser back/forward buttons work correctly

Data Fetching

Criteria:

  • All data displays correctly on initial load
  • Loading states show during data fetch
  • Error states display for failed requests
  • Stale data invalidated appropriately
  • No unnecessary re-fetches

Verification:

  • Test with slow 3G network simulation
  • Test with offline mode
  • Verify caching behavior
  • Check Network tab for request patterns

Interactivity

Criteria:

  • All forms submit successfully
  • Form validation works correctly
  • Buttons and links respond to clicks
  • Loading indicators during async operations
  • Success/error feedback after actions

Verification:

  • Test all user flows
  • Verify form validation messages
  • Test keyboard navigation
  • Test with JavaScript disabled (where applicable)

Performance

Core Web Vitals

Requirements:

MetricTarget
Largest Contentful Paint (LCP)< 2.5s
First Input Delay (FID)< 100ms
Cumulative Layout Shift (CLS)< 0.1
First Contentful Paint (FCP)< 1.8s
Time to Interactive (TTI)< 3.8s

Verification:

  • Lighthouse audit score > 90
  • PageSpeed Insights check
  • WebPageTest.org analysis
  • Real-world testing on 3G networks

Bundle Size

Criteria:

  • Initial JavaScript bundle < 200KB (gzipped)
  • Total page weight < 1MB
  • No duplicate dependencies in bundle
  • Large libraries loaded dynamically

Verification:

  • Bundle analysis with @next/bundle-analyzer
  • Check Network tab in DevTools
  • Verify code splitting working

Caching

Criteria:

  • Static assets cached appropriately
  • API responses cached with correct strategy
  • Stale-while-revalidate for dynamic content
  • Cache invalidation works after updates

Verification:

  • Check Response headers (Cache-Control)
  • Verify cache behavior in Network tab
  • Test cache invalidation scenarios

Accessibility

WCAG Compliance

Criteria:

  • WCAG 2.1 Level AA compliance
  • All images have alt text
  • Proper heading hierarchy (h1-h6)
  • Sufficient color contrast (4.5:1 for text)
  • Keyboard navigation works completely
  • Screen reader friendly

Verification:

  • Lighthouse accessibility audit > 95
  • axe DevTools scan with 0 violations
  • Manual keyboard navigation test
  • Screen reader test (VoiceOver/NVDA)

Focus Management

Criteria:

  • Focus visible on all interactive elements
  • Tab order logical and predictable
  • Focus trapped in modals
  • Skip links for keyboard users

Verification:

  • Tab through entire page
  • Verify focus indicators visible
  • Test modal focus behavior

SEO

Metadata

Criteria:

  • Unique title for each page
  • Meta descriptions for all pages
  • Open Graph tags for social sharing
  • Twitter Card metadata
  • Canonical URLs set correctly
  • Robots.txt configured
  • Sitemap.xml generated

Verification:

  • View page source for each route
  • Test social share previews
  • Check robots.txt and sitemap.xml
  • Google Search Console validation

Structured Data

Criteria:

  • Schema.org markup where appropriate
  • JSON-LD for structured data
  • Valid structured data (no errors)

Verification:

  • Google Rich Results Test
  • Schema markup validator

Security

Authentication

Criteria:

  • Protected routes require authentication
  • JWT tokens stored securely (httpOnly cookies)
  • Session timeout implemented
  • Logout clears all auth data

Verification:

  • Test accessing protected routes without auth
  • Verify token storage method
  • Test session expiration

API Security

Criteria:

  • Input validation on all API routes
  • SQL injection prevention (parameterized queries)
  • XSS prevention (sanitized output)
  • CSRF protection for mutations
  • Rate limiting on public endpoints
  • API keys in environment variables

Verification:

  • Penetration testing
  • Input fuzzing
  • Check.env not committed
  • Verify CORS configuration

Headers

Criteria:

  • Content-Security-Policy header set
  • X-Frame-Options set to DENY or SAMEORIGIN
  • X-Content-Type-Options: nosniff
  • Strict-Transport-Security (HSTS) for HTTPS

Verification:

  • Security headers check (securityheaders.com)
  • Verify headers in Response

Mobile

Responsive Design

Criteria:

  • Works on screen sizes 320px - 2560px
  • Touch targets minimum 44x44px
  • No horizontal scrolling on mobile
  • Font sizes readable on mobile (16px minimum)
  • Images scale appropriately

Verification:

  • Test on actual devices (iOS, Android)
  • Chrome DevTools device emulation
  • Test in portrait and landscape

Performance

Criteria:

  • LCP < 2.5s on 3G
  • First load < 3s on 3G
  • Total page weight < 500KB for mobile

Verification:

  • Lighthouse mobile audit
  • Test on 3G throttled connection

Browser Compatibility

Support

Criteria:

  • Last 2 versions of Chrome, Firefox, Safari, Edge
  • Safari iOS latest 2 versions
  • Chrome Android latest 2 versions
  • Graceful degradation for older browsers

Verification:

  • BrowserStack testing
  • Manual testing on major browsers
  • Check caniuse.com for feature support

Error Handling

User Experience

Criteria:

  • Error boundaries catch all React errors
  • User-friendly error messages
  • Recovery options provided (retry, go back)
  • Errors logged to monitoring service

Verification:

  • Simulate various error conditions
  • Verify error tracking in monitoring service
  • Check error messages are non-technical

Monitoring

Production Readiness

Criteria:

  • Error tracking configured (Sentry, etc.)
  • Performance monitoring active
  • Analytics tracking implemented
  • Health check endpoint available
  • Logging configured appropriately

Verification:

  • Verify errors appear in tracking service
  • Check analytics events firing
  • Test /api/health endpoint

Deployment

Configuration

Criteria:

  • Environment variables documented
  • Production.env.production configured
  • Database migrations applied
  • CDN configuration verified
  • Domain SSL certificate valid

Verification:

  • Review.env.example completeness
  • Verify all environment variables set in production
  • Check SSL certificate expiration

Rollback Plan

Criteria:

  • Rollback procedure documented
  • Previous version can be restored quickly
  • Database migrations are reversible

Final Sign-Off

Required Approvals

  • Developer self-review completed
  • Peer code review approved
  • QA testing passed
  • Product owner acceptance
  • Security review completed (for sensitive features)
  • Performance benchmarks met
  • Accessibility audit passed

Documentation

  • README updated
  • API documentation current
  • Deployment instructions documented
  • Environment variables documented
  • Known issues documented

Release Notes

  • CHANGELOG updated
  • Breaking changes documented
  • Migration guide provided (if needed)

Acceptance

Go/No-Go

Pass Criteria:

  • All critical tests passing
  • No critical bugs open
  • Performance meets requirements
  • Security review complete
  • Accessibility standards met

Blockers:

  • Any critical security vulnerabilities
  • Core functionality broken
  • Performance regression > 20%
  • Accessibility violations
  • Data loss scenarios

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.36%
按下载量换算25

Claude

30.63%
按下载量换算22

Cursor

17.23%
按下载量换算12

Gemini CLI

9.55%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills