Agent Skills
› warp-drive-data/warp-drive
warp-drive-data/warp-drive
GitHub提供 ast-grep NAPI 在 TypeScript/JS AST 转换中的参考,涵盖解析、节点搜索遍历、模式匹配及代码编辑方法,辅助 schema-migration codemods 开发。
Install All Skills
npx skills add warp-drive-data/warp-drive --all -g -y
Skills in Collection (3)
提供 ast-grep NAPI 在 TypeScript/JS AST 转换中的参考,涵盖解析、节点搜索遍历、模式匹配及代码编辑方法,辅助 schema-migration codemods 开发。
编写 AST 查询规则
调试 tree-sitter 节点匹配
使用 @ast-grep/napi 进行代码重构
npx skills add warp-drive-data/warp-drive --skill ast-grep-codemods -g -y
指导编写 ast-grep 规则,利用 AST 模式进行代码结构搜索与分析。适用于通过自然语言查询定位特定代码结构、执行复杂代码查询及超越文本搜索的深层分析场景。
用户需要搜索具有特定结构模式的代码
用户要求查找特定的语言构造或代码特征
传统文本搜索无法满足的结构化代码查询需求
npx skills add warp-drive-data/warp-drive --skill ast-grep -g -y
确保使用Holodeck mock server的测试变更时,将生成的.mock-cache fixtures正确暂存和提交。防止因遗漏fixtures导致CI回放失败,保证测试依赖完整性。
修改或新增使用了@warp-drive/holodeck的测试文件
准备提交代码或创建PR前检查git状态
npx skills add warp-drive-data/warp-drive --skill mock-cache-checkin -g -y


