Agent Skills
› afnanenayet/diffsitter
afnanenayet/diffsitter
GitHub指导在 diffsitter 中为新编程语言添加 Tree-sitter 语法支持的逐步指南,涵盖 submodule 集成、构建配置及文件扩展名映射。
Install All Skills
npx skills add afnanenayet/diffsitter --all -g -y
Skills in Collection (5)
指导在 diffsitter 中为新编程语言添加 Tree-sitter 语法支持的逐步指南,涵盖 submodule 集成、构建配置及文件扩展名映射。
添加新的编程语言支持
配置 Tree-sitter 语法
npx skills add afnanenayet/diffsitter --skill add-grammar -g -y
提供向 diffsitter 添加新 diff 输出渲染器的分步指南。指导用户创建模块、实现 Renderer trait、注册模块及枚举变体,支持自定义格式输出。
需要为 diffsitter 添加新的输出格式
询问如何集成新的 diff renderer
npx skills add afnanenayet/diffsitter --skill add-renderer -g -y
诊断 diffsitter 产生错误差异输出的问题,通过追踪从解析、AST 处理到生成差异块的完整流水线,定位各阶段故障原因并提供调试方法。
diffsitter 输出结果错误
diffsitter 输出结果令人惊讶
需要排查差异对比工具异常
npx skills add afnanenayet/diffsitter --skill debug-diff -g -y
为diffsitter项目提供Rust专家指导,涵盖Tree-sitter FFI、生命周期管理及unsafe优化。
需要Rust高级模式建议
涉及Tree-sitter API使用
处理FFI安全与生命周期问题
npx skills add afnanenayet/diffsitter --skill rust-expert -g -y


