/praxis:surface-enumerationfrom praxis
Pre-implementation input-surface enumeration — before writing a parser/validator/sanitizer/classifier, enumerate every input variant so each becomes a required test case.
Ships in praxis. 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.
None: SKILL.md is the whole skill.
Code that validates, classifies, routes, sanitizes, or interprets variable input fails one missed variant at a time. A reviewer finds case A, you fix it, the next round finds case B, and so on — each round is a full round-trip because the input surface was never enumerated up front. This skill front-loads that enumeration: list the variants before implementing, turn each into a test case, and re-run the full list after every fix.
Core principle: enumerate the input surface before writing the handler — a variant you did not list is a variant you did not test.
Skip for code with a fixed, closed input (a function called only with an enum you control) or a single-token mechanical transform with no interpretation.
Name what the code does to the input — this selects which variant families apply:
| Code class | Example | Highest-risk families |
|---|---|---|
| Security / validation | SQL filter, sanitizer, auth check | keyword-in-literal, marker-in-comment, multi-statement, quote mismatch |
| NLP / signal detection | intent classifier, command-signal hook | affirmation, negation, status/question, continuation-without-headline, substring-vs-word-boundary |
| Regex over mixed text | Korean+English command strings | ASCII word-boundary in Unicode (\b is Unicode-aware) |
| Text / grammar parser | shell/SQL/markup tokenizer | comment/heredoc stripping, quoting variants, command-position-only keywords, direction-sensitive ranges, path-invoked binaries, dynamic expansions |
| Multi-PR / shared state | parallel PR dispatch, multi-worktree | shared-file collision (hooks.json, CLAUDE.md/AGENTS.md + symlink targets, marketplace.json, plugin.json, README/docs hook-index), first-merge-wins rebase |
| Convention-guideline reflection | lesson-reflection PR, skill update from source-PR findings | oracle = the guideline's own §1~§N matrix (not the surfaced finding list), lint-bypass silent-merge |
| Bulk / stateful | 100+ item loop, multi-run write | connection lifecycle, per-item isolation, idempotency (see limitations) |
Walk the checklist and write down each variant that applies. Do not stop at the "obvious" ones — the missed variant is by definition not obvious.
'--' is a string
literal while "--" is a quoted identifier, so they take different parse
paths even though the enclosed value is identical; also escaped quote,
backslash, nested quotes.don't proceed, 진행하지 마, not X — a signal detector
that only matches the affirmative form misfires on the negation.진행 상황을 알려줘, should I push? — a question
about X is not a command to do X.계속해 ("keep going") vs
계속 진행 ("continue proceeding") — the token you keyed on may be absent.Product plan vs production, prod vs
prod-only. In Korean+English mixed text Python re.\w is Unicode-aware, so
\bpush\b does NOT separate push from 할까요; use (?<![a-z])foo(?![a-z]).echo done does not
close a loop); direction-sensitive ranges ({30..1}); path-invoked binaries
(/bin/sleep vs bare sleep); dynamic expansions ($(...), $VAR) needing
explicit fail-open.Cover both dimensions: semantic coverage (count/threshold math) does NOT substitute for syntactic coverage (the variants above), and vice versa. Scope each construct independently — never merge tokens across sibling constructs into one verdict.
Two enumeration surfaces are process-level rather than string-input — they apply when the surface being enumerated is a set of PRs or a source guideline, not a value being parsed:
hooks.json, AGENTS.md/CLAUDE.md (and their symlink targets),
marketplace.json, plugin.json, hook-index tables in README/docs/. First
PR to merge wins; each sibling then needs a rebase.any typing, missing i18n) silent-merge. Trigger phrases: "apply lesson",
"skill update", "convention guide update".Every enumerated variant becomes a required test case, including at least one must-fail case (input that should be rejected → assert the error/raise, not a silent default branch). For mocks/fixtures, cite field names from vendor docs or a working baseline — never mirror them from the code under test (that produces a tautological pass).
An input that does not reproduce the intended variant gives a false pass. Confirm before relying on it:
# word-boundary claim in mixed text — verify the regex actually behaves as assumed
python3 -c "import re; print(bool(re.search(r'\bpush\b', 'push할까요?')))"
# SQL marker — '--' (string literal) parses differently than "--" (identifier)
When a reviewer finds a new case, add it to the enumeration and re-run the entire list — not just the one new test. "Unit tests pass" ≠ "surface covered". The goal is a review round that discovers nothing new.
What SKILL.md sets; muted values are Claude Code's defaults
Triggers on "surface enumerate", "input surface enumeration", "input parser", "input validation", "intent classifier", "정규식 경계", "입력 표면 열거", "multi-PR shared state", "convention guide reflection", "apply lesson". Do NOT activate on "surface a question", "user-facing surface", or merely explaining an existing parser.
Other plugins' skills for the same job
npx claudepluginhub devseunggwan/praxis --plugin praxis16 skills in this plugin
/cmux-delegateHand off an existing independent issue that surfaced mid-task to its own Claude Code session in a new cmux workspace, with auto-collected context; that session runs issue→worktree→PR alone. Not for splitting the current task./cmux-recover-sessionsBulk recover Claude Code sessions after a crash, power loss, OOM kill, or reboot by scanning the .jsonl files Claude Code persists automatically. Interactive interview chooses recovery scope and layout. Use this when sessions died and you need them back. The .jsonl scan reflects each session's real final state, so no snapshot taken before the crash is needed.
/codex-review-wrapWorktree-aware wrapper for /codex:review. Forces explicit worktree selection when several worktrees are active, preventing silent cwd mismatch, then gates every returned finding: premise verification before fact-modifying edits, flip detection halting A→B→A oscillation, sibling cross-checks for a port or parallel hotfix, a diminishing-returns advisory (PRAXIS_DIMINISHING_RETURNS_N), and a per-finding approval ask. It also reaps leaked openai-codex brokers (PRAXIS_CODEX_REAP=1).
/merge-briefingBrief and ask before merging any PR: probe CI, reviews and inline threads, grade every open finding by its blocking decoration, carry the anchor's `Unverified` gaps, write the six-part briefing, and end on the approve-ask.
/perf-leak-reviewPoint at performance-defect and memory-leak candidates in a diff — a read-only LLM reviewer reads the change plus the repository around it and reports candidates in a closed list of six classes. Report-only: nothing is executed, nothing is written, no finding is a proven defect.
/reset-strikesReset the current session's strike counter to 0 and clear the recorded violation list. Required after a 3rd strike block before Claude can respond again.