AGENT SKILL

教程内容版本校验

version-checker

验证教程内容是否引用了当前的工具版本、API、CLI 命令和功能。适用于审查内容中的过时信息、检查弃用情况、验证功能可用性、审计工具引用或更新过时的版本号。涵盖 GitHub Copilot(VS Code + CLI)、Claude Code、VS Code 设置、MCP 和 Agent Skills 标准。

License 许可
MIT
最近更新
2026-10-22
Stars
★ 21
Forks
6

01 前言 Front Matter

name
version-checker
description
Validate that tutorial content references current tool versions, APIs, CLI commands, and features. Use when reviewing content for outdated information, checking deprecations, verifying feature availability, auditing tool references, or updating stale version numbers. Covers GitHub Copilot (VS Code + CLI), Claude Code, VS Code settings, MCP, and Agent Skills standard.
allowed-tools
Bash(grep:*) Read fetch

03 SKILL.md 正文

Version Currency Checker

This skill validates that AI-Native Development Tutorial content references current versions, features, CLI commands, and terminology for all tools mentioned.

When to Use This Skill

  • Before publishing new tutorial content
  • After major tool updates (VS Code, GitHub Copilot, Claude Code, etc.)
  • When users report outdated information
  • During quarterly content audits (minimum monthly for CLI commands)
  • When adding references to new tools or features

Tools and Features to Check

GitHub Copilot (VS Code)

Feature Current Status Check For Verify At
Agent Mode Stable References to "Agent" in mode picker docs.github.com/copilot
Custom Agents Stable .agent.md file extension Agent docs
Agent Skills Preview chat.useAgentSkills setting VS Code release notes
Copilot Coding Agent Stable GitHub.com autonomous agent GitHub Copilot docs
Model Picker Stable Model selection in chat VS Code Copilot release notes

Deprecated terminology to flag:

  • "Chat modes" → Now called "Custom Agents"
  • .chatmode.md → Now .agent.md

GitHub Copilot CLI

Command Current Syntax Check For Verify At
Install gh extension install github/gh-copilot Package name, install method GitHub CLI docs
Invoke gh copilot Command syntax Official docs
Suggest gh copilot suggest Subcommand names gh copilot --help
Explain gh copilot explain Subcommand names gh copilot --help

Claude Code (Anthropic)

Feature Current Syntax Check For Verify At
Install (npm) npm install -g @anthropic-ai/claude-code Package name anthropic.com/claude-code
Install (brew) brew install anthropic/tap/claude-code Tap name, formula Homebrew tap
Invoke claude Binary name Official docs
Config location ~/.claude/ Path Claude Code docs
CLAUDE.md Project instructions file Filename, location Official docs
MCP support --mcp-server flag Flag syntax claude --help

Claude Code commands to verify:

  • /help — Show available commands
  • /clear — Clear conversation
  • /config — View/edit configuration
  • /mcp — MCP server management
  • /model — Model selection

Deprecated Claude Code patterns to flag:

  • Old package names (verify @anthropic-ai/claude-code is current)
  • Old config paths (if changed)

VS Code Settings

Setting Purpose Verify
chat.useAgentSkills Enable Agent Skills Still valid setting name

Agent Skills Standard

  • Specification at agentskills.io
  • Folder location: .github/skills/ (recommended) or .claude/skills/ (legacy)
  • Personal skills: ~/.copilot/skills/ (recommended) or ~/.claude/skills/ (legacy)

MCP (Model Context Protocol)

  • GitHub MCP Server availability
  • Remote vs local server options
  • Toolset configuration

Pre-Ship Command Verification

Before publishing, verify all CLI commands are current by checking official documentation:

Step 0: Extract All CLI Commands

# Find all shell/bash code blocks with install or CLI commands
Select-String -Path "src/content/**/*.md" -Pattern "npm install|brew install|gh copilot|gh extension|claude |npx " | 
    Select-Object Filename, LineNumber, Line | 
    Format-Table -Wrap

Step 1: Verify GitHub Copilot CLI

  1. Check current install method: gh extension install github/gh-copilot
  2. Run gh copilot --help to verify subcommand names
  3. Cross-reference: GitHub Copilot CLI docs

Step 2: Verify Claude Code

  1. Check npm package: npm view @anthropic-ai/claude-code (or search npmjs.com)
  2. Check Homebrew: brew info anthropic/tap/claude-code
  3. Run claude --help to verify command flags
  4. Cross-reference: Claude Code docs

Step 3: Verify MCP Commands

  1. Check MCP server install methods against modelcontextprotocol.io
  2. Verify configuration syntax in any mcp.json examples

Verification Process

Step 1: Extract Tool References

Scan all tutorial markdown files for:

src/content/tutorial/part-*.md

Look for:

  • VS Code setting names (chat.*, github.copilot.*)
  • File extensions (.agent.md, .instructions.md, SKILL.md)
  • Folder paths (.github/agents/, .github/skills/, .github/instructions/)
  • Feature names (Agent Mode, Plan Mode, etc.)
  • URLs to documentation

Step 2: Check Against Current Documentation

For each reference found:

  1. Verify the feature/setting still exists
  2. Check if naming has changed
  3. Confirm the described behavior matches current behavior
  4. Note any preview/experimental status changes

Step 3: Generate Currency Report

## Version Currency Report

