/cogni-publishing:publishing-validatefrom cogni-publishing
Validates and normalizes publishing briefs (narrative slides or framework-shaped direct briefs) and artifact chains for version compatibility and dangling references. Resolves publishing configuration precedence. Deterministic and standalone.
Ships in cogni-publishing. 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.
Run the deterministic publishing validator on a brief or an artifact chain, and report its verdict. The validator is the authority: never repair, reword or reorder an input to make it pass, because frozen copy and source lineage are exactly what it protects.
| The user has… | Operation |
|---|---|
a narrative design brief (type: design-brief, version: "1.1", target: slides) | normalize --kind narrative |
a structured JSON brief with artifact_type: direct-brief — consult material, Pyramid/SCQA/MECE sections | normalize --kind direct |
a JSON object holding normalized_brief, semantic_composition and target_resolved_plan | validate |
| a question about which target, language or renderer applies | resolve-config |
a pattern-bound semantic-composition@2, a repair pair, a pattern-library question, or a request to choose visual patterns for a brief | the design-compose skill (compose, check-composition, check-repair, check-patterns) |
| a request to render a composition, or a question about a rendered page | the design-render skill |
validate grades a target-resolved-plan@1 chain and rejects one that pairs target-resolved-plan@1 with a semantic-composition@2 as invalid-version.
Only the slides target of a narrative brief is supported. A document, infographic or web design brief is rejected as unsupported-target; say so rather than converting it.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/validate-publishing.py" normalize --kind narrative --input <design-brief.md>
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/validate-publishing.py" normalize --kind direct --input <direct-brief.json>
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/validate-publishing.py" validate --input <artifact-chain.json>
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/validate-publishing.py" resolve-config \
--project-config <publishing.json> --workspace-preferences <preferences.json> --set target=slides
Pass --workspace-preferences only for a file the user named. Never go looking for a cogni-workspace installation or its settings; the validator is deliberately blind to them, and a missing preference file simply falls back to the bundled defaults.
The script prints one JSON envelope, {"success", "data", "error"}, and its exit status is the verdict:
data holds depends on the command:
normalize — the normalized brief. Summarise its record count, sources and any evidence_status labels, and save it only if the user asked.validate on a target-resolved-plan@1 chain — the three artifacts with their counts.resolve-config — configuration together with origin, which names the layer each value came from. Report both.data.code names the failure, data.check the rule, and data.reference the offending id or version. Quote those three, explain the fix in the author's terms (for example "section people cites destatis-2031, which the sources list does not declare"), and stop — no downstream artifact exists for a rejected input.${CLAUDE_PLUGIN_ROOT}/references/artifact-contracts.md defines every artifact, reference field, compatibility rule and finding code — read it when a finding needs explaining or when the user asks how the chain fits together. ${CLAUDE_PLUGIN_ROOT}/references/configuration-and-renderer-boundary.md covers configuration precedence and how a renderer is pinned; read it for any configuration or renderer question.
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/copywriterPolish, rewrite, or create business documents (memos, briefs, reports, proposals, one-pagers, executive summaries, emails, blog posts, business letters) using professional messaging frameworks (BLUF, McKinsey Pyramid, SCQA, STAR, PSB, FAB) and persuasion techniques (number plays, power words, rhetorical devices). Use this skill when the user asks to polish a document, improve writing, make something more readable, restructure a brief, apply BLUF or Pyramid Principle, rewrite for executives, strengthen messaging, create a proposal, write a one-pager, clean up a report, compress a document to minimum length without losing facts, shorten a synthesis for circulation, tighten a document while keeping every citation and number, or apply any named messaging framework. Handles German documents (Wolf Schneider style), arc-aware narrative polishing (story arcs with arc_id), and IS/DOES/MEANS sales messaging. Simple requests like "make this better" about a markdown file should trigger this skill./design-composeThis skill should be used when the user wants to bind a validated publishing brief to reusable visual patterns before any renderer lays it out — "design-compose", "compose this brief", "pick visual patterns for this brief", "which pattern fits this slide", "build the semantic composition", "why was this composition rejected", "repair this composition", or "propose a new visual pattern". It binds every frozen record once, in order, to the library's accepted proof patterns as a copy-free, geometry-free semantic-composition@2, and applies whenever a normalized brief needs visual structure before HTML or PPTX rendering, even when the user does not name the skill. It fills an unpatterned metric unit's pattern from the brief's own key figures and only from accepted patterns, never overwrites a choice the draft carries, and never renders. Standalone — no model API, no renderer, no network, and no cogni-workspace installation required./design-renderThis skill should be used to create a branded HTML page or editable PPTX deck from a validated publishing composition — "render this composition", "render the composition as HTML", "render branded HTML from the composition", "render the composition as an editable PPTX", or "design-render". For PPTX it hands the frozen brief, composition and theme to the presentation skill the host provides, then admits the result only through design-verify; HTML follows the DOM contract design-verify reads. It also handles explicitly qualified renderer diagnostics — "run the renderer fidelity check", "diagnose a render failure", and "measure the rendered page". Creation preserves frozen copy, data and order and runs design-verify before reporting success. Independent checks of an existing deliverable against frozen inputs or before handover belong to design-verify. Optional browser measurement uses the provisioned pinned runtime./design-verifyThis skill should be used for independent verification of an existing HTML or PPTX deliverable against frozen publishing inputs before handover — "verify this deliverable before handover", "check the deck against the frozen brief", "audit the rendered page for accessibility", or "design-verify". It checks preservation, native editability, accessibility and critical visual defects, records artifact-bound review evidence, and runs bounded presentation-only repairs. Use design-render to create an artifact, run explicitly qualified renderer fidelity diagnostics, or diagnose a render failure./manage-themesCreate, audit, improve, select, and apply visual design themes, no workspace required — sourced from Claude Design bundles or bundled presets. Audits cover contrast, palette harmony, typography pairing, and completeness. Use it whenever the user mentions themes, brand colors or visual identity, wants a consistent look-and-feel across outputs, or whenever a downstream skill needs a theme resolved before it renders. Trigger phrases include "pick a theme", "select a theme", "which theme", "choose theme", "apply a theme", "my theme feels off", "check contrast", "improve my colors", "what theme for my brand?", "I need a visual identity for my startup", "make it match our brand", "use our company colors", "grab the style from that site", "brand guidelines", "design system", "brand identity", "visual standards", "author tokens", "build a tiered theme system", "deepen a theme", and "match the cogni-work pattern". Also triggers on a Claude Design bundle URL (api.anthropic.com/v1/design/h/...)./text-to-narrativeThis skill turns text into an arc-driven executive narrative and a frozen design brief, then routes it through the local publishing renderer for slides, documents, infographics, or web output. It runs arc selection and four drafting passes from bundled assets; Claude Design is an optional handoff. Use this skill whenever the user asks to "create a narrative", "write a narrative", "transform content into a story arc", "generate an insight summary", "turn text into a narrative", "text to narrative", "write a design brief", "brief for Claude Design", "narrative for Claude Design", "hand this to Claude Design", "Text in ein Narrativ verwandeln" or "Design-Brief für Claude Design erstellen". Not for polishing prose (copywriter), and not itself a renderer: the publishing render chain is the normal downstream route, while Claude Design remains optional.npx claudepluginhub cogni-work/insight-wave --plugin cogni-publishingOther plugins' skills for the same job