# Lintropy

- **Event:** [The IDE Reimagined: JetBrains Codex Hackathon](https://cerebralvalley.ai/e/jetbrains-x-openai-hack)
- **When:** Apr 18 at 9:00 AM – Apr 19 at 5:00 PM (PDT)
- **Where:** Shack15, San Francisco, CA
- **Team:** [Jelle Maas](https://cerebralvalley.ai/u/Typically), [Rens Dijk](https://cerebralvalley.ai/u/rens)
- **GitHub:** https://github.com/Typiqally/lintropy
- **Demo video:** https://youtu.be/y2_Q2QtSxWE?si=MMjCUwtcKwGyV5xw
- **Gallery:** https://cerebralvalley.ai/e/jetbrains-x-openai-hack/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/jetbrains-x-openai-hack/hackathon/gallery/7

Disclaimer: due to unforeseen circumstances we have to leave before noon, so we cannot be there for the demos and pitches. That said, we had a lot of fun building it.

Lintropy is a Rust-based linter and LSP server that lets you define 
repo-specific rules in YAML. It uses tree-sitter queries for structural 
matching and regex for text matching, so you can enforce conventions 
that generic linters like ESLint or Clippy can't, such as "API handlers 
must live under src/api/" or ".unwrap() is banned outside tests".

Rules are enforced everywhere: CLI, CI, editors (VS Code, Cursor, 
JetBrains), and coding agents ( Codex, Claude Code), which matters as 
agents generate more code and convention drift outpaces review bandwidth. 
A bundled SKILL.md teaches agents the rule schema, so they can both 
author new rules from plain-English descriptions and fix their own 
violations in a write → lint → fix loop via the LSP.

---

Markdown version of https://cerebralvalley.ai/e/jetbrains-x-openai-hack/hackathon/gallery/7. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
