@litfamily/litgravity 0.0.0-stage → 0.1.1
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 +38 -0
- package/LICENSE +22 -0
- package/README.md +187 -2
- package/README_ko-KR.md +188 -0
- package/bin/litgravity.mjs +123 -0
- package/lib/agy.mjs +54 -0
- package/lib/bundle.mjs +141 -0
- package/lib/doctor.mjs +184 -0
- package/lib/guard.mjs +12 -0
- package/lib/host-tools.mjs +69 -0
- package/lib/install.mjs +130 -0
- package/lib/list.mjs +39 -0
- package/lib/models.mjs +36 -0
- package/lib/paths.mjs +28 -0
- package/lib/runtime.mjs +81 -0
- package/lib/safe-write.mjs +55 -0
- package/lib/statusline.mjs +99 -0
- package/lib/uninstall.mjs +60 -0
- package/lib/update-check.mjs +28 -0
- package/package.json +51 -4
- package/plugin/agents/.gitkeep +0 -0
- package/plugin/agents/korean-prose-editor.md +62 -0
- package/plugin/agents/korean-style-analyzer.md +59 -0
- package/plugin/agents/librarian-researcher.md +60 -0
- package/plugin/agents/lit-executor.md +61 -0
- package/plugin/agents/lit-planner.md +68 -0
- package/plugin/agents/lit-verifier.md +58 -0
- package/plugin/agents/meaning-preservation-auditor.md +57 -0
- package/plugin/agents/native-flow-reviewer.md +56 -0
- package/plugin/agents/polish-orchestrator.md +60 -0
- package/plugin/agents/qa-runner.md +53 -0
- package/plugin/agents/quality-reviewer.md +58 -0
- package/plugin/hooks/lib/boundary.mjs +106 -0
- package/plugin/hooks/lib/common.mjs +208 -0
- package/plugin/hooks/lib/continuation.mjs +157 -0
- package/plugin/hooks/lib/motion.mjs +142 -0
- package/plugin/hooks/lib/policy.mjs +149 -0
- package/plugin/hooks/lib/prose.mjs +79 -0
- package/plugin/hooks/lib/redact.mjs +23 -0
- package/plugin/hooks/lib/reentry.mjs +93 -0
- package/plugin/hooks/lib/routes.mjs +173 -0
- package/plugin/hooks/lib/transcript.mjs +48 -0
- package/plugin/hooks/post-invocation.mjs +18 -0
- package/plugin/hooks/post-tool-use.mjs +30 -0
- package/plugin/hooks/pre-invocation.mjs +62 -0
- package/plugin/hooks/pre-tool-use.mjs +112 -0
- package/plugin/hooks/session-start.mjs +31 -0
- package/plugin/hooks/stop.mjs +44 -0
- package/plugin/hooks.json +56 -0
- package/plugin/hud/render.mjs +602 -0
- package/plugin/hud/statusline.mjs +20 -0
- package/plugin/lib/host-exec.mjs +133 -0
- package/plugin/lib/python-pick.mjs +63 -0
- package/plugin/plugin.json +6 -0
- package/plugin/rules/AGENTS.md +30 -0
- package/plugin/skills/autoconference/LICENSE +21 -0
- package/plugin/skills/autoconference/PROVENANCE.md +26 -0
- package/plugin/skills/autoconference/SKILL.md +137 -0
- package/plugin/skills/autoconference/assets/conference_template.md +93 -0
- package/plugin/skills/autoconference/assets/report_template.md +59 -0
- package/plugin/skills/autoconference/assets/synthesis_template.md +52 -0
- package/plugin/skills/autoconference/modes/analyze.md +181 -0
- package/plugin/skills/autoconference/modes/core.md +244 -0
- package/plugin/skills/autoconference/modes/debate.md +240 -0
- package/plugin/skills/autoconference/modes/plan.md +220 -0
- package/plugin/skills/autoconference/modes/resume.md +172 -0
- package/plugin/skills/autoconference/modes/ship.md +247 -0
- package/plugin/skills/autoconference/modes/survey.md +218 -0
- package/plugin/skills/autoconference/references/agent-prompts.md +488 -0
- package/plugin/skills/autoconference/references/conference-protocol.md +332 -0
- package/plugin/skills/autoconference/references/convergence-guide.md +157 -0
- package/plugin/skills/autoconference/references/core-principles.md +93 -0
- package/plugin/skills/autoconference/references/crash-recovery.md +137 -0
- package/plugin/skills/autoconference/references/results-logging.md +200 -0
- package/plugin/skills/autoconference/references/visualization-guide.md +83 -0
- package/plugin/skills/autoconference/scripts/check_conference.sh +184 -0
- package/plugin/skills/autoconference/scripts/init_conference.py +392 -0
- package/plugin/skills/autoconference/scripts/style_presets.py +142 -0
- package/plugin/skills/autoconference/templates/code-performance.md +82 -0
- package/plugin/skills/autoconference/templates/debate-mode.md +58 -0
- package/plugin/skills/autoconference/templates/prompt-optimization.md +81 -0
- package/plugin/skills/autoconference/templates/quick-conference.md +70 -0
- package/plugin/skills/autoconference/templates/research-synthesis.md +76 -0
- package/plugin/skills/autoconference/templates/survey-mode.md +70 -0
- package/plugin/skills/autoresearch/LICENSE +21 -0
- package/plugin/skills/autoresearch/PROVENANCE.md +22 -0
- package/plugin/skills/autoresearch/SKILL.md +204 -0
- package/plugin/skills/autoresearch/assets/report_template.md +58 -0
- package/plugin/skills/autoresearch/assets/research_template.md +46 -0
- package/plugin/skills/autoresearch/assets/results_template.tsv +1 -0
- package/plugin/skills/autoresearch/modes/core.md +148 -0
- package/plugin/skills/autoresearch/modes/debug.md +175 -0
- package/plugin/skills/autoresearch/modes/fix.md +126 -0
- package/plugin/skills/autoresearch/modes/learn.md +77 -0
- package/plugin/skills/autoresearch/modes/plan.md +177 -0
- package/plugin/skills/autoresearch/modes/predict.md +170 -0
- package/plugin/skills/autoresearch/modes/reason.md +131 -0
- package/plugin/skills/autoresearch/modes/scenario.md +118 -0
- package/plugin/skills/autoresearch/modes/security.md +206 -0
- package/plugin/skills/autoresearch/modes/ship.md +39 -0
- package/plugin/skills/autoresearch/references/core-principles.md +91 -0
- package/plugin/skills/autoresearch/references/evaluator-contract.md +134 -0
- package/plugin/skills/autoresearch/references/investigation-techniques.md +149 -0
- package/plugin/skills/autoresearch/references/owasp-checklist.md +175 -0
- package/plugin/skills/autoresearch/references/persona-templates.md +171 -0
- package/plugin/skills/autoresearch/references/results-logging.md +100 -0
- package/plugin/skills/autoresearch/references/scenario-dimensions.md +186 -0
- package/plugin/skills/autoresearch/references/stride-model.md +192 -0
- package/plugin/skills/autoresearch/references/stuck-detection.md +105 -0
- package/plugin/skills/autoresearch/references/type-checklists.md +156 -0
- package/plugin/skills/autoresearch/references/upstream-family-contract.md +120 -0
- package/plugin/skills/autoresearch/references/visualization-guide.md +84 -0
- package/plugin/skills/autoresearch/scripts/check_progress.sh +293 -0
- package/plugin/skills/autoresearch/scripts/init_research.py +380 -0
- package/plugin/skills/autoresearch/scripts/run_with_deadline.py +207 -0
- package/plugin/skills/autoresearch/scripts/style_presets.py +156 -0
- package/plugin/skills/browser-drive/SKILL.md +138 -0
- package/plugin/skills/browser-drive/references/blocker-codes.md +31 -0
- package/plugin/skills/browser-drive/references/cleanup-receipts.md +52 -0
- package/plugin/skills/browser-drive/references/credential-and-approval-boundaries.md +49 -0
- package/plugin/skills/browser-drive/references/playwright-recipes.md +75 -0
- package/plugin/skills/browser-drive/references/snapshot-act-loop.md +65 -0
- package/plugin/skills/browser-drive/scripts/capability-probe.mjs +483 -0
- package/plugin/skills/browser-drive/scripts/secret-shapes.mjs +56 -0
- package/plugin/skills/browser-drive/templates/drive.cjs +52 -0
- package/plugin/skills/comment-checker/SKILL.md +144 -0
- package/plugin/skills/comment-checker/references/comment-policy.md +109 -0
- package/plugin/skills/debugging/SKILL.md +187 -0
- package/plugin/skills/debugging/references/methodology/00-setup.md +115 -0
- package/plugin/skills/debugging/references/methodology/02-investigate.md +107 -0
- package/plugin/skills/debugging/references/methodology/04-oracle-triple.md +116 -0
- package/plugin/skills/debugging/references/methodology/05-escalate.md +73 -0
- package/plugin/skills/debugging/references/methodology/06-fix.md +111 -0
- package/plugin/skills/debugging/references/methodology/08-qa.md +87 -0
- package/plugin/skills/debugging/references/methodology/09-cleanup.md +162 -0
- package/plugin/skills/debugging/references/methodology/partial-runtime-evidence.md +186 -0
- package/plugin/skills/debugging/references/runtimes/bundled-js-binary.md +359 -0
- package/plugin/skills/debugging/references/runtimes/go.md +204 -0
- package/plugin/skills/debugging/references/runtimes/native-binary.md +406 -0
- package/plugin/skills/debugging/references/runtimes/node.md +227 -0
- package/plugin/skills/debugging/references/runtimes/python.md +215 -0
- package/plugin/skills/debugging/references/runtimes/rust.md +205 -0
- package/plugin/skills/debugging/references/tools/ghidra.md +150 -0
- package/plugin/skills/debugging/references/tools/playwright-cli.md +179 -0
- package/plugin/skills/debugging/references/tools/pwndbg.md +223 -0
- package/plugin/skills/debugging/references/tools/pwntools.md +217 -0
- package/plugin/skills/deep-interview/SKILL.md +305 -0
- package/plugin/skills/deep-interview/references/headless-and-resume.md +35 -0
- package/plugin/skills/deep-interview/references/question-craft.md +76 -0
- package/plugin/skills/deep-interview/references/scoring-and-gates.md +69 -0
- package/plugin/skills/deep-interview/scripts/render-progress.mjs +165 -0
- package/plugin/skills/deep-interview/templates/context.md +38 -0
- package/plugin/skills/deep-interview/templates/spec.md +68 -0
- package/plugin/skills/deep-interview/templates/state.json +35 -0
- package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +23 -0
- package/plugin/skills/frontend-ui-ux/LICENSE +21 -0
- package/plugin/skills/frontend-ui-ux/PROVENANCE.json +38 -0
- package/plugin/skills/frontend-ui-ux/SKILL.md +153 -0
- package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +1060 -0
- package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +14 -0
- package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +1 -0
- package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +186 -0
- package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +9 -0
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +217 -0
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +201 -0
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +21 -0
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +873 -0
- package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +103 -0
- package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +96 -0
- package/plugin/skills/frontend-ui-ux/references/complete-contract.md +415 -0
- package/plugin/skills/frontend-ui-ux/references/composition.md +93 -0
- package/plugin/skills/frontend-ui-ux/references/craft-floor.md +203 -0
- package/plugin/skills/frontend-ui-ux/references/creative-directions.md +96 -0
- package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +27 -0
- package/plugin/skills/frontend-ui-ux/references/design/README.md +248 -0
- package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +191 -0
- package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +393 -0
- package/plugin/skills/frontend-ui-ux/references/design/airtable.md +92 -0
- package/plugin/skills/frontend-ui-ux/references/design/apple.md +250 -0
- package/plugin/skills/frontend-ui-ux/references/design/aside.md +209 -0
- package/plugin/skills/frontend-ui-ux/references/design/binance.md +348 -0
- package/plugin/skills/frontend-ui-ux/references/design/bmw.md +183 -0
- package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +92 -0
- package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +271 -0
- package/plugin/skills/frontend-ui-ux/references/design/cal.md +262 -0
- package/plugin/skills/frontend-ui-ux/references/design/claude.md +315 -0
- package/plugin/skills/frontend-ui-ux/references/design/clay.md +307 -0
- package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +284 -0
- package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +65 -0
- package/plugin/skills/frontend-ui-ux/references/design/cohere.md +269 -0
- package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +132 -0
- package/plugin/skills/frontend-ui-ux/references/design/composio.md +310 -0
- package/plugin/skills/frontend-ui-ux/references/design/cursor.md +312 -0
- package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +244 -0
- package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +268 -0
- package/plugin/skills/frontend-ui-ux/references/design/expo.md +284 -0
- package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +317 -0
- package/plugin/skills/frontend-ui-ux/references/design/figma.md +223 -0
- package/plugin/skills/frontend-ui-ux/references/design/framer.md +249 -0
- package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +74 -0
- package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +281 -0
- package/plugin/skills/frontend-ui-ux/references/design/ibm.md +335 -0
- package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +1228 -0
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +798 -0
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +1465 -0
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +987 -0
- package/plugin/skills/frontend-ui-ux/references/design/intercom.md +149 -0
- package/plugin/skills/frontend-ui-ux/references/design/kraken.md +128 -0
- package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +291 -0
- package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +107 -0
- package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +77 -0
- package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +370 -0
- package/plugin/skills/frontend-ui-ux/references/design/lovable.md +301 -0
- package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +368 -0
- package/plugin/skills/frontend-ui-ux/references/design/meta.md +369 -0
- package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +85 -0
- package/plugin/skills/frontend-ui-ux/references/design/minimax.md +260 -0
- package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +329 -0
- package/plugin/skills/frontend-ui-ux/references/design/miro.md +111 -0
- package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +264 -0
- package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +269 -0
- package/plugin/skills/frontend-ui-ux/references/design/nike.md +366 -0
- package/plugin/skills/frontend-ui-ux/references/design/notion.md +312 -0
- package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +296 -0
- package/plugin/skills/frontend-ui-ux/references/design/ollama.md +270 -0
- package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +284 -0
- package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +49 -0
- package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +233 -0
- package/plugin/skills/frontend-ui-ux/references/design/playstation.md +367 -0
- package/plugin/skills/frontend-ui-ux/references/design/posthog.md +259 -0
- package/plugin/skills/frontend-ui-ux/references/design/raycast.md +271 -0
- package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +230 -0
- package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +178 -0
- package/plugin/skills/frontend-ui-ux/references/design/renault.md +314 -0
- package/plugin/skills/frontend-ui-ux/references/design/replicate.md +264 -0
- package/plugin/skills/frontend-ui-ux/references/design/resend.md +306 -0
- package/plugin/skills/frontend-ui-ux/references/design/revolut.md +188 -0
- package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +247 -0
- package/plugin/skills/frontend-ui-ux/references/design/sanity.md +360 -0
- package/plugin/skills/frontend-ui-ux/references/design/sentry.md +265 -0
- package/plugin/skills/frontend-ui-ux/references/design/shopify.md +353 -0
- package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +98 -0
- package/plugin/skills/frontend-ui-ux/references/design/spacex.md +197 -0
- package/plugin/skills/frontend-ui-ux/references/design/spotify.md +249 -0
- package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +583 -0
- package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +121 -0
- package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +184 -0
- package/plugin/skills/frontend-ui-ux/references/design/stripe.md +325 -0
- package/plugin/skills/frontend-ui-ux/references/design/supabase.md +258 -0
- package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +255 -0
- package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +1206 -0
- package/plugin/skills/frontend-ui-ux/references/design/tesla.md +289 -0
- package/plugin/skills/frontend-ui-ux/references/design/theverge.md +342 -0
- package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +266 -0
- package/plugin/skills/frontend-ui-ux/references/design/uber.md +298 -0
- package/plugin/skills/frontend-ui-ux/references/design/vercel.md +313 -0
- package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +426 -0
- package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +326 -0
- package/plugin/skills/frontend-ui-ux/references/design/warp.md +256 -0
- package/plugin/skills/frontend-ui-ux/references/design/webflow.md +95 -0
- package/plugin/skills/frontend-ui-ux/references/design/wired.md +281 -0
- package/plugin/skills/frontend-ui-ux/references/design/wise.md +176 -0
- package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +260 -0
- package/plugin/skills/frontend-ui-ux/references/design/zapier.md +331 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +97 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +48 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +80 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +64 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +65 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +65 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +83 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +80 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +79 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +21 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +83 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +132 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +109 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +89 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +113 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +78 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +121 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +268 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +107 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +120 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +101 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +109 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +107 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +199 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +174 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +125 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +106 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +266 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +123 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +120 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +164 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +85 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +98 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +165 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +122 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +81 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +96 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +77 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +192 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +165 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +78 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +75 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +117 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +78 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +125 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +79 -0
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +119 -0
- package/plugin/skills/frontend-ui-ux/references/evidence-review.md +119 -0
- package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +115 -0
- package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +98 -0
- package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +48 -0
- package/plugin/skills/frontend-ui-ux/references/motion-guide.md +153 -0
- package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +101 -0
- package/plugin/skills/frontend-ui-ux/references/perfection/README.md +160 -0
- package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +127 -0
- package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +91 -0
- package/plugin/skills/frontend-ui-ux/references/product-direction.md +92 -0
- package/plugin/skills/frontend-ui-ux/references/production-interview.md +71 -0
- package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +103 -0
- package/plugin/skills/frontend-ui-ux/references/slop-register.md +139 -0
- package/plugin/skills/frontend-ui-ux/references/system-foundations.md +90 -0
- package/plugin/skills/frontend-ui-ux/references/taste-direction.md +79 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +659 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +26 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +162 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +106 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +35 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +162 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +45 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +54 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +53 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +53 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +53 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +51 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +59 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +52 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +54 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +61 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +54 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +51 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +50 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +85 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +74 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +162 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +100 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +31 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +262 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +1148 -0
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +114 -0
- package/plugin/skills/frontend-ui-ux/references/visual-language.md +90 -0
- package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +55 -0
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +306 -0
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +291 -0
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +311 -0
- package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +216 -0
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +286 -0
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +354 -0
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +361 -0
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +313 -0
- package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +68 -0
- package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +12 -0
- package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +124 -0
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +1534 -0
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +141 -0
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +57 -0
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +129 -0
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +289 -0
- package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +63 -0
- package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +106 -0
- package/plugin/skills/frontend-ui-ux/scripts/search.mjs +43 -0
- package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +153 -0
- package/plugin/skills/frontend-ui-ux/scripts/strict-json.mjs +143 -0
- package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +52 -0
- package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +90 -0
- package/plugin/skills/lit-brainstorm/SKILL.md +228 -0
- package/plugin/skills/lit-brainstorm/references/convergence-matrices.md +39 -0
- package/plugin/skills/lit-brainstorm/references/idea-lenses.md +71 -0
- package/plugin/skills/lit-brainstorm/references/lane-prompts.md +35 -0
- package/plugin/skills/lit-brainstorm/references/scoring-rubric.md +33 -0
- package/plugin/skills/lit-brainstorm/references/session-walkthrough.md +58 -0
- package/plugin/skills/lit-brainstorm/references/technique-catalog.md +41 -0
- package/plugin/skills/lit-brainstorm/references/techniques-generate.md +50 -0
- package/plugin/skills/lit-brainstorm/references/techniques-reframe.md +30 -0
- package/plugin/skills/lit-brainstorm/references/techniques-structure.md +36 -0
- package/plugin/skills/lit-brainstorm/templates/handoff-packet.md +23 -0
- package/plugin/skills/lit-brainstorm/templates/session-board.md +45 -0
- package/plugin/skills/lit-brainstorm/templates/shortlist.md +31 -0
- package/plugin/skills/lit-burnoff/SKILL.md +222 -0
- package/plugin/skills/lit-burnoff/references/behavior-preserving-cleanup.md +75 -0
- package/plugin/skills/lit-burnoff/references/prose-and-docs.md +31 -0
- package/plugin/skills/lit-burnoff/references/slop-categories.md +75 -0
- package/plugin/skills/lit-burnoff/templates/report.md +17 -0
- package/plugin/skills/lit-burnoff-file/SKILL.md +177 -0
- package/plugin/skills/lit-burnoff-file/references/triage-examples.md +76 -0
- package/plugin/skills/lit-burnoff-file/templates/report.md +17 -0
- package/plugin/skills/lit-code/SKILL.md +239 -0
- package/plugin/skills/lit-code/references/core/agy-surfaces-and-verification.md +95 -0
- package/plugin/skills/lit-code/references/core/cross-language-stack.md +74 -0
- package/plugin/skills/lit-code/references/core/file-size-ceiling.md +133 -0
- package/plugin/skills/lit-code/references/core/language-jump-table.md +143 -0
- package/plugin/skills/lit-code/references/core/post-write-review.md +77 -0
- package/plugin/skills/lit-code/references/core/shared-rules.md +92 -0
- package/plugin/skills/lit-code/references/core/tdd-discipline.md +82 -0
- package/plugin/skills/lit-code/references/engineering-risk-signals.md +123 -0
- package/plugin/skills/lit-code/references/go/README.md +104 -0
- package/plugin/skills/lit-code/references/go/backend-stack.md +717 -0
- package/plugin/skills/lit-code/references/go/bootstrap.md +350 -0
- package/plugin/skills/lit-code/references/go/bubbletea-v2.md +356 -0
- package/plugin/skills/lit-code/references/go/cobra-stack.md +446 -0
- package/plugin/skills/lit-code/references/go/concurrency.md +443 -0
- package/plugin/skills/lit-code/references/go/data-modeling.md +372 -0
- package/plugin/skills/lit-code/references/go/error-handling.md +379 -0
- package/plugin/skills/lit-code/references/go/golangci-strict.md +285 -0
- package/plugin/skills/lit-code/references/go/grpc-connect.md +458 -0
- package/plugin/skills/lit-code/references/go/libraries.md +327 -0
- package/plugin/skills/lit-code/references/go/one-liners.md +223 -0
- package/plugin/skills/lit-code/references/go/sqlc-pgx.md +517 -0
- package/plugin/skills/lit-code/references/go/testing.md +453 -0
- package/plugin/skills/lit-code/references/go/type-patterns.md +347 -0
- package/plugin/skills/lit-code/references/observability-contracts.md +106 -0
- package/plugin/skills/lit-code/references/python/README.md +313 -0
- package/plugin/skills/lit-code/references/python/async-anyio.md +487 -0
- package/plugin/skills/lit-code/references/python/data-modeling.md +264 -0
- package/plugin/skills/lit-code/references/python/data-processing.md +156 -0
- package/plugin/skills/lit-code/references/python/error-handling.md +300 -0
- package/plugin/skills/lit-code/references/python/fastapi-stack.md +368 -0
- package/plugin/skills/lit-code/references/python/httpx2-optimization.md +445 -0
- package/plugin/skills/lit-code/references/python/libraries.md +342 -0
- package/plugin/skills/lit-code/references/python/one-liners.md +290 -0
- package/plugin/skills/lit-code/references/python/orjson-stack.md +389 -0
- package/plugin/skills/lit-code/references/python/pydantic-ai.md +335 -0
- package/plugin/skills/lit-code/references/python/pyproject-strict.md +265 -0
- package/plugin/skills/lit-code/references/python/textual-tui.md +243 -0
- package/plugin/skills/lit-code/references/python/type-patterns.md +258 -0
- package/plugin/skills/lit-code/references/rust/README.md +338 -0
- package/plugin/skills/lit-code/references/rust/async-tokio.md +324 -0
- package/plugin/skills/lit-code/references/rust/axum-stack.md +563 -0
- package/plugin/skills/lit-code/references/rust/cargo-strict.md +357 -0
- package/plugin/skills/lit-code/references/rust/clap-stack.md +482 -0
- package/plugin/skills/lit-code/references/rust/concurrency.md +396 -0
- package/plugin/skills/lit-code/references/rust/libraries.md +467 -0
- package/plugin/skills/lit-code/references/rust/one-liners.md +294 -0
- package/plugin/skills/lit-code/references/rust/proptest-insta.md +418 -0
- package/plugin/skills/lit-code/references/rust/type-state.md +496 -0
- package/plugin/skills/lit-code/references/rust/unsafe-discipline.md +282 -0
- package/plugin/skills/lit-code/references/rust/zero-cost-safety.md +546 -0
- package/plugin/skills/lit-code/references/rust-ub/README.md +294 -0
- package/plugin/skills/lit-code/references/rust-ub/miri-sanitizers-loom.md +477 -0
- package/plugin/skills/lit-code/references/rust-ub/ub-taxonomy.md +302 -0
- package/plugin/skills/lit-code/references/typescript/README.md +191 -0
- package/plugin/skills/lit-code/references/typescript/backend-hono.md +703 -0
- package/plugin/skills/lit-code/references/typescript/bootstrap.md +185 -0
- package/plugin/skills/lit-code/references/typescript/data-modeling.md +244 -0
- package/plugin/skills/lit-code/references/typescript/error-handling.md +219 -0
- package/plugin/skills/lit-code/references/typescript/tsconfig-strict.md +193 -0
- package/plugin/skills/lit-code/references/typescript/type-patterns.md +290 -0
- package/plugin/skills/lit-code/scripts/go/check-no-excuse-rules.sh +173 -0
- package/plugin/skills/lit-code/scripts/go/new-project.py +138 -0
- package/plugin/skills/lit-code/scripts/go/templates/.editorconfig +13 -0
- package/plugin/skills/lit-code/scripts/go/templates/.golangci.yml +95 -0
- package/plugin/skills/lit-code/scripts/go/templates/AGENTS.md.tmpl +24 -0
- package/plugin/skills/lit-code/scripts/go/templates/README.md.tmpl +12 -0
- package/plugin/skills/lit-code/scripts/go/templates/Taskfile.yml +40 -0
- package/plugin/skills/lit-code/scripts/go/templates/ci.yml +37 -0
- package/plugin/skills/lit-code/scripts/go/templates/config.go +24 -0
- package/plugin/skills/lit-code/scripts/go/templates/gitignore +15 -0
- package/plugin/skills/lit-code/scripts/go/templates/main.go.tmpl +22 -0
- package/plugin/skills/lit-code/scripts/go/templates/run.go +15 -0
- package/plugin/skills/lit-code/scripts/python/check-no-excuse-rules.py +687 -0
- package/plugin/skills/lit-code/scripts/python/new-project.py +172 -0
- package/plugin/skills/lit-code/scripts/python/new-script.py +116 -0
- package/plugin/skills/lit-code/scripts/rust/check-no-excuse-rules.py +296 -0
- package/plugin/skills/lit-code/scripts/rust/check-no-excuse-rules.sh +158 -0
- package/plugin/skills/lit-code/scripts/rust/new-project.py +175 -0
- package/plugin/skills/lit-code/scripts/typescript/check-no-excuse-rules.ts +344 -0
- package/plugin/skills/lit-code/scripts/typescript/new-project.ts +174 -0
- package/plugin/skills/lit-commit/SKILL.md +148 -0
- package/plugin/skills/lit-commit/references/safe-git-operations.md +154 -0
- package/plugin/skills/lit-comprehend/SKILL.md +244 -0
- package/plugin/skills/lit-comprehend/assets/explainer-scaffold.html +257 -0
- package/plugin/skills/lit-comprehend/references/artifact-template.md +173 -0
- package/plugin/skills/lit-comprehend/references/micro-worlds.md +174 -0
- package/plugin/skills/lit-comprehend/scripts/verify-explainer.mjs +357 -0
- package/plugin/skills/lit-crucible/SKILL.md +151 -0
- package/plugin/skills/lit-crucible/references/adversarial-workflow.md +134 -0
- package/plugin/skills/lit-crucible/references/lane-briefs.md +69 -0
- package/plugin/skills/lit-crucible/templates/crucible.md +37 -0
- package/plugin/skills/lit-diagram-drawer/NOTICE +33 -0
- package/plugin/skills/lit-diagram-drawer/SKILL.md +177 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +94 -0
- package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
- package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +22 -0
- package/plugin/skills/lit-diagram-drawer/assets/icons.html +231 -0
- package/plugin/skills/lit-diagram-drawer/assets/index.html +1 -0
- package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +20 -0
- package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +21 -0
- package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +21 -0
- package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +30 -0
- package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +21 -0
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +33 -0
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +18 -0
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +19 -0
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +17 -0
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +17 -0
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +17 -0
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +19 -0
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +1 -0
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +20 -0
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +1 -0
- package/plugin/skills/lit-diagram-drawer/references/accessibility.md +37 -0
- package/plugin/skills/lit-diagram-drawer/references/drawing-rules.md +86 -0
- package/plugin/skills/lit-diagram-drawer/references/export.md +34 -0
- package/plugin/skills/lit-diagram-drawer/references/failure-codes.md +66 -0
- package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +21 -0
- package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +14 -0
- package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +18 -0
- package/plugin/skills/lit-diagram-drawer/references/import-schema.md +28 -0
- package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +34 -0
- package/plugin/skills/lit-diagram-drawer/references/motion.md +29 -0
- package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +42 -0
- package/plugin/skills/lit-diagram-drawer/references/output-spec.md +48 -0
- package/plugin/skills/lit-diagram-drawer/references/playbooks.md +67 -0
- package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +12 -0
- package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +21 -0
- package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +11 -0
- package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +11 -0
- package/plugin/skills/lit-diagram-drawer/references/profiles.md +24 -0
- package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +27 -0
- package/plugin/skills/lit-diagram-drawer/references/style-guide.md +67 -0
- package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +51 -0
- package/plugin/skills/lit-diagram-drawer/references/type-bar.md +51 -0
- package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-bump.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +1433 -0
- package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +51 -0
- package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-er.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +49 -0
- package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-journey.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-layers.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-line.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-loop.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-nested.md +59 -0
- package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +58 -0
- package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +72 -0
- package/plugin/skills/lit-diagram-drawer/references/type-polar.md +67 -0
- package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +69 -0
- package/plugin/skills/lit-diagram-drawer/references/type-process.md +58 -0
- package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +59 -0
- package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +60 -0
- package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +57 -0
- package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +63 -0
- package/plugin/skills/lit-diagram-drawer/references/type-radar.md +57 -0
- package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +63 -0
- package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +68 -0
- package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +60 -0
- package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +66 -0
- package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +63 -0
- package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +65 -0
- package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-state.md +59 -0
- package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +52 -0
- package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +53 -0
- package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +52 -0
- package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +52 -0
- package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +57 -0
- package/plugin/skills/lit-diagram-drawer/references/type-tree.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +52 -0
- package/plugin/skills/lit-diagram-drawer/references/type-venn.md +51 -0
- package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +52 -0
- package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +54 -0
- package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +76 -0
- package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +43 -0
- package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +94 -0
- package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +15 -0
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +14 -0
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +219 -0
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +9 -0
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +277 -0
- package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +25 -0
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +162 -0
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +147 -0
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +148 -0
- package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +119 -0
- package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +85 -0
- package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +48 -0
- package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +234 -0
- package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +104 -0
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +115 -0
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +70 -0
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +178 -0
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +137 -0
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +80 -0
- package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +54 -0
- package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +11 -0
- package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +85 -0
- package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +16 -0
- package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +27 -0
- package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +12 -0
- package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +48 -0
- package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +226 -0
- package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +147 -0
- package/plugin/skills/lit-docx/NOTICE +35 -0
- package/plugin/skills/lit-docx/SKILL.md +137 -0
- package/plugin/skills/lit-docx/references/build-loop.md +96 -0
- package/plugin/skills/lit-docx/references/components.md +287 -0
- package/plugin/skills/lit-docx/references/direction-step.md +339 -0
- package/plugin/skills/lit-docx/references/examples/01-report-ko.md +166 -0
- package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +96 -0
- package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +170 -0
- package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +141 -0
- package/plugin/skills/lit-docx/references/examples/05-memo-en.md +56 -0
- package/plugin/skills/lit-docx/references/examples/06-journal-en.md +129 -0
- package/plugin/skills/lit-docx/references/examples/07-report-en.md +123 -0
- package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +122 -0
- package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +40 -0
- package/plugin/skills/lit-docx/references/frontmatter_schema.md +94 -0
- package/plugin/skills/lit-docx/references/journal_style_spec.md +89 -0
- package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +43 -0
- package/plugin/skills/lit-docx/references/page-composition.md +319 -0
- package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +58 -0
- package/plugin/skills/lit-docx/references/slop_rules.md +88 -0
- package/plugin/skills/lit-docx/references/tonalities/brief.md +170 -0
- package/plugin/skills/lit-docx/references/tonalities/journal.md +173 -0
- package/plugin/skills/lit-docx/references/tonalities/manual.md +182 -0
- package/plugin/skills/lit-docx/references/tonalities/memo.md +171 -0
- package/plugin/skills/lit-docx/references/tonalities/proposal.md +181 -0
- package/plugin/skills/lit-docx/references/tonalities/report.md +199 -0
- package/plugin/skills/lit-docx/scripts/clean_markdown.py +95 -0
- package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +1395 -0
- package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +301 -0
- package/plugin/skills/lit-docx/scripts/convert_pdf.py +139 -0
- package/plugin/skills/lit-docx/scripts/docx_design.py +2449 -0
- package/plugin/skills/lit-docx/scripts/docx_layout.py +959 -0
- package/plugin/skills/lit-docx/scripts/edit_docx.py +306 -0
- package/plugin/skills/lit-docx/scripts/embed_images.py +78 -0
- package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +500 -0
- package/plugin/skills/lit-docx/scripts/pdf_fonts.py +83 -0
- package/plugin/skills/lit-docx/scripts/qa_docx.py +234 -0
- package/plugin/skills/lit-docx/scripts/slop_lint.py +573 -0
- package/plugin/skills/lit-docx/scripts/visual_audit.py +48 -0
- package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
- package/plugin/skills/lit-docx/templates/latex/acs/README.md +5 -0
- package/plugin/skills/lit-docx/templates/latex/acs/template.tex +41 -0
- package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +5 -0
- package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +42 -0
- package/plugin/skills/lit-docx/templates/latex/ieee/README.md +5 -0
- package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +41 -0
- package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +5 -0
- package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +41 -0
- package/plugin/skills/lit-docx/templates/latex/nature/README.md +5 -0
- package/plugin/skills/lit-docx/templates/latex/nature/template.tex +41 -0
- package/plugin/skills/lit-docx/templates/registry.yaml +1366 -0
- package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +28 -0
- package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +25 -0
- package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +26 -0
- package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +26 -0
- package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +26 -0
- package/plugin/skills/lit-docx/templates/tonalities/report.yaml +26 -0
- package/plugin/skills/lit-handoff/LICENSE +21 -0
- package/plugin/skills/lit-handoff/SKILL.md +176 -0
- package/plugin/skills/lit-handoff/evals/evals.json +244 -0
- package/plugin/skills/lit-handoff/examples/HANDOFF-example-generic-auth-refactor.md +97 -0
- package/plugin/skills/lit-handoff/reference/PROVENANCE.md +17 -0
- package/plugin/skills/lit-handoff/reference/canonical-handoff.md +199 -0
- package/plugin/skills/lit-handoff/scripts/verify-closure.mjs +50 -0
- package/plugin/skills/lit-handoff/templates/HANDOFF.md +121 -0
- package/plugin/skills/lit-humanizer/NOTICE +160 -0
- package/plugin/skills/lit-humanizer/SKILL.md +226 -0
- package/plugin/skills/lit-humanizer/assets/always-on-rule.md +11 -0
- package/plugin/skills/lit-humanizer/assets/report-skeleton.md +29 -0
- package/plugin/skills/lit-humanizer/assets/slide-text-skeleton.md +28 -0
- package/plugin/skills/lit-humanizer/bench/prompts.md +81 -0
- package/plugin/skills/lit-humanizer/examples/accessibility-note/after.md +7 -0
- package/plugin/skills/lit-humanizer/examples/accessibility-note/before.md +9 -0
- package/plugin/skills/lit-humanizer/examples/api-reference/after.md +10 -0
- package/plugin/skills/lit-humanizer/examples/api-reference/before.md +14 -0
- package/plugin/skills/lit-humanizer/examples/changelog/after.md +8 -0
- package/plugin/skills/lit-humanizer/examples/changelog/before.md +12 -0
- package/plugin/skills/lit-humanizer/examples/code-comments/after.md +11 -0
- package/plugin/skills/lit-humanizer/examples/code-comments/before.md +19 -0
- package/plugin/skills/lit-humanizer/examples/commit/after.md +7 -0
- package/plugin/skills/lit-humanizer/examples/commit/before.md +5 -0
- package/plugin/skills/lit-humanizer/examples/data-release/after.md +9 -0
- package/plugin/skills/lit-humanizer/examples/data-release/before.md +11 -0
- package/plugin/skills/lit-humanizer/examples/english-essay/after.md +5 -0
- package/plugin/skills/lit-humanizer/examples/english-essay/before.md +9 -0
- package/plugin/skills/lit-humanizer/examples/incident-update/after.md +9 -0
- package/plugin/skills/lit-humanizer/examples/incident-update/before.md +9 -0
- package/plugin/skills/lit-humanizer/examples/ko-essay/after.md +5 -0
- package/plugin/skills/lit-humanizer/examples/ko-essay/before.md +11 -0
- package/plugin/skills/lit-humanizer/examples/ko-report/after.md +9 -0
- package/plugin/skills/lit-humanizer/examples/ko-report/before.md +19 -0
- package/plugin/skills/lit-humanizer/examples/ko-slide/after.md +21 -0
- package/plugin/skills/lit-humanizer/examples/ko-slide/before.md +23 -0
- package/plugin/skills/lit-humanizer/examples/meeting-brief/after.md +9 -0
- package/plugin/skills/lit-humanizer/examples/meeting-brief/before.md +11 -0
- package/plugin/skills/lit-humanizer/examples/policy-faq/after.md +16 -0
- package/plugin/skills/lit-humanizer/examples/policy-faq/before.md +16 -0
- package/plugin/skills/lit-humanizer/examples/pr/after.md +17 -0
- package/plugin/skills/lit-humanizer/examples/pr/before.md +19 -0
- package/plugin/skills/lit-humanizer/examples/project-update/after.md +10 -0
- package/plugin/skills/lit-humanizer/examples/project-update/before.md +9 -0
- package/plugin/skills/lit-humanizer/examples/readme/after.md +19 -0
- package/plugin/skills/lit-humanizer/examples/readme/before.md +23 -0
- package/plugin/skills/lit-humanizer/examples/report/after.md +9 -0
- package/plugin/skills/lit-humanizer/examples/report/before.md +19 -0
- package/plugin/skills/lit-humanizer/examples/research-abstract/after.md +1 -0
- package/plugin/skills/lit-humanizer/examples/research-abstract/before.md +7 -0
- package/plugin/skills/lit-humanizer/examples/slides/after.md +16 -0
- package/plugin/skills/lit-humanizer/examples/slides/before.md +19 -0
- package/plugin/skills/lit-humanizer/examples/troubleshooting/after.md +13 -0
- package/plugin/skills/lit-humanizer/examples/troubleshooting/before.md +13 -0
- package/plugin/skills/lit-humanizer/fixtures/ko-metrics-golden.json +51 -0
- package/plugin/skills/lit-humanizer/fixtures/office/minimal.docx +0 -0
- package/plugin/skills/lit-humanizer/fixtures/office/minimal.pptx +0 -0
- package/plugin/skills/lit-humanizer/fixtures/pledge-cases.json +1341 -0
- package/plugin/skills/lit-humanizer/fixtures/pos-real.txt +26 -0
- package/plugin/skills/lit-humanizer/fixtures/rule-cases.json +312 -0
- package/plugin/skills/lit-humanizer/motion-guide.md +125 -0
- package/plugin/skills/lit-humanizer/references/code-patterns.md +324 -0
- package/plugin/skills/lit-humanizer/references/deliverable-channels.md +123 -0
- package/plugin/skills/lit-humanizer/references/en-patterns-checklist.md +44 -0
- package/plugin/skills/lit-humanizer/references/en-patterns-content.md +245 -0
- package/plugin/skills/lit-humanizer/references/en-patterns-structure.md +389 -0
- package/plugin/skills/lit-humanizer/references/en-patterns.md +58 -0
- package/plugin/skills/lit-humanizer/references/ko-metrics.md +39 -0
- package/plugin/skills/lit-humanizer/references/ko-patterns-a-d.md +667 -0
- package/plugin/skills/lit-humanizer/references/ko-patterns-e-j.md +391 -0
- package/plugin/skills/lit-humanizer/references/ko-patterns.md +40 -0
- package/plugin/skills/lit-humanizer/references/litgravity-fidelity-checklist.md +83 -0
- package/plugin/skills/lit-humanizer/references/litgravity-rewrite-rules.md +74 -0
- package/plugin/skills/lit-humanizer/references/litgravity-style-patterns.md +57 -0
- package/plugin/skills/lit-humanizer/references/prompt-injection-handling.md +29 -0
- package/plugin/skills/lit-humanizer/references/rewrite-playbook.md +67 -0
- package/plugin/skills/lit-humanizer/references/taxonomy.md +190 -0
- package/plugin/skills/lit-humanizer/rules.json +938 -0
- package/plugin/skills/lit-humanizer/scripts/artifact-text.mjs +41 -0
- package/plugin/skills/lit-humanizer/scripts/core.mjs +313 -0
- package/plugin/skills/lit-humanizer/scripts/detect.mjs +79 -0
- package/plugin/skills/lit-humanizer/scripts/extract_office_text.py +109 -0
- package/plugin/skills/lit-humanizer/scripts/ko-metrics.mjs +147 -0
- package/plugin/skills/lit-humanizer/scripts/scan-input.mjs +57 -0
- package/plugin/skills/lit-humanizer/scripts/test-fixtures.mjs +217 -0
- package/plugin/skills/lit-humanizer/scripts/test-ko-metrics.mjs +28 -0
- package/plugin/skills/lit-init/SKILL.md +189 -0
- package/plugin/skills/lit-init/references/deep-repository-map.md +95 -0
- package/plugin/skills/lit-init/templates/agents-child.md +20 -0
- package/plugin/skills/lit-init/templates/agents-root.md +35 -0
- package/plugin/skills/lit-loop/SKILL.md +217 -0
- package/plugin/skills/lit-loop/references/adversarial-classes.md +27 -0
- package/plugin/skills/lit-loop/references/ledger-and-records.md +47 -0
- package/plugin/skills/lit-plan/SKILL.md +220 -0
- package/plugin/skills/lit-plan/references/agy-surfaces.md +29 -0
- package/plugin/skills/lit-plan/references/intent-routes.md +118 -0
- package/plugin/skills/lit-plan/references/plan-contract.md +112 -0
- package/plugin/skills/lit-plan/references/review-gates.md +51 -0
- package/plugin/skills/lit-plan/references/risk-and-recovery.md +56 -0
- package/plugin/skills/lit-plan/references/start-work-handoff-contract.md +66 -0
- package/plugin/skills/lit-plan/scripts/check-plan.mjs +163 -0
- package/plugin/skills/lit-plan/templates/draft.md +41 -0
- package/plugin/skills/lit-plan/templates/plan.md +101 -0
- package/plugin/skills/lit-pptx/NOTICE +35 -0
- package/plugin/skills/lit-pptx/SKILL.md +147 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-a.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-b.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-c.png +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +94 -0
- package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +29 -0
- package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +94 -0
- package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/provenance.json +78 -0
- package/plugin/skills/lit-pptx/references/agents/analyst.md +71 -0
- package/plugin/skills/lit-pptx/references/agents/antithesis.md +77 -0
- package/plugin/skills/lit-pptx/references/agents/architect.md +57 -0
- package/plugin/skills/lit-pptx/references/agents/critic.md +58 -0
- package/plugin/skills/lit-pptx/references/agents/synthesizer.md +56 -0
- package/plugin/skills/lit-pptx/references/agents/thesis.md +53 -0
- package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +157 -0
- package/plugin/skills/lit-pptx/references/authoring-guide.md +341 -0
- package/plugin/skills/lit-pptx/references/build-loop.md +117 -0
- package/plugin/skills/lit-pptx/references/consensus-protocol.md +123 -0
- package/plugin/skills/lit-pptx/references/data-display-cookbook.md +153 -0
- package/plugin/skills/lit-pptx/references/density-and-fill.md +232 -0
- package/plugin/skills/lit-pptx/references/design-system-azure.md +90 -0
- package/plugin/skills/lit-pptx/references/direction-step.md +245 -0
- package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +211 -0
- package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +147 -0
- package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +199 -0
- package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +203 -0
- package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +178 -0
- package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +199 -0
- package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +192 -0
- package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +175 -0
- package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +204 -0
- package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +179 -0
- package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +164 -0
- package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +174 -0
- package/plugin/skills/lit-pptx/references/interview-protocol.md +132 -0
- package/plugin/skills/lit-pptx/references/layout-families.md +298 -0
- package/plugin/skills/lit-pptx/references/stages/autopilot.md +88 -0
- package/plugin/skills/lit-pptx/references/stages/interview.md +84 -0
- package/plugin/skills/lit-pptx/references/stages/plan.md +83 -0
- package/plugin/skills/lit-pptx/references/title-treatments.md +165 -0
- package/plugin/skills/lit-pptx/references/tonalities/atlas.md +152 -0
- package/plugin/skills/lit-pptx/references/tonalities/chalk.md +163 -0
- package/plugin/skills/lit-pptx/references/tonalities/gazette.md +173 -0
- package/plugin/skills/lit-pptx/references/tonalities/ledger.md +178 -0
- package/plugin/skills/lit-pptx/references/tonalities/night.md +174 -0
- package/plugin/skills/lit-pptx/references/tonalities/paper.md +167 -0
- package/plugin/skills/lit-pptx/references/tonalities/signal.md +157 -0
- package/plugin/skills/lit-pptx/references/tonalities/studio.md +162 -0
- package/plugin/skills/lit-pptx/scripts/compile-deck.js +464 -0
- package/plugin/skills/lit-pptx/scripts/craft_extras.py +1033 -0
- package/plugin/skills/lit-pptx/scripts/deck_craft.py +363 -0
- package/plugin/skills/lit-pptx/scripts/embed_fonts.py +215 -0
- package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +55 -0
- package/plugin/skills/lit-pptx/scripts/layout_inventory.py +418 -0
- package/plugin/skills/lit-pptx/scripts/learn_template.py +446 -0
- package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +176 -0
- package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +244 -0
- package/plugin/skills/lit-pptx/scripts/lib/font-map.js +79 -0
- package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +86 -0
- package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +37 -0
- package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +521 -0
- package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +1119 -0
- package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +138 -0
- package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +356 -0
- package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +2240 -0
- package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +3559 -0
- package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +28 -0
- package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +565 -0
- package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +94 -0
- package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +679 -0
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package-lock.json +793 -0
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package.json +12 -0
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/requirements.lock +15 -0
- package/plugin/skills/lit-pptx/scripts/office-runtime.mjs +279 -0
- package/plugin/skills/lit-pptx/scripts/office_data.py +493 -0
- package/plugin/skills/lit-pptx/scripts/office_runtime_bootstrap.py +73 -0
- package/plugin/skills/lit-pptx/scripts/ooxml_integrity.py +199 -0
- package/plugin/skills/lit-pptx/scripts/package.json +4 -0
- package/plugin/skills/lit-pptx/scripts/qa_deck.py +795 -0
- package/plugin/skills/lit-pptx/scripts/render_pages.py +116 -0
- package/plugin/skills/lit-pptx/scripts/validate_pptx.py +230 -0
- package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +275 -0
- package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +263 -0
- package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +229 -0
- package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +144 -0
- package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +405 -0
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +146 -0
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +454 -0
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +40 -0
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +154 -0
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +475 -0
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +40 -0
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +179 -0
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +299 -0
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +45 -0
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +181 -0
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +299 -0
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +44 -0
- package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +92 -0
- package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +97 -0
- package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +93 -0
- package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +94 -0
- package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +93 -0
- package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +98 -0
- package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +94 -0
- package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +92 -0
- package/plugin/skills/lit-recap/SKILL.md +168 -0
- package/plugin/skills/lit-recap/references/recap-shapes.md +166 -0
- package/plugin/skills/lit-recap/references/source-reading.md +105 -0
- package/plugin/skills/lit-recap/references/stale-state-checks.md +74 -0
- package/plugin/skills/lit-scientific-visualization/LICENSE +21 -0
- package/plugin/skills/lit-scientific-visualization/SKILL.md +165 -0
- package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +197 -0
- package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +75 -0
- package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +74 -0
- package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +78 -0
- package/plugin/skills/lit-scientific-visualization/evals/evals.json +158 -0
- package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +278 -0
- package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +380 -0
- package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +359 -0
- package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +608 -0
- package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +85 -0
- package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +217 -0
- package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +293 -0
- package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +238 -0
- package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +23 -0
- package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +230 -0
- package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +467 -0
- package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +51 -0
- package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +114 -0
- package/plugin/skills/lit-team/SKILL.md +118 -0
- package/plugin/skills/lit-team/references/member-briefs.md +67 -0
- package/plugin/skills/lit-team/references/team-orchestration.md +129 -0
- package/plugin/skills/lit-team/scripts/owner-lock.mjs +330 -0
- package/plugin/skills/lit-team/scripts/secure-path.mjs +24 -0
- package/plugin/skills/lit-team/scripts/state-root.mjs +55 -0
- package/plugin/skills/lit-team/scripts/team.mjs +629 -0
- package/plugin/skills/lit-typographic-motion/SKILL.md +196 -0
- package/plugin/skills/lit-typographic-motion/engine/NOTICE +23 -0
- package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +62 -0
- package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +56 -0
- package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +1084 -0
- package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +246 -0
- package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +90 -0
- package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +46 -0
- package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +211 -0
- package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +550 -0
- package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +123 -0
- package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +100 -0
- package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +142 -0
- package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +167 -0
- package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +19 -0
- package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +198 -0
- package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +108 -0
- package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +158 -0
- package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +331 -0
- package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +102 -0
- package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +209 -0
- package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +347 -0
- package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +141 -0
- package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +76 -0
- package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +106 -0
- package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +32 -0
- package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +374 -0
- package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +83 -0
- package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +170 -0
- package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +105 -0
- package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +36 -0
- package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +164 -0
- package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +593 -0
- package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +112 -0
- package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +66 -0
- package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +349 -0
- package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +145 -0
- package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +60 -0
- package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +642 -0
- package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +179 -0
- package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +122 -0
- package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +295 -0
- package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +283 -0
- package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +503 -0
- package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +100 -0
- package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +344 -0
- package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +146 -0
- package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +132 -0
- package/plugin/skills/lit-typographic-motion/engine/package-lock.json +25 -0
- package/plugin/skills/lit-typographic-motion/engine/package.json +10 -0
- package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +37 -0
- package/plugin/skills/lit-typographic-motion/engine/stage/init.js +288 -0
- package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +106 -0
- package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +157 -0
- package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +701 -0
- package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +123 -0
- package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +281 -0
- package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +319 -0
- package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +78 -0
- package/plugin/skills/lit-typographic-motion/engine/web/index.html +6 -0
- package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +112 -0
- package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +98 -0
- package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +49 -0
- package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +77 -0
- package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +61 -0
- package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +88 -0
- package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +86 -0
- package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +165 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +15 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +82 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +30 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +16 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +47 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +45 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +29 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +73 -0
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +73 -0
- package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +236 -0
- package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +180 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +93 -0
- package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +93 -0
- package/plugin/skills/lit-typographic-motion/fonts/manifest.json +455 -0
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +93 -0
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +42 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +216 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +216 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +216 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +216 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +217 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +91 -0
- package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +93 -0
- package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +16 -0
- package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +27 -0
- package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +16 -0
- package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +17 -0
- package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +17 -0
- package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +18 -0
- package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +17 -0
- package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +30 -0
- package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +67 -0
- package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +152 -0
- package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +95 -0
- package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +202 -0
- package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +67 -0
- package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +100 -0
- package/plugin/skills/lit-typographic-motion/references/brief-schema.md +119 -0
- package/plugin/skills/lit-typographic-motion/references/cover.md +473 -0
- package/plugin/skills/lit-typographic-motion/references/craft-loop.md +100 -0
- package/plugin/skills/lit-typographic-motion/references/engine-contract.md +124 -0
- package/plugin/skills/lit-typographic-motion/references/look.md +157 -0
- package/plugin/skills/lit-typographic-motion/references/runtime.md +100 -0
- package/plugin/skills/lit-typographic-motion/references/sound.md +121 -0
- package/plugin/skills/lit-typographic-motion/references/stage.md +239 -0
- package/plugin/skills/lit-typographic-motion/references/style-bibles.md +130 -0
- package/plugin/skills/lit-typographic-motion/references/treatment.md +166 -0
- package/plugin/skills/lit-typographic-motion/references/type-craft.md +87 -0
- package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +99 -0
- package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +95 -0
- package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +165 -0
- package/plugin/skills/litgoal/SKILL.md +267 -0
- package/plugin/skills/litgoal/references/close-gate.md +28 -0
- package/plugin/skills/litgoal/references/host-goal-binding.md +32 -0
- package/plugin/skills/litgoal/scripts/check-goal.mjs +116 -0
- package/plugin/skills/litgoal/templates/goal.json +23 -0
- package/plugin/skills/litresearch/ATTRIBUTION.md +42 -0
- package/plugin/skills/litresearch/SKILL.md +229 -0
- package/plugin/skills/litresearch/references/disputed-claims.md +103 -0
- package/plugin/skills/litresearch/references/lane-operations.md +96 -0
- package/plugin/skills/litresearch/references/ledger-and-evidence.md +120 -0
- package/plugin/skills/litresearch/references/pitfalls.md +56 -0
- package/plugin/skills/litresearch/references/query-craft.md +67 -0
- package/plugin/skills/litresearch/references/question-playbooks.md +74 -0
- package/plugin/skills/litresearch/references/report-formats.md +136 -0
- package/plugin/skills/litresearch/references/source-verdict-checklist.md +81 -0
- package/plugin/skills/litresearch/references/worked-examples.md +36 -0
- package/plugin/skills/litwork/SKILL.md +190 -0
- package/plugin/skills/litwork/references/execution-details.md +93 -0
- package/plugin/skills/litwork/references/qa-channel-recipes.md +83 -0
- package/plugin/skills/litwork/references/tier-and-criteria.md +68 -0
- package/plugin/skills/litwork/templates/notes.md +29 -0
- package/plugin/skills/lsp/SKILL.md +166 -0
- package/plugin/skills/lsp/references/cli-recipes.md +154 -0
- package/plugin/skills/lsp/references/runtime-triage.md +122 -0
- package/plugin/skills/lsp/scripts/diagnostics.mjs +340 -0
- package/plugin/skills/lsp/scripts/tsserver-query.mjs +83 -0
- package/plugin/skills/lsp-setup/SKILL.md +241 -0
- package/plugin/skills/lsp-setup/references/bash/README.md +92 -0
- package/plugin/skills/lsp-setup/references/c-cpp/README.md +92 -0
- package/plugin/skills/lsp-setup/references/csharp/README.md +93 -0
- package/plugin/skills/lsp-setup/references/dart/README.md +88 -0
- package/plugin/skills/lsp-setup/references/elixir/README.md +87 -0
- package/plugin/skills/lsp-setup/references/go/README.md +93 -0
- package/plugin/skills/lsp-setup/references/haskell/README.md +89 -0
- package/plugin/skills/lsp-setup/references/java/README.md +89 -0
- package/plugin/skills/lsp-setup/references/julia/README.md +85 -0
- package/plugin/skills/lsp-setup/references/kotlin/README.md +88 -0
- package/plugin/skills/lsp-setup/references/lua/README.md +92 -0
- package/plugin/skills/lsp-setup/references/php/README.md +92 -0
- package/plugin/skills/lsp-setup/references/python/README.md +104 -0
- package/plugin/skills/lsp-setup/references/ruby/README.md +90 -0
- package/plugin/skills/lsp-setup/references/rust/README.md +91 -0
- package/plugin/skills/lsp-setup/references/swift/README.md +91 -0
- package/plugin/skills/lsp-setup/references/terraform/README.md +92 -0
- package/plugin/skills/lsp-setup/references/typescript/README.md +109 -0
- package/plugin/skills/lsp-setup/references/yaml/README.md +93 -0
- package/plugin/skills/lsp-setup/references/zig/README.md +81 -0
- package/plugin/skills/lsp-setup/scripts/detect-lsp.mjs +129 -0
- package/plugin/skills/lsp-setup/scripts/lsp-server-table.mjs +192 -0
- package/plugin/skills/lsp-setup/scripts/verify-lsp.mjs +203 -0
- package/plugin/skills/readme-studio/SKILL.md +111 -0
- package/plugin/skills/readme-studio/references/decoration-and-navigation.md +55 -0
- package/plugin/skills/readme-studio/references/facts-and-assembly.md +19 -0
- package/plugin/skills/readme-studio/references/production-interview.md +11 -0
- package/plugin/skills/readme-studio/references/render-and-deliver.md +44 -0
- package/plugin/skills/readme-studio/references/type-and-background.md +23 -0
- package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +133 -0
- package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +6 -0
- package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +77 -0
- package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +28 -0
- package/plugin/skills/readme-studio/templates/cover-source.json +21 -0
- package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +30 -0
- package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +1 -0
- package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +2017 -0
- package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +8 -0
- package/plugin/skills/readme-studio/templates/readme-cover-section.md +75 -0
- package/plugin/skills/readme-studio/templates/readme-facts.json +4 -0
- package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +3783 -0
- package/plugin/skills/readme-studio/templates/remotion-cover/package.json +7 -0
- package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +36 -0
- package/plugin/skills/readme-studio/templates/typography/package-lock.json +133 -0
- package/plugin/skills/readme-studio/templates/typography/package.json +6 -0
- package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +57 -0
- package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +63 -0
- package/plugin/skills/refactor/SKILL.md +228 -0
- package/plugin/skills/refactor/references/evidence-and-stops.md +107 -0
- package/plugin/skills/refactor/references/language-and-surface-checks.md +90 -0
- package/plugin/skills/refactor/references/parallel-dispatch.md +66 -0
- package/plugin/skills/refactor/references/phase-templates.md +172 -0
- package/plugin/skills/refactor/references/safe-change-playbook.md +151 -0
- package/plugin/skills/review-work/SKILL.md +227 -0
- package/plugin/skills/review-work/references/agy-plugin-review.md +38 -0
- package/plugin/skills/review-work/references/lane-briefs.md +62 -0
- package/plugin/skills/review-work/references/lane-context.md +44 -0
- package/plugin/skills/review-work/references/lane-goal.md +51 -0
- package/plugin/skills/review-work/references/lane-output-examples.md +79 -0
- package/plugin/skills/review-work/references/lane-qa.md +54 -0
- package/plugin/skills/review-work/references/lane-quality.md +39 -0
- package/plugin/skills/review-work/references/lane-security.md +38 -0
- package/plugin/skills/review-work/references/plan-review-checklist.md +142 -0
- package/plugin/skills/review-work/references/review-rules.md +54 -0
- package/plugin/skills/review-work/references/verdict-templates.md +152 -0
- package/plugin/skills/review-work/references/worked-reviews.md +85 -0
- package/plugin/skills/review-work/scripts/check-lanes.mjs +109 -0
- package/plugin/skills/rules/SKILL.md +175 -0
- package/plugin/skills/rules/references/loading-facts.md +55 -0
- package/plugin/skills/rules/templates/receipt.md +34 -0
- package/plugin/skills/start-work/SKILL.md +191 -0
- package/plugin/skills/start-work/references/admission-and-selection.md +39 -0
- package/plugin/skills/start-work/references/delegation-and-recovery.md +63 -0
- package/plugin/skills/start-work/references/execution-templates.md +131 -0
- package/plugin/skills/start-work/references/final-wave.md +47 -0
- package/plugin/skills/start-work/references/gate-details.md +79 -0
- package/plugin/skills/start-work/scripts/ledger-append.mjs +58 -0
- package/plugin/skills/start-work/scripts/next-row.mjs +99 -0
- package/plugin/skills/structural-search/SKILL.md +223 -0
- package/plugin/skills/structural-search/references/diagnostics.md +289 -0
- package/plugin/skills/structural-search/references/patterns-and-rules.md +356 -0
- package/plugin/skills/structural-search/references/rewrite-safety.md +230 -0
- package/plugin/skills/visual-qa/SKILL.md +136 -0
- package/plugin/skills/visual-qa/references/breakage-catalogue.md +70 -0
- package/plugin/skills/visual-qa/references/capture-playbook.md +96 -0
- package/plugin/skills/visual-qa/references/complete-contract.md +411 -0
- package/plugin/skills/visual-qa/references/korean-and-mixed-script-checks.md +50 -0
- package/plugin/skills/visual-qa/references/reviewer-charters.md +70 -0
- package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +305 -0
- package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +291 -0
- package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +311 -0
- package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +235 -0
- package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +208 -0
- package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +66 -0
- package/plugin/skills/visual-qa/scripts/ansi.ts +17 -0
- package/plugin/skills/visual-qa/scripts/cli.mjs +101 -0
- package/plugin/skills/visual-qa/scripts/cli.ts +96 -0
- package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +448 -0
- package/plugin/skills/visual-qa/scripts/east-asian-width.ts +72 -0
- package/plugin/skills/visual-qa/scripts/errors.mjs +12 -0
- package/plugin/skills/visual-qa/scripts/evidence-io.mjs +184 -0
- package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +95 -0
- package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +163 -0
- package/plugin/skills/visual-qa/scripts/evidence.mjs +421 -0
- package/plugin/skills/visual-qa/scripts/image-diff.mjs +89 -0
- package/plugin/skills/visual-qa/scripts/image-diff.ts +109 -0
- package/plugin/skills/visual-qa/scripts/png-chunks.mjs +107 -0
- package/plugin/skills/visual-qa/scripts/png-crc.ts +27 -0
- package/plugin/skills/visual-qa/scripts/png-decode.mjs +143 -0
- package/plugin/skills/visual-qa/scripts/png-decode.ts +206 -0
- package/plugin/skills/visual-qa/scripts/png-synth.ts +57 -0
- package/plugin/skills/visual-qa/scripts/review-rules.mjs +137 -0
- package/plugin/skills/visual-qa/scripts/strict-json.mjs +143 -0
- package/plugin/skills/visual-qa/scripts/terminal-text.mjs +117 -0
- package/plugin/skills/visual-qa/scripts/tui-check.mjs +74 -0
- package/plugin/skills/visual-qa/scripts/tui-grid.ts +88 -0
- package/plugin/skills/visual-qa/scripts/types.ts +54 -0
- package/plugin/skills/wikify/LICENSE +21 -0
- package/plugin/skills/wikify/PROVENANCE.md +31 -0
- package/plugin/skills/wikify/SKILL.md +245 -0
- package/plugin/skills/wikify/assets/home-template.md +44 -0
- package/plugin/skills/wikify/assets/maintenance-report-template.md +46 -0
- package/plugin/skills/wikify/assets/paper-source-note-template.md +137 -0
- package/plugin/skills/wikify/assets/source-note-template.md +45 -0
- package/plugin/skills/wikify/assets/wiki-rules-template.md +117 -0
- package/plugin/skills/wikify/modes/ingest.md +40 -0
- package/plugin/skills/wikify/modes/init.md +50 -0
- package/plugin/skills/wikify/modes/lint.md +43 -0
- package/plugin/skills/wikify/modes/query.md +35 -0
- package/plugin/skills/wikify/modes/save.md +43 -0
- package/plugin/skills/wikify/references/bridge-and-promotion.md +70 -0
- package/plugin/skills/wikify/references/capture-review-protocol.md +78 -0
- package/plugin/skills/wikify/references/knowledge-script-contract.md +95 -0
- package/plugin/skills/wikify/references/lint-and-maintenance.md +83 -0
- package/plugin/skills/wikify/references/paper-notes.md +56 -0
- package/plugin/skills/wikify/references/query-protocol.md +58 -0
- package/plugin/skills/wikify/references/source-notes-and-citations.md +71 -0
- package/plugin/skills/wikify/references/wiki-layout.md +152 -0
- package/plugin/skills/wikify/scripts/wikify-knowledge.mjs +483 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Language jump table, scaffolds and checkers
|
|
2
|
+
|
|
3
|
+
Phase 0 in `SKILL.md` makes each language's `README.md` mandatory reading. This file maps every narrower need to its exact reference file, then documents each shipped script: what it does, how to run it, what it writes, and what to do when its runner is missing. Paths are relative to the skill folder. Read a file with `read_file` (older builds: `view_file`); another skill's file sits at `../<id>/SKILL.md`.
|
|
4
|
+
|
|
5
|
+
## Python (`.py`, `.pyi`)
|
|
6
|
+
|
|
7
|
+
Read `references/python/README.md` first. Then, by need:
|
|
8
|
+
|
|
9
|
+
| Need | File |
|
|
10
|
+
|---|---|
|
|
11
|
+
| Strict `pyproject.toml`, basedpyright and ruff configuration | `references/python/pyproject-strict.md` |
|
|
12
|
+
| Type patterns: `NewType`, `Final`, `TypeGuard`, `Protocol` | `references/python/type-patterns.md` |
|
|
13
|
+
| Data modeling: Pydantic, dataclass, TypedDict, StrEnum, and when each fits | `references/python/data-modeling.md` |
|
|
14
|
+
| Errors: typed exceptions, exhaustive match, union returns | `references/python/error-handling.md` |
|
|
15
|
+
| Async with anyio: task groups, cancel scopes, memory channels | `references/python/async-anyio.md` |
|
|
16
|
+
| `httpx2` production defaults: HTTP/2, brotli and zstd, pool limits | `references/python/httpx2-optimization.md` |
|
|
17
|
+
| orjson on hot paths: FastAPI responses, Pydantic v2 `model_dump_json` trade-offs, Redis, queues, logs | `references/python/orjson-stack.md` |
|
|
18
|
+
| Data processing with polars and duckdb | `references/python/data-processing.md` |
|
|
19
|
+
| FastAPI with SQLAlchemy 2.x async | `references/python/fastapi-stack.md` |
|
|
20
|
+
| pydantic-ai agents | `references/python/pydantic-ai.md` |
|
|
21
|
+
| Textual TUI | `references/python/textual-tui.md` |
|
|
22
|
+
| Disposable PEP 723 scripts | `references/python/one-liners.md` |
|
|
23
|
+
| Canonical library defaults | `references/python/libraries.md` |
|
|
24
|
+
|
|
25
|
+
## Rust (`.rs`, `Cargo.toml`)
|
|
26
|
+
|
|
27
|
+
Read `references/rust/README.md` first. It sets out the five pillars (explicit allocation, compile-time proof, zero hidden cost, type-encoded invariants, deterministic cleanup) and the Rust post-write checklist. Then, by need:
|
|
28
|
+
|
|
29
|
+
| Need | File |
|
|
30
|
+
|---|---|
|
|
31
|
+
| Arena allocation, `const fn`, zero-allocation APIs, bitfields, scope guards, error-path cleanup | `references/rust/zero-cost-safety.md` |
|
|
32
|
+
| Strict `Cargo.toml` lints, profiles, workspace configuration | `references/rust/cargo-strict.md` |
|
|
33
|
+
| Type-state and newtype patterns | `references/rust/type-state.md` |
|
|
34
|
+
| `unsafe` discipline: safe wrapper, `SAFETY` comment, Miri proof | `references/rust/unsafe-discipline.md` |
|
|
35
|
+
| Async with tokio: `JoinSet`, cancellation, `select!`, blocking work | `references/rust/async-tokio.md` |
|
|
36
|
+
| Concurrency primitives: locks, atomics, channels, loom | `references/rust/concurrency.md` |
|
|
37
|
+
| axum, sqlx, tracing and tower HTTP stack | `references/rust/axum-stack.md` |
|
|
38
|
+
| clap, color-eyre, tracing and indicatif CLI stack | `references/rust/clap-stack.md` |
|
|
39
|
+
| Property tests (proptest) and snapshot tests (insta) | `references/rust/proptest-insta.md` |
|
|
40
|
+
| Disposable `rust-script` scripts | `references/rust/one-liners.md` |
|
|
41
|
+
| Canonical library defaults | `references/rust/libraries.md` |
|
|
42
|
+
| Any `unsafe`, FFI, `MaybeUninit` or lock-free work | `references/rust-ub/README.md`, `references/rust-ub/ub-taxonomy.md`, `references/rust-ub/miri-sanitizers-loom.md` (all three) |
|
|
43
|
+
|
|
44
|
+
## TypeScript (`.ts`, `.tsx`, `.mts`, `.cts`)
|
|
45
|
+
|
|
46
|
+
Read `references/typescript/README.md` first. Then, by need:
|
|
47
|
+
|
|
48
|
+
| Need | File |
|
|
49
|
+
|---|---|
|
|
50
|
+
| Strict tsconfig and Biome configuration | `references/typescript/tsconfig-strict.md` |
|
|
51
|
+
| Type patterns: branded types, `as const`, `satisfies`, narrowing, `assertNever` | `references/typescript/type-patterns.md` |
|
|
52
|
+
| Data modeling: type, interface or Zod schema; readonly; parsing at the edge | `references/typescript/data-modeling.md` |
|
|
53
|
+
| Errors: Result types, typed errors, union versus throw, `AbortSignal` timeouts | `references/typescript/error-handling.md` |
|
|
54
|
+
| Bootstrapping a project with Bun, pnpm, Hono or Vite | `references/typescript/bootstrap.md` |
|
|
55
|
+
| Hono backend: `hono-openapi`, Scalar, Swagger UI, Zod v4 | `references/typescript/backend-hono.md` |
|
|
56
|
+
|
|
57
|
+
## Go (`.go`, `go.mod`, `go.sum`, `.golangci.yml`, `*.proto`)
|
|
58
|
+
|
|
59
|
+
Read `references/go/README.md` first. Then, by need:
|
|
60
|
+
|
|
61
|
+
| Need | File |
|
|
62
|
+
|---|---|
|
|
63
|
+
| Library defaults and the reasoning behind the 2026 stack (gin or chi, sqlc, slog) | `references/go/libraries.md` |
|
|
64
|
+
| Strict `.golangci.yml` v2 with the reason for each linter | `references/go/golangci-strict.md` |
|
|
65
|
+
| Project layout, Taskfile, CI, `go.mod` template | `references/go/bootstrap.md` |
|
|
66
|
+
| Type patterns: named types, smart constructors, sealed interfaces, generics | `references/go/type-patterns.md` |
|
|
67
|
+
| Data modeling and the three validation layers (validator/v10, smart constructor, sqlc) | `references/go/data-modeling.md` |
|
|
68
|
+
| Errors: `errors.Is/As`, typed errors, `%w` wrapping, panic policy | `references/go/error-handling.md` |
|
|
69
|
+
| Concurrency: `context.Context`, `errgroup`, channels, locks, `-race`, `goleak` | `references/go/concurrency.md` |
|
|
70
|
+
| HTTP backend: gin, slog, validator, pgx, middleware order, SSE, WebSocket | `references/go/backend-stack.md` |
|
|
71
|
+
| RPC: Connect-Go by default, grpc-go as fallback, protovalidate, Buf | `references/go/grpc-connect.md` |
|
|
72
|
+
| CLI: cobra, slog, huh | `references/go/cobra-stack.md` |
|
|
73
|
+
| Database: sqlc, pgx, goose, testcontainers | `references/go/sqlc-pgx.md` |
|
|
74
|
+
| TUI: bubbletea v2, bubbles v2, lipgloss v2, CJK and input-method support | `references/go/bubbletea-v2.md` |
|
|
75
|
+
| Testing: Given / When / Then, table-driven tests, fakes, autogold, rapid | `references/go/testing.md` |
|
|
76
|
+
| Disposable `go run` scripts | `references/go/one-liners.md` |
|
|
77
|
+
|
|
78
|
+
## Scripts
|
|
79
|
+
|
|
80
|
+
| Script | Runner | Purpose |
|
|
81
|
+
|---|---|---|
|
|
82
|
+
| `scripts/python/check-no-excuse-rules.py` | `uv run --script` or `python3 -I` | Python escape hatches: `cast(Any, …)`, ignore comments, bare and silent `except`, `asyncio` and `pandas` imports, mutable or unslotted dataclasses, raw `dict` returns, `match` without `assert_never`, generic exceptions with bare strings, `object` annotations, `if`/`elif` over variants, broad excepts, files past 250 pure LOC |
|
|
83
|
+
| `scripts/python/new-project.py` | `uv run --script` | Strict uv project: `uv init`, then basedpyright, ruff `ALL` and pytest configuration; `--lib` for a publishable library |
|
|
84
|
+
| `scripts/python/new-script.py` | `uv run --script` | PEP 723 script with shebang, inline metadata, a "How to run" block and a `main()` guard; `--deps`, `--py`, `--output` |
|
|
85
|
+
| `scripts/rust/check-no-excuse-rules.sh` | `bash` | Rust: stray `unwrap` and `expect`, placeholder macros, `Box<dyn Error>`, library `panic!`, `unsafe` without `SAFETY`, unjustified clippy allows, narrowing `as` casts |
|
|
86
|
+
| `scripts/rust/check-no-excuse-rules.py` | `uv run --script` or `python3 -I` | The same Rust rules in Python, walking directories |
|
|
87
|
+
| `scripts/rust/new-project.py` | `uv run --script` | Cargo project with strict lints, `deny.toml`, `rustfmt.toml`, `rust-toolchain.toml` and `.cargo/config.toml` |
|
|
88
|
+
| `scripts/typescript/check-no-excuse-rules.ts` | `bun run` | TypeScript AST scan: `as any`, `as unknown`, `@ts-ignore`, `@ts-expect-error`, `enum`, postfix `!`, thrown literals, `export let`, `any` annotations and returns, empty or unnarrowed `catch` |
|
|
89
|
+
| `scripts/typescript/new-project.ts` | `bun run` | Bun project with Hono, Zod, Biome and the strict tsconfig |
|
|
90
|
+
| `scripts/go/check-no-excuse-rules.sh` | `bash` | Go: `_ = err`, `panic` and `log.Fatal` outside `main`, `init()`, `time.Sleep` in production code, `context.Background()` in libraries, `interface{}`, `fmt.Print*` in libraries, reasonless `//nolint`, TODOs without an owner |
|
|
91
|
+
| `scripts/go/new-project.py` | `uv run --script` | Go module with the strict layout, filled from `scripts/go/templates/` |
|
|
92
|
+
|
|
93
|
+
### Running the checkers
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
uv run --script "<skill-folder>/scripts/python/check-no-excuse-rules.py" <files-or-dirs>
|
|
97
|
+
python3 -I "<skill-folder>/scripts/python/check-no-excuse-rules.py" <files-or-dirs> # no uv: stdlib only
|
|
98
|
+
bash "<skill-folder>/scripts/rust/check-no-excuse-rules.sh" <file.rs>...
|
|
99
|
+
python3 -I "<skill-folder>/scripts/rust/check-no-excuse-rules.py" <files-or-dirs>
|
|
100
|
+
bun run "<skill-folder>/scripts/typescript/check-no-excuse-rules.ts" <files-or-dirs>
|
|
101
|
+
bash "<skill-folder>/scripts/go/check-no-excuse-rules.sh" <file.go>...
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
- Exit codes: 0 clean, 1 findings, 2 usage or missing path.
|
|
105
|
+
- The two shell checkers take files. Expand a directory first: `find <dir> -name '*.go' -not -path '*/vendor/*'`, then pass the list.
|
|
106
|
+
- The TypeScript checker imports the `typescript` package. Bun resolves it on first use when the project has no `node_modules`; inside a project with its own `typescript`, that copy is used. If resolution fails (offline sandbox), report `BLOCKED:` with the error line for that checker and rely on `tsc --noEmit` plus Biome for the same ground.
|
|
107
|
+
- Opt-out markers the checkers honour: Python `# noqa: <RULE>_OK` per line (for example `ANYIO_OK`, `PANDAS_OK`, `SIZE_OK`); Rust `// SAFE-UNWRAP:`, `// SAFE-EXPECT:`, `// SAFETY:`, `// CLIPPY-ALLOW:` on the line above; TypeScript `// no-excuse-ok: any` and `// no-excuse-ok: catch`; Go `//nolint:<linter> // <reason>`. Each marker carries a reason, and a marker added during your change gets a ledger `note`.
|
|
108
|
+
- Findings are defects to fix. Filtering output to make a run look clean defeats the gate.
|
|
109
|
+
|
|
110
|
+
### Running the scaffolds
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
uv run --script "<skill-folder>/scripts/python/new-project.py" <name> --path <parent-dir>
|
|
114
|
+
uv run --script "<skill-folder>/scripts/python/new-script.py" <name> --output <path/to/name.py>
|
|
115
|
+
uv run --script "<skill-folder>/scripts/rust/new-project.py" <name> --path <parent-dir>
|
|
116
|
+
bun run "<skill-folder>/scripts/typescript/new-project.ts" <name> --path <parent-dir>
|
|
117
|
+
uv run --script "<skill-folder>/scripts/go/new-project.py" <name> --path <parent-dir> --module <module-path> --purpose <short-purpose>
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
- Run each with `--help` first. Point the target at a new directory. The Python, TypeScript and Go scaffolds refuse a target that already exists. The Rust scaffold runs `cargo init` on `<parent-dir>/<name>`, which accepts an existing directory without a `Cargo.toml`, so check the target is empty before running it. `--path` defaults to the current directory, so set the `run_command` working directory deliberately.
|
|
121
|
+
- The `.py` scaffolds declare `typer` and `rich` as PEP 723 dependencies, which `uv run` fetches on first use. `python3` alone cannot run them. When the fetch fails in a sandbox, report `BLOCKED:` with the error line; global installs stay off the table.
|
|
122
|
+
- The Python scaffold calls `uv init` and then `uv add --dev basedpyright ruff pytest pytest-cov` (network); the Rust scaffold calls `cargo init`; the Go scaffold calls `go mod init` and writes a fallback `go.mod` if `go` is missing. Each tool must be on `PATH`.
|
|
123
|
+
- `new-script.py` writes to a temp directory when `--output` is omitted and prints the path.
|
|
124
|
+
- After a scaffold, run the language gate inside the new project and the matching checker on its sources before adding code; a scaffold is expected to start clean.
|
|
125
|
+
|
|
126
|
+
## Go templates
|
|
127
|
+
|
|
128
|
+
`scripts/go/new-project.py` substitutes `$name`, `$module` and `$short_purpose` into the `.tmpl` files and copies the rest verbatim:
|
|
129
|
+
|
|
130
|
+
| Template | Becomes |
|
|
131
|
+
|---|---|
|
|
132
|
+
| `scripts/go/templates/main.go.tmpl` | `cmd/server/main.go`: signal-aware context, calls `cmd.Execute` |
|
|
133
|
+
| `scripts/go/templates/run.go` | `internal/cmd/run.go`: root command stub with `slog` |
|
|
134
|
+
| `scripts/go/templates/config.go` | `internal/config/config.go`: typed env config through `caarlos0/env/v11` |
|
|
135
|
+
| `scripts/go/templates/.golangci.yml` | strict golangci-lint v2 configuration |
|
|
136
|
+
| `scripts/go/templates/Taskfile.yml` | `fmt`, `lint`, `test`, `build`, `run` and `ci` tasks |
|
|
137
|
+
| `scripts/go/templates/ci.yml` | `.github/workflows/ci.yml` |
|
|
138
|
+
| `scripts/go/templates/AGENTS.md.tmpl` | the new project's `AGENTS.md` with layout and conventions |
|
|
139
|
+
| `scripts/go/templates/README.md.tmpl` | the new project's `README.md` |
|
|
140
|
+
| `scripts/go/templates/gitignore` | `.gitignore` |
|
|
141
|
+
| `scripts/go/templates/.editorconfig` | `.editorconfig` |
|
|
142
|
+
|
|
143
|
+
Edit a template when the house layout changes, then scaffold into a scratch directory and run `go build ./...` there to prove it still compiles.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Post-write review loop, long form
|
|
2
|
+
|
|
3
|
+
`SKILL.md` lists the four steps and the eight questions. This file shows what a failing answer looks like in each language, what the fix is, and how to record the result. Run the loop every time you finish writing or substantially editing code, before claiming done, including for small files.
|
|
4
|
+
|
|
5
|
+
## Step 1: measure
|
|
6
|
+
|
|
7
|
+
For every created or changed file:
|
|
8
|
+
|
|
9
|
+
1. Pure LOC with `awk '!/^[[:space:]]*$/ && !/^[[:space:]]*(\/\/|#|--)/' <file> | wc -l`.
|
|
10
|
+
2. The language checker (commands in `language-jump-table.md` in this folder).
|
|
11
|
+
3. On a route, append both outputs to `.litgravity/evidence/<slug>/checker.log`, each block starting with the command.
|
|
12
|
+
|
|
13
|
+
## Step 2: interpret
|
|
14
|
+
|
|
15
|
+
| Pure LOC | Verdict | Action |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| up to 200 | healthy | continue |
|
|
18
|
+
| 200 to 250 | warning band | say so in the next message; propose the split if the next edit adds lines; ledger `note` if it stays |
|
|
19
|
+
| over 250 | defect | split now, in this task (`file-size-ceiling.md` in this folder) |
|
|
20
|
+
|
|
21
|
+
Every checker finding is a defect. Fix it, or add the opt-out marker with a real reason and a ledger `note` when the rule truly does not apply.
|
|
22
|
+
|
|
23
|
+
## Step 3: the eight questions with examples
|
|
24
|
+
|
|
25
|
+
Answer each internally. The reply mentions only failures, material consequences, required actions or detail the user asked for.
|
|
26
|
+
|
|
27
|
+
### 1. Single responsibility
|
|
28
|
+
|
|
29
|
+
Name what the file owns in one short noun phrase. "Order pricing" passes. "Order pricing and tax and the HTTP handler" fails; split along the "and".
|
|
30
|
+
|
|
31
|
+
### 2. Boundary purity
|
|
32
|
+
|
|
33
|
+
Failing shapes: `def handle(payload: dict[str, Any])` deep in the domain; `fn apply(v: serde_json::Value)` past the handler; `function process(input: unknown)` in a service; `func Apply(m map[string]any)` in `internal/domain`. Fix: parse at the edge into a model (`Order.model_validate`, `serde_json::from_slice::<Order>`, `OrderSchema.parse`, `NewOrder(raw)`) and pass the typed value inward.
|
|
34
|
+
|
|
35
|
+
### 3. Variant discrimination
|
|
36
|
+
|
|
37
|
+
Failing shapes: `if isinstance(evt, Created): … elif isinstance(evt, Deleted): … else: …`; a TypeScript `switch` without a `never` default; a Rust `match` with `_ =>` on an enum you own; a Go type switch without the `exhaustive` linter enabled. Fix: exhaustive match with the language's never-check.
|
|
38
|
+
|
|
39
|
+
### 4. Escape hatches
|
|
40
|
+
|
|
41
|
+
Search the diff for: `Any`, `cast(`, `# type: ignore`, `# pyright: ignore`; `.unwrap()`, `.expect(` outside `main` and tests, `as u8`/`as i32` narrowing, `#[allow(`; `: any`, `as any`, `as unknown`, postfix `!`, `@ts-ignore`, `@ts-expect-error`; `interface{}`, `_ = err`, `//nolint` without a reason. Fix the type; where a hatch is truly needed, write why beside it.
|
|
42
|
+
|
|
43
|
+
### 5. Defensive layers
|
|
44
|
+
|
|
45
|
+
Failing shapes: `if user is None:` right after a function typed `-> User`; `try:` around arithmetic on validated integers; `if (typeof id !== "string")` on a branded `UserId`; `if cfg == nil` after a constructor that cannot return nil. Delete them; the type already carries the proof.
|
|
46
|
+
|
|
47
|
+
### 6. One-off helpers
|
|
48
|
+
|
|
49
|
+
A function, class or trait with one caller and no second caller planned. Inline it. A helper earns its place at the second call site, or when it names a concept the domain uses.
|
|
50
|
+
|
|
51
|
+
### 7. Tests
|
|
52
|
+
|
|
53
|
+
Revert the production edit mentally (or actually, in a scratch copy): does a test fail? If not, the behavior is unlocked; write the test that would have caught the revert.
|
|
54
|
+
|
|
55
|
+
### 8. Necessity and reuse
|
|
56
|
+
|
|
57
|
+
Walk the phase -1 ladder backwards over what you wrote: could the stdlib, a native feature or an installed dependency have done it? A hand-rolled retry loop next to an installed `tenacity`, `backoff`, `go-retryablehttp` or `p-retry` fails this question.
|
|
58
|
+
|
|
59
|
+
## Step 4: hand off
|
|
60
|
+
|
|
61
|
+
| Signal | Go to |
|
|
62
|
+
|---|---|
|
|
63
|
+
| A file past 250 pure LOC, or more than two failed answers | `refactor` (`../refactor/SKILL.md`): characterize, plan, move in small steps with tests after each |
|
|
64
|
+
| An inherited branch dense with generated-code patterns (broad excepts, redundant null checks, vague TODOs, dead helpers, oversized modules) | `lit-burnoff` (`../lit-burnoff/SKILL.md`): pins regression tests first, then cleans by category |
|
|
65
|
+
| Stale or narrating comments across the diff | `comment-checker` (`../comment-checker/SKILL.md`) |
|
|
66
|
+
|
|
67
|
+
Improvising a large structural change under time pressure is how behavior silently changes; the hand-off skills exist to keep behavior fixed while structure moves.
|
|
68
|
+
|
|
69
|
+
## Recording the result
|
|
70
|
+
|
|
71
|
+
On a route, add one ledger line per loop run:
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
{"ts":"<iso>","kind":"note","text":"post-write review: 3 files, max 182 pure LOC, checker clean, 8/8 answers pass","path":"<repo-relative file or dir>"}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
When an answer failed and you fixed it, say what changed in the same line. When you left a file in the warning band, name it. Off a route, keep the same facts in the internal record of the reply.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Shared rules in depth
|
|
2
|
+
|
|
3
|
+
The six axioms in `SKILL.md` are short on purpose. This file gives each one the detail, the per-language shape and the review question that catches a violation. Read it the first time `lit-code` drives a change in a conversation, and again whenever review keeps finding the same class of defect.
|
|
4
|
+
|
|
5
|
+
## 1. The type system is the proof system
|
|
6
|
+
|
|
7
|
+
The compiler or type checker runs on every save, costs nothing per case and covers every path at once. Treat it as the first test suite.
|
|
8
|
+
|
|
9
|
+
- Encode a state machine as a tagged union of states, each carrying only the fields valid in that state. A `status: str` plus four optional fields lets the code build combinations that never occur in the domain.
|
|
10
|
+
- Prefer constructors that can fail (returning a result or raising a typed error) over objects that exist in a half-valid form and get "checked later".
|
|
11
|
+
- Keep `Optional`/`Option`/`T | undefined` for values that are genuinely absent in the domain. A field that is always present after construction gets a non-optional type.
|
|
12
|
+
|
|
13
|
+
| Language | Typical shape |
|
|
14
|
+
|---|---|
|
|
15
|
+
| Python | `Pending | Running | Done` as frozen dataclasses with a `kind: Literal[...]` field, matched with `match` |
|
|
16
|
+
| Rust | `enum State { Pending, Running { started: Instant }, Done { result: Output } }` |
|
|
17
|
+
| TypeScript | `type State = { kind: "pending" } | { kind: "running"; started: number } | { kind: "done"; result: Output }` |
|
|
18
|
+
| Go | sealed interface `State` with an unexported marker method, one struct per state |
|
|
19
|
+
|
|
20
|
+
Review question: can the code construct a value the domain says is impossible? If yes, change the type.
|
|
21
|
+
|
|
22
|
+
## 2. Parse at the boundary, then trust the type
|
|
23
|
+
|
|
24
|
+
A boundary is any place data enters from outside the program's control: CLI arguments, environment variables, files, HTTP bodies, queue messages, hook payloads on stdin, database rows from a schema you do not own, and model output.
|
|
25
|
+
|
|
26
|
+
Parse once, there, into a typed value. After that line, code receives the typed value and does no further shape checking.
|
|
27
|
+
|
|
28
|
+
- CLI arguments become a command object or option record before dispatch.
|
|
29
|
+
- JSON from a hook, queue or HTTP body is parsed once; malformed input ends in a typed, reportable error with the field that failed.
|
|
30
|
+
- Config files and manifests load as structured data and are checked by named fields.
|
|
31
|
+
- Environment variables are read at the edge and turned into paths, booleans, durations or enums; inner code receives those values as parameters.
|
|
32
|
+
- Model output is parsed into a schema or tagged union before any branch depends on it. Free text that "looks like" JSON is still untrusted until it parses.
|
|
33
|
+
|
|
34
|
+
Tools: Pydantic v2 models (Python), `serde` derive plus a validating constructor (Rust), Zod v4 schemas with `z.infer` (TypeScript), `validator/v10` tags on transport structs plus a smart constructor for the domain type (Go).
|
|
35
|
+
|
|
36
|
+
Signal that the boundary is missing: the same `if not x` or `len(x) == 0` check appears in three functions, or interior code accepts `dict[str, Any]`, `serde_json::Value`, `unknown` or `map[string]any`.
|
|
37
|
+
|
|
38
|
+
## 3. One name per concept
|
|
39
|
+
|
|
40
|
+
Distinct meanings get distinct types even when the representation is the same. Ids, units, paths, versions, plugin keys and command names are the usual candidates.
|
|
41
|
+
|
|
42
|
+
- Python: `UserId = NewType("UserId", int)`; for units with arithmetic, a frozen dataclass wrapping the number.
|
|
43
|
+
- Rust: `struct UserId(u64);` with `#[repr(transparent)]` when layout matters, and `From`/`TryFrom` for the conversions you allow.
|
|
44
|
+
- TypeScript: `type UserId = string & { readonly __brand: "UserId" }` with a parse function that is the only way to produce one.
|
|
45
|
+
- Go: `type UserID string` with a `NewUserID(raw string) (UserID, error)` constructor; keep the raw conversion inside the package.
|
|
46
|
+
|
|
47
|
+
Review question: could a caller pass seconds where milliseconds were meant, or an order id where a user id was meant, and still compile?
|
|
48
|
+
|
|
49
|
+
## 4. Exhaustive variant matching
|
|
50
|
+
|
|
51
|
+
When a new variant is added, every place that discriminates on the type should fail to compile or fail the linter until it handles the new case.
|
|
52
|
+
|
|
53
|
+
- Python: `match value:` with a final `case _ as unreachable: assert_never(unreachable)`; basedpyright reports the missing case.
|
|
54
|
+
- Rust: `match` is exhaustive by default; avoid a wildcard arm on enums you own, because it hides new variants.
|
|
55
|
+
- TypeScript: `switch (value.kind)` with `default: return assertNever(value)` where `assertNever(x: never): never` throws.
|
|
56
|
+
- Go: a sealed interface, a type switch, and the `exhaustive` linter configured for switches and maps (`default-signifies-exhaustive: false`).
|
|
57
|
+
|
|
58
|
+
An `if`/`elif`/`else` chain over a tagged variant is the anti-pattern: the `else` arm silently takes every future variant.
|
|
59
|
+
|
|
60
|
+
## 5. Trust framework guarantees; validate at boundaries
|
|
61
|
+
|
|
62
|
+
Defensive code that checks for impossible states adds lines, hides intent and suggests to the next reader that the state is possible.
|
|
63
|
+
|
|
64
|
+
- A value typed non-null gets used directly.
|
|
65
|
+
- A function that cannot raise sits outside `try`.
|
|
66
|
+
- A Rust `unwrap` or TypeScript `!` that papers over a contract is replaced by a type that states the contract (a non-empty vector type, a parsed config struct).
|
|
67
|
+
- A possible state is named, handled and tested. An impossible state is made unrepresentable by parsing or types.
|
|
68
|
+
|
|
69
|
+
## 6. Test-driven, with the right shape of test
|
|
70
|
+
|
|
71
|
+
Each production line exists because a test demanded it. The test fails first, for the reason it names, and passes after the minimum change. `tdd-discipline.md` in this folder holds the order, the pyramid, the mock ladder and the anti-pattern table.
|
|
72
|
+
|
|
73
|
+
## Type and error discipline
|
|
74
|
+
|
|
75
|
+
- Use semantic names for ids, paths, versions and keys.
|
|
76
|
+
- Return or raise typed errors at boundaries. An error states what failed and with which input (the path, the field, the id), and keeps its cause chained.
|
|
77
|
+
- A lint or type suppression is allowed only when local policy allows it, scoped to one line, with the reason beside it and a ledger `note` on a route.
|
|
78
|
+
- Error text is for humans. Machines branch on error types or stable codes.
|
|
79
|
+
- Libraries return errors; the application boundary decides exit codes, HTTP statuses and retries.
|
|
80
|
+
|
|
81
|
+
## Resource and state hygiene
|
|
82
|
+
|
|
83
|
+
Every resource you create during work or a probe has an owner and a release step registered at creation time: spawned processes, tmux sessions, temp directories, open ports, browser contexts, containers, background jobs started with `run_command`.
|
|
84
|
+
|
|
85
|
+
- Prefer lexical lifetimes: `with`, `Drop`, `using`, `defer`.
|
|
86
|
+
- In tests, use the framework's temp helpers (`tmp_path`, `t.TempDir()`, `tempfile::TempDir`) and environment helpers (`monkeypatch.setenv`, `t.Setenv`).
|
|
87
|
+
- Probe resources get a cleanup receipt in the evidence: what was started, how it was stopped, and a check that it is gone (`ps`, `lsof -i :<port>`, `tmux ls`).
|
|
88
|
+
- A process left running after the task is unfinished work, whatever the tests say.
|
|
89
|
+
|
|
90
|
+
## When the repo disagrees
|
|
91
|
+
|
|
92
|
+
House conventions outrank these rules where they conflict: an existing error style, a logging library, a test layout. Follow the repo, write one line in the reply naming the deviation, and log a ledger `note`. Where the repo has no convention, these rules are the default.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Test-first discipline in full
|
|
2
|
+
|
|
3
|
+
`SKILL.md` keeps the order and the one-paragraph summary. This file is the complete rulebook: the order with its failure modes, the three rungs of the pyramid, the Given / When / Then shape, the mock ladder, the speed and determinism budgets, prompt and skill tests, and the anti-patterns this skill rejects. The language references (`references/python/README.md`, `references/rust/proptest-insta.md`, `references/typescript/README.md`, `references/go/testing.md`) hold the framework syntax.
|
|
4
|
+
|
|
5
|
+
## The order
|
|
6
|
+
|
|
7
|
+
Red, green, refactor, for every change. Writing code before the test turns the test into a description of whatever the code happens to do.
|
|
8
|
+
|
|
9
|
+
1. **Red.** Write one failing test named for the behavior. Run it. Read the failure. The right reason is "the behavior is missing" (a function that does not exist yet, an assertion on a value the code does not produce yet). A failure from a typo, a bad import or a broken fixture is the wrong reason: fix the test until it fails for the behavior.
|
|
10
|
+
2. **Green.** Write the smallest code that makes this one test pass. Leave the second case for the next red; adding it now means it was never seen failing.
|
|
11
|
+
3. **Refactor.** With everything green, restructure freely: rename, extract, inline, split files under the 250 pure LOC ceiling. Run the tests after each step. If the test fights the refactor (it asserts call order, private fields or exact formatting), the test is coupled to implementation; repair the test first, then continue.
|
|
12
|
+
|
|
13
|
+
On an active `lit` route, keep the red output as evidence (`.litgravity/evidence/<slug>/<id>-red.log` with the command on its first line). A test that passed on its first run proves nothing about the change; revert the production edit, watch it fail, then restore.
|
|
14
|
+
|
|
15
|
+
## The pyramid
|
|
16
|
+
|
|
17
|
+
Every feature ships all three rungs.
|
|
18
|
+
|
|
19
|
+
| Rung | How many | Purpose | Budget |
|
|
20
|
+
|---|---|---|---|
|
|
21
|
+
| Unit | many | Pure-function correctness for each meaningful input class: happy path, edges, boundaries, error paths | under 10 ms each |
|
|
22
|
+
| Integration | some | The real adapter against the real downstream (database, queue, HTTP) through `testcontainers`, `httptest` or an equivalent. A unit test with the adapter mocked out does not count here | under 1 s each |
|
|
23
|
+
| End-to-end scenario | few | One narrative per user-visible outcome. Start the binary or full app and drive its real surface (HTTP route, CLI invocation, TUI keystroke). Assert the observable outcome | seconds, run in CI |
|
|
24
|
+
|
|
25
|
+
A feature without an end-to-end scenario is unfinished even when every unit test passes. Include at least one end-to-end scenario on an error path (bad input, dependency down, permission refused), because most production incidents start there.
|
|
26
|
+
|
|
27
|
+
Edges and combinatorics belong at the unit rung, where they are cheap. Property tests (`hypothesis`, `proptest`, `fast-check`, `rapid`) cover input spaces that example tests sample thinly.
|
|
28
|
+
|
|
29
|
+
## Given / When / Then
|
|
30
|
+
|
|
31
|
+
Every test at every rung has the three blocks, as comments or as the structure of the test body.
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
Given: the preconditions and fixtures
|
|
35
|
+
When: the single action under test
|
|
36
|
+
Then: the observable outcome, and only that outcome
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
- One `When` per test. Two actions are two tests.
|
|
40
|
+
- The `Then` asserts what changed because of the `When`. Unrelated invariants belong to their own tests.
|
|
41
|
+
- Names follow the language idiom: `test_<behavior>_when_<condition>` in Python, `#[test] fn behavior_when_condition()` in Rust, `it("does X when Y")` in TypeScript, `TestBehavior_WhenCondition` in Go.
|
|
42
|
+
|
|
43
|
+
## The mock ladder
|
|
44
|
+
|
|
45
|
+
Mocks are the last resort. Walk down this ladder and stop at the first feasible rung.
|
|
46
|
+
|
|
47
|
+
1. **Real object.** Use it when it builds in about a millisecond: domain types, value objects, pure functions.
|
|
48
|
+
2. **In-memory fake.** A working implementation of the interface backed by a map or slice, for stores, caches and queues. The fake gets its own contract test proving it behaves like the real adapter.
|
|
49
|
+
3. **Container or sandbox.** Real Postgres, Redis or an S3-compatible store through `testcontainers`. Slower and truthful.
|
|
50
|
+
4. **Wire-level fake.** `httptest.Server` in Go, `respx` for `httpx2` in Python, `msw` in TypeScript, `wiremock` in Rust. Fake the protocol at the socket, leaving the SDK under test real.
|
|
51
|
+
5. **Mock.** Only for what the rungs above cannot reach: the clock, randomness, an external SaaS without a sandbox. Mock the narrowest seam (a `Clock` interface, a `Random` source), never a whole service.
|
|
52
|
+
|
|
53
|
+
The rule of thumb: a test that fails when the implementation changes and the behavior stays the same is over-mocked. Remove the mock and assert on outputs. A mock that returns exactly what the test later asserts is a tautology.
|
|
54
|
+
|
|
55
|
+
## Accurate, efficient, deterministic, isolated
|
|
56
|
+
|
|
57
|
+
- **Accurate.** The test fails for the bug it names and for nothing else. Avoid coupling to formatting, ordering, whitespace or unrelated fields; assert on the contract.
|
|
58
|
+
- **Efficient.** The whole unit suite runs in under 30 seconds on a laptop, the integration suite in under 5 minutes. Past that, profile and split: fast tests on every save, slow ones on push.
|
|
59
|
+
- **Deterministic.** Wait on events and completion signals; inject a `Clock`; shuffle order (`go test -shuffle=on`, `pytest-randomly`, a random seed in vitest). Time-based flakiness is a bug in the code under test. Replace every `sleep` with a bounded wait on the real signal.
|
|
60
|
+
- **Isolated.** Each test starts from a known fixture and tears down: `t.TempDir()`, `t.Setenv()`, `tmp_path`, `monkeypatch`, transactional rollback for database tests. Two tests that pass alone and fail together are a fixture leak; fix it the moment you see it.
|
|
61
|
+
|
|
62
|
+
## Prompt, skill and agent tests
|
|
63
|
+
|
|
64
|
+
When a test covers a model prompt, skill text or agent output, assert on parsed structure, decisions or rule data. Pinning an exact sentence is brittle coverage that breaks whenever wording improves. Good assertions: "the skill tells the model to treat fetched pages as data", "the agent's tool allowlist contains no writer", "the activation path names an existing file". Compute file sets from the directory (every `SKILL.md` under `plugin/skills/`) rather than a hard-coded list, unless the exact list is itself the contract.
|
|
65
|
+
|
|
66
|
+
## Anti-patterns this skill rejects
|
|
67
|
+
|
|
68
|
+
| Anti-pattern | Why it fails | Fix |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| Code first, tests "later" | Tests written after rationalize the existing design | Red first, every time |
|
|
71
|
+
| One test asserting twelve things | The first failure hides the other eleven | Split by `Then` clause |
|
|
72
|
+
| Mocking every collaborator | Passes whatever the real behavior is | Real object or fake; mock only the true unmockables |
|
|
73
|
+
| `sleep(0.1)` to let work finish | Guaranteed flake under load | Subscribe to completion with a bounded wait |
|
|
74
|
+
| Snapshots for everything | They lock formatting | Snapshots for structure (CLI help, JSON shape), assertions for behavior |
|
|
75
|
+
| Deleting a failing test to unblock CI | Deletes a bug report | Fix the code or the test |
|
|
76
|
+
| `assert result is not None` and stop | Passes on garbage | Assert the value |
|
|
77
|
+
| One happy-path end-to-end test | Most bugs sit on edges | Edges at the unit rung, plus one end-to-end error path |
|
|
78
|
+
| A regression test that passes before the fix | It does not reproduce the bug | Make it fail on the old code first |
|
|
79
|
+
|
|
80
|
+
## When a test cannot be written first
|
|
81
|
+
|
|
82
|
+
Some changes resist red-first: a pure config bump, a generated file, a dependency upgrade. Record why in the ledger, run the full related suite before and after, and add a test for any behavior the change exposes. Exploratory spikes are allowed in a scratch directory outside the product tree; the product change still starts from a failing test.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Engineering risk signals
|
|
2
|
+
|
|
3
|
+
Read this before a broad design review, a concurrency change, a public API change, and during the post-write quality pass. A signal is a prompt to ask three things: who owns this, which invariant is at stake, and what evidence shows it holds. A signal by itself is not a verdict; some are acceptable once named and tested.
|
|
4
|
+
|
|
5
|
+
Each section lists what to look for and the direction of a correction. The review procedure at the end turns an observed signal into a bounded decision.
|
|
6
|
+
|
|
7
|
+
## Boundary signals
|
|
8
|
+
|
|
9
|
+
- One input is parsed or validated in several layers.
|
|
10
|
+
- Domain code takes raw dictionaries, generic maps or untyped JSON.
|
|
11
|
+
- Errors are translated into transport form in more than one place.
|
|
12
|
+
- Transport, persistence and domain share a single struct or model.
|
|
13
|
+
- A configuration default quietly changes production behavior.
|
|
14
|
+
|
|
15
|
+
Direction: pick one trust boundary, parse once there, keep domain types inside, and translate errors once at the outward edge. `core/shared-rules.md` in this folder has the per-language shape.
|
|
16
|
+
|
|
17
|
+
## State signals
|
|
18
|
+
|
|
19
|
+
- Combinations of booleans encode a state machine nobody named.
|
|
20
|
+
- A partly initialised object is reachable by callers.
|
|
21
|
+
- Transitions are scattered across unrelated methods.
|
|
22
|
+
- Cache, database and memory can disagree, and no rule says which one is authoritative.
|
|
23
|
+
- A retry can repeat a side effect (a charge, an email, a write).
|
|
24
|
+
|
|
25
|
+
Direction: name the states as a tagged type, restrict transitions to one place, make idempotency explicit with keys or version checks, and test the crash and retry edges.
|
|
26
|
+
|
|
27
|
+
## Concurrency signals
|
|
28
|
+
|
|
29
|
+
- Work starts with no owner, no cancellation path and no join.
|
|
30
|
+
- A timeout stops the waiting while the operation keeps running.
|
|
31
|
+
- Shared mutation is correct only under lucky timing.
|
|
32
|
+
- A channel or queue has no backpressure decision (unbounded, or bounded with no policy when full).
|
|
33
|
+
- Tests wait with `sleep`.
|
|
34
|
+
|
|
35
|
+
Direction: bind child work to a lifetime (task group, `JoinSet`, `errgroup`, `AbortController`), propagate cancellation to the operation itself, wait on observable completion signals, and run the language's race or schedule explorer (`go test -race`, loom for Rust primitives, Miri for `unsafe` concurrency, shuffled test order for Python and TypeScript).
|
|
36
|
+
|
|
37
|
+
## Error signals
|
|
38
|
+
|
|
39
|
+
- An error is caught and dropped.
|
|
40
|
+
- Error message text is used as a machine-readable code.
|
|
41
|
+
- Context replaces the cause instead of wrapping it.
|
|
42
|
+
- A library ends the process.
|
|
43
|
+
- A success value can carry an embedded failure.
|
|
44
|
+
|
|
45
|
+
Direction: typed outcomes, chained causes, exit or response decisions at the application boundary only, and tests on the outward contract (status code, exit code, error type).
|
|
46
|
+
|
|
47
|
+
## Resource signals
|
|
48
|
+
|
|
49
|
+
- Acquire and release sit far apart.
|
|
50
|
+
- Cleanup runs on the success path only.
|
|
51
|
+
- A background process, file, socket, transaction or lock has no owner.
|
|
52
|
+
- A pool or client runs on unbounded defaults.
|
|
53
|
+
- Temporary artifacts land in production paths.
|
|
54
|
+
|
|
55
|
+
Direction: lexical lifetimes or explicit guards, bounded pools and queues, isolated temp state, and a cleanup receipt in the evidence.
|
|
56
|
+
|
|
57
|
+
## API signals
|
|
58
|
+
|
|
59
|
+
- Callers pass several neighbouring primitives of the same type (`(string, string, string)`).
|
|
60
|
+
- An optional parameter switches the function into a different mode.
|
|
61
|
+
- One function both decides policy and performs I/O.
|
|
62
|
+
- A return value mixes data, warnings and failure without a tag.
|
|
63
|
+
- An internal type leaks into a public contract.
|
|
64
|
+
|
|
65
|
+
Direction: semantic value types, policy separated from adapters, outcomes as variants, and an inventory of downstream callers (`structural-search` or the `lsp` skill) before changing a public shape.
|
|
66
|
+
|
|
67
|
+
## Test signals
|
|
68
|
+
|
|
69
|
+
- Assertions follow implementation order instead of observable behavior.
|
|
70
|
+
- A mock returns exactly what the test later asserts.
|
|
71
|
+
- Only the happy path exists.
|
|
72
|
+
- Fixtures depend on wall-clock time, global environment or execution order.
|
|
73
|
+
- A snapshot approval hides a change in meaning.
|
|
74
|
+
- A regression test passes on the unfixed code.
|
|
75
|
+
|
|
76
|
+
Direction: failing-first behavior tests, real values and narrow fakes, controlled clocks and randomness, and one real-surface scenario. `core/tdd-discipline.md` holds the full rules.
|
|
77
|
+
|
|
78
|
+
## Performance signals
|
|
79
|
+
|
|
80
|
+
- An optimisation rests on intuition instead of a profile.
|
|
81
|
+
- Benchmark inputs look nothing like production.
|
|
82
|
+
- Allocation or caching trade-offs are undocumented.
|
|
83
|
+
- An average stands in for latency percentiles.
|
|
84
|
+
- The faster version weakens correctness or cancellation.
|
|
85
|
+
|
|
86
|
+
Direction: define a budget, capture a baseline, profile the real workload, change one cause at a time, and compare distributions in the same environment.
|
|
87
|
+
|
|
88
|
+
## Maintainability signals
|
|
89
|
+
|
|
90
|
+
- A name describes mechanism instead of responsibility (`DataManager`, `process2`).
|
|
91
|
+
- One file changes for unrelated reasons.
|
|
92
|
+
- A helper has a single caller and hides a simple operation.
|
|
93
|
+
- A generic abstraction has exactly one concrete use.
|
|
94
|
+
- Comments restate syntax instead of invariants or decisions.
|
|
95
|
+
- Generated and hand-edited code look identical.
|
|
96
|
+
|
|
97
|
+
Direction: cohesive ownership, generalise at the second use, mark generated files with the standard "do not edit" header, and comment the reason a constraint exists.
|
|
98
|
+
|
|
99
|
+
## Signals specific to agy plugins
|
|
100
|
+
|
|
101
|
+
- A hook parses its payload in several places, or trusts a field name from one build only (tool names differ across agy builds).
|
|
102
|
+
- A skill names a resource path that does not exist in its folder.
|
|
103
|
+
- An agent meant to be read-only has a writer in its `tools:` list.
|
|
104
|
+
- A child agent is started without `TypeName`.
|
|
105
|
+
- An engine installs outside `$XDG_DATA_HOME/litgravity/runtime/<name>`.
|
|
106
|
+
|
|
107
|
+
Direction: one parser per payload with tolerant name matching, closure checks in tests, explicit allowlists, typed spawns, and engine installs pinned to the runtime cache.
|
|
108
|
+
|
|
109
|
+
## Review procedure
|
|
110
|
+
|
|
111
|
+
For each signal you observe, write a short record in the draft, the ledger or the review reply:
|
|
112
|
+
|
|
113
|
+
```text
|
|
114
|
+
Signal:
|
|
115
|
+
Concrete location: <file:line>
|
|
116
|
+
Invariant at risk:
|
|
117
|
+
Current evidence:
|
|
118
|
+
Smallest safe correction:
|
|
119
|
+
Verification:
|
|
120
|
+
Decision: fix now | accept explicitly | out of scope
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Keep the change to the requested scope. Fix a signal now when it blocks the requested behavior, makes the requested edit unsafe, or would make verification meaningless. Otherwise report it as a bounded risk with its location, and let the user decide whether it becomes its own task.
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Go Programmer (lit-code, Go reference index)
|
|
2
|
+
|
|
3
|
+
Production Go in 2026. The house style is plain code, strict tooling, and a type layout in which invalid states have no constructor. Start here, then open only the reference file that matches the task at hand.
|
|
4
|
+
|
|
5
|
+
## Why the toolchain carries so much weight
|
|
6
|
+
|
|
7
|
+
Go ships a small type system, so a few guarantees that other languages get from the compiler have to come from conventions and linters:
|
|
8
|
+
|
|
9
|
+
- Sum types are missing. An interface plus a type switch is the closest substitute, and completeness is checked by the `exhaustive` linter.
|
|
10
|
+
- Optional values are expressed with pointers or zero values. A nil interface and an interface that holds a nil pointer behave differently, which is a classic source of surprise.
|
|
11
|
+
- Failure is a second return value (`(T, error)`). The compiler lets a caller drop it silently unless `errcheck` is on.
|
|
12
|
+
- A defined type such as `type UserID string` blocks accidental assignment between two defined types, yet an untyped string literal converts to it freely.
|
|
13
|
+
|
|
14
|
+
The answer is to let tools play the part of the missing compiler checks. Run `golangci-lint` v2 with the configuration in `golangci-strict.md` the way a TypeScript project runs `tsc --strict`. Add `nilaway` for nil-flow analysis and `go test -race` for data races. When all of them are green, the code has earned the label "done".
|
|
15
|
+
|
|
16
|
+
## Five working rules
|
|
17
|
+
|
|
18
|
+
1. **Parse at the boundary.** Input from HTTP, RPC, CLI flags, environment variables and files is converted into domain types through `New*(...)` constructors with unexported fields. Inside the domain the values are trusted. See `data-modeling.md`.
|
|
19
|
+
2. **Return `(T, error)`.** Library code returns errors and leaves `panic` for programmer bugs found at start-up. Wrap with `%w`, branch with `errors.Is` and `errors.As`, and give callers a typed error when they need to branch. See `error-handling.md`.
|
|
20
|
+
3. **Sealed interfaces for variants.** An interface with an unexported method closes the set of implementations; a type switch plus `exhaustive` proves every case is handled. See `type-patterns.md`.
|
|
21
|
+
4. **`context.Context` goes first.** Every function that does I/O or blocks accepts a `ctx` as its first parameter, every goroutine has a shutdown path tied to a context, and time comes from an injected clock in domain code. See `concurrency.md`.
|
|
22
|
+
5. **Generate external contracts.** `sqlc` produces the database layer, `oapi-codegen` produces OpenAPI servers and clients, `buf` with `protoc-gen-go` and `protoc-gen-connect-go` produces RPC stubs. Hand-written marshalling for those contracts drifts from the spec. See `sqlc-pgx.md` and `grpc-connect.md`.
|
|
23
|
+
|
|
24
|
+
## Tooling table
|
|
25
|
+
|
|
26
|
+
| Concern | Choose | Avoid |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| Go version | 1.23 or newer (range-over-func, `iter`, stable `log/slog`); 1.24 adds the `tool` directive in `go.mod` | releases older than 1.22 |
|
|
29
|
+
| Modules | `go.mod`, plus `go.work` for a multi-module repository | GOPATH layouts, `dep` |
|
|
30
|
+
| Formatting | `gofumpt` and `goimports -local <module>` | bare `gofmt` |
|
|
31
|
+
| Lint | `golangci-lint` v2 with the bundle in `golangci-strict.md` | a lone `go vet` |
|
|
32
|
+
| Nil analysis | `nilaway` in CI | hoping |
|
|
33
|
+
| Extra vet passes | `fieldalignment`, `shadow` | skipping them |
|
|
34
|
+
| Tests | `go test -race -shuffle=on -count=1 ./...` | cached or race-free runs |
|
|
35
|
+
| Goroutine leaks | `go.uber.org/goleak` in `TestMain` | eyeballing |
|
|
36
|
+
| Mocks | `go.uber.org/mock` (`mockgen`) | hand-maintained stubs for wide interfaces |
|
|
37
|
+
| Database | `sqlc` with `jackc/pgx/v5` | `database/sql` with an ORM |
|
|
38
|
+
| HTTP | `gin-gonic/gin` by default, `go-chi/chi` for a minimal router, `connectrpc.com/connect` for RPC | `gorilla/mux` for new work, `fiber` (not net/http based) |
|
|
39
|
+
| RPC | `connectrpc.com/connect` | raw `grpc-go` unless a Connect gap forces it |
|
|
40
|
+
| Validation | `go-playground/validator/v10` at HTTP edges, `protovalidate-go` for proto, smart constructors in the domain | scattered `if len(s) == 0` chains |
|
|
41
|
+
| Config | `caarlos0/env/v11` | `viper` unless file, env and flag layers all matter |
|
|
42
|
+
| Logging | `log/slog` | logrus, zap or zerolog for new code |
|
|
43
|
+
| CLI | `spf13/cobra` | hand-rolled `os.Args` parsing past two flags |
|
|
44
|
+
| TUI | `charm.land/bubbletea/v2` family (see `bubbletea-v2.md` for CJK input) | bubbletea v1 when IME input matters |
|
|
45
|
+
|
|
46
|
+
One command acts as the completion gate for any change:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
gofumpt -l . | (! grep .) && \
|
|
50
|
+
golangci-lint run ./... && \
|
|
51
|
+
nilaway -include-pkgs "$(go list -m)" ./... && \
|
|
52
|
+
go test -race -shuffle=on -count=1 ./...
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
A failure in any stage means the change is unfinished. `scripts/go/check-no-excuse-rules.sh` adds the rules that linters cannot see (suppression comments, file length, banned imports); run it after each edit session.
|
|
56
|
+
|
|
57
|
+
## Which file to open
|
|
58
|
+
|
|
59
|
+
| Task | Open |
|
|
60
|
+
|---|---|
|
|
61
|
+
| New project, layout, Taskfile, CI | `bootstrap.md` |
|
|
62
|
+
| Named types, smart constructors, struct tags | `data-modeling.md`, `type-patterns.md` |
|
|
63
|
+
| Error design, HTTP error mapping | `error-handling.md` |
|
|
64
|
+
| Goroutines, channels, `errgroup`, shutdown | `concurrency.md` |
|
|
65
|
+
| gin service, middleware, SSE, WebSocket | `backend-stack.md` |
|
|
66
|
+
| Protobuf, Connect, interceptors, streaming | `grpc-connect.md` |
|
|
67
|
+
| PostgreSQL, sqlc, pgx pool, goose, testcontainers | `sqlc-pgx.md` |
|
|
68
|
+
| Command-line tools | `cobra-stack.md` |
|
|
69
|
+
| Terminal UIs | `bubbletea-v2.md` |
|
|
70
|
+
| Unit, table, golden, property, integration tests | `testing.md` |
|
|
71
|
+
| Linter configuration and the suppression policy | `golangci-strict.md` |
|
|
72
|
+
| Which library for which job | `libraries.md` |
|
|
73
|
+
| Throwaway scripts with `go run` | `one-liners.md` |
|
|
74
|
+
|
|
75
|
+
## The 250 line ceiling
|
|
76
|
+
|
|
77
|
+
A `.go` file whose pure lines (no blanks, no comments) pass 250 has outgrown its purpose. Go favours many small files inside one package, so splitting costs little: give each file one cohesive type with its methods. The usual offender is `cmd/server/main.go`; reduce it to wiring (`signal.NotifyContext`, load config, call `cmd.Execute`) and move everything else into `internal/`.
|
|
78
|
+
|
|
79
|
+
## Existing codebases
|
|
80
|
+
|
|
81
|
+
When a file already breaks these rules, write the new lines in the strict style and leave the surrounding code alone for that change. A branch-wide cleanup belongs to the `lit-burnoff` skill, which locks behavior with tests first.
|
|
82
|
+
|
|
83
|
+
## When this reference applies
|
|
84
|
+
|
|
85
|
+
Load it whenever you create or edit a `.go` file, `go.mod`, `go.sum`, `.golangci.yml`, `Taskfile.yml`, or a generator input such as `*.proto`, the `.sql` files beside `sqlc.yaml`, or `openapi.yaml` beside `oapi-codegen.yaml`. One-off scripts get the same discipline; the `//go:build ignore` plus `go run` pattern in `one-liners.md` gives them throwaway ergonomics with production hygiene.
|
|
86
|
+
|
|
87
|
+
Read the matching reference before writing. Re-read it when a session drifts, and finish with the architecture review pass from the main skill.
|
|
88
|
+
|
|
89
|
+
## Verification checklist
|
|
90
|
+
|
|
91
|
+
1. `gofumpt -l .` prints nothing.
|
|
92
|
+
2. `golangci-lint run ./...` exits 0 with the strict bundle and no new `//nolint` lines (each one needs a linter name and a reason).
|
|
93
|
+
3. `nilaway` reports nothing for the module's packages.
|
|
94
|
+
4. `go test -race -shuffle=on -count=1 ./...` passes; goleak is wired into `TestMain` for packages that start goroutines.
|
|
95
|
+
5. `go build ./...` and `go vet ./...` succeed on a clean checkout (run `git status` first so untracked generated files do not hide a missing `go generate` step).
|
|
96
|
+
6. Every file stays under 250 pure lines, and `cmd/*/main.go` stays under 50.
|
|
97
|
+
7. In headless runs, read the tool versions with `go version` and `golangci-lint version` before choosing config syntax; a refused `run_command` ends the run, so ask for the permission up front.
|
|
98
|
+
|
|
99
|
+
## Sources
|
|
100
|
+
|
|
101
|
+
- Go release notes: https://go.dev/doc/devel/release
|
|
102
|
+
- golangci-lint v2 documentation: https://golangci-lint.run/
|
|
103
|
+
- nilaway: https://github.com/uber-go/nilaway
|
|
104
|
+
- Effective Go and Go Code Review Comments: https://go.dev/doc/effective_go
|