What problem does it solve? Working on Kimi Delta Attention (KDA) kernels in the flash-linear-attention repository requires deep knowledge of gate modes, safe_gate numerical constraints, intra/inter chunk kernels, and backend variants. This Skill encodes that domain knowledge so changes to fla/ops/kda/** stay numerically correct and consistent across code paths. ## Core Features & Use Cases - Public code map: Locates the exact functions for chunk forward, intra/inter kernels, WY recompute, backward passes, gate helpers, and FlashKDA/TileLang backends. - Gate mode contracts: Documents the pre-gated vs in-kernel gate modes, safe_gate activation formulas, and the lower_bound constraints (-5 <= lower_bound < 0). - Numerical safety notes: Explains midpoint-offset exponentiation in intra sub-chunk kernels and paired-offset decay ratios in inter-solve kernels to avoid exp2 overflow. - Correctness checklist: Enumerates test axes to cover (varlen, forward/backward, gate modes, GVA, CP paths, gate numerical extremes) before finishing a KDA change. - Use Case: When modifying chunk_kda_fwd_kernel_intra_sub_chunk to change decay handling, use this Skill to verify the safe and non-safe paths stay consistent and to select the right test coverage. ## Quick Start Use the fla-kda skill to review my changes to the KDA safe_gate intra kernel and tell me which tests I need to run.