{"repo":"mennanov/blockwatch","free":true,"listed":false,"github":"https://github.com/mennanov/blockwatch","clone":"git clone https://github.com/mennanov/blockwatch.git","description":"Language agnostic linter that keeps your code and documentation in sync and valid","language":"Rust","stars":29,"topics":["documentation","linter","linters","static-analysis","rust","cli-tools","agent-skills","ai-agents","claude-code","code-drift"],"license":"MIT","category":"dev-tools","readme_excerpt":"BlockWatch BlockWatch is a language-agnostic linter that keeps co-dependent code, documentation, and configuration files in sync. Rules are declared in comments right next to the code they protect. Quick Start Add tags inside comments in any supported file: src/lib.rs : README.html : If you add a new variant to Language in src/lib.rs without modifying README.html , BlockWatch will report an error. The affects validator ensures linked blocks are modified together, while same-as verifies that they agree. When a diff is piped in, only the blocks that diff touched are validated. Adding a rule never fails anyone else's work, so you can annotate an existing codebase one file at a time instead of fixing every pre-existing violation up front. Validators [//]: # ( ) Attribute Description --------------------------------------------------- ------------------------------------------------------------------ affects Ensures linked blocks are updated together (e.g. code and docs) same-as Verifies that two or more blocks contain identical values keep-sorted Enforces alphabetical or numerical ordering on list items keep-unique Prevents duplicate lines within a block line-pattern Enforces that every line matches a specified regex line-count Enforces lower or upper bounds on the number of lines in a block check-ai Validates content against natural language rules using an LLM check-lua Runs custom validation logic written in Lua [//]: # ( ) Blocks also support name (for reference by affects or ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mennanov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mennanov/blockwatch/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}