large-file-refactor SKILL.md skillB

large-file-refactor from paulrberg/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add paulrberg/agent-skills/large-file-refactor@git:20261005.4be9b88

Pins git:20261005.4be9b88 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
paulrberg/agent-skills
Path
skills/large-file-refactor/SKILL.md
Versions recorded
5
Latest version
git:20261005.4be9b88, committed Oct 5, 2026
First version recorded
Aug 10, 2026
Size
3,960 bytes
Repository stars
101
License
MIT

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

# Large File Refactor

This skill is coordination-exempt: skip the ai-coord gate for its declared work.

If a slash or dollar invocation already added these instructions to the conversation, follow them directly. In that
case, do not invoke this skill again through a skill tool.

Use LOC thresholds to discover candidates, then decide whether a split is justified by cohesion, coupling, ownership,
and change risk. Source files match above 1000 LOC. Test files use a relaxed 2000 LOC discovery threshold.

## Arguments

- `path`: Optional file or directory to scan. Default: current working directory.
- `--include-generated`: Include generated, vendored, dependency, and build-output paths that are skipped by default.

## Workflow

1. Resolve the skill directory, then run the helper from the target repository:

   ```sh
   uv run "<skill-dir>/scripts/large-file-refactor.py" [path] [--include-generated]
   ```

2. Preserve the helper's Markdown table as the exhaustive report. Do not omit matching rows, even when the refactor plan
   only covers a subset.

3. If the helper reports no threshold matches, stop after the report. A match is a candidate, not proof that the file
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add paulrberg/agent-skills/large-file-refactor@sha256:191991ae7d9eb2d2

The line at the top of this page pins the label git:20261005.4be9b88, 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_wpqpefu7gjom2tkz.svg)](https://markdownregistry.com/a/art_wpqpefu7gjom2tkz)

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

Versions

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

versioncommittedcommitsizeaudit
git:20261005.4be9b88 latest2026-10-05 4be9b88 3,960 BB view · diff
git:20261001.35ed1372026-10-01 35ed137 3,946 BB view · diff
git:20260924.ccfca262026-09-24 ccfca26 3,789 BB view · diff
git:20260822.23d78512026-08-22 23d7851 3,754 BB view · diff
git:20260810.bf109152026-08-10 bf10915 3,832 BB 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: Frontmatter declares a description
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Size between 200 bytes and 200 KB (3960 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

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

paulrberg/agent-skills · 101 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wpqpefu7gjom2tkz
GET https://markdownregistry.com/api/v1/resolve?ref=paulrberg/agent-skills/large-file-refactor
GET https://markdownregistry.com/api/v1/blob/191991ae7d9eb2d242e73913cf3a4c37de5d1cf01647f2ebc7810db7883e0c96

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 paulrberg/agent-skills

AGENTS.md AGENTS.md file
paulrberg/agent-skills · AGENTS.md
git:20261015.5a7a952 · audit A · 101 stars
agents-brain SKILL.md skill
paulrberg/agent-skills · skills/agents-brain/SKILL.md
git:20261013.0e89ced · audit B · 101 stars
agents-docs SKILL.md skill
paulrberg/agent-skills · skills/agents-docs/SKILL.md · Use for current official documentation about Codex, Codex CLI, or Claude Code behavior, configuration, prompting…
git:20261012.80c837a · audit A · 101 stars
agents-introspection SKILL.md skill
paulrberg/agent-skills · skills/agents-introspection/SKILL.md
git:20261008.079a59d · audit B · 101 stars
agents-system SKILL.md skill
paulrberg/agent-skills · skills/agents-system/SKILL.md
git:20261007.87de3b3 · audit B · 101 stars
ai-prune SKILL.md skill
paulrberg/agent-skills · skills/ai-prune/SKILL.md
git:20261005.b512acb · audit B · 101 stars
brainstorm-with-me SKILL.md skill
paulrberg/agent-skills · skills/brainstorm-with-me/SKILL.md
git:20261005.b512acb · audit B · 101 stars
chromium-browser SKILL.md skill
paulrberg/agent-skills · skills/chromium-browser/SKILL.md
git:20261019.e444ac2 · audit C · 101 stars
cli-cast SKILL.md skill
paulrberg/agent-skills · skills/cli-cast/SKILL.md
git:20261011.7177eaa · audit B · 101 stars
cli-coingecko SKILL.md skill
paulrberg/agent-skills · skills/cli-coingecko/SKILL.md
git:20261005.4be9b88 · audit B · 101 stars
cli-gh SKILL.md skill
paulrberg/agent-skills · skills/cli-gh/SKILL.md
git:20261008.079a59d · audit B · 101 stars
cli-just SKILL.md skill
paulrberg/agent-skills · skills/cli-just/SKILL.md
git:20261005.b512acb · audit B · 101 stars

Every file in paulrberg/agent-skills

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