Skip to content

Brooks-Lint

v0.8.5 Breaking

This release includes breaking changes for platform teams planning a safe upgrade.

โœ“ No known CVEs patched
Read the diff โ†’ Tool health โ†’ What is this tool? โ†’

✓ No known CVEs patched in this version

Topics

ai-code-review architecture-review auto-fix claude claude-code claude-code-plugin
+14 more
clean-architecture code-health code-quality code-review code-smells codex-cli-plugin developer-tools gemini-cli-extension llm refactoring skills static-analysis tech-debt test-quality

Summary

AI summary

Updates Highlights, ไบฎ็‚น, and ๐ŸŒ English across a mixed release.

Full changelog

A maintenance release that eats its own cooking: every structural issue the four self-review skills surfaced on the validator codebase has been fixed.


๐ŸŒ English

Highlights

  • ๐Ÿ—‚๏ธ Single source of truth for book inventory โ€” skills/_shared/source-coverage.md now carries a YAML frontmatter books: list. validate-repo.mjs derives the book count and all word-form checks from it dynamically. Adding a new book requires editing exactly one file; the validator auto-adapts everywhere else. Eliminates the Shotgun Surgery pattern the audit flagged (R2).
  • ๐Ÿ—๏ธ Validator refactored into named check functions โ€” scripts/validate-repo.mjs reorganized from a 250-line flat script into 12 named category functions (checkVersionConsistency, checkSkillsContent, checkEvalSuite, etc.). Each function has a single concern; the call site reads like a checklist. Addresses the cognitive overload finding (R1) from the self-audit.
  • ๐Ÿ”ข Named constants for risk counts โ€” PRODUCTION_RISK_COUNT = 6 and TEST_RISK_COUNT = 6 replace magic numbers in both validate-repo.mjs and run-evals.mjs. Adding a new risk category is a one-line change per script. No more grep-and-pray updates.
  • ๐Ÿงช Skills content CI โ€” The validator now asserts every SKILL.md has ## Setup and ## Process sections, and every mode guide references the Iron Law. Structural regressions in skills are now caught automatically.
  • ๐Ÿ“ฆ scripts/frontmatter.mjs โ€” parseFrontmatterBooks() extracted to a standalone module. Both validate-repo.mjs and the new test file import it without triggering side effects.
  • โœ… scripts/run-evals.mjs โ€” Structural validator for evals/evals.json: checks sequential IDs, required fields, and risk code presence in expected_output. Run via npm run evals.
  • ๐Ÿ”ฌ scripts/validate-repo.test.mjs โ€” 10 unit tests for parseFrontmatterBooks using Node.js built-in assert. No test framework required; run via npm test.

No breaking changes. Existing .brooks-lint.yaml configs, skill invocations, and short-form commands are untouched.

Install / Upgrade

/plugin marketplace add hyhmrright/brooks-lint
/plugin install brooks-lint@brooks-lint-marketplace

๐Ÿ‡จ๐Ÿ‡ณ ็ฎ€ไฝ“ไธญๆ–‡

ไธ€ไธช"่‡ช้ฃŸๅ…ถๆžœ"็š„็ปดๆŠค็‰ˆๆœฌ๏ผšๅ››ไธช่‡ชๅฎก skill ๅฏน validator ไปฃ็ ๅบ“่ท‘ๅ‡บ็š„ๆ‰€ๆœ‰็ป“ๆž„ๆ€ง้—ฎ้ข˜๏ผŒๅ…จ้ƒจๅœจๆœฌๆฌกไฟฎๅคใ€‚

