@litfamily/litclaude 1.0.37 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +71 -0
- package/README.md +11 -8
- package/README_ko-KR.md +11 -8
- package/bin/litclaude-ai.js +3 -3
- package/docs/assets/readme/badge-version.svg +1 -1
- package/docs/assets/skills/lit-adhd.webp +0 -0
- package/docs/assets/skills/lit-hijack.webp +0 -0
- package/docs/assets/skills/lit-schematic.webp +0 -0
- package/docs/hooks.md +117 -26
- package/docs/workflow-compatibility-audit.md +1 -1
- package/package.json +1 -1
- package/plugins/litclaude/.claude-plugin/plugin.json +1 -1
- package/plugins/litclaude/agents/lit-executor.md +4 -2
- package/plugins/litclaude/bin/litclaude-ai +1 -0
- package/plugins/litclaude/bin/litclaude-hook.js +373 -53
- package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
- package/plugins/litclaude/commands/lit-adhd.md +107 -0
- package/plugins/litclaude/commands/lit-hijack.md +102 -0
- package/plugins/litclaude/commands/lit-loop.md +4 -2
- package/plugins/litclaude/commands/lit-plan.md +5 -4
- package/plugins/litclaude/commands/lit-rewind.md +107 -0
- package/plugins/litclaude/commands/litgoal.md +5 -4
- package/plugins/litclaude/commands/start-work.md +25 -10
- package/plugins/litclaude/hooks/lit-mod.mjs +51 -5
- package/plugins/litclaude/lib/canonical-skill-catalog.mjs +3 -0
- package/plugins/litclaude/lib/canonical-skill-resources.mjs +205 -101
- package/plugins/litclaude/lib/lit-activation.mjs +24 -10
- package/plugins/litclaude/lib/mod/frame.mjs +235 -49
- package/plugins/litclaude/lib/mod/motion.mjs +21 -0
- package/plugins/litclaude/lib/mod/settings.mjs +4 -0
- package/plugins/litclaude/lib/mod/skills.mjs +3 -0
- package/plugins/litclaude/lib/mod/state.mjs +100 -7
- package/plugins/litclaude/lib/mod/svg-card.mjs +167 -25
- package/plugins/litclaude/lib/mod/timeline.mjs +28 -5
- package/plugins/litclaude/lib/mod/toasts.mjs +5 -2
- package/plugins/litclaude/lib/mod/view.mjs +240 -6
- package/plugins/litclaude/lib/mod/workflow.mjs +36 -7
- package/plugins/litclaude/lib/motion-render-gate.mjs +25 -7
- package/plugins/litclaude/lib/render_pages.py +29 -1
- package/plugins/litclaude/lib/rewind/brief.mjs +370 -0
- package/plugins/litclaude/lib/rewind/collect.mjs +413 -0
- package/plugins/litclaude/lib/rewind/gauge.mjs +87 -0
- package/plugins/litclaude/lib/rewind/next-step.mjs +89 -0
- package/plugins/litclaude/lib/rewind/redact.mjs +36 -0
- package/plugins/litclaude/lib/rewind/suggest.mjs +51 -0
- package/plugins/litclaude/lib/rewind/transcripts.mjs +259 -0
- package/plugins/litclaude/lib/start-work-lifecycle.mjs +403 -18
- package/plugins/litclaude/lib/workflow-stack.mjs +243 -0
- package/plugins/litclaude/lib/workflow-stage.mjs +127 -103
- package/plugins/litclaude/scripts/scaffold-plan.mjs +1 -1
- package/plugins/litclaude/skills/frontend-ui-ux/SKILL.md +18 -3
- package/plugins/litclaude/skills/frontend-ui-ux/kit/components.css +414 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/fonts.json +22 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/landing.html +164 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/settings.html +114 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/workspace.html +115 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +227 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/field-notes.json +205 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/graphite.json +200 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/meadow.json +199 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +222 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/ui.js +226 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/brand-and-imagery.md +1 -1
- package/plugins/litclaude/skills/frontend-ui-ux/references/complete-contract.md +1 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/craft-floor.md +9 -4
- package/plugins/litclaude/skills/frontend-ui-ux/references/default-editorial-pixel.json +6 -5
- package/plugins/litclaude/skills/frontend-ui-ux/references/house-styles.md +234 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/motion-guide.md +3 -3
- package/plugins/litclaude/skills/frontend-ui-ux/references/production-interview.md +1 -1
- package/plugins/litclaude/skills/frontend-ui-ux/references/slop-register.md +7 -7
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/design-lock.mjs +400 -0
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +196 -0
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +30 -9
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +19 -7
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +12 -2
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe.mjs +53 -6
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/pixel-art.mjs +60 -0
- package/plugins/litclaude/skills/lit-adhd/SKILL.md +168 -0
- package/plugins/litclaude/skills/lit-adhd/references/card-examples.md +125 -0
- package/plugins/litclaude/skills/lit-adhd/references/status-taxonomy.md +43 -0
- package/plugins/litclaude/skills/lit-adhd/scripts/rewind.mjs +11 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/SKILL.md +17 -5
- package/plugins/litclaude/skills/lit-diagram-drawer/references/style-guide.md +20 -11
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-architecture.md +3 -3
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-dependency.md +1 -1
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-tree.md +3 -3
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-wardley.md +1 -1
- package/plugins/litclaude/skills/lit-diagram-drawer/references/verifier-guide.md +1 -1
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/visual-quality.mjs +3 -3
- package/plugins/litclaude/skills/lit-docx/SKILL.md +6 -1
- package/plugins/litclaude/skills/lit-docx/references/direction-step.md +8 -4
- package/plugins/litclaude/skills/lit-handoff/SKILL.md +2 -1
- package/plugins/litclaude/skills/lit-hijack/SKILL.md +551 -0
- package/plugins/litclaude/skills/lit-hijack/references/capture-and-provenance.md +124 -0
- package/plugins/litclaude/skills/lit-hijack/references/clean-room-build.md +133 -0
- package/plugins/litclaude/skills/lit-hijack/references/distil-and-licence.md +128 -0
- package/plugins/litclaude/skills/lit-hijack/references/gap-and-port-design.md +152 -0
- package/plugins/litclaude/skills/lit-hijack/references/parity-and-report.md +131 -0
- package/plugins/litclaude/skills/lit-hijack/scripts/hijack.mjs +854 -0
- package/plugins/litclaude/skills/lit-loop/SKILL.md +4 -3
- package/plugins/litclaude/skills/lit-plan/SKILL.md +16 -10
- package/plugins/litclaude/skills/lit-pptx/SKILL.md +35 -15
- package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +93 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/provenance.json +32 -1
- package/plugins/litclaude/skills/lit-pptx/references/agents/architect.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/anti-slop-checklist.md +32 -11
- package/plugins/litclaude/skills/lit-pptx/references/authoring-guide.md +2 -2
- package/plugins/litclaude/skills/lit-pptx/references/data-display-cookbook.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/density-and-fill.md +3 -4
- package/plugins/litclaude/skills/lit-pptx/references/direction-step.md +23 -4
- package/plugins/litclaude/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +173 -0
- package/plugins/litclaude/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +154 -0
- package/plugins/litclaude/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +139 -0
- package/plugins/litclaude/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +158 -0
- package/plugins/litclaude/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +179 -0
- package/plugins/litclaude/skills/lit-pptx/references/layout-families.md +22 -26
- package/plugins/litclaude/skills/lit-pptx/references/title-treatments.md +30 -26
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/atlas.md +4 -4
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/bauhaus.md +140 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/chalk.md +3 -3
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/computational-brutalism.md +150 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/gazette.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/ledger.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/neo-brutalism.md +161 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/newsroom.md +144 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/night.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/paper.md +3 -3
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/riso.md +137 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/signal.md +2 -2
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/studio.md +6 -7
- package/plugins/litclaude/skills/lit-pptx/scripts/compile-deck.js +1 -1
- package/plugins/litclaude/skills/lit-pptx/scripts/craft_extras.py +135 -91
- package/plugins/litclaude/skills/lit-pptx/scripts/embed_fonts.py +13 -1
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/grid-resolver.js +101 -110
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/layout-resolver.js +9 -15
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/render-pack.js +370 -563
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/slide-grid.js +104 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/template-registry.js +57 -6
- package/plugins/litclaude/skills/lit-pptx/scripts/qa_deck.py +5 -5
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +98 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +99 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +107 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +99 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/night/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/paper/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/riso/pack.yaml +99 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/signal/pack.yaml +2 -2
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/studio/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-recap/SKILL.md +4 -0
- package/plugins/litclaude/skills/lit-schematic/SKILL.md +123 -0
- package/plugins/litclaude/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +38 -0
- package/plugins/litclaude/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +133 -0
- package/plugins/litclaude/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +87 -0
- package/plugins/litclaude/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +85 -0
- package/plugins/litclaude/skills/lit-schematic/references/cutaway-outputs.md +70 -0
- package/plugins/litclaude/skills/lit-schematic/references/isometric-craft.md +101 -0
- package/plugins/litclaude/skills/lit-schematic/references/journal-figures.md +72 -0
- package/plugins/litclaude/skills/lit-schematic/references/kit-api.md +134 -0
- package/plugins/litclaude/skills/lit-schematic/references/pfd-and-layout.md +53 -0
- package/plugins/litclaude/skills/lit-schematic/references/pid-drafting.md +103 -0
- package/plugins/litclaude/skills/lit-schematic/references/pid-symbols.md +163 -0
- package/plugins/litclaude/skills/lit-schematic/references/verification.md +100 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/doctor.mjs +57 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/figure.mjs +81 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/fonts.mjs +27 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/geom.mjs +113 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/interactive.mjs +292 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/isa.mjs +115 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/iso.mjs +719 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/legend-sheet.mjs +162 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/pid.mjs +937 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/png.mjs +132 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/qa-core.mjs +658 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/route.mjs +218 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/sheet.mjs +890 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/svg.mjs +82 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/theme.mjs +115 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/motion.mjs +129 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/qa.mjs +92 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/render.mjs +233 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/scaffold.mjs +60 -0
- package/plugins/litclaude/skills/lit-scientific-visualization/SKILL.md +14 -4
- package/plugins/litclaude/skills/lit-typographic-motion/SKILL.md +54 -45
- package/plugins/litclaude/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +11 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/blender/runner.py +218 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/presets.mjs +1 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/analysis.mjs +65 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/assets.mjs +208 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/blender.mjs +143 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/board.mjs +136 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/brief.mjs +7 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/chrome.mjs +6 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-assets.mjs +5 -3
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-capture.mjs +4 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +37 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover.mjs +17 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/done.mjs +42 -3
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/frame-worker.mjs +7 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/gallery.mjs +121 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/house.mjs +44 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/look.mjs +33 -19
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/pipeline.mjs +18 -7
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/scaffold.mjs +210 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/score.mjs +639 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/sound-cli.mjs +21 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/sound.mjs +126 -27
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-capture.mjs +7 -6
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-gate.mjs +59 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-qa.mjs +141 -9
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-serve.mjs +28 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage.mjs +82 -14
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/styles.mjs +213 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/treatment.mjs +311 -10
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/cover-init.js +14 -2
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/init.js +11 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/qa.js +6 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/stage-kit.js +83 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/LICENSE +21 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +144 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +155 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/three.module.js +54571 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/hero-3d/expected.json +69 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/hero-3d/index.html +139 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +2 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/painted-light/expected.json +2 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/weight-tide/expected.json +2 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/cover.md +67 -15
- package/plugins/litclaude/skills/lit-typographic-motion/references/craft-loop.md +3 -2
- package/plugins/litclaude/skills/lit-typographic-motion/references/depth.md +122 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/look.md +28 -13
- package/plugins/litclaude/skills/lit-typographic-motion/references/runtime.md +4 -3
- package/plugins/litclaude/skills/lit-typographic-motion/references/sound.md +92 -23
- package/plugins/litclaude/skills/lit-typographic-motion/references/stage.md +43 -22
- package/plugins/litclaude/skills/lit-typographic-motion/references/studio.md +245 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/style-bibles.md +30 -6
- package/plugins/litclaude/skills/lit-typographic-motion/references/treatment.md +108 -14
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion-doctor.mjs +16 -3
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion.mjs +47 -7
- package/plugins/litclaude/skills/lit-typographic-motion/styles/paper.json +41 -0
- package/plugins/litclaude/skills/lit-typographic-motion/styles/swiss-signal.json +41 -0
- package/plugins/litclaude/skills/lit-typographic-motion/styles/terminalcore.json +42 -0
- package/plugins/litclaude/skills/lit-typographic-motion/styles/tidal.json +41 -0
- package/plugins/litclaude/skills/litgoal/SKILL.md +3 -2
- package/plugins/litclaude/skills/litresearch/SKILL.md +5 -0
- package/plugins/litclaude/skills/readme-studio/SKILL.md +10 -0
- package/plugins/litclaude/skills/readme-studio/references/production-interview.md +2 -0
- package/plugins/litclaude/skills/readme-studio/templates/hyperframes-cover/package-lock.json +3 -3
- package/plugins/litclaude/skills/readme-studio/templates/remotion-cover/package-lock.json +3 -3
- package/plugins/litclaude/skills/start-work/SKILL.md +24 -11
- package/scripts/qa-cover-recipes.mjs +3 -3
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# lit-adhd brief examples
|
|
2
|
+
|
|
3
|
+
The collector draws the brief (`litclaude-ai rewind --brief --lang en|ko`), and the skill prints it
|
|
4
|
+
exactly as drawn. Both examples below come from the same three sessions: one paused lit-loop that
|
|
5
|
+
waits on the user, one pptx lane still running with no recorded total, and one finished schematic
|
|
6
|
+
lane, which collapses into the ended table. Gauges, ids, titles, dates and names come from the records; only the connecting words change
|
|
7
|
+
with the language.
|
|
8
|
+
|
|
9
|
+
## How to read it in ten seconds
|
|
10
|
+
|
|
11
|
+
1. **Headline** (`## 🧭 …`): how many sessions, how many wait on you, how many are active, and the
|
|
12
|
+
next step in plain words.
|
|
13
|
+
2. **One card per live session** (waiting or active), under a `### 🌿 branch · worktree` group:
|
|
14
|
+
- badge: 🟠 waiting on you, 🟢 active, ⚪ ended, ⚫ unknown, with the reason it waits;
|
|
15
|
+
- the goal in bold, from the session's title or its first ask;
|
|
16
|
+
- a gauge only when both numbers are recorded (`[▉▉▉░░░░] 3/7` plus what is left), otherwise
|
|
17
|
+
the known facts after ⏳ (how long it ran and its last ask), never a question-mark gauge;
|
|
18
|
+
- ✅ what was done (edited files, commits, or the tools used before any edit) and ▶ what is next
|
|
19
|
+
for that session, or what it is doing now.
|
|
20
|
+
3. **Ended sessions**, one table row each.
|
|
21
|
+
4. **Roadmap** timeline: ✓ finished commits with their dates, ▶ the current item of each open plan
|
|
22
|
+
with its gauge, ○ the items after it.
|
|
23
|
+
5. **One recommended next step** in a box, and the word to type.
|
|
24
|
+
|
|
25
|
+
## English
|
|
26
|
+
|
|
27
|
+
````markdown
|
|
28
|
+
## 🧭 3 sessions · 1 waits on you · 1 active · next: Resume the paused lit-loop at verify
|
|
29
|
+
*last 7d · 2 worktrees*
|
|
30
|
+
|
|
31
|
+
### 🌿 `main` · repo
|
|
32
|
+
|
|
33
|
+
> 🟠 **WAITING ON YOU** (paused workflow) · `655f39d3` · 25m ago · this session
|
|
34
|
+
> **ADHD lane**
|
|
35
|
+
> `[▉▉▉░░░░] 3/7` · later: 4. verify, 5. docs (+2)
|
|
36
|
+
> ✅ Done: edited `collect.mjs` · 1 commit: `bdea372` feat(rewind): collect cross-session records
|
|
37
|
+
> ▶ Next: resume lit-loop at verify (`lit continue`)
|
|
38
|
+
|
|
39
|
+
### 🌿 `lane/pptx` · pptx
|
|
40
|
+
|
|
41
|
+
> 🟢 **ACTIVE** · `f06fb727` · 2m ago
|
|
42
|
+
> **pptx lane**
|
|
43
|
+
> ⏳ 46m of work · last ask: “fix the deck QA”
|
|
44
|
+
> ✅ Done: no edits yet; used Read, Bash
|
|
45
|
+
> ▶ Next: now: Bash “Render the deck”
|
|
46
|
+
|
|
47
|
+
### ⚪ Ended · 1
|
|
48
|
+
|
|
49
|
+
| id | where | goal | ago | done |
|
|
50
|
+
|---|---|---|---|---|
|
|
51
|
+
| `2fad84a7` | repo | schematic lane | 6h | 1 file |
|
|
52
|
+
|
|
53
|
+
### 🗺️ Roadmap `[▉▉▉▉▉░░░░░] 10/19`
|
|
54
|
+
|
|
55
|
+
- ✓ 10-26 14:30 · `main` feat(rewind): collect cross-session records
|
|
56
|
+
- ▶ **now** · `plans/lit-adhd.md` `[▉▉▉▉▉░░░░░] 10/19` → 11. Skill lit-adhd
|
|
57
|
+
- ○ later · 12. go continues
|
|
58
|
+
- ○ later · 13. card
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
╭─ RECOMMENDED NEXT STEP ──────────────╮
|
|
62
|
+
│ Resume the paused lit-loop at verify │
|
|
63
|
+
│ type: lit continue │
|
|
64
|
+
╰──────────────────────────────────────╯
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Type **`lit continue`** to continue.
|
|
68
|
+
|
|
69
|
+
*Not read: herdr.*
|
|
70
|
+
````
|
|
71
|
+
|
|
72
|
+
## 한국어
|
|
73
|
+
|
|
74
|
+
````markdown
|
|
75
|
+
## 🧭 세션 3개 · 나를 기다리는 것 1 · 진행 중 1 · 다음: 멈춘 lit-loop(verify) 이어가기
|
|
76
|
+
*최근 7d · 워크트리 2개*
|
|
77
|
+
|
|
78
|
+
### 🌿 `main` · repo
|
|
79
|
+
|
|
80
|
+
> 🟠 **나를 기다림** (멈춘 워크플로) · `655f39d3` · 25m 전 · 이 세션
|
|
81
|
+
> **ADHD lane**
|
|
82
|
+
> `[▉▉▉░░░░] 3/7` · 이후: 4. verify, 5. docs (+2)
|
|
83
|
+
> ✅ 한 일: 수정 `collect.mjs` · 커밋 1개: `bdea372` feat(rewind): collect cross-session records
|
|
84
|
+
> ▶ 다음: lit-loop(verify) 이어가기 (`lit continue`)
|
|
85
|
+
|
|
86
|
+
### 🌿 `lane/pptx` · pptx
|
|
87
|
+
|
|
88
|
+
> 🟢 **진행 중** · `f06fb727` · 2m 전
|
|
89
|
+
> **pptx lane**
|
|
90
|
+
> ⏳ 46m 작업 · 마지막 요청: “fix the deck QA”
|
|
91
|
+
> ✅ 한 일: 아직 수정 없음, 쓴 도구 Read, Bash
|
|
92
|
+
> ▶ 다음: 지금: Bash “Render the deck”
|
|
93
|
+
|
|
94
|
+
### ⚪ 끝난 세션 · 1
|
|
95
|
+
|
|
96
|
+
| id | 위치 | 목표 | 끝난 지 | 한 일 |
|
|
97
|
+
|---|---|---|---|---|
|
|
98
|
+
| `2fad84a7` | repo | schematic lane | 6h | 파일 1개 |
|
|
99
|
+
|
|
100
|
+
### 🗺️ 로드맵 `[▉▉▉▉▉░░░░░] 10/19`
|
|
101
|
+
|
|
102
|
+
- ✓ 10-26 14:30 · `main` feat(rewind): collect cross-session records
|
|
103
|
+
- ▶ **지금** · `plans/lit-adhd.md` `[▉▉▉▉▉░░░░░] 10/19` → 11. Skill lit-adhd
|
|
104
|
+
- ○ 이후 · 12. go continues
|
|
105
|
+
- ○ 이후 · 13. card
|
|
106
|
+
|
|
107
|
+
```text
|
|
108
|
+
╭─ 추천하는 다음 단계 ───────────╮
|
|
109
|
+
│ 멈춘 lit-loop(verify) 이어가기 │
|
|
110
|
+
│ 입력: lit continue │
|
|
111
|
+
╰────────────────────────────────╯
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**`lit continue`** 라고 입력하면 이어갑니다.
|
|
115
|
+
|
|
116
|
+
*읽지 못함: herdr.*
|
|
117
|
+
````
|
|
118
|
+
|
|
119
|
+
## What the examples do not do
|
|
120
|
+
|
|
121
|
+
- They do not estimate the pptx lane's progress. Its total is not recorded, so its card says how long
|
|
122
|
+
it has run and what it was last asked, and shows no gauge.
|
|
123
|
+
- They do not describe work the records do not show: the pptx lane has no edit or commit yet, so its
|
|
124
|
+
done line names the tools it used and its next line what it is doing now.
|
|
125
|
+
- They offer one next step only, and do not start it; the user's `lit continue` does.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# lit-adhd status taxonomy
|
|
2
|
+
|
|
3
|
+
The collector assigns every session exactly one status. The brief renders it in the user's language
|
|
4
|
+
with the words below and never invents a fifth.
|
|
5
|
+
|
|
6
|
+
| Status | Set when | English | 한국어 |
|
|
7
|
+
| --- | --- | --- | --- |
|
|
8
|
+
| `waiting-on-user` | The last transcript entry is the assistant asking something (a closing `?`, `lit approve`, `확인해 주세요`, `할까요`…), or the session holds a paused workflow frame or a start-work boundary | waiting on you | 나를 기다림 |
|
|
9
|
+
| `active` | A transcript write within the last 15 minutes and not waiting | active | 진행 중 |
|
|
10
|
+
| `ended` | Quiet for longer than 15 minutes | ended | 끝남 |
|
|
11
|
+
| `unknown` | The transcript held no timestamp | unknown | 모름 |
|
|
12
|
+
|
|
13
|
+
`waitingReason` says why a session waits: `asked the user`, `paused workflow` or
|
|
14
|
+
`start-work boundary`. Name it in the card's status cell when present: `waiting on you (paused
|
|
15
|
+
workflow)` / `나를 기다림 (멈춘 워크플로)`.
|
|
16
|
+
|
|
17
|
+
Order in the brief: waiting sessions first, then active, ended and unknown; newest first inside each group.
|
|
18
|
+
|
|
19
|
+
## Sources
|
|
20
|
+
|
|
21
|
+
Each entry of `sources` is `ok` or `unknown`. An `unknown` source is named once on the brief's last
|
|
22
|
+
line and never filled in from memory.
|
|
23
|
+
|
|
24
|
+
| Key | Source |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| `transcripts` | Claude Code `projects/<slug>/*.jsonl` |
|
|
27
|
+
| `plans` | `plans/*.md` checkbox rows |
|
|
28
|
+
| `litgoal` | `.litclaude/litgoal/goals.json` |
|
|
29
|
+
| `handoffs` | `HANDOFF*.md` headings |
|
|
30
|
+
| `git` | `git log --since` |
|
|
31
|
+
| `workflowStack` | `.litclaude/workflow-stack/*.json` |
|
|
32
|
+
| `startWork` | `.litclaude/boulder.json` |
|
|
33
|
+
| `herdr` | `herdr agent list`, only with `HERDR_ENV=1` |
|
|
34
|
+
|
|
35
|
+
## Next-step kinds
|
|
36
|
+
|
|
37
|
+
| `next.kind` | Say | English | 한국어 |
|
|
38
|
+
| --- | --- | --- | --- |
|
|
39
|
+
| `resume-frame` | `lit continue` | resume the paused <skill> at <stage> | 멈춘 <skill>(<stage>)을 이어서 |
|
|
40
|
+
| `approve-boundary` | `lit approve` | start-work wants <action> access to <root> | start-work가 <root> <action> 권한을 기다림 |
|
|
41
|
+
| `continue-work` | `go` | keep running <plan> | <plan> 계속 진행 |
|
|
42
|
+
| `start-plan` | `go` | start <plan> with start-work | <plan>을 start-work로 시작 |
|
|
43
|
+
| `none` | — | no next step on record | 기록된 다음 단계 없음 |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// rewind.mjs: the lit-adhd collector for a shell where the plugin's `litclaude-ai` is not on PATH.
|
|
3
|
+
// It runs the same code as `litclaude-ai rewind` from the plugin's own lib/, with the same flags:
|
|
4
|
+
//
|
|
5
|
+
// node <skill-root>/scripts/rewind.mjs [--brief [--lang ko|en] | --json] [--here] [--since 7d] [--max 12] [--session <id>] [--width N]
|
|
6
|
+
//
|
|
7
|
+
// Read-only apart from the collector's one next-step record under .litclaude/adhd/.
|
|
8
|
+
|
|
9
|
+
import { runRewindCli } from "../../../lib/rewind/collect.mjs";
|
|
10
|
+
|
|
11
|
+
process.exitCode = runRewindCli(process.argv.slice(2), process.cwd());
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lit-diagram-drawer
|
|
3
|
-
description: Create clear, accessible, Korean-ready diagrams for architecture, workflows, systems, data models, timelines, and conceptual charts, then verify and export them for slides and documents. Use it when a reader will understand the subject faster from a diagram than from prose or a table. Interface pages belong to frontend-ui-ux; plots of measured scientific data belong to lit-scientific-visualization.
|
|
3
|
+
description: Create clear, accessible, Korean-ready diagrams for architecture, workflows, systems, data models, timelines, and conceptual charts, then verify and export them for slides and documents. Use it when a reader will understand the subject faster from a diagram than from prose or a table. Interface pages belong to frontend-ui-ux; plots of measured scientific data belong to lit-scientific-visualization; drawings of real equipment (P&IDs, PFDs, apparatus figures, isometric cutaways) belong to lit-schematic.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
## #contract.activation
|
|
@@ -24,6 +24,7 @@ Claude Code lists this directory as a plugin skill, so `/litclaude:lit-diagram-d
|
|
|
24
24
|
| System map, process, schema, decision path, schedule, ownership map, conceptual chart | this skill |
|
|
25
25
|
| Page, dashboard, responsive app screen, interaction design | frontend-ui-ux |
|
|
26
26
|
| Measured scientific data, statistical inference, uncertainty, instrument output | lit-scientific-visualization |
|
|
27
|
+
| Real equipment and its piping: P&ID, PFD, BFD, equipment layout, apparatus or experimental setup, isometric cutaway | lit-schematic |
|
|
27
28
|
| The same meaning fits in a sentence, table, or short list | write that instead |
|
|
28
29
|
|
|
29
30
|
## #contract.inputs
|
|
@@ -40,7 +41,7 @@ Claude Code lists this directory as a plugin skill, so `/litclaude:lit-diagram-d
|
|
|
40
41
|
| Mode | Trigger | Completion boundary |
|
|
41
42
|
| --- | --- | --- |
|
|
42
43
|
| draft | Type and canvas are fixed by the brief, or the user delegated them | Verified HTML/SVG plus requested exports |
|
|
43
|
-
| clarify | Type or
|
|
44
|
+
| clarify | Type, canvas, theme or density is open and the user is available | Ask with `AskUserQuestion` (the design step below), state the chosen type, canvas, and any simplification, then continue |
|
|
44
45
|
| import | The user supplied a draw.io, Mermaid, or Excalidraw file | Extract, redraw in a catalog type, record what was dropped |
|
|
45
46
|
| export-unavailable | `scripts/doctor.mjs` reports no agent-browser 0.38.1+ or Chrome 154+ | `BLOCKED` for PNG only; hand back the user-run setup lines and keep the verified source |
|
|
46
47
|
| review-only | The user asks for critique of an existing diagram | Run the verifiers and report; no edits |
|
|
@@ -49,13 +50,24 @@ Claude Code lists this directory as a plugin skill, so `/litclaude:lit-diagram-d
|
|
|
49
50
|
|
|
50
51
|
Resolve every helper from the directory that contains this installed `SKILL.md` (call it `SKILL_ROOT`) and run it by absolute path. Do not resolve scripts from the working directory or a different cached plugin version.
|
|
51
52
|
|
|
53
|
+
### Choose the design first
|
|
54
|
+
|
|
55
|
+
The user has the right to choose how the diagram looks. Before the content brief, the layout budget or any HTML, call the `AskUserQuestion` tool once with up to four questions; each puts the option your reading of the brief favours first with `(Recommended)`, adds a one-line description, and gives a `preview` with a small ASCII of the result.
|
|
56
|
+
|
|
57
|
+
1. `Type` ("Which layout?"): asked only when two or more entries of `references/type-catalog.json` answer the reader's question, with the best two to four as options (for a request-path question, for instance `architecture`, `flowchart`, `swimlane` and `sequence`). Previews: boxes grouped in named zones; a diamond with two exits; owner lanes with hand-offs; lifelines with messages.
|
|
58
|
+
2. `Canvas` ("Where will it be placed?"): `slide-16x9 (Recommended)` (1280 x 720), `slide-4x3` (960 x 720), `doc-inline` (960 x 600, a Word column), `doc-wide` (1200 x 675). `social-square` and `fit` stay reachable through Other.
|
|
59
|
+
3. `Theme` ("Which variant?"): `light (Recommended)` (paper canvas, dark ink, a restrained warm accent), `dark` (dark paper, light ink), `full` (a title, context, key and takeaway around the same layout).
|
|
60
|
+
4. `Density` ("How full?"): `Dense, about 8/10 (Recommended)` (named zones, sub-components, a role legend) or `Minimal, about 4/10` (one or two focal accents).
|
|
61
|
+
|
|
62
|
+
The tool adds "Other" itself, so no Other option is written. Skip a question when the prompt already names its answer (a type, a canvas preset, light or dark, "minimal", a brand profile or an imported draw.io, Mermaid or Excalidraw file that fixes the layout) or the user hands the choice over ("알아서", "you choose", "just make it good"): take the Recommended option and say so in the reply. When `AskUserQuestion` is unavailable (a non-interactive `claude -p` run), pick the Recommended option of each question, say so in one line ("Non-interactive run: building the architecture layout on slide-16x9, light, the recommended options"), and continue.
|
|
63
|
+
|
|
52
64
|
1. **Choose a type.** Match the reader's question to one entry in `references/type-catalog.json`. When behavior, state, enforcement, or risk is the point, pick a pattern from `references/semantic-patterns.md` first, then its nearest type.
|
|
53
65
|
2. **Write a content brief.** Name the audience, purpose, facts that must stay exact, relationships, boundaries, size, theme, and outputs. When the user gave a brief with `participates in the labeled relationships below` lines and `A → B (label)` relationships, keep those names and labels verbatim. When the brief has a trust boundary, it lists every node once under `Trust boundary internal nodes:` or `Trust boundary external nodes:` (semicolon-separated); internal boxes sit fully inside the boundary rectangle and external boxes fully outside.
|
|
54
|
-
3. **Set the layout budget.** Prefer
|
|
66
|
+
3. **Set the layout budget.** Prefer grouping, zoning and a larger canvas preset over shrinking text. At the 1080×640 reference canvas the title is at least 28px, node labels at least 15px, and connector and boundary labels at least 13px; scale those floors by the smaller of `viewBox.width/1080` and `viewBox.height/640`. Nodes and routes span at least 68% of the canvas width and 40% of its height. Keep density near 8/10: named zones, sub-components with technical sublabels, labelled relationships, a role legend and an annotation or two, as `references/style-guide.md` describes; split only content that would fall below a floor. A minimal diagram (4/10 density, one or two focal accents) is used only when the user asks for minimal, calm, quiet or sparse output.
|
|
55
67
|
Bind every connector label to its route: `data-edge-for="from|to"` on the text, `data-from`, `data-to`, and `data-label` on the path, and a text anchor within 24px of that path and nearer to it than to any other route. Name trust boundaries and groups in visible text above their outline. Edge labels stay clear of every node box. No outline crosses text, and no route runs along an outline. Each arrow tip meets its target edge within 2px with the head body outside the box, and the head is at least `max(12 × viewBox-width / 1080, 5 × stroke-width)` long. Mark decision nodes with `data-node-type="decision"` and `data-outcomes`, and draw every declared outcome as an outgoing labeled edge.
|
|
56
68
|
4. **Keep routes simple.** Neighbors in the same row or column get one straight segment. Other routes use the fewest bends that avoid nodes: at most two, or three when crossing a boundary, and no longer than 1.4× the Manhattan distance between the endpoints. Distinct routes never share a segment or cross, including two opposite edges between the same pair of nodes. Sequence diagrams draw a dashed lifeline per participant and attach every message to both lifelines, top to bottom.
|
|
57
|
-
5. **Read the route.** Load `references/type-<id>.md` for the chosen type and only the common guides it links, starting with `references/style-guide.md` and `references/output-spec.md`. Use `assets/examples/type-<id>-{light,dark,full}.html` as a scaffold, not a fixed composition. Pretendard is bundled at `assets/fonts/PretendardVariable.woff2`; reference it with a relative `@font-face` URL from the output file or embed it.
|
|
58
|
-
6. **Draft HTML/SVG.** Use semantic order, a 4px grid, live text, the selected theme,
|
|
69
|
+
5. **Read the route.** Load `references/type-<id>.md` for the chosen type and only the common guides it links, starting with `references/style-guide.md` and `references/output-spec.md`. Use `assets/examples/type-<id>-{light,dark,full}.html` as a scaffold for geometry and tokens, not as a fixed composition or a density target. Pretendard is bundled at `assets/fonts/PretendardVariable.woff2`; reference it with a relative `@font-face` URL from the output file or embed it.
|
|
70
|
+
6. **Draft HTML/SVG.** Use semantic order, a 4px grid, live text, the selected theme, 3–5 accent families each bound to a role and named in a legend (fewer only on a minimal request), `<title>`, `<desc>`, `role="img"`, and `aria-labelledby`. Visible text follows the always-on lit-humanizer rule: no method notes, generator credits, source labels, or limitation lists inside the picture.
|
|
59
71
|
7. **Verify.** Run each helper and fix every FAIL before exporting:
|
|
60
72
|
```bash
|
|
61
73
|
node "$SKILL_ROOT/scripts/verify-diagram.mjs" diagram.html # geometry, overlap, clipping, off-canvas, contrast, a11y, font, visual quality, craft floor (OF-201..204), visible text
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
# LitFamily diagram style
|
|
2
2
|
|
|
3
|
-
This guide sets a
|
|
3
|
+
This guide sets a rich editorial skin: a diagram that rewards a second look, with zones, sub-parts, labelled relationships and a layered palette, while every safety floor below stays fixed. Use it as the shared default. A minimal, one-accent diagram is the opt-in variant, used only when the user asks for minimal, calm, quiet or sparse output; replace the palette only when the user supplies a brand source.
|
|
4
4
|
|
|
5
5
|
## Composition
|
|
6
6
|
|
|
7
7
|
- Start with the reader's question. Group related elements and set their reading order before drawing connectors or choosing colors.
|
|
8
|
-
-
|
|
9
|
-
- Aim for density around
|
|
10
|
-
-
|
|
11
|
-
- Use
|
|
8
|
+
- Show the system the way its owners know it. Keep the sub-components, protocols, data stores, queues, owners and boundary names that make the picture specific; merge only nodes that always move together, and drop only content that repeats something already on the canvas.
|
|
9
|
+
- Aim for density around 8 on a 10-point scale. A standard overview carries about 14–24 nodes and as many connectors as the real relationships need, arranged in named zones or tiers. When the content outgrows one view, enlarge the canvas preset or zone the layout; split into an overview and detail views only when a label would otherwise fall below its floor.
|
|
10
|
+
- Layer the composition: tinted zone bands behind groups, a sublabel or technical token under each node name, small primitive icons from `primitive-icons.md` beside names, numbered step badges on the main path, a legend that maps every accent family to its subject role in the subject's words ("payment path", not "accent" or "focal"), and one or two annotation callouts on the decisive edge or node. Every mark still names something real; avoid ornamental dots, fake precision, and glow or blur that lowers text contrast.
|
|
11
|
+
- Use a palette of 3–5 accent families, each bound to one role: a zone, a category of node, the critical path, a risk or a state. Neutrals carry the rest. Color never carries state or category by itself: pair each family with a label, legend entry, line style or icon.
|
|
12
|
+
- Minimal is opt-in. When the user asks for minimal, calm, quiet or sparse output, fall back to a 4/10 density, one or two focal accents and plain boxes; the floors and checks do not change.
|
|
12
13
|
|
|
13
14
|
## Color roles
|
|
14
15
|
|
|
@@ -20,10 +21,18 @@ This guide sets a quiet editorial skin for diagrams that must explain structure
|
|
|
20
21
|
| muted | #536268 | #BAC4C1 | Secondary labels and connectors |
|
|
21
22
|
| quiet | #748084 | #8A9998 | Tertiary labels |
|
|
22
23
|
| rule | #CCD2CE | #3B4A4D | Dividers and boundaries |
|
|
23
|
-
| accent | #B85C42 | #E39373 |
|
|
24
|
-
| accent-wash | #F4E7E0 | #3B2B28 |
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
| accent | #B85C42 | #E39373 | First role family: focal path or primary zone |
|
|
25
|
+
| accent-wash | #F4E7E0 | #3B2B28 | Fill for the first family |
|
|
26
|
+
| accent-2 | #2E7D7A | #6CC4BD | Second role family |
|
|
27
|
+
| accent-2-wash | #DDEFEC | #1F3B3A | Fill for the second family |
|
|
28
|
+
| accent-3 | #4A5BA8 | #9AA8EC | Third role family |
|
|
29
|
+
| accent-3-wash | #E3E7F6 | #2A3150 | Fill for the third family |
|
|
30
|
+
| accent-4 | #9A6B12 | #E0B456 | Fourth role family |
|
|
31
|
+
| accent-4-wash | #F3E9D2 | #3D3420 | Fill for the fourth family |
|
|
32
|
+
| accent-5 | #8C4A86 | #D493CB | Fifth role family |
|
|
33
|
+
| accent-5-wash | #F1E2EF | #3A2738 | Fill for the fifth family |
|
|
34
|
+
|
|
35
|
+
Every accent stroke clears 3:1 against its paper and every ink label clears 4.5:1 on its wash in both themes. Use the families in order and stop at the number of roles the subject has; three is the usual floor for a system overview. Six or more saturated families stop reading as roles and fail `ACCENT_COUNT` (OF-202). A brand source replaces these tokens one for one; check all pairs after replacement.
|
|
27
36
|
|
|
28
37
|
## Shape, stroke, and spacing
|
|
29
38
|
|
|
@@ -34,7 +43,7 @@ Choose a different accent only when the user provides a brand source. Check all
|
|
|
34
43
|
- Bind each connector label to its declared source and destination. At the 1080×640 reference, its SVG text anchor sits within 24px of that route and is nearer to it than to any other connector. Give the text box clear space from every route.
|
|
35
44
|
- Name each trust boundary or group in visible text. Keep its label at least 13px and 4.5:1 contrast; outline strokes must not cross labels. Never route alongside an outline within 4px for 12px or more.
|
|
36
45
|
- Use line style, shape, position, or text alongside color whenever a distinction matters.
|
|
37
|
-
-
|
|
46
|
+
- Show depth through nesting, tinted zone bands, order and labelled boundaries. A soft, consistent offset under one raised layer is allowed when it separates that layer; never let it touch a label or a route.
|
|
38
47
|
|
|
39
48
|
## Typography roles
|
|
40
49
|
|
|
@@ -58,7 +67,7 @@ Visible text belongs to the subject. Do not print the product or generator name,
|
|
|
58
67
|
## Theme behavior
|
|
59
68
|
|
|
60
69
|
- Light and dark are separate complete themes, not partial color swaps. Every label, line, focus cue, and boundary must retain contrast.
|
|
61
|
-
- Full-editorial adds a title, brief, legend,
|
|
70
|
+
- Full-editorial adds a title, brief, legend, takeaway, and summary cards with already-declared facts around the same diagram, using the same accent families as the drawing.
|
|
62
71
|
- Keep diagram semantics and reading order identical across variants.
|
|
63
72
|
- Print and export must show the full final state without relying on a dark-mode preference, animation, or remote font.
|
|
64
73
|
|
|
@@ -10,7 +10,7 @@ Choose deployment when placement on hosts, environments, replicas, or network zo
|
|
|
10
10
|
|
|
11
11
|
## Content schema
|
|
12
12
|
|
|
13
|
-
Record an ordered list of groups or trust zones; each group has an ID and a short visible name. Record nodes with stable ID, group, name, optional role or technical sublabel, and an optional focal flag. Record directed edges with source ID, destination ID, relationship meaning, optional protocol or payload label, and optional/dashed state. Every edge endpoint must resolve. State which direction the reader should follow.
|
|
13
|
+
Record an ordered list of groups or trust zones; each group has an ID and a short visible name. Record nodes with stable ID, group, name, optional role or technical sublabel, and an optional focal flag. Record directed edges with source ID, destination ID, relationship meaning, optional protocol or payload label, and optional/dashed state. Every edge endpoint must resolve. State which direction the reader should follow. An overview carries about 14–24 nodes, every real edge between them, and up to 5 true boundary groups; past that, enlarge the canvas preset or split at a group boundary with cross-reference ids.
|
|
14
14
|
|
|
15
15
|
## Deterministic layout recipe
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ Draw boundary regions first, then connectors, then node shapes and text. Route e
|
|
|
20
20
|
|
|
21
21
|
## Encoding rules
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Give each group or node role its own accent family from the style guide (3–5 families), tint the group bands with the matching wash, and mark the primary path with the first family and numbered step badges. Use a dashed boundary only when it represents an actual trust or ownership boundary. Use a dashed edge only for a named optional, asynchronous, or return relationship; explain that meaning in a compact legend. Keep ordinary edges neutral. Technical protocols and ports use the mono role; names and explanations use Pretendard sans.
|
|
24
24
|
|
|
25
25
|
## Korean behavior
|
|
26
26
|
|
|
@@ -41,7 +41,7 @@ Run scripts/verify-diagram.mjs for geometry, overlaps, clipping, off-canvas cont
|
|
|
41
41
|
## Anti-patterns
|
|
42
42
|
|
|
43
43
|
- Turning every service into an equally weighted card.
|
|
44
|
-
-
|
|
44
|
+
- Coloring connectors or boundaries for variety rather than by a role the legend names.
|
|
45
45
|
- Drawing deployment detail into a logical overview without a placement question.
|
|
46
46
|
- Adding decorative arrows between components when no relationship was supplied.
|
|
47
47
|
- Letting a node name or edge label collide with a connector.
|
|
@@ -8,7 +8,7 @@ Use a dependency graph when a component has multiple dependents or a real depend
|
|
|
8
8
|
|
|
9
9
|
## Content schema
|
|
10
10
|
|
|
11
|
-
Provide
|
|
11
|
+
Provide about 12–20 package, module, or service nodes and up to 30 directed dependency edges. Each node has a stable ID, name, type (internal, external, or leaf), and optional version/registry label. Include fan-in count as a derived value. Declare one cycle for focal treatment at most. If the input is a DAG, state the ranking rule; if cyclic, mark the single back-edge explicitly.
|
|
12
12
|
|
|
13
13
|
## Deterministic layout recipe
|
|
14
14
|
|
|
@@ -18,11 +18,11 @@ Each node carries a stable id, parent id (empty only for the root), short name,
|
|
|
18
18
|
2. Center each parent above the span occupied by its descendants. Order siblings by the domain's actual sequence; if none exists, use a stable declared order so reruns are reproducible.
|
|
19
19
|
3. Route orthogonal connectors: short parent stem, horizontal sibling bus, then a short drop to each child. Keep connectors behind nodes and attach them at the center of node edges.
|
|
20
20
|
4. Use two node widths at most, based on measured label lengths. Align boxes to the layout grid; use a lighter border or fill for leaves only when it remains a redundant cue.
|
|
21
|
-
5.
|
|
21
|
+
5. Carry up to about 24 nodes, five levels including the root, and eight children at a level. Beyond that, split at a meaningful subsystem boundary and provide cross-reference ids between figures.
|
|
22
22
|
|
|
23
23
|
## Visual encoding
|
|
24
24
|
|
|
25
|
-
Connector topology carries the hierarchy; box position and text carry identity.
|
|
25
|
+
Connector topology carries the hierarchy; box position and text carry identity. Give each top-level subtree one accent family from the style guide (3–5 families) so a branch reads as one unit, and mark a critical leaf with a labelled badge. Do not color by depth alone. Use the same visual weight for siblings and the same depth spacing throughout. Place connectors before cards so their paths terminate cleanly at the box edge.
|
|
26
26
|
|
|
27
27
|
## Korean text
|
|
28
28
|
|
|
@@ -44,7 +44,7 @@ Run `scripts/verify-diagram.mjs` for node bounds, overlap, clipping, contrast, s
|
|
|
44
44
|
|
|
45
45
|
- A node with two parents, a cycle, or an unlabeled skipped level.
|
|
46
46
|
- Diagonal connectors or connectors that stop short of a child.
|
|
47
|
-
- More than
|
|
47
|
+
- More than five levels, inconsistent box widths, or one exceptionally broad row.
|
|
48
48
|
- Highlighting the root and a leaf with competing accents.
|
|
49
49
|
- Cross-tree dependencies drawn as if they were parent-child links.
|
|
50
50
|
- Cropping a large tree so that its root or branch context disappears.
|
|
@@ -8,7 +8,7 @@ Use a Wardley map to reason about a value chain against component evolution: wha
|
|
|
8
8
|
|
|
9
9
|
## Content schema
|
|
10
10
|
|
|
11
|
-
Each component needs a stable id, short name, value-chain position, evolution band, and its dependency links. Record which components are moving, their rightward destination or time horizon, and the evidence behind the placement. Use up to
|
|
11
|
+
Each component needs a stable id, short name, value-chain position, evolution band, and its dependency links. Record which components are moving, their rightward destination or time horizon, and the evidence behind the placement. Use up to about 18 components, 26 links, and four movement arrows. Each component must take part in the value chain through at least one incoming or outgoing dependency.
|
|
12
12
|
|
|
13
13
|
## Deterministic layout recipe
|
|
14
14
|
|
|
@@ -47,7 +47,7 @@ The shared verifier reports overlap candidates, label bounds, off-canvas geometr
|
|
|
47
47
|
- **Sequence lifeline:** a participant has no dashed lifeline, the line does not start at its box center or reach the final message, a message misses its named lifeline, or message order is not top-to-bottom. Bind each message endpoint to its actor lifeline and preserve order.
|
|
48
48
|
- **Content fill:** the declared node bounds use less than 68% of canvas width or 40% of canvas height. Recompose the subject to use the available slide area.
|
|
49
49
|
- **Cluster gap ratio (OF-201):** with two or more boundary or group outlines, the smallest gap between nodes of different groups is less than twice the largest gap inside a group, so nothing reads as grouped. Pull each group's members together or push the groups apart.
|
|
50
|
-
- **Accent count (OF-202):** node fills use
|
|
50
|
+
- **Accent count (OF-202):** node fills use six or more saturated hue families. Three to five families is the default palette and passes; bind each to one role, name it in the legend, and pair it with a label, icon or line style. Reduce the families by merging roles, not by greying out the drawing.
|
|
51
51
|
- **Label case (OF-203, advisory):** a Latin label reads as Title Case, with a capitalised function word such as "Of" or "The". Use sentence case; a proper-noun component name is not flagged.
|
|
52
52
|
- **Label overflow (OF-204):** a node or boundary label is wider than its own box minus an 8px inset. Shorten the label, wrap it, or widen the box. Edge labels are not measured by this check.
|
|
53
53
|
|
|
@@ -261,7 +261,7 @@ function sequenceQuality(source,svg=svgContent(source),nodes=rectangles(svg),rou
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
// Craft-floor subset for diagrams (OF-201..OF-204); every threshold is data in CRAFT.
|
|
264
|
-
const CRAFT={clusterRatio:2,accent:{minLightness:.12,maxLightness:.93,minSaturation:.12,familyDeg:20,
|
|
264
|
+
const CRAFT={clusterRatio:2,accent:{minLightness:.12,maxLightness:.93,minSaturation:.12,familyDeg:20,high:6},labelCase:{latinShare:.8,minWord:4,capitalShare:.6,minCapitals:2},labelInset:8};
|
|
265
265
|
const FUNCTION_WORDS=new Set(['of','and','the','to','for','in']);
|
|
266
266
|
function hexHsl(hex){
|
|
267
267
|
let value=hex.replace('#','');if(value.length===3)value=[...value].map((c)=>c+c).join('');if(value.length<6)return null;
|
|
@@ -356,9 +356,9 @@ function visualQuality(source,{enforceCanvas=false,scale=null}={}){
|
|
|
356
356
|
for(let i=0;i<nodes.length;i++)for(let j=i+1;j<nodes.length;j++)if(gap(nodes[i],nodes[j])<12)issues.push('NODE_GAP '+nodes[i].id+'/'+nodes[j].id+' below 12px');
|
|
357
357
|
issues.push(...clusterGapRatio(nodes,outlines));
|
|
358
358
|
const accents=accentFamilies(nodes);
|
|
359
|
-
if(accents>=CRAFT.accent.high)issues.push('ACCENT_COUNT '+accents+' accent hue families among node fills; keep
|
|
359
|
+
if(accents>=CRAFT.accent.high)issues.push('ACCENT_COUNT '+accents+' accent hue families among node fills; keep three to five, each tied to a role (OF-202)');
|
|
360
360
|
// MEDIUM findings are advisories: reported, never a failure.
|
|
361
|
-
const advisories=
|
|
361
|
+
const advisories=titleCaseLabels(texts);
|
|
362
362
|
issues.push(...labelOverflow(texts,nodes,outlines));
|
|
363
363
|
const fontFailures=[];
|
|
364
364
|
if(enforceCanvas){
|
|
@@ -48,7 +48,7 @@ Code documentation (README, API docs, docstrings, `.md` files) and tool reports
|
|
|
48
48
|
| Mode | Trigger | Completion boundary |
|
|
49
49
|
| --- | --- | --- |
|
|
50
50
|
| lit-default | The hook says "ask no style questions" (a bare `lit` request) | The skill chooses the tonality itself from the direction table and writes the card; no questions of any kind; a complete `.docx` plus the Markdown source even when facts are missing (see "Missing facts"); `qa_docx.py --layout` PASS; pages looked at; the reply names the tonality and two alternatives |
|
|
51
|
-
| style-gate | Explicit invocation without a named look or publisher, and the user is present | The direction step runs first;
|
|
51
|
+
| style-gate | Explicit invocation without a named look or publisher, and the user is present | The direction step runs first; its `AskUserQuestion` design question offers its choice (with the reason) as the first option, the two alternatives and a compare option, then the build continues on the answer. Never a silent default |
|
|
52
52
|
| compare | The user asks to see options, or leaves the look open on purpose ("어떤 느낌이 좋을지 모르겠다") | The direction strip: the same source under the chosen tonality and its two alternatives, first three pages each, shown before the rest is written (`references/direction-step.md`, "The direction strip") |
|
|
53
53
|
| manuscript | A journal submission or a named publisher | `--publisher <profile>`, `--kind manuscript` in the gate, submission checklist from `slop_lint.py` |
|
|
54
54
|
| pdf | The user asks for PDF | `scripts/convert_md_to_pdf.py` (pandoc + XeLaTeX); when either is missing, say so and offer the DOCX rendered to PDF through soffice (`lib/render_pages.py` writes `<stem>.pdf`) |
|
|
@@ -85,6 +85,11 @@ LITCLAUDE_LIB="$SKILL_ROOT/../../lib"
|
|
|
85
85
|
| Essay, newsletter, white paper, research summary not for a journal | Journal (9, 6); Report; Proposal |
|
|
86
86
|
|
|
87
87
|
Signals from the outline reorder, never replace, the list: tables in more than 30 % of the blocks or four and more tables (Report or Manual up), three and more images (Proposal or Journal up), under about 900 words or "one page" (Memo or Brief up), English long-form prose with few tables (Journal up), numbered procedures and warnings (Manual up).
|
|
88
|
+
- **Choose the design first: ask the user.** The ranking proposes; the user decides, and has the right to choose. Before the card is written and before any section is drafted, call the `AskUserQuestion` tool once with two questions:
|
|
89
|
+
1. `Look` ("Which look should the document have?"): the ranked tonality as `<Tonality> (Recommended)`, then the two alternatives from the table, then `Compare the three first` (the direction strip). The six on offer are Report, Brief, Manual, Proposal, Memo and Journal; each description is one line on what stands on page 1 and how the summary is set, and each `preview` is a small ASCII page: Brief as a memo-like block over itemised lines, Report as a title block over a summary and a booktabs table, Proposal as a cover page, Memo as a one-page header block, Manual as numbered steps beside a sidebar.
|
|
90
|
+
2. `Format` ("Which format?"): `Tonality document (Recommended)`, `Journal manuscript` (a publisher profile: a follow-up call shows the four most plausible of elsevier, acs, ieee, nature and korean-generic for the venue), `My Word template` (`--template brand.docx`; ask for the file). Previews show the title-block layouts.
|
|
91
|
+
|
|
92
|
+
The tool adds "Other" itself, so no Other option is written. Skip a question when the prompt already names its answer (a tonality, a publisher or a template file) or the user hands the choice over ("알아서", "you choose", "just make it good", or a bare `lit`, whose hook says to ask no style questions): take its Recommended option and say so in the reply. When `AskUserQuestion` is unavailable (a non-interactive `claude -p` run), pick the Recommended option and say so in one line ("Non-interactive run: building with Brief, the recommended option"), then continue. The card records the user's pick and, when it differs, the ranked one.
|
|
88
93
|
- Write the card into the build log `<name>.build.md` beside the source, every field filled: **document type, reader, tonality and the two alternatives**; **a reason tied to the reader and the signals that fired** (not the type restated); **the dials** (density and variance; the skill may move either by up to 2 without asking and says so, a larger move needs the user); **the cover variant and the heading treatment**; **the components planned** from the pack's allowed list, with a one-line purpose for each (the out-of-sequence content it carries: the decision request, a warning, a definition, the three figures a reader looks for); a component without a purpose is left out; and **what would make this direction wrong**. A build that cannot name the tonality and the reason stops and decides; there is no silent default look, and under a bare `lit` it decides without asking.
|
|
89
94
|
- Say it in the reply in plain words, the choice and why, then the two alternatives in one sentence (e.g. "개조식 보고(Brief)로 만들었습니다. 결정할 사람이 첫 장만 읽는 4쪽 문서라서입니다. 표가 많은 정식 보고서라면 Report, 절차 위주라면 Manual도 맞습니다.").
|
|
90
95
|
- Each tonality's sheet in `references/tonalities/<name>.md` gives its tokens, page recipe, components and failure patterns; `references/components.md` gives the directive syntax; `references/page-composition.md` how pages are filled; `references/examples/` holds nine worked sources that convert and pass the gate, one or more per tonality. Read the closest example before writing.
|
|
@@ -12,10 +12,14 @@ near-black ink and declares at most one accent, which the converter puts on at m
|
|
|
12
12
|
kinds (a title rule and a callout rule, for instance). The build never picks a colour, a coloured
|
|
13
13
|
cover, a figure tile or a tinted box; those choices are not on the card because they no longer exist.
|
|
14
14
|
|
|
15
|
-
The step takes a few minutes of reading
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
The step takes a few minutes of reading. Close the brief, rank the candidates for the document type,
|
|
16
|
+
let the source reorder them, then ask the user to choose with one `AskUserQuestion` call (SKILL.md,
|
|
17
|
+
step 2): the ranked tonality first, the two alternatives, a compare option, and the format
|
|
18
|
+
(tonality, publisher manuscript or the user's Word template). Write the direction card from the
|
|
19
|
+
answer, then say the choice and two alternatives in the reply. The question is skipped when the
|
|
20
|
+
brief already names the look or hands it over, and in a non-interactive run the ranked pick is
|
|
21
|
+
taken and said so in one line. The skill never falls back to a silent default, and under a bare
|
|
22
|
+
`lit` request it asks nothing at all.
|
|
19
23
|
|
|
20
24
|
## 1. Close the brief
|
|
21
25
|
|
|
@@ -33,7 +33,7 @@ verdicts: [PASS, DEGRADED, FAIL, BLOCKED]
|
|
|
33
33
|
| Mode | Trigger | Boundary |
|
|
34
34
|
| --- | --- | --- |
|
|
35
35
|
| direct-skill | Claude Code loads `Skill(lit-handoff)`. | Read the complete canonical source before writing. |
|
|
36
|
-
| command-routed | `/litclaude:lit-handoff` is invoked. |
|
|
36
|
+
| command-routed | `/litclaude:lit-handoff` is invoked. | The prompt hook injects this adapter and the complete canonical source; follow them with the command arguments, preserving command scope and the exact banner. |
|
|
37
37
|
| exact-bare | The entire prompt is the single word `handoff`, ignoring outer whitespace. | The hook injects the complete canonical body; compound or quoted mentions stay inert. |
|
|
38
38
|
| degraded | Required workspace evidence is unavailable. | Return `BLOCKED:` and identify the missing live surface. |
|
|
39
39
|
|
|
@@ -52,6 +52,7 @@ verdicts: [PASS, DEGRADED, FAIL, BLOCKED]
|
|
|
52
52
|
- A continuation packet at the destination selected by the canonical handoff policy.
|
|
53
53
|
- A concise route receipt naming `Skill(lit-handoff)`, the canonical source root, and whether an existing file was updated or replaced.
|
|
54
54
|
- A final `PASS`, `DEGRADED:`, `FAIL`, or `BLOCKED:` status backed by live evidence.
|
|
55
|
+
- One closing line for whoever resumes: this packet covers this session; `lit adhd` briefs every recent session of the repository on one screen, with its status, progress and one next step.
|
|
55
56
|
|
|
56
57
|
## #contract.output_channels
|
|
57
58
|
|