hk-creating-checks SKILL.md skillA

hk-creating-checks from technicalpickles/pickled-claude-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add technicalpickles/pickled-claude-plugins/hk-creating-checks@git:20261019.fab003a

Pins git:20261019.fab003a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
technicalpickles/pickled-claude-plugins
Path
plugins/hk/skills/hk-creating-checks/SKILL.md
Versions recorded
1
Latest version
git:20261019.fab003a, committed Oct 19, 2026
Size
4,387 bytes
Repository stars
12
License
MIT

Use when adding, writing, or fixing a check (step) in an hk.pkl, picking a builtin or writing a custom command, declaring an effect for `--safe`, or when hk reports "effect is unknown", "unexpected argument '--safe'", or "Hook 'check' not found". Also use when a step's syntax differs between hk 1.x and 2.x. For installing hk, hook basics, or the builtin list, use `dev-tools:hk` instead; this skill is about writing steps.

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

# Creating hk checks

A check is an hk **step**: a name, the files it applies to, and `check` / `fix` commands, defined in `hk.pkl` (hk's config, written in the Pkl language). This skill is about writing one that works on the hk version the project actually runs.

## First: which hk?

Syntax and agent-safety features changed a lot between 1.x and 2.x. Find out before writing anything:

```bash
hk --version                                  # the runtime
grep -m1 'hk@' hk.pkl                         # the schema the config amends (hk@X.Y.Z)
grep -n 'hk' mise.toml .mise.toml 2>/dev/null # what the project pins
```

The `amends` URL decides what syntax is valid; the binary decides what runs. They can disagree. Check [references/versions.md](references/versions.md) for what each version supports. The short version:

| hk | What you can use |
|----|------------------|
| before 1.55 | String commands only. No `effect`, no `--safe`, no `hk agent`. |
| 1.55 and later | `CommandSpec` with `effect`, `--safe`, `hk agent`, `hk mcp`. |
| 2.0 and later | Top-level `steps` (implicit `check`, `fix`, `pre-commit` hooks), flat builtins with options, Pkl-only config. |

## Workflow
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add technicalpickles/pickled-claude-plugins/hk-creating-checks@sha256:814270f263a7fb52

The line at the top of this page pins the label git:20261019.fab003a, 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_pkm3fd7yf2rfs52h.svg)](https://markdownregistry.com/a/art_pkm3fd7yf2rfs52h)

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

Versions

The registry has recorded 1 version of this file, committed on Oct 19, 2026.

versioncommittedcommitsizeaudit
git:20261019.fab003a latest2026-10-19 fab003a 4,387 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 (4387 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

technicalpickles/pickled-claude-plugins · 12 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pkm3fd7yf2rfs52h
GET https://markdownregistry.com/api/v1/resolve?ref=technicalpickles/pickled-claude-plugins/hk-creating-checks
GET https://markdownregistry.com/api/v1/blob/814270f263a7fb524a849299133733ac48b87b44a8431de442183e1164cb63b3

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 technicalpickles/pickled-claude-plugins

CLAUDE.md CLAUDE.md file
technicalpickles/pickled-claude-plugins · CLAUDE.md
git:20261028.1458c1b · audit B · 12 stars
actually-lsp-doctor SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/actually-lsp/skills/actually-lsp-doctor/SKILL.md · Diagnose and fix LSP setup for the current project's detected ecosystems (Rust, TypeScript, Ruby). Use when the…
git:20260606.7aa49c5 · audit A · 12 stars
actually-lsp-ignore SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/actually-lsp/skills/actually-lsp-ignore/SKILL.md · Ignore actually-lsp nudges for an ecosystem in this project. Use when the user wants to silence, dismiss, or ignore the…
git:20260527.b9e4e32 · audit A · 12 stars
harness-binary-spelunking SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/agent-meta/skills/harness-binary-spelunking/SKILL.md · Use when investigating an agent-harness CLI's internals (Claude Code, codex, opencode, or similar): extracting the…
git:20260820.f29e5a0 · audit A · 12 stars
park SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/agent-meta/skills/park/SKILL.md · Save current work context for later resumption
git:20261028.1458c1b · audit A · 12 stars
snapshot SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/agent-meta/skills/snapshot/SKILL.md · Capture current session state without stopping
git:20260416.0d333b7 · audit A · 12 stars
unpark SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/agent-meta/skills/unpark/SKILL.md · Resume work from a parked handoff
git:20261028.1458c1b · audit A · 12 stars
automic-vault-credentials SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/automic-vault/skills/automic-vault-credentials/SKILL.md · Use when a command mentions `av`, Automic Vault or automic-vault, when a task needs a credential (GitHub token, API…
git:20261017.efc9ce0 · audit A · 12 stars
developing-pipelines SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/buildkite/skills/developing-pipelines/SKILL.md · Use when creating, modifying, or debugging Buildkite pipeline YAML files - ensures current syntax from official docs…
git:20261028.8d13327 · audit A · 12 stars
investigating-builds SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/buildkite/skills/investigating-builds/SKILL.md · Use when the user is working with an existing Buildkite CI run and wants to understand, diagnose, or act on it. Strong…
git:20261028.3c582f7 · audit A · 12 stars
fixing-ci SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/ci-cd-tools/skills/fixing-ci/SKILL.md · Use when CI is failing on a branch, PR, or specific Buildkite build and the user wants to iteratively fix it through…
git:20261028.3c582f7 · audit A · 12 stars
come-on SKILL.md skill
technicalpickles/pickled-claude-plugins · plugins/come-on/skills/come-on/SKILL.md · Use when a reply will hand the user a result they'll act on or repeat to others. You MUST load this at the start of the…
git:20261017.f542c5e · audit A · 12 stars

Every file in technicalpickles/pickled-claude-plugins

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