hr-extract-shared-steps SKILL.md skillA

hr-extract-shared-steps from bompus/house-rules is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bompus/house-rules/hr-extract-shared-steps@git:20261105.c2ac9ff

Pins git:20261105.c2ac9ff in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
bompus/house-rules
Path
skills/hr-extract-shared-steps/SKILL.md
Versions recorded
4
Latest version
git:20261105.c2ac9ff, committed Nov 5, 2026
First version recorded
Oct 5, 2026
Size
6,202 bytes
Repository stars
3
License
MIT

Pull steps that several workflows repeat (a provider call, a command, a message sent) into shared functions with explicit inputs and results; each workflow's decisions stay with its caller. Use when one operation appears in two or more callers, a fix reached one copy but not the others, or a new feature needs an existing flow's mechanics. Not for single-caller logic, naming or interface design.

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

# Extract shared steps

Several workflows often perform the same operation with slightly different
code around it: one checkout path and one renewal job both charge a card, two
handlers both run the same CLI command. The copies drift, and a fix applied to
one leaves the others broken. This skill moves the operation into one shared
function and leaves every decision about when, whether and what next with the
workflow that owns it.

## Confirm it applies

Extract when at least one of these is true, and you can point to the lines:

- Two or more callers perform the same low-level operation with the same
  inputs, calls and error handling, give or take naming.
- A bug fix or provider change landed in one copy and the others still carry
  the old behavior.
- A new feature is about to copy mechanics that an existing flow already has.

Stop and leave the code alone when the logic has one caller, when the copies
only look alike but encode different product rules, or when the real question
is naming or how a module's interface should look.

## Draw the line between policy and operation

Go through the repeated code line by line and sort each line with this test:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bompus/house-rules/hr-extract-shared-steps@sha256:2a145b51c638ed4d

The line at the top of this page pins the label git:20261105.c2ac9ff, 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_qwgnv5wgscr7o5v3.svg)](https://markdownregistry.com/a/art_qwgnv5wgscr7o5v3)

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

Versions

The registry has recorded 4 versions of this file, between Oct 5, 2026 and Nov 5, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20261105.c2ac9ff latest2026-11-05 c2ac9ff 6,202 BA view · diff
git:20261011.3d0f6222026-10-11 3d0f622 6,218 BA view · diff
git:20261008.2645dd12026-10-08 2645dd1 6,295 BA view · diff
git:20261005.47472ac2026-10-05 47472ac 6,270 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 (6202 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

bompus/house-rules · 3 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qwgnv5wgscr7o5v3
GET https://markdownregistry.com/api/v1/resolve?ref=bompus/house-rules/hr-extract-shared-steps
GET https://markdownregistry.com/api/v1/blob/2a145b51c638ed4d11a3ce39cd18f141719c7b8ee8c87254c088d9d4fb64c17d

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 bompus/house-rules

AGENTS.md AGENTS.md file
bompus/house-rules · AGENTS.md
git:20261101.33e1213 · audit A · 3 stars
AGENTS.md@examples/project AGENTS.md file
bompus/house-rules · examples/project/AGENTS.md
git:20261003.bcf970e · audit A · 3 stars
hr-agent-guidance-audit SKILL.md skill
bompus/house-rules · skills/hr-agent-guidance-audit/SKILL.md · Audit and simplify agent-facing rules, skills and linked docs within the requested repository scope. Use for guidance…
git:20261013.dac23a8 · audit A · 3 stars
hr-agent-guidance-refresh SKILL.md skill
bompus/house-rules · skills/hr-agent-guidance-refresh/SKILL.md · Reread the agent guidance a session loaded (instruction files, skills and subagent definitions) and report what changed…
git:20261012.4d7e92b · audit A · 3 stars
hr-api-exposure-check SKILL.md skill
bompus/house-rules · skills/hr-api-exposure-check/SKILL.md · Keep API responses to the fields a real consumer reads and the caller is allowed to read. Use when designing, changing…
git:20261007.be080b1 · audit A · 3 stars
hr-audit-choices SKILL.md skill
bompus/house-rules · skills/hr-audit-choices/SKILL.md · Audit the decisions an implementing agent made for the user, not its diff: trace the work into a choices ledger with a…
git:20261019.be21b82 · audit A · 3 stars
hr-benchmarking SKILL.md skill
bompus/house-rules · skills/hr-benchmarking/SKILL.md · Benchmark equivalent work with repeated timing, CPU and memory measurements under stated inputs and controls, and check…
git:20261102.a032362 · audit A · 3 stars
hr-better-accessibility SKILL.md skill
bompus/house-rules · skills/hr-better-accessibility/SKILL.md · Accessibility rules for web UI: native elements, keyboard and focus, form labels and errors, accessible names, live…
git:20261018.d9ae3a7 · audit A · 3 stars
hr-better-colors SKILL.md skill
bompus/house-rules · skills/hr-better-colors/SKILL.md · Color rules for web UI: palette ramps, semantic color tokens, color notation and gamut, and measured contrast of…
git:20261008.2645dd1 · audit A · 3 stars
hr-better-layout SKILL.md skill
bompus/house-rules · skills/hr-better-layout/SKILL.md · Layout rules for web UI: grouping, alignment, spacing, reading order, responsive breakpoints, logical properties and…
git:20261008.2645dd1 · audit A · 3 stars
hr-better-typography SKILL.md skill
bompus/house-rules · skills/hr-better-typography/SKILL.md · Typography rules for web UI: type scale, line-height, wrapping, truncation, tabular numbers, font loading and mobile…
git:20261008.2645dd1 · audit A · 3 stars
hr-better-writing SKILL.md skill
bompus/house-rules · skills/hr-better-writing/SKILL.md · Interface copy rules: button and link labels, error messages, empty states, placeholders, toggles and consistent…
git:20261008.2645dd1 · audit A · 3 stars

Every file in bompus/house-rules

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