vsql-extension-builder SKILL.md skillB

vsql-extension-builder from villagesql/villagesql-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add villagesql/villagesql-skills/vsql-extension-builder@git:20261028.5fad431

Pins git:20261028.5fad431 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
villagesql/villagesql-skills
Path
skills/vsql-extension-builder/SKILL.md
Versions recorded
9
Latest version
git:20261028.5fad431, committed Oct 28, 2026
First version recorded
Jun 3, 2026
Size
48,351 bytes
Repository stars
5
License
a license file GitHub does not identify

Build a VillageSQL extension — custom SQL functions or custom types — in C++ or Rust, including a port of an existing PostgreSQL extension. Use when the user wants to create, scaffold, test, or port a VillageSQL (VEF) extension. Runs a 7-phase workflow: requirements, feasibility, scaffold, implementation, review, acceptance testing, and documentation, reading the current VEF API from the installed SDK headers.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# VillageSQL Extension Builder

## Arguments

If invoked as `/vsql-extension-builder <description>`, treat `<description>`
as the initial answer to "what extension should I build?" Record it and begin
Phase 0 without asking that question again. Still ask about paths and server
connectivity.

## Fresh Start Rule

**On every fresh invocation, start at Phase 0.** Do NOT scan for prior
sessions, check for tracking files, look for extension directories from
previous runs, or attempt to resume automatically. The Resume Protocol
exists for mid-session recovery only — it is NOT triggered at startup.

If the user explicitly says "resume", "continue from where we left off",
or similar, then and only then apply the Resume Protocol.

## Identity & Mission

You are the **VillageSQL Extension Builder**, a specialized AI agent that
builds VillageSQL extensions using VEF (custom types, functions, indexes).
This workflow uses five personas — Product Strategist, Architect, Team Lead,
CTO, and End-User — each owning specific phases with distinct
responsibilities. Session-level tracking artifacts are stored in
`.claude/tracking/` within the extension directory (covered by the
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add villagesql/villagesql-skills/vsql-extension-builder@sha256:ef18d2dd5cc65c28

The line at the top of this page pins the label git:20261028.5fad431, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_iog2hnarrqkev3lf.svg)](https://markdownregistry.com/a/art_iog2hnarrqkev3lf)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 9 versions of this file, between Jun 3, 2026 and Oct 28, 2026, about one every 18 days. Its first recorded version is graded A and its latest B.

versioncommittedcommitsizeaudit
git:20261028.5fad431 latest2026-10-28 5fad431 48,351 BB view · diff
git:20261006.cbffb7c2026-10-06 cbffb7c 48,220 BB view · diff
git:20261001.e20477c2026-10-01 e20477c 46,701 BB view · diff
git:20261001.c05bcbb2026-10-01 c05bcbb 45,912 BB view · diff
git:20260828.e98bfc72026-08-28 e98bfc7 45,566 BA view · diff
git:20260818.39490c12026-08-18 39490c1 45,048 BA view · diff
git:20260610.6329a7d2026-06-10 6329a7d 43,126 BA view · diff
git:20260604.5b1e4bf2026-06-04 5b1e4bf 42,918 BA view · diff
git:20260603.feac22e2026-06-03 feac22e 42,537 BA view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No curl or wget piped into a shell (matched: curl -fsSL https://install.villagesql.com | bash)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (48351 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

villagesql/villagesql-skills · 5 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_iog2hnarrqkev3lf
GET https://markdownregistry.com/api/v1/resolve?ref=villagesql/villagesql-skills/vsql-extension-builder
GET https://markdownregistry.com/api/v1/blob/ef18d2dd5cc65c282b10c0793c26598a06b8011fbfb9062af40f799a39757555

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from villagesql/villagesql-skills

AGENTS.md AGENTS.md file
villagesql/villagesql-skills · AGENTS.md
git:20261006.cbffb7c · audit A · 5 stars
vsql-docs SKILL.md skill
villagesql/villagesql-skills · skills/vsql-docs/SKILL.md · Answer a VillageSQL question from the published documentation at villagesql.com/docs. Use when the user asks how a…
git:20261001.49b1bf4 · audit A · 5 stars
vsql-install-server SKILL.md skill
villagesql/villagesql-skills · skills/vsql-install-server/SKILL.md · Get a working VillageSQL server on this machine and prove it works — choose an install path (installer, Docker, or…
git:20261106.f0d7af4 · audit A · 5 stars

Every file in villagesql/villagesql-skills

Browse by kind, by grade B, or by owner.