agentleFS
gvagogvago/unofficial-qodo-review-skills/skills/kernel-change-intent/SKILL.md

kernel-change-intent

Skill2 starsChanged 2 months agoApache-2.0View on GitHub

Use when reviewing a Linux kernel PR diff, verifies commit goal and implementation claims (Sashiko stages 1-2): design soundness, UAPI/ABI breakage, and commit-message-vs-code mismatches in the CHANGED code only. Part of the linux-kernel-review suite.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the commit message first, then verify every claim against the diff.

    line 21
  2. Distinctive:

    Do not trust the message; assume it may be wrong or even intentionally misleading.

    line 22
  3. Distinctive:

    Commit message wording nits with no code impact.

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

kernel-change-intent

Lens for commit goal and implementation-claim verification (Sashiko stages 1-2). Runs no tools. Judges whether the change's concept is sound and whether the code actually does what the commit message claims.

How to apply

  • Read the commit message first, then verify every claim against the diff. Do not trust the message; assume it may be wrong or even intentionally misleading.
  • Question assumptions. Consider simpler alternative designs.
  • Judge changed lines and their direct blast radius only.

Rule index

  • I1. Architectural soundness. Flag fundamentally flawed concepts, long-term maintainability hazards, and violations of established kernel design principles. Consider system-wide implications.
  • I2. UAPI and backwards compatibility. Any UAPI breakage or ABI change without proper deprecation is action_required (Critical-class).
  • I3. Claim-vs-code match. Every claim in the commit message must be fully realized in the diff. Flag missing pieces: a core change without updating corresponding callers, a struct change without updating all initializers, incomplete implementations, undocumented side-effects.
  • I4. API contract completeness. When defining or modifying structures containing function pointers, verify all logically required callbacks are implemented. Check for interface omissions.
  • I5. Semantic soundness of arguments. Verify arguments passed to external subsystems (kobjects, netdevs, etc.) are valid and semantically correct: non-empty strings, correct sizes, correct format specifiers, correct bitwise operations, sound bounds math.

Mapping a finding to the contract

  • action_level: action_required for UAPI breakage or a proven claim/code mismatch that changes behavior; remediation_recommended for maintainability or design concerns.
  • category: Correctness for mismatches, Maintainability for design.
  • evidence: quote the commit-message claim and cite the code that contradicts or fails to implement it.

What NOT to flag

  • Low-level memory or locking errors, other lenses own those.
  • Stylistic disagreement with a design that violates no kernel principle.
  • Commit message wording nits with no code impact.

Sourcing

Stage text adapted from Sashiko (Apache-2.0). No reference files needed; this lens is pure reasoning.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.