eBPF-based security platform
skills: describe bpf-coccinelle, docs and fuzz-target in third person
Daniel Borkmann24f7fbd2d28d
diff --git a/.agents/skills/bpf-coccinelle/SKILL.md b/.agents/skills/bpf-coccinelle/SKILL.mdindex 770496bd..73f44a1e 100644--- a/.agents/skills/bpf-coccinelle/SKILL.md+++ b/.agents/skills/bpf-coccinelle/SKILL.md@@ -1,6 +1,6 @@---name: bpf-coccinelle-description: Check upatch BPF code with shirudo's Coccinelle rules for concurrency hazards, run them on one file or package outside the tree, read a match, and add a rule for a pattern worth refusing for good. Use while writing or reviewing a upatch's BPF C, when check-coccinelle.sh reports a bpf_ rule, or when a hazard keeps coming back and should get a rule.+description: Checks upatch BPF code with shirudo's Coccinelle rules for concurrency hazards, runs them on one file or package outside the tree, reads a match, and adds a rule for a pattern worth refusing for good. Use while writing or reviewing a upatch's BPF C, when check-coccinelle.sh reports a bpf_ rule, or when a hazard keeps coming back and should get a rule.---# Coccinelle for upatch BPF codediff --git a/.agents/skills/docs/SKILL.md b/.agents/skills/docs/SKILL.mdindex 8fc89344..b6f98ce6 100644--- a/.agents/skills/docs/SKILL.md+++ b/.agents/skills/docs/SKILL.md@@ -1,6 +1,6 @@---name: docs-description: Keep Documentation/ in step with a change to shirudo. Covers which pages describe a command, option, message, failure category, tamper or integrity counter, LSM hook, file, unit, environment variable, setting, format, Beefile key, test, kernel patch or threat, how to write the change in the voice of its page, and how to check the result. Use whenever code changes behavior a page describes, when a test is added or removed, and when writing or reviewing a page.+description: Keeps Documentation/ in step with a change to shirudo. Covers which pages describe a command, option, message, failure category, tamper or integrity counter, LSM hook, file, unit, environment variable, setting, format, Beefile key, test, kernel patch or threat, how to write the change in the voice of its page, and how to check the result. Use whenever code changes behavior a page describes, when a test is added or removed, and when writing or reviewing a page.---# Documentation@@ -23,7 +23,7 @@ Then go through the pages each kind of change has:| Change | Pages ||---|---|-| Command, option, usage | `reference/cli/<command>.rst`, the command's help text, `completion/shirudo.bash`, `reference/cheat-sheet.rst`, the guides that run it |+| Command, option, usage | `reference/cli/<command>.rst`, the command's help text, `reference/cheat-sheet.rst`, the guides that run it; `completion/shirudo.bash` only for what `--list-cmds` and `--list-opts` cannot say: a placeholder's meaning, a command's file arguments || Error message, exit status, failure category | `reference/failure-categories.rst` || Tamper counter | `security/tamper-counters.rst` || Integrity counter | `security/integrity-counters.rst` |@@ -64,15 +64,14 @@ Then go through the pages each kind of change has:rendered SVG (`rsvg-convert`) before handing it over.- A new page carries `:page-type:` and `:audience:` and goes into itssection's toctree. Nothing that is not about the project as a whole- goes in the top-level directory, and no README or notes file goes- beside the code.+ goes in the top-level directory, and no README or notes file goes beside the code but those AGENTS.md excepts.## Check```sh.github/scripts/check-docs.shmake -C Documentation check # DOCS_CONTAINER=0 without podman or docker-make docs # renders and serves on 127.0.0.1:8000+make docs # renders, serves on 127.0.0.1:8000 and watches until stopped: run it in the background````check-docs.sh` checks the options of console examples, the failurediff --git a/.agents/skills/fuzz-target/SKILL.md b/.agents/skills/fuzz-target/SKILL.mdindex 11f38c05..ca44a667 100644--- a/.agents/skills/fuzz-target/SKILL.md+++ b/.agents/skills/fuzz-target/SKILL.md@@ -1,6 +1,6 @@---name: fuzz-target-description: Add or extend a libFuzzer target for a shirudo parser of input from outside the host. Covers the harness and the properties it should hold the parser to, the Makefile rule, seed inputs, the coverage table, and running a target and reproducing what it finds. Use when adding or changing a parser of registry, package, upatch, config, evidence or collector input, or when a fuzz run fails.+description: Adds or extends a libFuzzer target for a shirudo parser of input from outside the host. Covers the harness and the properties it should hold the parser to, the Makefile rule, seed inputs, the coverage table, and running a target and reproducing what it finds. Use when adding or changing a parser of registry, package, upatch, config, evidence or collector input, or when a fuzz run fails.---# Fuzz targets