Checklist and workflow for preparing an MR/PR in the FLA repo. Covers CONTRIBUTING.md compliance, test plan, benchmark evidence, and PR body structure.
63
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/fla-mr-readiness/SKILL.mdUse this skill before opening a pull request to make sure the change is well-scoped, well-tested, and well-documented.
Read CONTRIBUTING.md
main (or the target branch).Confirm change scope
Check for duplicate work
gh pr list --repo fla-org/flash-linear-attention --state open --search "<keywords>"Run dependent tests
python scripts/find_dependent_tests.py <changed_file_or_dir>Performance evidence (if touching kernel code)
fla-nvidia-performance skill for the full evidence requirements.Write PR summary
.github/pull_request_template.md; the check-pr-title workflow rejects bodies that drop the checklist, so never trim it to save space.Code style review
CONTRIBUTING.md for Python style, docstrings, comments, and commit prefixes.fla.utils
(device, device_platform, IS_NVIDIA, IS_NVIDIA_HOPPER,
IS_NVIDIA_BLACKWELL, IS_AMD, IS_INTEL) instead of new direct
torch.cuda platform checks. Add a small fla.utils helper first when
the existing wrappers are not enough.Follow .github/pull_request_template.md exactly, checklist included:
## Summary
One-paragraph description of what changed and why.
## Test plan
- Unit tests added/modified: `<list>`
- Dependent tests run: `<list>`
- Varlen / CP / model tests: `<yes/no + details>`
## Benchmark / NCU (kernel changes only)
- Hardware: `<e.g., H100>`
- Workload: `<batch, seq_len, dtype>`
- Before: `<throughput or latency>`
- After: `<throughput or latency>`
- Conclusion: `<improvement / neutral / trade-off>`
(state "neutral" when the change is not performance-related)
## Breaking changes
- None / list any API or behavior changes.
## Checklist
- [x] I have read [CONTRIBUTING.md](../CONTRIBUTING.md) and follow its conventions (code style, docstrings, commit prefixes).
- [x] I have read [AGENTS.md](../AGENTS.md) and, where my change matches its scope, the relevant skill under [.agents/skills](../.agents/skills).
- [x] Dependent tests pass locally or in CI, and new behavior is covered by tests where applicable (tick as N/A for changes with no testable code, e.g. docs-only).
- [x] Kernel changes include same-hardware before/after benchmark numbers, dense + varlen where applicable (tick as N/A when no kernel code changed).
- [ ] This PR is minor/cosmetic-only (typo, formatting, style-only tweaks) — tick only if it is, and justify below.
### If you ticked the "minor" box above
<justification — required when the "minor" box is ticked; otherwise delete this section>What check-pr-title (.github/workflows/check-pr-title.yml) enforces:
### If you ticked is required.gh pr edit (see AGENTS.md "Opening PRs").Do not put raw performance numbers without context. Always include:
Do not commit .ncu-rep files or raw profile dumps. Summarize results in
the PR body and keep artifacts local.
No busywork PRs: bundle trivial cleanups into a substantive change; do not open a PR for a single typo unless it is part of a larger fix.
f470469
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.