Umbrella for the tree-sitter / ast-grep offload sweep. Origin: a portfolio review of which plugin skills and repo scripts still do structural parsing with regex/grep — exactly the places with documented false-positive histories (#1701/#1721/#1722/#1900 in the bash hook; #1744/#1492 in the markdown lints). The unifying principle is .claude/rules/offload-to-deterministic-substrate.md: match code/markdown by structure with a real parser, keep the agent for judgment.
Items
Suggested implementation order (best effort-to-payoff first): #2010 → #2009 → #2013, then #2011/#2012 opportunistically; #2008 is explicitly gated.
Tier 1 — repo hooks & lint scripts (accuracy)
Tier 2 — code-quality-plugin skills (operational simplification)
Explicitly out of scope
Cross-cutting conventions for all items
- Every skill change lands with its semantic regression guard (
.claude/rules/regression-testing.md)
- New tool dependencies follow the install priority (mise aqua/pipx,
uv tool install); runtime hooks must fail open when the tool is absent, CI-only scripts may hard-depend
- Docs land in the same commit as code (
blueprint-plugin:blueprint-docs-currency)
Umbrella for the tree-sitter / ast-grep offload sweep. Origin: a portfolio review of which plugin skills and repo scripts still do structural parsing with regex/grep — exactly the places with documented false-positive histories (#1701/#1721/#1722/#1900 in the bash hook; #1744/#1492 in the markdown lints). The unifying principle is
.claude/rules/offload-to-deterministic-substrate.md: match code/markdown by structure with a real parser, keep the agent for judgment.Items
Suggested implementation order (best effort-to-payoff first): #2010 → #2009 → #2013, then #2011/#2012 opportunistically; #2008 is explicitly gated.
Tier 1 — repo hooks & lint scripts (accuracy)
bash-antipatterns.shast-grep bash-parse fast path — gated: do not implement until the next false-positive regression, then implement instead of another regex patchTier 2 — code-quality-plugin skills (operational simplification)
code-antipatterns+code-hidden-failurescatalogs as executable ast-grep rule projects (ast-grep scan -c … --json); agents keep only judgment workcode-complexity: replace "manual AST analysis" branches (JS/TS, Go) withlizarddry-consolidation: offload duplicate discovery tojscpd(+ ast-grep for exact-shape confirmation)bulk-sweep-classify: route code-targeted sweeps through ast-grep, keeping the four-category discipline for prose/docsExplicitly out of scope
migration-patterns-plugin(eslint-to-biome, flake8-to-ruff, …) — config migrations; the target tools ship their own migrators (biome migrate eslint). No AST work to offload.code-quality-preflight-cue.shexportregex (code-quality-preflight-cue over-triggers on small standalone shell scripts #1766) — already fixed per-filetype; a parser there is overkill for a nudge hook.Cross-cutting conventions for all items
.claude/rules/regression-testing.md)uv tool install); runtime hooks must fail open when the tool is absent, CI-only scripts may hard-dependblueprint-plugin:blueprint-docs-currency)