vite-plugin-hmr-analyzer
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "vite-plugin-hmr-analyzer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-64c9779bf36411dc00e8c0c227fcf71d82276f7a103db5f5b23d73b0f7893eba. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/vite-plugin-hmr-analyzer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Monitors and analyzes Vite HMR (hot module replacement) update chains using the vite.config.ts plugin API and WebSocket events. Used to identify slow module boundaries and cyclic dependency hot paths during updates, and to produce flamegraph-compatible output for inspection in the Chrome DevTools performance panel.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Vite 插件热模块分析器"
slug: "vite-plugin-hmr-analyzer"
version: "1.0.0"
displayName: "Vite 插件热模块分析器"
summary: "使用 vite.config.ts 插件 API 和 ws WebSocket 事件监控和分析 Vite HMR(热模块替换)更新链。识别缓慢的模块边界、循环依赖热路径,并生成与火焰图兼容的输出,用于 Chrome DevTools 性能面板。"
license: "MIT"
description: "使用 vite.config.ts 插件 API 和 ws WebSocket 事件监控和分析 Vite HMR(热模块替换)更新链。识别缓慢的模块边界、循环依赖热路径,并生成与火焰图兼容的输出,用于 Chrome DevTools 性能面板。"
github_stars: 79927
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Developer Tools"
framework: "Cursor"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 79927
npm_package: "vite"
npm_weekly_downloads: 96756115Vite 插件热模块分析器
Monitors and analyzes Vite HMR (Hot Module Replacement) update chains using the vite.config.ts plugin API and ws WebSocket events. Identifies slow module boundaries, circular dependency hot paths, and generates flamegraph-compatible output for Chrome DevTools Performance panel.
Installation
Requirements and caveats from upstream:
- <a href="https://nodejs.org/en/about/previous-releases"><img src="https://img.shields.io/node/v/vite.svg" alt="node compatibility"></a>
Basic usage or getting-started notes:
-
A dev server that provides rich feature enhancements over native ES modules, for example extremely fast [Hot...
-
Extracted from upstream docs: https://raw.githubusercontent.com/vitejs/vite/HEAD/README.md
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 Vite HMR 性能分析这一明确开发者痛点
- 提供火焰图兼容输出,集成 Chrome DevTools 性能面板
- 适用于中高级前端开发者优化构建性能
Highlights
- 触发词精准覆盖 Vite、HMR、热模块替换等核心概念
- 功能边界清晰,不易与其他开发工具 Skill 重叠
Areas to improve
-
缺少详细使用示例 Reported severity: Minor
文档缺少具体的插件配置示例、API 使用说明和实际应用场景演示
Recommendation: 补充 vite.config.ts 中的插件配置示例,添加使用场景说明和输出结果展示
-
文档结构不够完整 Reported severity: Minor
缺少 When to Use、配置参数说明、常见问题等标准章节
Recommendation: 完善文档结构,添加使用时机说明、配置选项详解和故障排除指南
Highlights
- 包含基本的安装说明和依赖要求
- 提供了源码链接和上游文档引用
Areas to improve
-
缺少错误处理说明 Reported severity: Minor
未说明插件在不同环境下的兼容性问题和错误处理机制
Recommendation: 补充常见错误场景的处理方法和兼容性说明
Highlights
- 工具来源明确,GitHub 仓库信息完整
- Node.js 版本要求清晰,依赖管理规范
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- developer.mozilla.org
- github.com
- img.shields.io
- nodejs.org
- raw.githubusercontent.com
- vite.dev
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.