Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pproenca avatar

Library Reference Distillation

  • 59 installs
  • 191 repo stars
  • Updated July 24, 2026
  • pproenca/dot-skills

library-reference-distillation is a Claude Code skill in the AI & Agent Building category.

Key points

  • library-reference-distillation
  • AI & Agent Building
  • AI-coding skill

Library Reference Distillation by the numbers

  • 59 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #6,464 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pproenca/dot-skills --skill library-reference-distillation

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs59
repo stars191
Last updatedJuly 24, 2026
Repositorypproenca/dot-skills

How do I helps with ai & agent building tasks during ai-assisted development?

Helps with ai & agent building tasks during AI-assisted development.

Who is it for?

Best when you're working on ai & agent building and need structured help with library-reference-distillation.

Skip if: Teams with no ai & agent building needs, or anyone wanting a generic chat assistant without this specific workflow.

When should I use this skill?

When you need to helps with ai & agent building tasks during ai-assisted development, or when library-reference-distillation is a claude code skill in the ai & agent building category.

What you get

Structured output aligned to library-reference-distillation: library-reference-distillation; AI & Agent Building; AI-coding skill.

Files

SKILL.mdMarkdownGitHub ↗

Library-Reference Distillation — Archetype Playbook

Methodology distillation of the conventions that hold across shipped library-reference distillations in this repo — the archetype that turns one external library into an idiomatic-usage rule pack. Not a generator; a constraint set on the editorial decisions /dev-skill:new cannot make for you.

This is the archetype layer that sits above /dev-skill:new and /dev-skill:ingest. The generator handles the structural shell. This skill handles the four decisions you re-make for every library-ref skill: where to source from, how to pin against version drift, how to shape categories and rules, and how to keep the metadata an honest checksum.

When to Apply

Use this skill when:

  • Starting a new library-ref distillation (the library has docs and a stable surface area you want to capture as idiomatic rules)
  • Evolving an existing library-ref skill against a new upstream release or major version bump
  • Reviewing a draft library-ref skill that "feels like the docs rewritten"
  • Picking categories and a prefix scheme for a new skill and the choices feel arbitrary
  • Deciding whether to pin the upstream version in SKILL.md heading or only in metadata.json
  • Refreshing a skill where you suspect rule drift from upstream (the openai-codex-rust-patterns lesson: codex-rs drifts hard between snapshots)

This skill is not for:

  • Code-atlas distillations (e.g., openai-codex-rust-patterns, opencode-ts, nextjs-ppr-patterns) — sources are a real repo at a pinned HEAD, not upstream docs. Sibling archetype playbook still to be extracted.
  • Methodology distillations (e.g., radical-simplification, deterministic-metric-design) — sources are named humans and their canon, not a library.
  • Scaffolders (e.g., expo-design-system-scaffolder) — composition workflow, not a rulebook.

How to Use

The four categories are orthogonal decisions you make once per skill. Match the symptom to the move:

SymptomReach forFirst rule to read
Don't know where to mine rules fromSource`source-priority-ladder`
Rules feel like API restatement, not load-bearingSource (failure-gap)`source-failure-gap`
Library changes fast — skill will rotPin`pin-by-velocity`
Existing skill is drifting from upstreamPin (refresh)`pin-refresh-vs-head`
Categories feel arbitraryShape`shape-category-ladder`
When-to-Apply does not trigger reliablyShape (When-to-Apply)`shape-when-to-apply-template`
Cite list and rule sources have driftedMeta`meta-references-checksum`

For category overviews and ordering rationale, see `references/_sections.md`.

Rule Categories

#CategoryPrefixMoveRules
1Source SelectionsourceWhere to mine from; what makes a rule load-bearing2
2VersioningpinHow to pin against API velocity; how to refresh2
3Rule ShapeshapeThe universal 4-tier ladder; the When-to-Apply template2
4Metadata Disciplinemetareferences[] as honest cite-set checksum1

Quick Reference

1. Source Selection

  • `source-priority-ladder` — Docs → blog/changelog → GitHub discussions → types → examples; the ladder inverts only when the library publishes an llms.txt (Effect)
  • `source-failure-gap` — Privilege rules that capture what docs omit and production exposed; if a rule just restates the API, cut it

2. Versioning

  • `pin-by-velocity` — Stable APIs (Zod, RHF) → version lives in metadata.json only; fast-moving APIs (nuqs v2.5–v2.8, Tailwind v4) → explicit range in SKILL.md heading
  • `pin-refresh-vs-head` — When evolving, diff your skill against upstream HEAD; codify the drift lessons (codex-rs codex.rssession/ split is the canonical example)

3. Rule Shape

  • `shape-category-ladder` — Every shipped library-ref skill ladders CRITICAL setup → HIGH isolation/perf → MEDIUM composition/integration → LOW edge cases/polish; pick category names that map onto this, do not invent a new shape
  • `shape-when-to-apply-template` — 4 slots: import-statement trigger + problem-domain language + frequency signal + explicit NOT-to-do boundary pointing to sibling skills

4. Metadata Discipline

  • `meta-references-checksum`metadata.references[] is the exact set of URLs cited in rules — no superset, no subset; if it diverges, either the rules or the metadata is lying

Related Skills

  • `radical-simplification` — The thinking layer above this skill; this playbook is itself an instance of the "reduce → constrain → name the invariant" moves applied to skill-authoring
  • `skill-authoring` — Cross-archetype skill-authoring conventions; this skill is the library-reference specialization
  • `deterministic-metric-design` — Methodology-distillation sibling; demonstrates the same archetype patterns applied to a different archetype (proves the per-archetype playbook idea generalizes)

Authoring Note

These rules are load-bearing, not decorative. They were extracted by tracing where rules in 5 shipped library-ref skills cited their sources (nuqs, zod, react-hook-form, effect-ts, emilkowal-animations). Each rule names the wrong default the author makes when these conventions are absent. If a rule restates something /dev-skill:new already handles, cut it. Coverage is proven by /dev-skill:eval on real library-distillation prompts, not by rule count. When the next archetype playbook (code-atlas, methodology, scaffolder, runbook) is extracted, the patterns that re-appear here are candidates for promotion to a generic skill-authoring skill; the ones that diverge stay archetype-specific.

Related skills

FAQ

What does library-reference-distillation do?

library-reference-distillation is a Claude Code skill in the AI & Agent Building category.

When should I use library-reference-distillation?

When you need to helps with ai & agent building tasks during ai-assisted development, or when library-reference-distillation is a claude code skill in the ai & agent building category.

What are the main capabilities?

library-reference-distillation; AI & Agent Building; AI-coding skill.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.