Skip to main content
在 Manus 中运行任何 Skill
一键导入
$pwd:

retire-add-ast-query

// Add an AST query for a JavaScript library to the retire.js vulnerability database. Given a library name, downloads multiple versions, analyzes the code structure where the version string is assigned, writes an ASTronomical XPath-like query anchored with library-specific identifiers, tests the query locally, adds it to jsrepository-ast.js, and runs validate/test-detection. Use this skill whenever adding an AST-based version detection query to retire.js.

$ git log --oneline --stat
stars:4,133
forks:438
updated:2026年5月13日 19:46
SKILL.md
readonly