Skills mattpocock ai-engineer-workshop-2026-project

better-sqlite3-rebuild

Use it when:
better-sqlite3 fails to load in your Node.js project because it was compiled for a different Node.js version.
It does:
Runs npm rebuild, which rebuilds every native module of the project, without asking you, then retries what failed.
Runs:
By itself, whenever such a native-module error shows up.

It runs npm rebuild without asking.

TL;DR

better-sqlite3 is a SQLite library for Node.js that ships native code compiled for one Node.js version. Switch Node.js versions and it fails to load, with errors such as a NODE_MODULE_VERSION mismatch or "was compiled against a different Node.js version". This tiny skill tells the agent to fix that itself: when it sees such an error, it runs npm rebuild, which recompiles all the project's native modules for the Node.js you're running, and tries again, without asking you first. It comes from the demo project of Matt Pocock's AI engineering workshop, but nothing in it is specific to that project.

Summarizes the skill at 8f1ea9b.

npx skills add https://github.com/mattpocock/ai-engineer-workshop-2026-project --skill better-sqlite3-rebuild
Weekly Downloads week to Nov 9, 2026
8
-33% in 8 weeks

Fewer weekly downloads than 94% of skills

Weekly values
Week toInstalls
Sep 2112
Sep 286
Oct 53
Oct 129
Oct 192
Oct 263
Nov 23
Nov 98
Total Downloads on skills.sh
134

Fewer downloads than 99% of skills

Age published May 3, 2026
6 months

Newer than 60% of skills

Category

Find root causes, review code and test what you built.

Everything for building software: planning, coding, debugging, design, frameworks, cloud, agents and skills.

Type

Operates a CLI, API, app or bundled script to get something done.

Effect

Its own steps create or change files, git state or local tools.

Needs

Instructions only. Works in any agent that supports skills.

Publisher

Everyone else. Unverified vendor claims default to community.

Topics
Stack

SKILL.md

No copy of its SKILL.md yet.