performance-optimizer SKILL.md skillA

performance-optimizer from chainlesschain/chainlesschain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add chainlesschain/chainlesschain/performance-optimizer@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
chainlesschain/chainlesschain
Path
desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/performance-optimizer/SKILL.md
Versions recorded
3
Latest version
v1.0.0, committed Aug 28, 2026
First version recorded
Jun 3, 2026
Size
3,934 bytes
Repository stars
11
License
a license file GitHub does not identify

性能优化技能 - 性能分析、瓶颈识别、优化建议.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 性能优化技能

## 描述

对代码进行性能分析,识别CPU、内存和I/O瓶颈,提供具体的优化建议和基准对比。支持前端渲染、后端服务和数据库查询优化。

## 使用方法

```
/performance-optimizer [目标路径或文件] [选项]
```

## 选项

- `--focus <area>` - 分析重点: cpu, memory, io, render, all (默认: all)
- `--depth <level>` - 分析深度: shallow, normal, deep (默认: normal)
- `--benchmark` - 生成优化前后的基准对比
- `--fix` - 自动应用低风险优化

## 执行步骤

1. **性能基线**: 分析当前代码结构,建立性能基线和复杂度评估
2. **瓶颈分析**: 识别算法复杂度问题、内存泄漏风险、不必要的渲染和慢查询
3. **优化建议**: 提供具体的代码修改方案,按影响大小和实施难度排序
4. **基准对比**: 估算优化后的性能提升幅度,提供对比数据

## 检查项目

| 类别   | 检查内容                                     |
| ------ | -------------------------------------------- |
| 算法   | 时间复杂度、空间复杂度、不必要的循环         |
| 内存   | 闭包泄漏、大对象持有、未释放引用             |
| I/O    | 同步阻塞、N+1查询、缺少缓存                  |
| 渲染   | 不必要的重渲染、大列表未虚拟化、图片未懒加载 |
| 网络   | 请求合并、压缩、CDN、预加载                  |
| 数据库 | 慢查询、缺少索引、全表扫描                   |

## 优化级别

| 级别 | 说明                       | 风险  |
| ---- | -------------------------- | ----- |
| P0   | 严重性能问题,必须修复     | 低    |
| P1   | 明显性能瓶颈,建议优先修复 | 低-中 |
| P2   | 一般性能改进,建议优化     | 中    |
| P3   | 微优化,可选               | 中-高 |

## 输出格式

- 性能评分: 1-100分(基于综合分析)
- 瓶颈列表: 按严重程度排序的性能问题
- 优化方案: 具体代码修改建议和预期收益
- 基准对比: 优化前后的性能指标对比

## 示例

分析文件性能:

```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add chainlesschain/chainlesschain/performance-optimizer@sha256:3920b00038ffc451

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wlqxviq2izwiraat.svg)](https://markdownregistry.com/a/art_wlqxviq2izwiraat)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jun 3, 2026 and Aug 28, 2026, about one every 43 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-08-28 44248c7 3,934 BA view · diff
v1.0.02026-08-28 c29953e 3,917 BA view · diff
v1.0.02026-06-03 3b0b2dc 3,825 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3934 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

chainlesschain/chainlesschain · 11 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wlqxviq2izwiraat
GET https://markdownregistry.com/api/v1/resolve?ref=chainlesschain/chainlesschain/performance-optimizer
GET https://markdownregistry.com/api/v1/blob/3920b00038ffc45165b869fb7402fd2259948690e4f803bcd50ff6db032e6544

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from chainlesschain/chainlesschain

cc-cli SKILL.md skill
chainlesschain/chainlesschain · .claude/skills/cc-cli/SKILL.md · Invoke ChainlessChain `cc` CLI commands from natural language. Triggers when the user wants to run any `cc …` action…
git:20260618.4898c75 · audit A · 11 stars
pdh-android-collect SKILL.md skill
chainlesschain/chainlesschain · .claude/skills/pdh-android-collect/SKILL.md · Collect a rooted Android device's real personal data into the Personal Data Hub (PDH) vault to feed the user's…
git:20260618.58d3bd9 · audit A · 11 stars
AGENTS.md AGENTS.md file
chainlesschain/chainlesschain · AGENTS.md
git:20261023.f06ee98 · audit A · 11 stars
CLAUDE.md CLAUDE.md file
chainlesschain/chainlesschain · CLAUDE.md
git:20260920.96ab90a · audit A · 11 stars
ab-compare SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/ab-compare/SKILL.md · Generate and compare multiple implementation variants with benchmarking and scoring
v1.0.0 · audit A · 11 stars
agent-browser SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/agent-browser/SKILL.md · Advanced browser automation for AI agents with snapshot-ref interaction pattern - navigate, snapshot interactive…
v1.0.0 · audit A · 11 stars
api-design SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/api-design/SKILL.md · Design RESTful APIs with best practices, conventions, and OpenAPI specs
v1.0.0 · audit A · 11 stars
api-docs-generator SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/api-docs-generator/SKILL.md · Generate API documentation from code - produce OpenAPI/Swagger specs, Markdown API references, request/response…
v1.0.0 · audit A · 11 stars
api-gateway SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/api-gateway/SKILL.md · Universal API gateway - connect to 100+ APIs with a unified interface, manage API keys, and chain API calls
v1.2.0 · audit A · 11 stars
api-tester SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/api-tester/SKILL.md · API测试技能 - IPC处理器发现、测试生成、健康检查、回归测试
v1.0.0 · audit A · 11 stars
architect-mode SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/architect-mode/SKILL.md · 双阶段架构模式 - 先规划后编辑,分离推理与代码修改,提升多文件编辑准确率
v1.0.0 · audit A · 11 stars
audio-transcriber SKILL.md skill
chainlesschain/chainlesschain · desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/audio-transcriber/SKILL.md · Speech-to-text transcription using Whisper API or local engine
v1.0.0 · audit A · 11 stars

Every file in chainlesschain/chainlesschain

Other files named performance-optimizer

performance-optimizer SKILL.md skill
stijnman/grok-custom-skills · .grok/skills/performance-optimizer/SKILL.md · Optimizes agent and code performance via profiling and tuning. Use for: optimize performance, make faster, performance…
v1.2.0 · audit A · 14 stars
performance-optimizer SKILL.md skill
smicolon/ai-kit · packs/django/skills/performance-optimizer/SKILL.md · This skill should be used when the user asks to "optimize queries", "fix slow queries", "improve performance", "detect…
git:20260903.50c14ca · audit A · 7 stars
performance-optimizer SKILL.md skill
polakinio/ai-engineering-playbook · skills/performance-optimizer/SKILL.md · Review or plan changes that affect latency, throughput, caching, batching, scaling behavior, or duplicate work.
git:20260812.5b0dd88 · audit A · 2 stars

Browse by kind, by grade A, or by owner.