claude

ops-perf-optimize

AscendC 算子性能调优 Team。五阶段工作流(基线评估→前处理→诊断分析→实施验证→后处理):冻结输入与逐 case 证据门禁、多轮候选优化、精度诊断与原工程回集成。

0 on GitHubby CANNBotv4.1.0CANN-2.0updated 21 days agodevelopment
/

Plugin ops-perf-optimize from marketplace cannbot in catman626/cannbot-skills. Commands read from the repo's manifest — 19 days ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (9)

  • ascendc-performance-review

    AscendC 算子代码静态检视,发现性能坏味道。不运行代码,按检查点索引(PRC 系列)逐项排查:架构宏门控误关快路、平台参数写死、double buffer/搬运合并/核间均衡/UB 切分等访存问题、RegBase/VF/SIMT/标量与头开销等。适用于性能优化前的代码审查、为瓶颈分析提供静态佐证。不适用于性能采集与验收(走 ops-profiling)。

  • ops-perf-acceptance-criteria

    性能优化阶段共用的验收判据:性能采集协议、精度判定、抖动/净收益效果判定、泛化 ratio 判定。只提供判定口径,不执行验证过程;用于阶段执行及门禁复核,按验证类型读取对应参考。触发:仅由 ops-perf-optimize 工作流按阶段派发时使用。

  • ops-perf-analysis

    用于冻结性能任务的基线 profiling、逐 case 瓶颈诊断和方案规划。产出分析报告、精确实施契约与待冻结 scope。触发:仅由 ops-perf-optimize 工作流按阶段派发时使用。

  • ops-perf-baseline-evaluate

    用于已接收的算子性能任务:检查环境/NPU、冻结或生成用例并产出逐 case 对标目标。仅执行基线评估阶段。触发:仅由 ops-perf-optimize 工作流按阶段派发时使用。

  • ops-perf-implementation

    用于性能任务的隔离方案实施、功能与性能门禁、候选终选及最终 demo 全集验收。触发:仅由 ops-perf-optimize 工作流按阶段派发时使用。

  • ops-perf-optimize-workflow

    AscendC 算子性能优化工作流的五阶段主编排入口(主工作流 Skill)。仅当用户明确要求对某个具体 AscendC 算子或代码目录执行性能优化/性能调优时使用;一般咨询、cases.csv 解读、msprof/profiling 报告、加速比分析、精度排障和普通检视不触发。负责请求接入、派发、门禁复核、循环、恢复和持续报告。

  • ops-perf-postprocess

    用于将验收后的性能优化 demo 回集成原工程,保护非目标芯片族并对两个全集检查退化及原代码回路由。触发:仅由 ops-perf-optimize 工作流按阶段派发时使用。

  • ops-perf-preparation

    用于性能任务的独立 demo 前处理:保持调用方式剥离工程,建立构建/加载证据并用 TTK 验证基线精度。触发:仅由 ops-perf-optimize 工作流按阶段派发时使用。

  • ops-perf-profile-feature-extractor

    复杂算子性能特征提取。当简单 profile 信息(聚合指标、torch profiler Duration 等)不足以支撑瓶颈分析时,使用各类工具提取诊断级性能特征(pipe 流水图、逐指令时序、依赖与气泡等),供后续分析使用。不用于稳态耗时验收。触发:仅由 ops-perf-optimize 工作流按阶段派发时使用。

Hooks (1)

  • SessionStart

    "${CLAUDE_PLUGIN_ROOT}/hooks/session-start-ops-perf-optimize"

View source on GitHub gitcode.com

More from catman626/cannbot-skills

All 40 plugins →

AISS-TilingSolver:Ascend C 算子 Tiling 参数自动求解工具(MatMul / Vector)。下载安装、构造 JSON 输入、运行求解、结果解读与故障排查。

94 skills

0

Ascend C 代码审查 Skills(2 个)。代码审查规范和 API 文档检索。

94 skills

0

Ascend C Kernel 直调算子开发 Skills(40+ 个)。API 检索、Tiling 设计、精度调试、性能采集、环境检查、代码模板等。

94 skills

0

Ascend C 算子性能进化优化共享 Skills(2 个)。NPU 架构与芯片规格查询、性能采集与分析。

94 skills

0

AscendC 算子性能调优 Skills(6 个)。性能仿真、Profiling 采集、Tiling 建模与流水分析、性能优化最佳实践、MC² 最佳实践、API 文档检索。

94 skills

0

Ascend C 注册调用算子开发 Skills(21 个)。API 检索、Tiling 设计、精度调试、性能采集、环境检查、代码模板、测试设计、UT 开发等。

94 skills

0

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer

8 skills · 1 MCP server

ChromeDevTools/chrome-devtools-mcp 55,181

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Perform AI code review on Git diffs — supports workspace changes, branch ranges, and single commits with concurrent per-file analysis, codebase search, and deep context-aware review.

2 commands

alibaba/open-code-review 50,068

Maintain ops-perf-optimize?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins40 plugins