Unverified Commit 30421ba1 authored by Jude Gao's avatar Jude Gao Committed by GitHub

Mark .agents/skills as internal so external `npx skills add` hides them (#93856)

Adds `metadata.internal: true` to all 12 `.agents/skills/*/SKILL.md` files so external `npx skills add /path/to/next.js` no longer lists Next.js framework-dev skills — only `next-compile` remains visible.

<!-- NEXT_JS_LLM_PR -->
parent 27dbc903
......@@ -7,6 +7,8 @@ description: >
Covers the supported spec fields, description writing, naming conventions,
and the relationship between always-loaded AGENTS.md and on-demand skills.
user-invocable: false
metadata:
internal: true
---
# Authoring Skills
......
......@@ -7,6 +7,8 @@ description: >
Covers if/else branching for webpack DCE, TypeScript definite assignment,
the NEXT_RUNTIME vs real feature flag distinction, and forcing flags false
for edge in define-env.ts.
metadata:
internal: true
---
# DCE + Edge
......
......@@ -6,6 +6,8 @@ description: >
next-server.ts, export/worker.ts, or module.compiled.js. Covers type
declaration, zod schema, build-time injection, runtime env plumbing,
and the decision between runtime env-var branching vs separate bundle variants.
metadata:
internal: true
---
# Feature Flags
......
......@@ -8,6 +8,7 @@ description: >
metadata:
author: github
version: '0.0.2'
internal: true
---
# gh-stack
......
......@@ -6,6 +6,8 @@ description: >
Covers blocker-first prioritization (build > lint > types > tests),
CI env var matching for local reproduction, and the Known Flaky Tests
distinction.
metadata:
internal: true
---
# PR Status Triage
......
......@@ -8,6 +8,8 @@ description: >
React channels, type declarations, Turbopack remap to
react-server-dom-turbopack, ComponentMod access patterns, and ESLint
suppression for guarded requires.
metadata:
internal: true
---
# React Vendoring
......
......@@ -7,6 +7,8 @@ description: >
Covers the act API, fixture patterns, prefetch control via LinkAccordion,
fake clocks, and avoiding flaky testing patterns.
user-invocable: false
metadata:
internal: true
---
# Router Act Testing
......
......@@ -7,6 +7,8 @@ description: >
traces, or runtime bundle selection (module.compiled.js). Covers CI env
mirroring, full stack traces via __NEXT_SHOW_IGNORE_LISTED, route trace
inspection, and webpack stats diffing.
metadata:
internal: true
---
# Runtime Debug
......
---
name: update-docs
description: This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.
metadata:
internal: true
---
# Next.js Documentation Updater
......
......@@ -8,6 +8,8 @@ description: >
megamorphic deopt, closure allocation, array packing, and profiling with
--trace-opt / --trace-deopt.
user-invocable: false
metadata:
internal: true
---
# V8 JIT Optimization
......
......@@ -10,6 +10,8 @@ description: |
**Output type:** A markdown (.mdx) API reference page with YAML frontmatter, usage example, reference section, behavior notes, and examples.
agent: Plan
context: fork
metadata:
internal: true
---
# Writing API Reference Pages
......
......@@ -10,6 +10,8 @@ description: |
**Output type:** A markdown guide with YAML frontmatter, introduction, 2-4 progressive steps, and next steps section.
agent: Plan
context: fork
metadata:
internal: true
---
# Writing Guides
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment