Giuseppe Perrotta
Giuseppe Perrotta's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.
Totals count @sk8erboi17's own selected commits. The repositories belong to their maintainers; their stars are not counted here.
What an agent can do with @sk8erboi17's commit to opengrep
opengrep/opengrep: 🔎 Static code analysis engine to find security issues in code
- Reuse a worked example: the commit “represent switch value labels as values” (39 files · OCaml, Swift).
- Answer from opengrep's real OCaml source instead of memory (Security and vulnerabilities).
- Where does opengrep handle “represent switch value labels as values”?
- What does tests do in opengrep?
Search the GitHub repository opengrep/opengrep with XERJ (https://hub.xerj.org/corpus/opengrep--opengrep). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/opengrep/opengrep opengrep --filter=blob:none --no-checkout && git -C opengrep sparse-checkout set --no-cone /languages/apex/generic/ /languages/cpp/generic/ /languages/crystal/generic/ /languages/csharp/generic/ /languages/dart/generic/ /languages/go/generic/ /languages/java/generic/ /languages/javascript/generic/ /languages/php/generic/ /languages/ruby/tree-sitter/ /languages/swift/generic/ /src/analyzing/ /src/naming/ /tests/rules/ && git -C opengrep checkout 566bdf9127762086d9616a465f8dff9025911379 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./opengrep --url http://127.0.0.1:9200 --prefix opengrep --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: LGPL-2.1. Read it for the approach only, do not copy code.
corpus opengrep--opengrep · Security and vulnerabilities
Related corpora: catala-law-lang, syaiful6/tapak, ripe-lang/ripe
Code security audit with XERJ · Case study: reference coding for agents
Selected work
Commit to opengrep/opengrep
The corpus covers only the directories this commit changed (languages/apex/generic, languages/cpp/generic, languages/crystal/generic, languages/csharp/generic, languages/dart/generic, languages/go/generic, languages/java/generic, languages/javascript/generic, ). The repository is @opengrep's; this page credits @sk8erboi17 for this commit only.
Sign in with GitHub or Hugging Face to see more: every selected commit in full (commit date, every folder, licence review state, pin) and the pack builds of each corpus.
[](https://hub.xerj.org/contributors/sk8erboi17)
Included with the author's permission (email, 2026-10-16), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.