authoring-skills by vercel/next.js
npx skills add https://github.com/vercel/next.js --skill authoring-skills在 .agents/skills/ 目录中创建或修改智能体技能时使用此技能。
当内容符合以下情况时创建技能:
以下情况应保留在 AGENTS.md 中:
.agents/skills/
└── my-skill/
├── SKILL.md # 必需:前言元数据 + 内容
├── workflow.md # 可选:补充细节
└── examples.md # 可选:在 SKILL.md 中引用
---
name: my-skill # 必需。用于 $name 引用和 /name 命令。
description: > # 必需。Claude 如何决定自动加载此技能。
此技能涵盖的内容及使用时机。包含文件名和关键词。
argument-hint: '<pr-number>' # 可选。预期参数的提示。
user-invocable: false # 可选。设为 false 可从 / 菜单中隐藏。
disable-model-invocation: true # 可选。设为 true 可防止自动触发。
allowed-tools: [Bash, Read] # 可选。无需许可即可使用的工具。
model: opus # 可选。模型覆盖。
context: fork # 可选。隔离的子智能体执行。
agent: Explore # 可选。子智能体类型(与 context: fork 配合使用)。
---
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
仅使用此列表中的字段。未知字段将被静默忽略。
description 是自动激活的主要匹配依据。应包含:
config-shared.ts)# 过于模糊 - 无法可靠地自动触发
description: Helps with flags.
# 良好 - 包含用于匹配的特定文件和概念
description: >
如何端到端地添加或修改 Next.js 实验性功能标志。
在编辑 config-shared.ts、config-schema.ts、define-env-plugin.ts 时使用。
技能应告诉智能体要做什么,而不仅仅是知道什么:
| AGENTS.md(始终加载) | 技能(按需加载) |
|---|---|
| 一行式护栏 | 分步工作流 |
| "对于 DCE,将 require() 放在 if/else 后面" | 包含代码示例、验证命令、边界情况的完整 DCE 模式 |
通过 $name 指向技能 | 扩展 AGENTS.md 中的规则 |
添加技能时,还需在 AGENTS.md 的相关部分添加一行式摘要,并附带 $skill-name 引用。
flags、dce-edge、react-vendoring.agents/skills/ 限定范围)对于复杂技能,使用中心 + 细节模式:
pr-status-triage/
├── SKILL.md # 概述、快速命令、指向细节的链接
├── workflow.md # 优先级排序和模式
└── local-repro.md # CI 环境匹配
每周安装次数
359
仓库
GitHub 星标数
138.5K
首次出现
2026 年 2 月 17 日
安全审计
安装于
gemini-cli340
opencode340
codex340
github-copilot339
kimi-cli336
amp335
Use this skill when creating or modifying agent skills in .agents/skills/.
Create a skill when content is:
Keep in AGENTS.md instead when:
.agents/skills/
└── my-skill/
├── SKILL.md # Required: frontmatter + content
├── workflow.md # Optional: supplementary detail
└── examples.md # Optional: referenced from SKILL.md
---
name: my-skill # Required. Used for $name references and /name commands.
description: > # Required. How Claude decides to auto-load the skill.
What this covers and when to use it. Include file names and keywords.
argument-hint: '<pr-number>' # Optional. Hint for expected arguments.
user-invocable: false # Optional. Set false to hide from / menu.
disable-model-invocation: true # Optional. Set true to prevent auto-triggering.
allowed-tools: [Bash, Read] # Optional. Tools allowed without permission.
model: opus # Optional. Model override.
context: fork # Optional. Isolated subagent execution.
agent: Explore # Optional. Subagent type (with context: fork).
---
Only use fields from this list. Unknown fields are silently ignored.
The description is the primary matching surface for auto-activation. Include:
config-shared.ts)# Too vague - won't auto-trigger reliably
description: Helps with flags.
# Good - specific files and concepts for matching
description: >
How to add or modify Next.js experimental feature flags end-to-end.
Use when editing config-shared.ts, config-schema.ts, define-env-plugin.ts.
Skills should tell the agent what to do , not just what to know :
| AGENTS.md (always loaded) | Skills (on demand) |
|---|---|
| One-liner guardrails | Step-by-step workflows |
| "Keep require() behind if/else for DCE" | Full DCE pattern with code examples, verification commands, edge cases |
Points to skills via $name | Expands on AGENTS.md rules |
When adding a skill, also add a one-liner summary to the relevant AGENTS.md section with a $skill-name reference.
flags, dce-edge, react-vendoring.agents/skills/)For complex skills, use a hub + detail pattern:
pr-status-triage/
├── SKILL.md # Overview, quick commands, links to details
├── workflow.md # Prioritization and patterns
└── local-repro.md # CI env matching
Weekly Installs
359
Repository
GitHub Stars
138.5K
First Seen
Feb 17, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli340
opencode340
codex340
github-copilot339
kimi-cli336
amp335
Vue 3 调试指南:解决响应式、计算属性与监听器常见错误
9,900 周安装
Rust调用关系图生成器 - 可视化函数调用层次结构,提升代码分析效率
539 周安装
parallel-web-extract:并行网页内容提取工具,高效抓取网页数据
595 周安装
腾讯云CloudBase AI模型Web技能:前端调用混元/DeepSeek模型,实现流式文本生成
560 周安装
Apollo Connectors 模式助手:GraphQL API 连接器开发与集成指南
565 周安装
GitHub Trending 趋势分析工具:实时发现热门项目、技术洞察与开源机会
556 周安装
GSAP React 集成教程:useGSAP Hook 动画库与 React 组件开发指南
546 周安装