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.

retirejs Updated

File contents

retirejs/retire.js/tree/main/.claude/skills/retire-add-ast-query commit ce7402c33a

Frequently asked questions

npx skillmds@latest add retirejs/retire-add-ast-query