vscode-extension
Use when developing VS Code extensions including TextMate grammars, language configuration, and extension manifest
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when developing VS Code extensions including TextMate grammars, language configuration, and extension manifest
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when writing Vague (.vague) files that need realistic test data using faker generators for names, emails, addresses, dates, and more
Use when writing Vague (.vague) files - a declarative language for generating realistic test data with superposition, constraints, and cross-references
Use when working with JSON Schema for validation, including draft-07, 2019-09, and 2020-12 specifications
Use when adding syntax highlighting for custom languages to Prism.js, used by Docusaurus and many documentation sites
Use when configuring Spectral for API linting, creating custom rulesets, and validating OpenAPI or AsyncAPI specifications
Use when developing TypeScript npm packages including tsconfig, package.json exports, dual CJS/ESM builds, and publishing
| name | vscode-extension |
| description | Use when developing VS Code extensions including TextMate grammars, language configuration, and extension manifest |
// package.json
{
"name": "my-language",
"contributes": {
"languages": [{
"id": "mylang",
"extensions": [".ml"],
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "mylang",
"scopeName": "source.mylang",
"path": "./syntaxes/mylang.tmLanguage.json"
}]
}
}
contributes for languages, grammars, commands{
"scopeName": "source.mylang",
"patterns": [{ "include": "#expression" }],
"repository": {
"expression": {
"patterns": [
{ "include": "#keywords" },
{ "include": "#strings" }
]
},
"keywords": {
"match": "\\b(if|else|while)\\b",
"name": "keyword.control.mylang"
}
}
}
keyword.control - Control flow (if, else, for)keyword.operator - Operators (+, -, =)string.quoted - String literalscomment.line / comment.block - Commentsentity.name.function - Function namesvariable - Variablesconstant.numeric - Numbers