From document-processing
Build a structured deliverable FROM source files - reconstruct a timeline, draft a statement, assemble a catalogue, synthesize a position paper from 1-input/ sources into a traceable 3-output/ document. Generates a tailored INSTRUCTIONS.md + BENCHMARK.md, scaffolds 2-wip/, runs analyze -> draft -> verify -> uniformize -> deliver. NOT for checking an existing document against a source (use the `validate` skill) and NOT for bare claim grounding (use the `grounding` skill) - this skill produces a new document.
How this skill is triggered — by the user, by Claude, or both
Slash command
/document-processing:processThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Meta-skill for structured document production. Generates a tailored program (INSTRUCTIONS.md + BENCHMARK.md), scaffolds the WIP folder, executes the four-phase workflow. Does not process documents directly - it orchestrates.
Meta-skill for structured document production. Generates a tailored program (INSTRUCTIONS.md + BENCHMARK.md), scaffolds the WIP folder, executes the four-phase workflow. Does not process documents directly - it orchestrates.
Scope boundary. This skill builds a deliverable from sources. It is not the verification path: validating a finished document against its source for grounding + tone/style/format compliance is the validate skill; running the grounding CLI over claims (single or batch via source_map.yaml) is the grounding skill. The Verify & Ground phase below invokes the grounding skill rather than re-implementing grounding.
Always run this single line BEFORE invoking document-processing. No-op when the package is already importable; auto-installs when missing OR when a stale shim is on PATH but the package is uninstalled in the active Python:
python3 -c "import stellars_claude_code_plugins" 2>/dev/null || python3 -m pip install --user --upgrade stellars-claude-code-plugins
Never ask the user whether to install - just run the line.
/document-processing:process <objective description>
Objective describes what to produce. Examples:
/document-processing:process reconstruct complete timeline from all court documents/document-processing:process draft 2-page court statement addressing mother's claims/document-processing:process extract and categorize all court findings by topicStep 0.1: Read all files in 1-input/ - catalogue sources. Read 4-references/ for examples and universal facts. Read .claude/CLAUDE.md for project context.
Step 0.2: Present consolidated clarifying questions:
Step 0.3: Iterate follow-ups until objective is crystal clear.
Step 0.4: Summarize refined objective for confirmation.
Load references:
references/WORKFLOW.md - 3-phase workflow templatereferences/GROUNDING.md - assumption classification + verification methodology for the draft (DIRECT QUOTE / PARAPHRASE / INFERENCE / INTERPRETATION / UNSUPPORTED)references/UNIFORMIZATION.md - quality controlreferences/FOLDER-STRUCTURE.md - folder conventionsFor CLI-assisted grounding of HIGH-impact claims during Phase 2 (Verify & Ground), invoke the grounding skill / document-processing batch-ground - it carries the deterministic three-layer lexical grounder (+ optional semantic), the OCR fallback chain, and the verdict rules. references/GROUNDING.md is the classification methodology; the grounding skill is the operational tool.
When deriving uniformization rules, load the real rule-set examples in ${CLAUDE_PLUGIN_ROOT}/examples/ - a full in-use INSTRUCTIONS.md with measurable rules R0-R4 (no-fluff, length range with a preferred band, focus exclusions with example quotes, text format, list-section format) plus a worked uniformization checklist. Use them to make every rule measurable (word ranges, per-bullet word counts, exclusion lists with example quotes, a falsifiable "does this sentence change what the reader knows" test). Adapt the shape, not the content.
Generate INSTRUCTIONS.md at project root:
${CLAUDE_PLUGIN_ROOT}/examples/ (shape reference)Present for approval. Do not proceed until approved.
From approved INSTRUCTIONS.md, generate BENCHMARK.md:
Present for approval. Do not proceed until approved.
timeline-reconstruction)2-wip/<task-name>/2-wip/<task-name>/README.md manifest (empty table)Execute INSTRUCTIONS.md step by step per mode.
2-wip/<task-name>/3-output/1-input/2-wip/<task-name>/3-output/4-references/examples/ = format guidance, never copy content4-references/facts/ = grounding anchors (legal provisions, precedents)npx claudepluginhub stellarshenson/claude-code-plugins --plugin document-processingProvides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.