textmate-grammar
Use when creating or editing TextMate grammar files for VS Code syntax highlighting - patterns, scopes, and language tokenization
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when creating or editing TextMate grammar files for VS Code syntax highlighting - patterns, scopes, and language tokenization
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when writing or editing .omg.md files - the human-first DSL for API specification that compiles to OpenAPI 3.1
Use when building CLI tools with Commander.js - commands, options, arguments, and help text for Node.js command-line applications
Use when parsing or generating Markdown following the CommonMark specification - AST structure, block/inline elements, and extensions
Use when creating GitHub Actions workflows for CI/CD - testing, building, publishing npm packages, and automating repository tasks
Use when working with JSON Schema for validation, OpenAPI schemas, type definitions, and data structure specification
Use when implementing Language Server Protocol features - diagnostics, completions, hover, go-to-definition, and editor integration
| name | textmate-grammar |
| description | Use when creating or editing TextMate grammar files for VS Code syntax highlighting - patterns, scopes, and language tokenization |
{
"scopeName": "source.omg",
"patterns": [{ "include": "#main" }],
"repository": {
"main": {
"patterns": [
{ "include": "#comments" },
{ "include": "#strings" },
{ "include": "#keywords" }
]
},
"keywords": {
"match": "\\b(if|else|while|return)\\b",
"name": "keyword.control.omg"
},
"strings": {
"begin": "\"",
"end": "\"",
"name": "string.quoted.double.omg",
"patterns": [{ "include": "#escapes" }]
}
}
}
source.js, text.html#name| Prefix | Usage |
|---|---|
keyword.control | if, else, for, return |
keyword.operator | +, -, =, && |
storage.type | class, function, var |
entity.name.function | function names |
entity.name.type | type/class names |
variable.parameter | function parameters |
string.quoted | quoted strings |
comment.line | single-line comments |
constant.numeric | numbers |
punctuation.definition | brackets, braces |
captures to assign scopes to regex groups: "captures": { "1": { "name": "..." } }contentName for scope of content between begin/end\\b for word boundary