AGENT SKILL

performance-native

暂无简介

License 许可
MIT
最近更新
2026-10-16
Stars
★ 0
Forks
0

02 资源文件 5

03 SKILL.md 正文

Native Performance Optimization

Purpose

Profile CPU/GPU cycles, cache misses, and memory latency.

Use when

  • Active Goal or Task explicitly requires native performance optimization operations.
  • Operating in mode(s): implementation, testing.

Do not use when

  • Task is out of scope or unrelated to native performance optimization.
  • Bounded token budget or capability policy denies required operations.

Required context

  • Task requirements
  • System architecture
  • Relevant source files

Procedure

  1. Initialize minimal context for native performance optimization.
  2. Execute scoped operations adhering to protocol standards.
  3. Verify correctness with automated test gates.
  4. Record task intelligence and evidence.
  5. Garbage-collect transient state.

Decision rules

  • Always prefer smallest sufficient changeset over broad refactoring.
  • Preserve existing public contracts and architecture invariants.
  • Never weaken locked Goal acceptance criteria.

Evidence required

  • test

Output contract

  • Implementation / verification output
  • Evidence record

Stop conditions

  • Task acceptance criteria satisfied with evidence
  • Token budget exhausted
  • Blocked on external dependency

Escalation rules

  • Escalate to lead architect or human if locked Goal criteria cannot be met.
  • Escalate immediately upon discovering unexpected security vulnerabilities or data loss risks.

04 同仓库更多 Skills