·accelint-ts-performance
</>

accelint-ts-performance

gohypergiant/agent-skills

使用 V8 分析和运行时模式进行系统 JavaScript/TypeScript 性能审核和优化。在以下情况下使用:(1) 用户说“优化性能”、“审核性能”、“这很慢”、“减少分配”、“提高速度”、“检查性能”,(2) 分析代码的性能反模式(O(n²) 复杂性、过度分配、I/O 阻塞、模板文字浪费),(3) 无论当前使用上下文如何优化函数 - 实用程序、格式化程序、解析器通常在热路径中调用,即使在以下情况下它们看起来很简单,(4) 修复 V8 去优化(单态/多态问题、内联缓存)。审核所有代码中的反模式并报告具有预期收益的结果。涵盖循环、缓存、批处理、内存局部性、使用 ❌/✅ 模式修复算法复杂性。

24安装·2热度·@gohypergiant

安装

$npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-performance

SKILL.md

Systematic performance optimization for JavaScript/TypeScript codebases. Combines audit workflow with expert-level optimization patterns for runtime performance.

Note: For general best practices (type safety with any/enum, avoiding null, not mutating parameters), use the accelint-ts-best-practices skill instead. This section focuses exclusively on performance-specific anti-patterns.

Start with the Workflow (SKILL.md) Follow the 4-phase audit workflow below for systematic performance analysis.

使用 V8 分析和运行时模式进行系统 JavaScript/TypeScript 性能审核和优化。在以下情况下使用:(1) 用户说“优化性能”、“审核性能”、“这很慢”、“减少分配”、“提高速度”、“检查性能”,(2) 分析代码的性能反模式(O(n²) 复杂性、过度分配、I/O 阻塞、模板文字浪费),(3) 无论当前使用上下文如何优化函数 - 实用程序、格式化程序、解析器通常在热路径中调用,即使在以下情况下它们看起来很简单,(4) 修复 V8 去优化(单态/多态问题、内联缓存)。审核所有代码中的反模式并报告具有预期收益的结果。涵盖循环、缓存、批处理、内存局部性、使用 ❌/✅ 模式修复算法复杂性。 来源:gohypergiant/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-performance
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 accelint-ts-performance?

使用 V8 分析和运行时模式进行系统 JavaScript/TypeScript 性能审核和优化。在以下情况下使用:(1) 用户说“优化性能”、“审核性能”、“这很慢”、“减少分配”、“提高速度”、“检查性能”,(2) 分析代码的性能反模式(O(n²) 复杂性、过度分配、I/O 阻塞、模板文字浪费),(3) 无论当前使用上下文如何优化函数 - 实用程序、格式化程序、解析器通常在热路径中调用,即使在以下情况下它们看起来很简单,(4) 修复 V8 去优化(单态/多态问题、内联缓存)。审核所有代码中的反模式并报告具有预期收益的结果。涵盖循环、缓存、批处理、内存局部性、使用 ❌/✅ 模式修复算法复杂性。 来源:gohypergiant/agent-skills。

如何安装 accelint-ts-performance?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-ts-performance 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/gohypergiant/agent-skills