Coverage
alirezarezvani/claude-skills
Analyze test coverage gaps. An agent skill from alirezarezvani/claude-skills.
Contract-first design and coverage discipline for FLA kernel and numerical changes.
$ npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install fla-org/flash-linear-attention fla-design-coverage --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/fla-org/flash-linear-attention.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/fla-design-coverage .claude/skills/fla-design-coverage && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fla-design-coverage" agent skill from https://github.com/fla-org/flash-linear-attention/tree/main/.agents/skills/fla-design-coverage into .claude/skills/fla-design-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fla-design-coverage", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/fla-org/flash-linear-attention/tree/main/.agents/skills/fla-design-coverageType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install fla-org/flash-linear-attention fla-design-coverage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fla-org/flash-linear-attention.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/fla-design-coverage .agents/skills/fla-design-coverage && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fla-design-coverage" agent skill from https://github.com/fla-org/flash-linear-attention/tree/main/.agents/skills/fla-design-coverage into .agents/skills/fla-design-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fla-design-coverage", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install fla-org/flash-linear-attention fla-design-coverage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fla-org/flash-linear-attention.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/fla-design-coverage .cursor/skills/fla-design-coverage && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fla-design-coverage" agent skill from https://github.com/fla-org/flash-linear-attention/tree/main/.agents/skills/fla-design-coverage into .cursor/skills/fla-design-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fla-design-coverage", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/fla-org/flash-linear-attention.git --path .agents/skills/fla-design-coverage--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install fla-org/flash-linear-attention fla-design-coverage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fla-org/flash-linear-attention.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/fla-design-coverage .gemini/skills/fla-design-coverage && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fla-design-coverage" agent skill from https://github.com/fla-org/flash-linear-attention/tree/main/.agents/skills/fla-design-coverage into .gemini/skills/fla-design-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fla-design-coverage", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install fla-org/flash-linear-attention fla-design-coverageInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/fla-org/flash-linear-attention.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/fla-design-coverage .github/skills/fla-design-coverage && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fla-design-coverage" agent skill from https://github.com/fla-org/flash-linear-attention/tree/main/.agents/skills/fla-design-coverage into .github/skills/fla-design-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fla-design-coverage", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install fla-org/flash-linear-attention fla-design-coverage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fla-org/flash-linear-attention.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/fla-design-coverage .opencode/skills/fla-design-coverage && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fla-design-coverage" agent skill from https://github.com/fla-org/flash-linear-attention/tree/main/.agents/skills/fla-design-coverage into .opencode/skills/fla-design-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fla-design-coverage", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fla-design-coverageContract-first design and coverage discipline for FLA kernel and numerical changes.
Fla Design Coverage is an agent skill from fla-org/flash-linear-attention. Contract-first design and coverage discipline for FLA kernel and numerical changes. Use before implementation to define supported cells, numerical budgets, dispatch semantics, compatibility, tests, and benchmarks.
Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: 🚀 Efficient implementations for emerging model architectures. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 72ac946. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fla Design Coverage loads about 3.6k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 1,748 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from fla-org/flash-linear-attention at commit 72ac946, republished under its MIT licence (© fla-org). 1,748 words, ~3,608 tokens.
.claude/skills/fla-design-coverage/SKILL.md (or your agent's skills folder).Use this skill at the start of designing a kernel, backend path, or numerical change. Complete these steps in order before implementing:
fla-correctness-coverage.This skill defines the design contract. Use fla-correctness-coverage for test axes and fla-dispatch-backends for dispatch mechanics.
The unit of design is a contract cell: one reachable combination of the dimensions below. Do not generate combinations that no public API or supported FLA layer, model, or CP route can reach, counting fallback outcomes as reachable.
BaseBackend implementation or the original decorated implementation; not a hardware product or the fla.utils.Backend enum@dispatch selection, identified by its ordered leaf stages; a leaf stage is one kernel or numerical operation whose load, operand, accumulation, store, range, or reduction behavior needs its own numerical budgetBT, BC, and, for operators with anchors, the anchor placementgk >= lower_bound or the safe_gate rangeBefore implementation, write a contract table with one row per reachable cell. Derive the rows from four inventories — public entry points and their defaults, registered backend verifiers, layer/model callsites, and existing parameterized tests — and keep a Source column so every inventory item maps to at least one row. Each row ends in exactly one disposition:
There is no implicit fourth state. Uninitialized output, a silent or semantics-changing fallback, a tolerance change made to pass a gate, and a warning that hides a hard regression are correctness failures.
A fallback counts as Existing fallback only when it preserves the return structure, output dtypes, state and autograd behavior, and the row's oracle within its tolerances, verified by a route-parity test. Under context parallelism, the routing decision must be identical on every rank: if any verifier input can differ by rank, combine the accept bits with a collective and select the optimized backend only when every rank accepts. If a successful forward call commits autograd to the same backend, record that in the row.
Do not change a committed correctness-gate oracle, input distribution, assertion, or tolerance in the same change that relies on it to pass. A tolerance change goes in a separate commit with before/after error distributions for the unchanged baseline and candidate, and python -m benchmarks.ops.verify --op <op> stays green before the candidate lands. Any committed tolerance change also follows the RFC requirement in AGENTS.md.
Apply a safety flag only to cells that satisfy its documented bound regime and input-domain assumptions. Evaluate the flag for each combination of leaf pipeline, chunk geometry, anchor placement, dtype staging, bound regime, and input numerical domain; never promote it to an operator-wide guarantee.
Record each stage's assumptions independently: an exponent budget for one stage does not prove that a later inversion is safe. Add each extra assumption (input-norm bounds, correlation bounds, and the like) as a named predicate in the row, enforced by public-entry validation or by every affected backend verifier, with one acceptance test at the boundary and one rejection or fallback test just outside it.
Resolve user-visible defaults and normalization in one shared helper. The public entry, every backend verifier, and every backend executor call that helper rather than duplicate its rules; a verifier may call it independently for routing, but must not reimplement the formula. Add parity tests asserting that an omitted argument and its documented explicit default select the same route and produce matching outputs and gradients. input_guard covers contiguity and device context only; it does not normalize semantic arguments or dtype staging.
A leaf-stage budget records the contract below for one leaf stage. A cell's numerical budget is the ordered set of its leaf-stage budgets plus the end-to-end acceptance rule. Record budgets in both directions: outputs and gradients each pass their committed assert_close tolerances, and passing the forward comparison does not cover backward stages such as inverse recomputation, gradient combination, and state backpropagation.
| Field | Required decision |
|---|---|
| Source | Input numerical domain and upstream range assumptions |
| Load | Dtype and any conversion applied at ingress |
| Operand | Dtype presented to each numerical operation |
| Accumulate | Accumulation dtype and reduction behavior |
| Store | Output dtype and conversion at egress |
| Range | Exponent headroom and overflow/underflow limits |
| Error | Rounding allowance and how it propagates downstream |
| Acceptance | Oracle, output and per-gradient tolerances, and test IDs |
End-to-end error is the propagation of these stage budgets: algebraically equivalent expressions are not numerically equivalent when staging, reduction order, or range changes. Changing the compute or accumulation precision of a validated path, relaxing a committed tolerance, or replacing its validated numerical algorithm requires the RFC process under "Scope and direction" in AGENTS.md; ordinary reorderings within the same precision are exempt there.
Every numerical-safety threshold used to accept or reject a cell has a documented algebraic derivation, is implemented once in the operator's backend-neutral module, and is called by every verifier that depends on it; the rejection reason names the failed predicate and the effective values. Performance-routing thresholds are outside this rule but require benchmark evidence. Example pattern — DPLR's gate_bound_is_safe(lower_bound, chunk_size):
abs(lower_bound) * (chunk_size // 2 + 1) * log2(e) <= 124124 is the fp32 exponent limit (~128 in base-2 units) minus activation-multiply headroom. Tests cover the largest accepted value and the adjacent rejected value.
Keep these layers separate:
| Layer | Question | Required evidence and home |
|---|---|---|
| Production-representative hard gate | Do the cells FLA layers and models actually dispatch stay correct and fast? | Pin effective arguments, shapes, dtypes, bound regimes, input distributions, and routes from checked-in layer/model callsites, reproduced in tests/models/test_modeling_*.py or an exact op-level equivalent; global SHAPE_CONFIGS alone do not establish production use. Run python -m benchmarks.ops.verify --op <op> (see fla-optimization-loop). |
| Public-contract boundary hard gate | Does the full documented and previously supported domain remain valid? | Parameterized matrices in tests/ops/test_<op>.py; backend verifier accept/reject cases; parity tests asserting an omitted argument matches its documented explicit default. |
| Beyond-contract adversarial coverage | Does out-of-contract input fail safely? | Each case requires one of two outcomes: rejection before kernel execution with the documented error, or completion with finite outputs and gradients via explicit torch.isfinite assertions. NaN memory poisoning covers only tests/ops/ and tests/modules/; layer and CP tests add their own finite checks. |
No layer substitutes for another: production evidence does not prove compatibility, boundary evidence does not represent production numerics, and adversarial robustness does not expand the public contract.
Build one coverage plan per reachable cell: label each test case with its layer, then vary the applicable axes from fla-correctness-coverage within that cell. Do not maintain a separate layer matrix and axis matrix. When two routes both claim the same cell, add a route-parity test that selects each route explicitly (e.g. FLA_TILELANG=0/1) and compares outputs and gradients under the cell's tolerances.
Implementations may be selected by backend, platform capability, architecture capability, or optional-software availability; all routes for the same contract cell preserve the same public numerical semantics — same oracle, tolerances, return structure, and documented behavior. Centralize product, architecture, and platform detection in fla.utils; kernel and backend code consumes the narrowest existing capability or availability helper, adding a new product-family flag only when no capability-level predicate expresses the requirement. Keep the dispatch terminology distinct: BaseBackend.is_available() checks backend availability, is_enabled() checks policy enablement, and a call verifier checks one call; helpers such as find_spec_cached and has_usable_nvcc supply facts those checks consume, and get_device_capability is CUDA-specific and appears only inside platform-guarded paths. Capability-based performance routing is allowed with benchmark evidence and is recorded in the contract table.
Preserve every cell supported at the PR's merge-base — documented by the public API, covered by a committed test, or dispatched by a supported layer, model, or CP route. Record the merge-base SHA in the design note. Each such cell keeps its existing implementation or gains a fallback that satisfies the Existing-fallback definition; replacing support with a new rejection requires the breaking-change approval in AGENTS.md.
Autotune configs and caches must not define separate numerical contracts: every config selectable for a cell stays within its budget, even though config keys do not encode the input numerical domain. Record compute-precision environment state (TRITON_F32_DEFAULT, matmul precision settings) in the budget context, set the same explicit values for baseline, candidate, and every test of the operator, and restore global state after the test.
If a proposal changes a public argument default or the route a default call selects, add explicit Default before and Default after entries to every affected contract-table row. Changes to public defaults or observable semantics need the breaking-change approval in AGENTS.md; selecting a faster route with the same public contract needs route-parity tests and benchmark evidence. For any interface, docstring, or behavior change, audit every caller, backend, test, and document in one repository-wide pass, and record when a category has no affected sites.
Before comparing implementations, record for every production-dispatched cell: its oracle, normalized effective arguments, input distribution and seed, baseline correctness status, baseline latency or throughput, hardware and software environment, and baseline commit SHA.
Benchmark the production cells first, then each public-contract boundary that changes routing, chunk geometry, dtype staging, bound regime, or expected performance of the optimized path; boundaries unaffected by the proposal need correctness coverage but no new performance measurement. A speedup on a path that no checked-in layer or model can dispatch under the recorded environment is supporting evidence only, not evidence that the design improves FLA.
© fla-org, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/fla-design-coverage of fla-org/flash-linear-attention.
Open the folder on GitHubat commit 72ac946
Fla Design Coverage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fla Design Coverage this skillfla-org/flash-linear-attention | 5.8k | — | ~3.6k | Automated safety check: Pass | MIT | |
| Coveragealirezarezvani/claude-skills | 28k | 2 repos | ~669 | Automated safety check: Pass | MIT | |
| Test Coveragethedaviddias/Front-End-Checklist | 74k | — | ~407 | Automated safety check: Pass | MIT | |
| Analyzing CoverageTriliumNext/Trilium | 38k | — | ~2k | Automated safety check: Pass | AGPL-3.0 | |
| Test Coverage Improveropenai/openai-agents-python | 30k | — | ~687 | Automated safety check: Pass | MIT | |
| Pytest Coveragegithub/awesome-copilot | 40k | 4 repos | ~282 | Automated safety check: Pass | MIT |
alirezarezvani/claude-skills
Analyze test coverage gaps. An agent skill from alirezarezvani/claude-skills.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing CI coverage, automated checks, or test strategy related to Maintain test coverage thresholds.
TriliumNext/Trilium
A skill your agent uses when measuring or chasing Vitest/v8 code coverage in the Trilium monorepo — "what's below 100%?", "which files need tests?", "what lines of X are uncovered?", "take <area to…
openai/openai-agents-python
Measure Python SDK coverage or address measured coverage gaps.
github/awesome-copilot
Run pytest tests with coverage, discover lines missing coverage, and increase coverage to 100%.
sgl-project/sglang
Apply the SGLang kernels RFC when adding, moving, splitting, or reviewing kernel APIs, registry metadata, kernel tests, benchmarks, and model-specific implementations.
fla-org/flash-linear-attention
Guidelines for Ascend NPU kernel / Triton-Ascend backend performance work in the FLA repo.
fla-org/flash-linear-attention
Disciplined, reproducible loop for making an FLA kernel faster (Triton, Gluon, TileLang, CuTe) without ever breaking or gaming correctness.
fla-org/flash-linear-attention
Workflow for porting an existing Triton kernel in fla/ops/ to Gluon (triton.experimental.gluon) to gain explicit control over tensor layouts, shared memory, async data movement (cp.async / TMA), MMA…
fla-org/flash-linear-attention
Guidelines for kernel correctness testing and coverage in fla/ops/ and related modules, including common Triton grid/addressing pitfalls.
fla-org/flash-linear-attention
Workflow for FLA backend dispatch decorators and backend implementations.
fla-org/flash-linear-attention
FLA KDA kernel workflow and public technical notes. An agent skill from fla-org/flash-linear-attention.
Contract-first design and coverage discipline for FLA kernel and numerical changes. Fla Design Coverage is an agent skill from fla-org/flash-linear-attention. Contract-first design and coverage discipline for FLA kernel and numerical changes.
Run `npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a claude-code`. Or copy the skill folder (.agents/skills/fla-design-coverage in fla-org/flash-linear-attention) into .claude/skills/fla-design-coverage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a codex`. Or copy the skill folder (.agents/skills/fla-design-coverage in fla-org/flash-linear-attention) into .agents/skills/fla-design-coverage in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fla-org/flash-linear-attention --skill fla-design-coverage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fla-design-coverage, .gemini/skills/fla-design-coverage, .github/skills/fla-design-coverage and .opencode/skills/fla-design-coverage in your project.
Going by SKILL.md and its folder, Fla Design Coverage needs the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Fla Design Coverage is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Fla Design Coverage: Coverage (alirezarezvani/claude-skills, 28k stars), Test Coverage (thedaviddias/Front-End-Checklist, 74k stars), Analyzing Coverage (TriliumNext/Trilium, 38k stars) and Test Coverage Improver (openai/openai-agents-python, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
fla-org (a GitHub organization) maintains it in fla-org/flash-linear-attention, which has 5,831 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 8, 2026.
Source: fla-org/flash-linear-attention on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.