What problem does it solve? Optimizing GPU kernels over many iterations risks silently breaking correctness, gaming benchmarks, or losing track of what was tried. This Skill imposes a disciplined loop for making FLA (Flash Linear Attention) kernels faster in Triton, Gluon, TileLang, or CuTe while keeping the frozen pytest gate — forward and backward, under NaN poisoning — green on every iteration. ## Core Features & Use Cases - Frozen correctness contract: Treats the op's test file and naive reference as immutable, banning tolerance loosening, shape dropping, one-sided numeric-flag relaxation, and vendor-library wrappers that fake speedups. - Three-phase iteration protocol: Baseline validation, profile-guided optimization, and shape specialization, with a strict one-change-per-iteration rule and mandatory bench-log-commit after every attempt. - Evidence and audit trail: Templates for OPT_LOG.md, dispatch.md, and a TRAPS.md catalog of silent-bug and measurement pitfalls (TF32 reference diffs, int64 overflow, stale autotune caches, clock drift). - Use Case: You are speeding up chunk_gla in fla/ops/gla across several sessions. The Skill has you write a task contract, run python -m benchmarks.ops.verify --op gla each iteration, log every result, and only promote on a full green gate with profiler evidence explaining the win. ## Quick Start Ask the AI to optimize the FLA operator you name using the fla-optimization-loop discipline, starting with a task contract and the frozen verify gate.