best-practices SKILL.md skillA

best-practices from vinta/hal-9000 is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add vinta/hal-9000/best-practices@git:20261020.eaa1ff3

Pins git:20261020.eaa1ff3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
vinta/hal-9000
Path
skills/best-practices/SKILL.md
Versions recorded
16
Latest version
git:20261020.eaa1ff3, committed Oct 20, 2026
First version recorded
Aug 9, 2026
Size
2,355 bytes
Repository stars
141
License
MIT

Use when about to choose, configure, or refine a tool, library, config format, API pattern, or project setup, or before proposing a design of your own — research current guidance, pitfalls, and prior art first; already knowing an approach, or assuming no prior art exists, is not an exemption. Also use when the user asks about best practices, gotchas, or recommended patterns.

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

# Best Practices

Answer two questions from current sources: **what's the recommended way**, and **what bites people** (the gotchas and pitfalls around it). A how-to without its pitfalls is half an answer.

## Two-Phase Rule

- **Phase 1: Research.** Dispatch `find-docs` and/or web search queries (`WebSearch` in Claude Code, `web_search` in Codex).
- **Phase 2: Synthesize and act.** Starts only after Phase 1 results arrive.

The user's argument may be a question or an imperative. Imperatives ("refine X", "set up Y") determine what Phase 2 does, not whether Phase 1 happens. Phase 1 always runs.

## Workflow

1. Break the topic into 2-4 specific queries. Dedicate at least one query to pitfalls ("common mistakes with X", "X gotchas in production"): pitfalls live in issue threads, migration guides, and post-mortems, not in getting-started docs. Dedicate one query to how leading open source projects or production teams do it, which can differ from what the docs recommend. For single-library lookups, call `find-docs` or web search directly without subagents.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add vinta/hal-9000/best-practices@sha256:e5e1a674fed90796