ไบฎ็‚น

  • ๐Ÿ—‚๏ธ ไนฆๅ•็š„ๅ•ไธ€ๆ•ฐๆฎๆบ๏ผšskills/_shared/source-coverage.md ็Žฐๅœจๆบๅธฆ YAML frontmatter books: ๅˆ—่กจใ€‚validate-repo.mjs ไปŽไธญๅŠจๆ€ๆŽจๅฏผไนฆ็›ฎๆ•ฐ้‡ๅ’Œๆ‰€ๆœ‰่ฏๅฝขๅ˜ๆขใ€‚ๆ–ฐๅขžไธ€ๆœฌไนฆๅช้œ€็ผ–่พ‘่ฟ™ไธ€ไธชๆ–‡ไปถ๏ผŒๆ ก้ชŒๅ™จๅ…ถไป–ๅœฐๆ–น่‡ชๅŠจ้€‚้…ใ€‚ๆถˆ้™คไบ†ๅฎก่ฎกๅ‘็Žฐ็š„ Shotgun Surgery๏ผˆR2๏ผ‰ใ€‚
  • ๐Ÿ—๏ธ ๆ ก้ชŒๅ™จ้‡ๆž„ไธบๅ…ทๅๆฃ€ๆŸฅๅ‡ฝๆ•ฐ๏ผšscripts/validate-repo.mjs ไปŽ 250 ่กŒๅนณ้“บ่„šๆœฌ้‡็ป„ไธบ 12 ไธชๅ…ทๅๅˆ†็ฑปๅ‡ฝๆ•ฐ๏ผˆcheckVersionConsistencyใ€checkSkillsContentใ€checkEvalSuite ็ญ‰๏ผ‰๏ผŒๆฏไธชๅ‡ฝๆ•ฐ่Œ่ดฃๅ•ไธ€๏ผŒ่ฐƒ็”จๅค„่ฏป่ตทๆฅๅƒๆฃ€ๆŸฅๆธ…ๅ•ใ€‚่งฃๅ†ณไบ†่‡ชๅฎกๅ‘็Žฐ็š„่ฎค็Ÿฅ่ฟ‡่ฝฝ้—ฎ้ข˜๏ผˆR1๏ผ‰ใ€‚
  • ๐Ÿ”ข ๅ…ทๅๅธธ้‡ๆ›ฟไปฃ้ญ”ๆณ•ๆ•ฐๅญ—๏ผšPRODUCTION_RISK_COUNT = 6 ๅ’Œ TEST_RISK_COUNT = 6 ๅœจ validate-repo.mjs ๅ’Œ run-evals.mjs ไธญ็ปŸไธ€ๆ›ฟไปฃ็กฌ็ผ–็ ๆ•ฐๅญ—ใ€‚ๆ–ฐๅขž้ฃŽ้™ฉ็ฑปๅˆซๅช้œ€ๅœจๅ„่„šๆœฌๆ”นไธ€่กŒ๏ผŒๆ— ้œ€ๅ…จๅฑ€ grepใ€‚
  • ๐Ÿงช Skills ๅ†…ๅฎน CI๏ผšๆ ก้ชŒๅ™จ็Žฐๅœจๆ–ญ่จ€ๆฏไธช SKILL.md ้ƒฝๆœ‰ ## Setup ๅ’Œ ## Process ๆฎต่ฝ๏ผŒๆฏไธชๆจกๅผๆŒ‡ๅ—้ƒฝๅผ•็”จ Iron Lawใ€‚Skills ็š„็ป“ๆž„ๆ€ง้€€ๅŒ–ๅฏ่ขซ่‡ชๅŠจๆ•่Žทใ€‚
  • ๐Ÿ“ฆ scripts/frontmatter.mjs๏ผšparseFrontmatterBooks() ๆๅ–ไธบ็‹ฌ็ซ‹ๆจกๅ—ใ€‚validate-repo.mjs ๅ’Œๆ–ฐๆต‹่ฏ•ๆ–‡ไปถๅ‡ๅฏๅฏผๅ…ฅ๏ผŒๆ— ๅ‰ฏไฝœ็”จ่งฆๅ‘ใ€‚
  • โœ… scripts/run-evals.mjs๏ผševals/evals.json ็ป“ๆž„้ชŒ่ฏๅ™จ๏ผŒๆฃ€ๆŸฅ้กบๅบ IDใ€ๅฟ…ๅกซๅญ—ๆฎตๅ’Œ expected_output ไธญ็š„้ฃŽ้™ฉไปฃ็ ๅผ•็”จใ€‚้€š่ฟ‡ npm run evals ่ฟ่กŒใ€‚
  • ๐Ÿ”ฌ scripts/validate-repo.test.mjs๏ผš10 ไธช้’ˆๅฏน parseFrontmatterBooks ็š„ๅ•ๅ…ƒๆต‹่ฏ•๏ผŒไฝฟ็”จ Node.js ๅ†…็ฝฎ assert๏ผŒๆ— ้œ€ๆต‹่ฏ•ๆก†ๆžถ๏ผŒ้€š่ฟ‡ npm test ่ฟ่กŒใ€‚

ๆ— ็ ดๅๆ€งๅ˜ๆ›ด๏ผš็Žฐๆœ‰ .brooks-lint.yaml ้…็ฝฎใ€skill ่ฐƒ็”จๆ–นๅผๅ’Œ็Ÿญๅ‘ฝไปคๅ‡ไธๅ—ๅฝฑๅ“ใ€‚

ๅฎ‰่ฃ… / ๅ‡็บง

/plugin marketplace add hyhmrright/brooks-lint
/plugin install brooks-lint@brooks-lint-marketplace

Full changelog / ๅฎŒๆ•ดๅ˜ๆ›ดๆ—ฅๅฟ—: CHANGELOG.md

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Brooks-Lint

Get notified when new releases ship.

Sign up free

About Brooks-Lint

All releases โ†’

Related context

Beta — feedback welcome: [email protected]