This is a very simple skill that tells the agent how to run
checkpatch.

Signed-off-by: Alex Bennée <[email protected]>
---
 .agents/skills/checkpatch/SKILL.md | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 .agents/skills/checkpatch/SKILL.md

diff --git a/.agents/skills/checkpatch/SKILL.md 
b/.agents/skills/checkpatch/SKILL.md
new file mode 100644
index 00000000000..1f0f84fe6b7
--- /dev/null
+++ b/.agents/skills/checkpatch/SKILL.md
@@ -0,0 +1,10 @@
+---
+name: checkpatch
+description: run checkpatch on a file or patch to validate style issues
+license: GPL-2.0-or-later
+---
+
+# Instructions
+Run `./scripts/checkpatch.pl [FILE]` to check a file for style issues.
+
+You can also use a GIT-REV-LIST to check against git, e.g. run 
`./scripts/checkpatch.pl HEAD^..` to run checkpatch on the last commit.
-- 
2.47.3


Reply via email to