The line at the top of this page pins the label git:20261020.eaa1ff3, 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_mxgkxwnplkp6jnka.svg)](https://markdownregistry.com/a/art_mxgkxwnplkp6jnka)

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

Versions

The registry has recorded 16 versions of this file, between Aug 9, 2026 and Oct 20, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20261020.eaa1ff3 latest2026-10-20 eaa1ff3 2,355 BA view · diff
git:20261020.87bca8c2026-10-20 87bca8c 2,253 BA view · diff
git:20261003.eb1a9a52026-10-03 eb1a9a5 2,214 BA view · diff
git:20261003.832fbf42026-10-03 832fbf4 2,162 BA view · diff
git:20261003.21eca772026-10-03 21eca77 2,142 BA view · diff
git:20261003.1707f972026-10-03 1707f97 2,692 BA view · diff
git:20260927.404bf3e2026-09-27 404bf3e 5,145 BA view · diff
git:20260927.c7fa58e2026-09-27 c7fa58e 5,264 BA view · diff
git:20260923.16c363b2026-09-23 16c363b 5,220 BA view · diff
git:20260916.99bc9662026-09-16 99bc966 5,208 BA view · diff
git:20260916.17841972026-09-16 1784197 5,204 BA view · diff
git:20260914.20ae0ac2026-09-14 20ae0ac 5,206 BA view · diff
git:20260902.85268fb2026-09-02 85268fb 5,193 BA view · diff
git:20260815.f92b2642026-08-15 f92b264 5,218 BA view · diff
git:20260811.7488f762026-08-11 7488f76 5,249 BA view · diff
git:20260809.2a378062026-08-09 2a37806 5,285 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2355 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 curl or wget piped into a shell
  • 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

Source

GitHub

vinta/hal-9000 · 141 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mxgkxwnplkp6jnka
GET https://markdownregistry.com/api/v1/resolve?ref=vinta/hal-9000/best-practices
GET https://markdownregistry.com/api/v1/blob/e5e1a674fed9079657efce553dbc366f162bb89d864e5787d0fbece118699ef1

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 vinta/hal-9000

publish-plugins SKILL.md skill
vinta/hal-9000 · .claude/skills/publish-plugins/SKILL.md · (project) Use when editing any file under skills/ or plugins/ to bump the plugin version and check the manifests
git:20261017.cb041d1 · audit A · 141 stars
update-playbooks SKILL.md skill
vinta/hal-9000 · .claude/skills/update-playbooks/SKILL.md · (project) Use when updating install tasks in playbooks/roles/ against upstream docs — bumping a pinned version…
git:20261020.eaa1ff3 · audit A · 141 stars
AGENTS.md AGENTS.md file
vinta/hal-9000 · AGENTS.md
git:20261020.8c774da · audit A · 141 stars
CLAUDE.md CLAUDE.md file
vinta/hal-9000 · CLAUDE.md
git:20261007.23243bf · audit A · 141 stars
CLAUDE.md@dotfiles/.claude CLAUDE.md file
vinta/hal-9000 · dotfiles/.claude/CLAUDE.md
git:20261020.db296c5 · audit A · 141 stars
AGENTS.md@dotfiles/.codex AGENTS.md file
vinta/hal-9000 · dotfiles/.codex/AGENTS.md
git:20260916.b3b244c · audit A · 141 stars
CLAUDE.md@plugins/evals CLAUDE.md file
vinta/hal-9000 · plugins/evals/CLAUDE.md
git:20261012.4205d78 · audit A · 141 stars
audit-agent-settings SKILL.md skill
vinta/hal-9000 · skills/audit-agent-settings/SKILL.md · Use when auditing Claude Code or Codex settings and env vars against the latest docs to suggest tailored changes
git:20261020.eaa1ff3 · audit A · 141 stars
blindspot SKILL.md skill
vinta/hal-9000 · skills/blindspot/SKILL.md · Use when the user asks for a blindspot pass or to find their unknown unknowns, or signals unfamiliarity with a domain…
git:20261020.eaa1ff3 · audit A · 141 stars
commit SKILL.md skill
vinta/hal-9000 · skills/commit/SKILL.md · Use when making any git commit. Pass the failure, false claim, or risk the changes fix as the argument; for an addition…
git:20261020.f187727 · audit A · 141 stars
difference SKILL.md skill
vinta/hal-9000 · skills/difference/SKILL.md · Compare A vs B, weigh pros and cons of A, B, C, ..., or explain the nuance between sentences — a quick answer from what…
git:20261019.fe519c2 · audit A · 141 stars
fuck-over-engineering SKILL.md skill
vinta/hal-9000 · skills/fuck-over-engineering/SKILL.md · Use when the user asks what could be deleted or reduced to simplify a codebase, says "simplify", "over-engineered", or…
git:20261020.eaa1ff3 · audit A · 141 stars

Every file in vinta/hal-9000

Other files named best-practices

best-practices SKILL.md skill
sd0xdev/sd0x-harness · skills/best-practices/SKILL.md · Industry best practices conformance audit with mandatory adversarial debate. Produces audit artifact: verdict…
git:20260905.3d84d94 · audit A · 194 stars
best-practices SKILL.md skill
aicodedecode/awesome-muse-skills · skills-imported/best-practices/SKILL.md · Apply modern web development best practices for security, compatibility, and code quality. Use when asked to "apply…
v1.0 · audit B · 25 stars
best-practices SKILL.md skill
cooneycw/claude-power-pack · .claude/skills/best-practices/SKILL.md · Routes to topic-specific best practices skills instead of loading them all. Use for Claude Code help, tips, or a how to…
git:20260920.677b300 · audit A · 21 stars
best-practices SKILL.md skill
reidemeister94/development-skills · skills/best-practices/SKILL.md · Research current practices or compare approaches using primary evidence and the user's constraints.
git:20260919.a9f7da5 · audit A · 12 stars

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