**Audit Date:** [date]
**Tutorial Version:** [version]
**Tools Verified Against:**
- GitHub Copilot CLI: [version or "latest as of date"]
- Claude Code: [version or "latest as of date"]
- VS Code: [version]

### ✅ Current References
| Reference | Location | Status |
|-----------|----------|--------|
| [feature] | [file:line] | Current |

### ⚠️ Outdated References
| Reference | Location | Issue | Fix |
|-----------|----------|-------|-----|
| [feature] | [file:line] | [what's wrong] | [suggested update] |

### ? Unverified References
| Reference | Location | Notes |
|-----------|----------|-------|
| [feature] | [file:line] | [why unverified] |

### ? CLI Commands Verified
| Command | Location | Verified? | Notes |
|---------|----------|-----------|-------|
| `npm install -g @anthropic-ai/claude-code` | module-f | ✅/❌ | [notes] |
| `gh extension install github/gh-copilot` | module-f | ✅/❌ | [notes] |
| `brew install anthropic/tap/claude-code` | module-f | ✅/❌ | [notes] |

Step 4: Check Availability Notes

The tutorial includes availability notes like:

⚠️ **Availability Note (January 2026):**
Agent Skills is in **preview** in VS Code stable.

Verify these notes are still accurate and update dates if needed.

Known Volatile Areas

These parts of the tutorial reference fast-changing features:

  1. Part 5: Custom Agents - Agent picker location, file extensions
  2. Part 6: Agent Skills - Preview status, setting name, folder paths
  3. Part 8: Troubleshooting - Setting names, feature availability
  4. Module F: Terminal AI - Claude Code install commands, Copilot CLI syntax
  5. Module G: Build Agent - CI/CD commands, GitHub Actions syntax
  6. Module H: Pipelines - MCP server configuration, remote tooling

Rapidly-Evolving Commands (Check Monthly)

Command Location Why It Changes
npm install -g @anthropic-ai/claude-code module-f Package name/scope may change
gh extension install github/gh-copilot module-f Extension name may change
brew install anthropic/tap/claude-code module-f Tap/formula names may change
MCP server configs module-a, module-f Protocol evolving rapidly

Update Checklist

When updating outdated references:

  • [ ] Update the feature name/setting in all occurrences
  • [ ] Update any screenshots or diagrams
  • [ ] Update the troubleshooting section if affected
  • [ ] Add/update availability notes with current date
  • [ ] Run npm run build to verify no broken references
  • [ ] Update this skill's reference table if tool landscape changed

04 同仓库更多 Skills

microsoft
microsoft/learn-ai-native-dev

AI 教程内容质量审查

tutorial-content-qa

对 AI-Native 开发教程的所有轨道(Foundation、Advanced、Terminal)进行全面质量保证。适用于审查内容的准确性、清晰性、一致性和完整性。可用于校对、检查错误、内容审计或发布前的 QA 检查。

技术文档工程师内容质量审核与优化
★ 21
microsoft
microsoft/learn-ai-native-dev

AI 教程示例轨道生成

track-generator

为 AI-Native 教程生成新的示例轨道(track)。适用于创建新的行业示例、添加新轨道、构建项目模板或扩展学习路径。可用于“添加医疗行业轨道”“创建新示例”“新建行业模板”等问题。生成一致的 ExampleTrack 数据,包含所有必填字段,如 projectName、requirements、colorCoding、taskExamples 和与 exampleTracks.ts 中 TypeScript 接口相匹配的验证示例。

教师学习引导
★ 21
microsoft
microsoft/learn-ai-native-dev

AI 教程编程练习生成

exercise-scaffolder

为 AI-Native 开发教程生成一致且高质量的编程练习。适用于创建动手练习、编码挑战、练习题、测验、实验或技能培养活动。可用于“创建练习”“添加实践活动”“为第 X 部分构建挑战”等问题。包含起始模板、解决方案模式、渐进式提示和验证标准。

教师学习引导
★ 21
microsoft
microsoft/learn-ai-native-dev

文档与代码一致性检查

docs-sync

对比 src/ 和 .github/ 与 docs/,以检测代码与设计规范之间的偏移。在审计 docs 文件夹、合并结构性变更(添加路径/模块/图表/语法/智能体/技能/hooks)之后或发布之前使用。适用于"文档是否同步?"、"自上次文档更新以来有什么变化?"、"查找文档偏移"等问题。生成一份包含建议修改的结构化报告 — 不直接修改 docs/。

技术文档工程师技术文档编写
★ 21
microsoft
microsoft/learn-ai-native-dev

交互式图表组件生成

diagram-scaffolder

为教程内容生成新的交互式图表组件。在添加可视化图表、创建架构插图或构建交互式流程可视化时使用。适用于"添加图表"、"创建图表组件"、"为模块 X 新建可视化"等问题。生成一个 React 组件,将其注册到 barrel export 和 StepCard 解析器中,并提供 markdown 引用语法。

软件开发工程师技术图表绘制
★ 21
microsoft
microsoft/learn-ai-native-dev

学习路径脚手架搭建

content-track-scaffolder

搭建一个完整的新内容轨道(如 Foundation、Advanced 或 Terminal),包含所有必需文件——数据解析器、页面组件、路由、markdown 内容和导航。适用于添加新学习路径、创建新轨道,或用新模块系列扩展教程。可用于"add a new track"、"create learning path for X"、"scaffold track pages"这类问题。

软件开发工程师学习引导
★ 21