feat(pipeline): ship InDesign pipeline agent, skill, CLI, and docs#103
Merged
Conversation
Make the InDesign pipeline a first-class Aurelius workflow — the user-facing surface over the parser, mapper, and generator (#67, part of #62). - Agent .claude/agents/indesign-to-react.md: orchestrates parse -> tokens -> generate on a feature branch, reads the report, proposes follow-ups - Skill .claude/skills/indesign-conversion/SKILL.md: when-to-use, prerequisites, gotchas (CMYK->sRGB, fonts, a11y), and a runnable worked example - CLI: aurelius pipeline indesign <input> [--target|--styling|--output|--json], honoring aurelius.config.json; emits Markdown + JSON reports - Docs docs/pipelines/indesign.md (exporting, fidelity, a11y checklist, troubleshooting); README Pipelines + docs index now list InDesign - Committed fixture tests/fixtures/indesign/sample.idml + an end-to-end smoke test that builds (strict tsc) and renders (storybook smoke) from it in CI - Bump enforced counts to 56 agents / 23 skills across docs Refs #67, #62 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ships the InDesign pipeline as a first-class Aurelius workflow — the user-facing surface (#67) over the parser (#63), PDF ingestion (#64), token mapper (#65), and component generator (#66). This is the closing sub-issue of epic #62.
What's included
Agent —
.claude/agents/indesign-to-react.mdOrchestrates the pipeline (validate → parse → map → generate → review → commit), reads the generation report and proposes concrete follow-ups (unmapped frames, font fallbacks, missing alt text, semantic-tag refinements), and is non-destructive (feature branch, never
main). Referenced from the agent catalog.Skill —
.claude/skills/indesign-conversion/SKILL.mdWhen-to-use, prerequisites (exported IDML/PDF), expected outputs, common gotchas (CMYK→sRGB shifts, missing fonts, oversized print images, accessibility gaps), and a runnable worked example against the committed fixture.
CLI —
aurelius pipeline indesign--target next|vite|astro|react,--styling tailwind|css-modules,--output <dir>,--jsonaurelius.config.json(indesignsection); flags winDocumentation
docs/pipelines/indesign.md— exporting from InDesign (IDML & PDF), output, fidelity expectations, accessibility checklist, troubleshooting — linked from the README docs indexFixture + CI smoke
tests/fixtures/indesign/sample.idml(binary,.gitattributes/.prettierignorehandled)aurelius pipeline indesignflow against the committed fixture and asserts the generated project builds (stricttsc) and renders (Storybook smoke ≈react-dom/server). It runs in the existingpipeline-testsCI job.Acceptance criteria (#67)
agents/indesign-to-react.mdexists, matches the agent shape, referenced from the agent indexskills/indesign-conversion/SKILL.mdexists with a runnable exampleaurelius pipeline indesign --helpprints documented usagedocs/pipelines/indesign.mdpublished and linked from the docs indexTesting
pnpm --filter @aurelius/pipeline typecheck/test/build✅ — 133 tests (5 new)eslint .(0 errors),prettier --check ., andcheck-doc-counts(56 agents / 23 skills) ✅; lockfile unchangedaureliusbin generates a project from the committed fixtureNote on the CI "agent" smoke
A Claude Code agent can't execute in headless CI, so the end-to-end smoke runs the pipeline the agent drives (
runPipelineCli) against the committed fixture and verifies build + render — the faithful, deterministic equivalent.Closes #67
Closes #62
🤖 Generated with Claude Code