/checkpickerupper-skills:facts-as-datafrom checkpickerupper-skills
Identifies hard-coded facts buried in logic (name lists, regex alternations, data-only branches) and refactors them into a shared table with a completeness check. Use during codebase sweeps, table design, or diff review.
Ships in checkpickerupper-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The skill has three moves. A census leads into design; a review of one diff stands alone.
python3 <skill-folder>/scripts/buried_facts.py <paths>. It lists leads: names joined in a regex alternation or an || chain, literal lists of names, and runs of branches keyed by a literal; its --help gives the thresholds. It reads every text file in any language, and skips prose, data, lockfiles, minified or generated files, media and binaries, and test files unless given --include-tests. A lead is a place to read; whether the fact is buried is your judgment.
Run it bare and read every line: never pipe it through tail, head or grep, which hide leads and replace its exit code. Exit 0 is a clean census, 1 lists open leads, 2 means it could not read what it was given: each path that gave no source file is named with what it matched instead (no file, test files only, or only files that are not code). Fix the paths, or pass --include-tests; never treat exit 2 as clean.references/census-format.md: table (it moves into a table), is-table (it already is the shared table) or not-data (its variation has no real form; see the counter-test below). Rerun with --record <census.tsv> until it exits 0. Keep the census in the issue body or the task's decision log.The census is done when the script exits 0 against the record and every group names its meaning.
For each group recorded as table:
role_of(language, name) -> role.Counter-test, as strong as the main rule. Code stays code when its variation has no real form. Apply the no-invented-axes test: name the axis of variation in one line, using cases that exist now. When the line cannot be written (one case, fields nobody varies, a config DSL or data file built to express a single branch), record the group as not-data with that reason and leave the logic as it is.
Design is done when every table group names its key, storage, readers and completeness check, and every not-data group names its reason.
python3 <skill-folder>/scripts/buried_facts.py --since <base> <paths>. It reads only the lines the diff adds.The payoff is in two places. Data can be checked as a whole: completeness, order and duplicates in one pass, where facts in logic are checked one branch at a time. And additions merge: entries in their own files or sorted lines do not collide, where two appends to one list always do.
A census of a code checker's rules found about 30 lists of what library functions do (which calls pause, run a program, read the environment, talk to a database, raise a failure) inside about 25 rule and matcher files. Seven facts were written twice word for word. A polling-loop rule held the pause functions in a regex, (?:time\.sleep|sleep|asyncio\.sleep); a retry rule held its own retry libraries and name.contains("sleep") || name.contains("backoff") || name.contains("delay"). A function missing from one list was missed by that rule alone, and adding a language meant finding every list by hand.
The design became one function-role catalogue: keyed by language, name and role (role_of(language, name) -> role), one file per language and role, one sorted entry per line, registered by a build script the way rules are. Rules ask for a role; each private list is deleted when its role moves. The build fails when a supported language has no entry for a role a compiled rule reads. The first piece moved the pause functions.
What SKILL.md sets; muted values are Claude Code's defaults
23 skills in this plugin
/agent-mdlintReview AGENTS.md changes for Markdown defects, duplicated or conflicting instructions, and unintended semantic drift. Use when editing or reviewing agent instruction files, especially large rewrites or diffs that remove existing rules./anti-ai-slop-writingUse whenever writing or editing prose for people to read: website and landing-page copy, articles, blog posts, documents, READMEs, emails, replies, comments, docstrings, reviews, release notes, cover letters, bios, and any rewrite or edit of existing text. Bans every sign of AI writing, including answering a different question, windup openers, padded lists of three, puffed-up significance, promotional tone, corporate verbs such as owning or spearheading, 'not X but Y', privatives, abstraction laundering, AI vocabulary, em dashes, trailing -ing clauses, signpost transitions, choppy disconnected sentences, chatbot talk, notes to the writer, placeholders and summary endings./antimatter-codebase-structure-reviewPedantic structural audit of a commit, PR or branch, selected directory or module, or an entire codebase — hierarchy, nesting, naming, ownership, dependency boundaries, and growth readiness. Use when a change may distort repository shape, when a file or folder needs structural review, or when deciding whether to reorganize before expansion. Every finding must survive adversarial refutation and include evidence plus a concrete current→proposed change.Generated from the plugin's indexed repository (checkpickerupper/skills) — no native marketplace selected
npx claudepluginhub p/checkpickerupper-checkpickerupper-skillsOther plugins' skills for the same job