[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BXPYSEWEK48DJ972NXD4R7":3,"skill-same:01M6BXPYSEWEK48DJ972NXD4R7":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":13,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6BXPYSEWEK48DJ972NXD4R7","ast-grep","ast-grep 结构化代码搜索","Search code by AST structure with ast-grep when text search cannot express the required pattern.","当文本搜索无法表达所需模式时，使用 ast-grep 按 AST 结构搜索代码","nodetool-ai\u002Fnodetool","nodetool-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F164873569?v=4","01M6BXPFDW36K9K1MR8ZH63HG2","nodetool.ai","01M6BXPFJ893XM219GQN60B0WK",635,"AGPL-3.0",null,"https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fast-grep\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41],"ast grep","grep","ast","code","search","text","structure","pattern","express","with","when","2026-11-10 10:12:30",false,"---\nname: ast-grep\ndescription: \"Search code by AST structure with ast-grep when text search cannot express the required pattern.\"\n---\n\n# ast-grep Code Search\n\n## Overview\n\nThis skill helps translate natural language queries into ast-grep rules for structural code search. ast-grep uses Abstract Syntax Tree (AST) patterns to match code based on its structure rather than just text, enabling powerful and precise code search across large codebases.\n\n## When to Use This Skill\n\nUse this skill when users:\n- Need to search for code patterns using structural matching (e.g., \"find all async functions that don't have error handling\")\n- Want to locate specific language constructs (e.g., \"find all function calls with specific parameters\")\n- Request searches that require understanding code structure rather than just text\n- Ask to search for code with particular AST characteristics\n- Need to perform complex code queries that traditional text search cannot handle\n\n## General Workflow\n\nFollow this process to help users write effective ast-grep rules:\n\n### Step 1: Understand the Query\n\nClearly understand what the user wants to find. Ask clarifying questions if needed:\n- What specific code pattern or structure are they looking for?\n- Which programming language?\n- Are there specific edge cases or variations to consider?\n- What should be included or excluded from matches?\n\n### Step 2: Create Example Code\n\nWrite a simple code snippet that represents what the user wants to match. Save this to a temporary file for testing.\n\n**Example:**\nIf searching for \"async functions that use await\", create a test file:\n\n```javascript\n\u002F\u002F test_example.js\nasync function example() {\n  const result = await fetchData();\n  return result;\n}\n```\n\n### Step 3: Write the ast-grep Rule\n\nTranslate the pattern into an ast-grep rule. Start simple and add complexity as needed.\n\n**Key principles:**\n- Always use `stopBy: end` for relational rules (`inside`, `has`) to ensure search goes to the end of the direction\n- Use `pattern` for simple structures\n- Use `kind` with `has`\u002F`inside` for complex structures\n- Break complex queries into smaller sub-rules using `all`, `any`, or `not`\n\n**Example rule file (test_rule.yml):**\n```yaml\nid: async-with-await\nlanguage: javascript\nrule:\n  kind: function_declaration\n  has:\n    pattern: await $EXPR\n    stopBy: end\n```\n\nSee `references\u002Frule_reference.md` for comprehensive rule documentation.\n\n### Step 4: Test the Rule\n\nUse ast-grep CLI to verify the rule matches the example code. There are two main approaches:\n\n**Option A: Test with inline rules (for quick iterations)**\n```bash\necho \"async function test() { await fetch(); }\" | ast-grep scan --inline-rules \"id: test\nlanguage: javascript\nrule:\n  kind: function_declaration\n  has:\n    pattern: await \\$EXPR\n    stopBy: end\" --stdin\n```\n\n**Option B: Test with rule files (recommended for complex rules)**\n```bash\nast-grep scan --rule test_rule.yml test_example.js\n```\n\n**Debugging if no matches:**\n1. Simplify the rule (remove sub-rules)\n2. Add `stopBy: end` to relational rules if not present\n3. Use `--debug-query` to understand the AST structure (see below)\n4. Check if `kind` values are correct for the language\n\n### Step 5: Search the Codebase\n\nOnce the rule matches the example code correctly, search the actual codebase:\n\n**For simple pattern searches:**\n```bash\nast-grep run --pattern 'console.log($ARG)' --lang javascript \u002Fpath\u002Fto\u002Fproject\n```\n\n**For complex rule-based searches:**\n```bash\nast-grep scan --rule my_rule.yml \u002Fpath\u002Fto\u002Fproject\n```\n\n**For inline rules (without creating files):**\n```bash\nast-grep scan --inline-rules \"id: my-rule\nlanguage: javascript\nrule:\n  pattern: \\$PATTERN\" \u002Fpath\u002Fto\u002Fproject\n```\n\n## ast-grep CLI Commands\n\n### Inspect Code Structure (--debug-query)\n\nDump the AST structure to understand how code is parsed:\n\n```bash\nast-grep run --pattern 'async function example() { await fetch(); }' \\\n  --lang javascript \\\n  --debug-query=cst\n```\n\n**Available formats:**\n- `cst`: Concrete Syntax Tree (shows all nodes including punctuation)\n- `ast`: Abstract Syntax Tree (shows only named nodes)\n- `pattern`: Shows how ast-grep interprets your pattern\n\n**Use this to:**\n- Find the correct `kind` values for nodes\n- Understand the structure of code you want to match\n- Debug why patterns aren't matching\n\n**Example:**\n```bash\n# See the structure of your target code\nast-grep run --pattern 'class User { constructor() {} }' \\\n  --lang javascript \\\n  --debug-query=cst\n\n# See how ast-grep interprets your pattern\nast-grep run --pattern 'class $NAME { $$$BODY }' \\\n  --lang javascript \\\n  --debug-query=pattern\n```\n\n### Test Rules (scan with --stdin)\n\nTest a rule against code snippet without creating files:\n\n```bash\necho \"const x = await fetch();\" | ast-grep scan --inline-rules \"id: test\nlanguage: javascript\nrule:\n  pattern: await \\$EXPR\" --stdin\n```\n\n**Add --json for structured output:**\n```bash\necho \"const x = await fetch();\" | ast-grep scan --inline-rules \"...\" --stdin --json\n```\n\n### Search with Patterns (run)\n\nSimple pattern-based search for single AST node matches:\n\n```bash\n# Basic pattern search\nast-grep run --pattern 'console.log($ARG)' --lang javascript .\n\n# Search specific files\nast-grep run --pattern 'class $NAME' --lang python \u002Fpath\u002Fto\u002Fproject\n\n# JSON output for programmatic use\nast-grep run --pattern 'function $NAME($$$)' --lang javascript --json .\n```\n\n**When to use:**\n- Simple, single-node matches\n- Quick searches without complex logic\n- When you don't need relational rules (inside\u002Fhas)\n\n### Search with Rules (scan)\n\nYAML rule-based search for complex structural queries:\n\n```bash\n# With rule file\nast-grep scan --rule my_rule.yml \u002Fpath\u002Fto\u002Fproject\n\n# With inline rules\nast-grep scan --inline-rules \"id: find-async\nlanguage: javascript\nrule:\n  kind: function_declaration\n  has:\n    pattern: await \\$EXPR\n    stopBy: end\" \u002Fpath\u002Fto\u002Fproject\n\n# JSON output\nast-grep scan --rule my_rule.yml --json \u002Fpath\u002Fto\u002Fproject\n```\n\n**When to use:**\n- Complex structural searches\n- Relational rules (inside, has, precedes, follows)\n- Composite logic (all, any, not)\n- When you need the power of full YAML rules\n\n**Tip:** For relational rules (inside\u002Fhas), always add `stopBy: end` to ensure complete traversal.\n\n## Tips for Writing Effective Rules\n\n### Always Use stopBy: end\n\nFor relational rules, always use `stopBy: end` unless there's a specific reason not to:\n\n```yaml\nhas:\n  pattern: await $EXPR\n  stopBy: end\n```\n\nThis ensures the search traverses the entire subtree rather than stopping at the first non-matching node.\n\n### Start Simple, Then Add Complexity\n\nBegin with the simplest rule that could work:\n1. Try a `pattern` first\n2. If that doesn't work, try `kind` to match the node type\n3. Add relational rules (`has`, `inside`) as needed\n4. Combine with composite rules (`all`, `any`, `not`) for complex logic\n\n### Use the Right Rule Type\n\n- **Pattern**: For simple, direct code matching (e.g., `console.log($ARG)`)\n- **Kind + Relational**: For complex structures (e.g., \"function containing await\")\n- **Composite**: For logical combinations (e.g., \"function with await but not in try-catch\")\n\n### Debug with AST Inspection\n\nWhen rules don't match:\n1. Use `--debug-query=cst` to see the actual AST structure\n2. Check if metavariables are being detected correctly\n3. Verify the node `kind` matches what you expect\n4. Ensure relational rules are searching in the right direction\n\n### Escaping in Inline Rules\n\nWhen using `--inline-rules`, escape metavariables in shell commands:\n- Use `\\$VAR` instead of `$VAR` (shell interprets `$` as variable)\n- Or use single quotes: `'$VAR'` works in most shells\n\n**Example:**\n```bash\n# Correct: escaped $\nast-grep scan --inline-rules \"rule: {pattern: 'console.log(\\$ARG)'}\" .\n\n# Or use single quotes\nast-grep scan --inline-rules 'rule: {pattern: \"console.log($ARG)\"}' .\n```\n\n## Common Use Cases\n\n### Find Functions with Specific Content\n\nFind async functions that use await:\n```bash\nast-grep scan --inline-rules \"id: async-await\nlanguage: javascript\nrule:\n  all:\n    - kind: function_declaration\n    - has:\n        pattern: await \\$EXPR\n        stopBy: end\" \u002Fpath\u002Fto\u002Fproject\n```\n\n### Find Code Inside Specific Contexts\n\nFind console.log inside class methods:\n```bash\nast-grep scan --inline-rules \"id: console-in-class\nlanguage: javascript\nrule:\n  pattern: console.log(\\$\\$\\$)\n  inside:\n    kind: method_definition\n    stopBy: end\" \u002Fpath\u002Fto\u002Fproject\n```\n\n### Find Code Missing Expected Patterns\n\nFind async functions without try-catch:\n```bash\nast-grep scan --inline-rules \"id: async-no-trycatch\nlanguage: javascript\nrule:\n  all:\n    - kind: function_declaration\n    - has:\n        pattern: await \\$EXPR\n        stopBy: end\n    - not:\n        has:\n          pattern: try { \\$\\$\\$ } catch (\\$E) { \\$\\$\\$ }\n          stopBy: end\" \u002Fpath\u002Fto\u002Fproject\n```\n\n## Resources\n\n### references\u002F\nContains detailed documentation for ast-grep rule syntax:\n- `rule_reference.md`: Comprehensive ast-grep rule documentation covering atomic rules, relational rules, composite rules, and metavariables\n\nLoad these references when detailed rule syntax information is needed.\n\n## NodeTool notes\n\nVendored from https:\u002F\u002Fgithub.com\u002Fast-grep\u002Fagent-skill @ c2a9bc1 (2026-07-03).\nThe CLI is not a repo dependency — run it via:\n\n```bash\nnpx --yes --package @ast-grep\u002Fcli ast-grep \u003Cargs>\n```\n\n(A bare `npx @ast-grep\u002Fcli` fails with \"could not determine executable to\nrun\" — the binary is named `ast-grep`, not after the package.) Use `--lang\ntsx` for the React frontend. To update this skill, re-clone upstream and\nre-copy `ast-grep\u002Fskills\u002Fast-grep\u002F` here, keeping this section.\n","# ast-grep Code Search\n\n## Overview\n\nThis skill helps translate natural language queries into ast-grep rules for structural code search. ast-grep uses Abstract Syntax Tree (AST) patterns to match code based on its structure rather than just text, enabling powerful and precise code search across large codebases.\n\n## When to Use This Skill\n\nUse this skill when users:\n- Need to search for code patterns using structural matching (e.g., \"find all async functions that don't have error handling\")\n- Want to locate specific language constructs (e.g., \"find all function calls with specific parameters\")\n- Request searches that require understanding code structure rather than just text\n- Ask to search for code with particular AST characteristics\n- Need to perform complex code queries that traditional text search cannot handle\n\n## General Workflow\n\nFollow this process to help users write effective ast-grep rules:\n\n### Step 1: Understand the Query\n\nClearly understand what the user wants to find. Ask clarifying questions if needed:\n- What specific code pattern or structure are they looking for?\n- Which programming language?\n- Are there specific edge cases or variations to consider?\n- What should be included or excluded from matches?\n\n### Step 2: Create Example Code\n\nWrite a simple code snippet that represents what the user wants to match. Save this to a temporary file for testing.\n\n**Example:**\nIf searching for \"async functions that use await\", create a test file:\n\n```javascript\n\u002F\u002F test_example.js\nasync function example() {\n  const result = await fetchData();\n  return result;\n}\n```\n\n### Step 3: Write the ast-grep Rule\n\nTranslate the pattern into an ast-grep rule. Start simple and add complexity as needed.\n\n**Key principles:**\n- Always use `stopBy: end` for relational rules (`inside`, `has`) to ensure search goes to the end of the direction\n- Use `pattern` for simple structures\n- Use `kind` with `has`\u002F`inside` for complex structures\n- Break complex queries into smaller sub-rules using `all`, `any`, or `not`\n\n**Example rule file (test_rule.yml):**\n```yaml\nid: async-with-await\nlanguage: javascript\nrule:\n  kind: function_declaration\n  has:\n    pattern: await $EXPR\n    stopBy: end\n```\n\nSee `references\u002Frule_reference.md` for comprehensive rule documentation.\n\n### Step 4: Test the Rule\n\nUse ast-grep CLI to verify the rule matches the example code. There are two main approaches:\n\n**Option A: Test with inline rules (for quick iterations)**\n```bash\necho \"async function test() { await fetch(); }\" | ast-grep scan --inline-rules \"id: test\nlanguage: javascript\nrule:\n  kind: function_declaration\n  has:\n    pattern: await \\$EXPR\n    stopBy: end\" --stdin\n```\n\n**Option B: Test with rule files (recommended for complex rules)**\n```bash\nast-grep scan --rule test_rule.yml test_example.js\n```\n\n**Debugging if no matches:**\n1. Simplify the rule (remove sub-rules)\n2. Add `stopBy: end` to relational rules if not present\n3. Use `--debug-query` to understand the AST structure (see below)\n4. Check if `kind` values are correct for the language\n\n### Step 5: Search the Codebase\n\nOnce the rule matches the example code correctly, search the actual codebase:\n\n**For simple pattern searches:**\n```bash\nast-grep run --pattern 'console.log($ARG)' --lang javascript \u002Fpath\u002Fto\u002Fproject\n```\n\n**For complex rule-based searches:**\n```bash\nast-grep scan --rule my_rule.yml \u002Fpath\u002Fto\u002Fproject\n```\n\n**For inline rules (without creating files):**\n```bash\nast-grep scan --inline-rules \"id: my-rule\nlanguage: javascript\nrule:\n  pattern: \\$PATTERN\" \u002Fpath\u002Fto\u002Fproject\n```\n\n## ast-grep CLI Commands\n\n### Inspect Code Structure (--debug-query)\n\nDump the AST structure to understand how code is parsed:\n\n```bash\nast-grep run --pattern 'async function example() { await fetch(); }' \\\n  --lang javascript \\\n  --debug-query=cst\n```\n\n**Available formats:**\n- `cst`: Concrete Syntax Tree (shows all nodes including punctuation)\n- `ast`: Abstract Syntax Tree (shows only named nodes)\n- `pattern`: Shows how ast-grep interprets your pattern\n\n**Use this to:**\n- Find the correct `kind` values for nodes\n- Understand the structure of code you want to match\n- Debug why patterns aren't matching\n\n**Example:**\n```bash\n# See the structure of your target code\nast-grep run --pattern 'class User { constructor() {} }' \\\n  --lang javascript \\\n  --debug-query=cst\n\n# See how ast-grep interprets your pattern\nast-grep run --pattern 'class $NAME { $$$BODY }' \\\n  --lang javascript \\\n  --debug-query=pattern\n```\n\n### Test Rules (scan with --stdin)\n\nTest a rule against code snippet without creating files:\n\n```bash\necho \"const x = await fetch();\" | ast-grep scan --inline-rules \"id: test\nlanguage: javascript\nrule:\n  pattern: await \\$EXPR\" --stdin\n```\n\n**Add --json for structured output:**\n```bash\necho \"const x = await fetch();\" | ast-grep scan --inline-rules \"...\" --stdin --json\n```\n\n### Search with Patterns (run)\n\nSimple pattern-based search for single AST node matches:\n\n```bash\n# Basic pattern search\nast-grep run --pattern 'console.log($ARG)' --lang javascript .\n\n# Search specific files\nast-grep run --pattern 'class $NAME' --lang python \u002Fpath\u002Fto\u002Fproject\n\n# JSON output for programmatic use\nast-grep run --pattern 'function $NAME($$$)' --lang javascript --json .\n```\n\n**When to use:**\n- Simple, single-node matches\n- Quick searches without complex logic\n- When you don't need relational rules (inside\u002Fhas)\n\n### Search with Rules (scan)\n\nYAML rule-based search for complex structural queries:\n\n```bash\n# With rule file\nast-grep scan --rule my_rule.yml \u002Fpath\u002Fto\u002Fproject\n\n# With inline rules\nast-grep scan --inline-rules \"id: find-async\nlanguage: javascript\nrule:\n  kind: function_declaration\n  has:\n    pattern: await \\$EXPR\n    stopBy: end\" \u002Fpath\u002Fto\u002Fproject\n\n# JSON output\nast-grep scan --rule my_rule.yml --json \u002Fpath\u002Fto\u002Fproject\n```\n\n**When to use:**\n- Complex structural searches\n- Relational rules (inside, has, precedes, follows)\n- Composite logic (all, any, not)\n- When you need the power of full YAML rules\n\n**Tip:** For relational rules (inside\u002Fhas), always add `stopBy: end` to ensure complete traversal.\n\n## Tips for Writing Effective Rules\n\n### Always Use stopBy: end\n\nFor relational rules, always use `stopBy: end` unless there's a specific reason not to:\n\n```yaml\nhas:\n  pattern: await $EXPR\n  stopBy: end\n```\n\nThis ensures the search traverses the entire subtree rather than stopping at the first non-matching node.\n\n### Start Simple, Then Add Complexity\n\nBegin with the simplest rule that could work:\n1. Try a `pattern` first\n2. If that doesn't work, try `kind` to match the node type\n3. Add relational rules (`has`, `inside`) as needed\n4. Combine with composite rules (`all`, `any`, `not`) for complex logic\n\n### Use the Right Rule Type\n\n- **Pattern**: For simple, direct code matching (e.g., `console.log($ARG)`)\n- **Kind + Relational**: For complex structures (e.g., \"function containing await\")\n- **Composite**: For logical combinations (e.g., \"function with await but not in try-catch\")\n\n### Debug with AST Inspection\n\nWhen rules don't match:\n1. Use `--debug-query=cst` to see the actual AST structure\n2. Check if metavariables are being detected correctly\n3. Verify the node `kind` matches what you expect\n4. Ensure relational rules are searching in the right direction\n\n### Escaping in Inline Rules\n\nWhen using `--inline-rules`, escape metavariables in shell commands:\n- Use `\\$VAR` instead of `$VAR` (shell interprets `$` as variable)\n- Or use single quotes: `'$VAR'` works in most shells\n\n**Example:**\n```bash\n# Correct: escaped $\nast-grep scan --inline-rules \"rule: {pattern: 'console.log(\\$ARG)'}\" .\n\n# Or use single quotes\nast-grep scan --inline-rules 'rule: {pattern: \"console.log($ARG)\"}' .\n```\n\n## Common Use Cases\n\n### Find Functions with Specific Content\n\nFind async functions that use await:\n```bash\nast-grep scan --inline-rules \"id: async-await\nlanguage: javascript\nrule:\n  all:\n    - kind: function_declaration\n    - has:\n        pattern: await \\$EXPR\n        stopBy: end\" \u002Fpath\u002Fto\u002Fproject\n```\n\n### Find Code Inside Specific Contexts\n\nFind console.log inside class methods:\n```bash\nast-grep scan --inline-rules \"id: console-in-class\nlanguage: javascript\nrule:\n  pattern: console.log(\\$\\$\\$)\n  inside:\n    kind: method_definition\n    stopBy: end\" \u002Fpath\u002Fto\u002Fproject\n```\n\n### Find Code Missing Expected Patterns\n\nFind async functions without try-catch:\n```bash\nast-grep scan --inline-rules \"id: async-no-trycatch\nlanguage: javascript\nrule:\n  all:\n    - kind: function_declaration\n    - has:\n        pattern: await \\$EXPR\n        stopBy: end\n    - not:\n        has:\n          pattern: try { \\$\\$\\$ } catch (\\$E) { \\$\\$\\$ }\n          stopBy: end\" \u002Fpath\u002Fto\u002Fproject\n```\n\n## Resources\n\n### references\u002F\nContains detailed documentation for ast-grep rule syntax:\n- `rule_reference.md`: Comprehensive ast-grep rule documentation covering atomic rules, relational rules, composite rules, and metavariables\n\nLoad these references when detailed rule syntax information is needed.\n\n## NodeTool notes\n\nVendored from https:\u002F\u002Fgithub.com\u002Fast-grep\u002Fagent-skill @ c2a9bc1 (2026-07-03).\nThe CLI is not a repo dependency — run it via:\n\n```bash\nnpx --yes --package @ast-grep\u002Fcli ast-grep \u003Cargs>\n```\n\n(A bare `npx @ast-grep\u002Fcli` fails with \"could not determine executable to\nrun\" — the binary is named `ast-grep`, not after the package.) Use `--lang\ntsx` for the React frontend. To update this skill, re-clone upstream and\nre-copy `ast-grep\u002Fskills\u002Fast-grep\u002F` here, keeping this section.\n",{"name":5,"description":7},"main","c7226baa82daca42a19a5855c116544f97aa8bac",".agents\u002Fskills\u002Fast-grep",91,"https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool","https:\u002F\u002Fnodetool.ai\u002F","https:\u002F\u002Fgithub.com\u002Fnodetool-ai","No-code AI development","2026-11-15 03:27:49",{"source":9,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add nodetool-ai\u002Fnodetool --skill ast-grep",{"tool":62,"command":63},"bunx","bunx skills add nodetool-ai\u002Fnodetool --skill ast-grep",{"tool":65,"command":66},"pnpm","pnpm dlx skills add nodetool-ai\u002Fnodetool --skill ast-grep","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fast-grep\u002FSKILL.md",true,[70],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Frule_reference.md","REFERENCE","参考文档",10697,"https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fast-grep\u002Freferences\u002Frule_reference.md",[77,86,120,154,171,189],{"skillNo":78,"name":79,"nameZh":17,"description":80,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":81,"licenseFileUrl":17,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M742MX3Y2ZYK884ZXTRFKB9P","humanizer","Rewrite AI-sounding text so it reads like the writer without changing what it says.\nUse when editing or reviewing prose for AI tells: not-X-but-Y contrasts, one-line\nclosers, staged openers, forced triads, dashes everywhere, inflated claims, sales\nlanguage, stock AI words, bold labels, or filler.","MIT","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fhumanizer\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":87,"name":88,"nameZh":89,"description":90,"descriptionZh":91,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":100,"publishedAt":42},"01M6BY4D93R0Q9400ZHJ04DXP1","nodetool","NodeTool可视化AI工作流构建","Use the NodeTool MCP server to build, validate, run, and debug visual AI workflows, and to work with assets, collections, and jobs. Use when the user mentions NodeTool or asks for a workflow graph, a node, or a media generation run on their NodeTool server.","使用 NodeTool MCP 服务器构建、验证、运行和调试可视化 AI 工作流，并处理资产、集合和任务。当用户提及 NodeTool，或要求在其 NodeTool 服务器上创建工作流图、节点或运行媒体生成时使用。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fplugins\u002Fchatgpt\u002Fnodetool\u002Fskills\u002Fnodetool\u002FSKILL.md",[94,97],{"categoryNo":95,"categoryName":96,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":98,"categoryName":99,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[88,101,102,103,41,104,105,40,106,107,108,109,110,111,112,113,114,115,116,117,118,119],"MCP","Media","workflows","generation","media generation","visual","use","collections","for","node","work","debug","graph","validate","assets","run","server","mcp server","workflow",{"skillNo":121,"name":122,"nameZh":123,"description":124,"descriptionZh":125,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":134,"publishedAt":42},"01M6BY4AEB05ZPBRVD078ATR2H","wan-2-6-prompting","Wan 2.6 视频提示词编写","Prompt Alibaba's Wan 2.6 video — text-to-video with a global style line plus timing-bracketed shots, and image-to-video that describes only what changes over time. Covers the shot-mode switch per provider, the prompt budget, negative prompts, motion intensity wording, audio input and prompt expansion. Use whenever the model id names a Wan 2.6 video route (alibaba\u002Fwan-2.6\u002Ftext-to-video, alibaba\u002Fwan-2.6\u002Fimage-to-video, wan-video\u002Fwan-2.6-t2v, wan-video\u002Fwan-2.6-i2v, wan-video\u002Fwan2.6-i2v-flash) on generate_video, animate_image or a TextToVideo node. Not for Wan 2.5 or 2.7, or the Wan 2.6 image routes.","为阿里的 Wan 2.6 视频模型编写提示词——文生视频采用全局风格描述行加上按时间用括号标记的分镜，图生视频只描述随时间变化的内容。涵盖各服务商的镜头模式切换、提示词预算、负面提示词、运动强度措辞、音频输入和提示词扩展。当模型 ID 指定 Wan 2.6 视频路由（alibaba\u002Fwan-2.6\u002Ftext-to-video、alibaba\u002Fwan-2.6\u002Fimage-to-video、wan-video\u002Fwan-2.6-t2v、wan-video\u002Fwan-2.6-i2v、wan-video\u002Fwan2.6-i2v-flash）用于 generate_video、animate_image 或 TextToVideo 节点时使用。不适用于 Wan 2.5 或 2.7，也不适用于 Wan 2.6 图像路由。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fwan-2-6-prompting\u002FSKILL.md",[128,131],{"categoryNo":129,"categoryName":130,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V816HPKFXP1YV56C07K","多媒体工程师",{"categoryNo":132,"categoryName":133,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BZ46FYV5AM3SZCCPTV85Y2","视频生成与制作",[135,136,137,138,139,140,141,110,142,143,144,145,146,147,148,36,149,150,151,152,153],"prompting","wan 2 6 prompting","line","expansion","input","image-to-video","text-to-video","route","only","mode","time","flash","Budget","generate","image","animate","model","Audio","Video",{"skillNo":155,"name":156,"nameZh":157,"description":158,"descriptionZh":159,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":160,"categories":161,"keywords":164,"publishedAt":42},"01M6BY47T4748ZG5ZMTAR97ZWZ","video-workflow","可复用视频工作流搭建","Build a reusable NodeTool video workflow for batches or repeated inputs. For a single finished piece, use a storyboard skill.","构建可复用的 NodeTool 视频工作流，用于批量处理或重复输入。若只需制作单个成品，请使用 storyboard（分镜）技能。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-workflow\u002FSKILL.md",[162,163],{"categoryNo":129,"categoryName":130,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":132,"categoryName":133,"taxonomyType":23,"taxonomyTypeDesc":24},[119,165,153,166,167,168,169,107,170,88,109],"video workflow","reusable","storyboard","build","batches","single",{"skillNo":172,"name":173,"nameZh":174,"description":175,"descriptionZh":176,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":177,"categories":178,"keywords":181,"publishedAt":42},"01M6BY4587N2SYN315SXGEMZC3","video-clone","参考视频镜头结构复刻","Analyze a reference video and recreate its shot structure with a new product or cast in NodeTool.","分析参考视频，并在 NodeTool 中使用新产品或新演员重现其镜头结构。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-clone\u002FSKILL.md",[179,180],{"categoryNo":129,"categoryName":130,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":132,"categoryName":133,"taxonomyType":23,"taxonomyTypeDesc":24},[182,183,153,40,184,185,88,186,187,37,188],"clone","video clone","cast","new","analyze","product","reference",{"skillNo":190,"name":191,"nameZh":192,"description":193,"descriptionZh":194,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":195,"categories":196,"keywords":199,"publishedAt":42},"01M6BY4257C2KQYYMD9EK6DK8E","video-audio-continuity","多场景视频音频连续性处理","Keep sound continuous across a multi-scene piece cut from generated video — why one clip per scene hard-cuts the audio at every boundary, when to write all the scenes into a single generation instead, the sound-design vocabulary that survives a provider's copyright filter, and how to check the length, the aspect ratio and the mix of what came back. Use when a piece has more than one scene and the video model writes its own audio (Seedance 2, Veo 3, MiniMax H3, Kling 2.6 and later), or when a cut's sound drops out at the shot changes.","让由生成视频剪辑而成的多场景作品中的声音保持连续——为什么每个场景各生成一段片段会在每处边界硬切音频、何时改为把所有场景写入同一次生成、能在服务商版权过滤下保留下来的声音设计词汇，以及如何检查返回内容的时长、宽高比和混音效果。当作品包含多个场景且视频模型会自行生成音频（Seedance 2、Veo 3、MiniMax H3、Kling 2.6 及更高版本），或剪辑的声音在镜头切换处中断时使用。","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-audio-continuity\u002FSKILL.md",[197,198],{"categoryNo":129,"categoryName":130,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":132,"categoryName":133,"taxonomyType":23,"taxonomyTypeDesc":24},[200,153,152,201,202,203,204,205,206,207,208,209,210,41,211,212,151,213,214,215,216],"video audio continuity","continuity","write","why","back","veo 3","at","cut","later","across","filter","generated","how to","mix","design","boundary","how"]