OpenGrep.
Test structural rules against real code
Encode risky source patterns as reviewed rules. Use positive and negative examples to establish when each rule should report an issue.
Multiple languages
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedThe rule-test convention marks the exact source line expected to match a named rule and includes a negative input to detect unwanted matches.
Measurement
VerifiedThe engine evaluates structural rules and emits JSON or SARIF findings. Results are scoped to the selected rules and language support.
Conformance
VerifiedThe official rule-writing skill publishes annotated source for rule tests and shows expected positive and negative outcomes.
CI enforcement
UnknownNo reviewed evidence is recorded for this dimension.
Can a change trigger a useful check? Contribute evidence ↗
Getting started
UnknownNo reviewed evidence is recorded for this dimension.
Can a newcomer complete a first run? Contribute evidence ↗
Real-world adoption
UnknownNo reviewed evidence is recorded for this dimension.
Has another team put it to work? Contribute evidence ↗
Agent guidance
VerifiedThe upstream agent skill instructs agents to test a named YAML rule against annotated source files, interpret missed lines and inspect the call graph when an expected cross-file match is absent.
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Agent prompt
Use OpenGrep in this repository to meet this standard: Test structural rules against real code. Encode risky source patterns as reviewed rules. Use positive and negative examples to establish when each rule should report an issue. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.