Grilled Cheese

ExploreLog inSign up

Na'aman Hirschfeld

@nhirschfeld.bsky.social

2.7k Following378 Followers

Co-Founder & CTO @ xberg.io. Document AI and extraction, polyglot Rust cores. Building basemind. Creator of Litestar & Polyfactory. Open source. Opinionated and strongly typed.

PostsRepliesMedia
@nhirschfeld.bsky.socialNov 21, 2026, 5:40 PM

Enable experimental tsrs in poly.toml with [engines.tsrs] and enabled = true. Now poly lint reports TS type errors alongside lint findings.

What check still needs its own CI job in your repo?

github.com/polylint/pol...

github.comGitHub - polylint/polylint: One linter and formatter for every language in your repository. A single Rust binary (poly) with one poly.toml: ruff, oxc, biome, mago and more on demand, a tree-sitter tie...One linter and formatter for every language in your repository. A single Rust binary (poly) with one poly.toml: ruff, oxc, biome, mago and more on demand, a tree-sitter tier for 300+ languages, git...
@nhirschfeld.bsky.socialNov 21, 2026, 5:40 PM

There’s room for the tools you already use. Polylint can call rustfmt and ShellCheck, run recipes for golangci-lint, Hadolint, actionlint or Buf, and opt into hundreds more catalog integrations. Recipes bring tool diagnostics into the same report.

@nhirschfeld.bsky.socialNov 21, 2026, 5:40 PM

The core now downloads and caches signed engine components on demand. Think Ruff for Python, Oxc for JS/TS, Biome for CSS, Mago for PHP, sqruff for SQL, plus engines for Shell, Go, Ruby, Lua, R and Nix. Tree-sitter adds best-effort formatting across 300+ grammars.

@nhirschfeld.bsky.socialNov 21, 2026, 5:39 PM

We built Polylint because linting across roughly 15 language ecosystems at xberg-io meant too much CI setup and too many configs. We also wanted a shorter commit loop, so we replaced prek with Polylint’s Git hooks. The rework brings the Apple Silicon core download from 33.4 MB to 8.1 MB.

@nhirschfeld.bsky.socialNov 18, 2026, 8:26 PM

I published Skif (github.com/polylint/skif) - a dependency linter and dead code analysis for JS/TS written in Rust. I hardened this on several massive repositories and got it to not only conform with Knip, but actually bit it on precision and stability while being on average x5.5 faster.

github.comGitHub - polylint/skif: Dependency and package-manager linter, auditor and enforcer for JavaScript and TypeScript, with first-class monorepo support. One Rust binary replaces sherif, syncpack and knip...Dependency and package-manager linter, auditor and enforcer for JavaScript and TypeScript, with first-class monorepo support. One Rust binary replaces sherif, syncpack and knip; MCP server, LSP and...
@nhirschfeld.bsky.socialNov 18, 2026, 8:26 PM

I published Skif (github.com/polylint/skif) - a dependency linter and dead code analysis for JS/TS written in Rust. I hardened this on several massive repositories and got it to not only conform with Knip, but actually bit it on precision and stability while being on average x5.5 faster.

github.comGitHub - polylint/skif: Dependency and package-manager linter, auditor and enforcer for JavaScript and TypeScript, with first-class monorepo support. One Rust binary replaces sherif, syncpack and knip...Dependency and package-manager linter, auditor and enforcer for JavaScript and TypeScript, with first-class monorepo support. One Rust binary replaces sherif, syncpack and knip; MCP server, LSP and...
@nhirschfeld.bsky.socialNov 9, 2026, 9:41 AM

It is a linter, not a syncing tool: it fails CI when a policy breaks and leaves moving versions to your package manager. Still early (0.2.0). npx skif-cli migrate && npx skif-cli Docs: goldziher.github.io/skif

@nhirschfeld.bsky.socialNov 9, 2026, 9:41 AM

Against Knip on pinned public repos: create-t3-turbo 32 ms vs 2.0 s, vue-core 62 ms vs 1.7 s, babel 884 ms vs 7.2 s. On a seeded dead-code workspace skif scores 100% precision and recall, Knip 77% precision.

@nhirschfeld.bsky.socialNov 9, 2026, 9:41 AM

42 rules: manifest hygiene, version and catalog policy, and dead code (unused files, exports, dependencies) on OXC. It never loads or runs your code. npm, pnpm, Yarn classic and Berry, and Bun, plus Rush and Lerna workspaces.

@nhirschfeld.bsky.socialNov 9, 2026, 9:41 AM

I was consolidating a large monorepo into one pnpm workspace and enforcing it in CI with Sherif, Syncpack and Knip. It worked, but it was slow and clunky. So I built skif: one Rust binary that replaces Sherif and Syncpack, and most of Knip. github.com/Goldziher/skif

@nhirschfeld.bsky.socialNov 6, 2026, 9:01 AM

What failed matters too. Wording tweaks: no gain. A start-hook skill list: +16k start tokens, dropped.

Slides: docs.google.com/presentation/d/1Cx2ypHl_oed0sWamZpgv_2wnrA7Rq-C4bLDMSBXYzAw/view

The static checks run on ai-rulez, which I maintain: github.com/Goldziher/ai-rulez

@nhirschfeld.bsky.socialNov 6, 2026, 9:01 AM

Held-out numbers: pass rate 39% to 81%, right skill found 22% to 72%. A git-ignored CLAUDE.local.md naming the developer's product took those to 96% and 94%. 53 cases, two runs each. User context covers 39 of them, and wrong-product rests on 5 cases, so weigh that one accordingly.

@nhirschfeld.bsky.socialNov 6, 2026, 9:01 AM

The design is an onion. Each layer loads when work reaches it: repo root at session start, area and service folders on first Read, glob-matched rules per file. Grep and Glob load nothing, so searching stays clean. We probed this with a unique sentinel token per file instead of trusting the docs.

@nhirschfeld.bsky.socialNov 6, 2026, 9:01 AM

Spoke at the Berlin Claude Code Meetup yesterday about restructuring AI context in our monorepo at Armis. 1,000+ service folders, several products, and a root skill written when there was only one. Ask about a customer and the agent answered from the wrong product 70% of the time. Now 0%.

Slide titled 'What we tried: a staircase of results'. Wording tweaks: no gain. Start-hook skill list: dropped. Scoped discovery: kept. User-specific context: opt-in. Table comparing master, layered design, and layered plus user context: pass rate 39%, 81%, 96%; right skill found 22%, 72%, 94%; wrong-product answers 70%, 0%, 0%. Footnote: held-out, 53 cases, two runs each; user-specific context covers 39 of them; wrong-product answers rest on 5 cases.
@nhirschfeld.bsky.socialOct 28, 2026, 5:22 AM

Israeli elections be like

Photo, no description
@nhirschfeld.bsky.socialOct 22, 2026, 1:35 PM

Visiting Israel - among other things to vote in the elections here. Seeing this - Ben-Gvir's election billboard, reading "Strong Ben-Gvir, Strong Israel!". See the little handcuffed Palestinians below. This is horrific, but sadly - it's "normalized" by the regime. #freeIsrael, #freePalestine

Photo, no description
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST