pdlc-perf SKILL.md skillA
pdlc-perf from kanfu-panda/pdlc-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kanfu-panda/pdlc-skills/pdlc-perf@git:20261012.035af0dPins git:20261012.035af0d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kanfu-panda/pdlc-skills
- Path
skills/pdlc-perf/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261012.035af0d, committed Oct 12, 2026
- First version recorded
- May 7, 2026
- Size
- 6,896 bytes
- Repository stars
- 18
- License
- MIT
性能优化——先测基线,再逐项改、同一命令复测,报告写优化前后的实测数字;测不了就只出分析.
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
# 性能优化 <!-- @include templates/prompts/iron-law-tool.md(已内联于下方,无需另读) --> ⛔ **IRON LAW · 不可违反的硬门禁(工具型命令)** 本命令不是主链路上的阶段:**不追加 `history`,不改 `current_stage` / `next_step` / `last_phase_result`**,也不为此分配功能ID。以下规则不可协商: 1. **文件必须落盘**:正文要求创建的文件必须作为实际文件写入磁盘,不可仅在对话中输出(只要求在对话里输出的,照正文办)。 2. **自检必须执行**:产出后按本命令的自检项逐项核对,不得以"已经很好了"为由跳过。 3. **防循环**:修复只做一次,不递归。修不了的问题记进报告,继续往下走。 **违反任一条 = 立即中止当前命令,输出违规详情,等待人工介入。** <!-- @include-end templates/prompts/iron-law-tool.md --> 对指定服务或应用进行性能分析并提出优化方案。 ## 分析维度 ### 后端性能 - **数据库层**: 慢查询、N+1 问题、缺失索引、全表扫描 - **缓存层**: 缓存命中率、缓存策略(过期/淘汰)、缓存穿透/击穿/雪崩 - **接口层**: 响应时间、并发处理、连接池配置 - **代码层**: 算法复杂度、内存泄漏、不必要的序列化/反序列化 ### 前端性能 - **加载性能**: 首屏时间、资源体积、代码分割、懒加载 - **运行时性能**: 不必要的重渲染、大列表虚拟滚动、防抖/节流 - **网络优化**: 请求合并、资源压缩、CDN 配置 - **缓存策略**: 浏览器缓存、Service Worker、本地存储 ## 工作流程 > 没有测量就没有优化:**改代码之前先有基线,改完之后用同一把尺子复测**。 1. **定指标与测量手段**:要优化的指标(接口 p50 / p95 延迟、吞吐、查询耗时、首屏时间、包体积、内存)及能**重复执行**的测量命令—— 项目已有的 benchmark / 压测脚本、`EXPLAIN ANALYZE`、Lighthouse CLI、`hyperfine`、`time` 等。 **找不到可重复的测量手段** → 只做分析、给方案,**不改代码**,报告里标「未测量」 2. **测基线**:同一命令至少跑 3 次取中位数,记下环境(机器、数据量、并发数) 3. **识别瓶颈**:有 profile / 慢查询日志 / 火焰图就以它为准,读代码推测只作补充,并注明是推测 4. **一次只改一项**:按投入产出比排序,逐项实施 …
Read the whole file at its exact version.
How to install
mdr add kanfu-panda/pdlc-skills/pdlc-perf@sha256:c3f6bf1e59fffdfeThe line at the top of this page pins the label git:20261012.035af0d, 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.
[](https://markdownregistry.com/a/art_w6i35gjosfswpj26)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between May 7, 2026 and Oct 12, 2026, about one every 32 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261012.035af0d latest | 2026-10-12 | 035af0d | 6,896 B | A | view · diff |
| git:20261008.f546207 | 2026-10-08 | f546207 | 6,894 B | A | view · diff |
| git:20261008.72fb7f7 | 2026-10-08 | 72fb7f7 | 7,221 B | A | view · diff |
| git:20261007.7eb3b9d | 2026-10-07 | 7eb3b9d | 6,250 B | A | view · diff |
| git:20260923.6b87696 | 2026-09-23 | 6b87696 | 6,159 B | A | view · diff |
| git:20260507.ba956b7 | 2026-05-07 | ba956b7 | 2,436 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6896 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
kanfu-panda/pdlc-skills · 18 stars · license MIT · pushed 2026-10-13 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_w6i35gjosfswpj26 GET https://markdownregistry.com/api/v1/resolve?ref=kanfu-panda/pdlc-skills/pdlc-perf GET https://markdownregistry.com/api/v1/blob/c3f6bf1e59fffdfe47f24b7ab89de9614cf7cf387ce31a4ec20f4d0ad6c71c25
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.