create-yss-spec 1.0.0
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/README.md +41 -0
- package/bin/create-yss-spec.js +10 -0
- package/package.json +17 -0
- package/src/cli.js +443 -0
- package/template/.agent/skills/ask-matt/SKILL.md +74 -0
- package/template/.agent/skills/code-review/SKILL.md +89 -0
- package/template/.agent/skills/codebase-design/DEEPENING.md +37 -0
- package/template/.agent/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/.agent/skills/codebase-design/SKILL.md +114 -0
- package/template/.agent/skills/competitive-intelligence/SKILL.md +94 -0
- package/template/.agent/skills/diagnosing-bugs/SKILL.md +134 -0
- package/template/.agent/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/template/.agent/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.agent/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.agent/skills/domain-modeling/SKILL.md +74 -0
- package/template/.agent/skills/grill-with-docs/SKILL.md +7 -0
- package/template/.agent/skills/implement/SKILL.md +15 -0
- package/template/.agent/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/.agent/skills/improve-codebase-architecture/SKILL.md +66 -0
- package/template/.agent/skills/prototype/LOGIC.md +79 -0
- package/template/.agent/skills/prototype/SKILL.md +30 -0
- package/template/.agent/skills/prototype/UI.md +112 -0
- package/template/.agent/skills/research/SKILL.md +12 -0
- package/template/.agent/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/.agent/skills/setup-matt-pocock-skills/SKILL.md +127 -0
- package/template/.agent/skills/setup-matt-pocock-skills/domain.md +51 -0
- package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
- package/template/.agent/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/.agent/skills/tdd/SKILL.md +36 -0
- package/template/.agent/skills/tdd/mocking.md +59 -0
- package/template/.agent/skills/tdd/tests.md +77 -0
- package/template/.agent/skills/to-issues/SKILL.md +84 -0
- package/template/.agent/skills/to-prd/SKILL.md +75 -0
- package/template/.agent/skills/triage/AGENT-BRIEF.md +207 -0
- package/template/.agent/skills/triage/OUT-OF-SCOPE.md +105 -0
- package/template/.agent/skills/triage/SKILL.md +112 -0
- package/template/.agents/skills/ask-matt/SKILL.md +74 -0
- package/template/.agents/skills/beautiful-article/README.md +450 -0
- package/template/.agents/skills/beautiful-article/README.zh-CN.md +450 -0
- package/template/.agents/skills/beautiful-article/SKILL.md +466 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
- package/template/.agents/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
- package/template/.agents/skills/beautiful-article/manifest.json +15 -0
- package/template/.agents/skills/beautiful-article/references/article-types/briefing.md +32 -0
- package/template/.agents/skills/beautiful-article/references/article-types/dialogue.md +30 -0
- package/template/.agents/skills/beautiful-article/references/article-types/essay.md +31 -0
- package/template/.agents/skills/beautiful-article/references/article-types/explainer.md +32 -0
- package/template/.agents/skills/beautiful-article/references/article-types/full-report.md +32 -0
- package/template/.agents/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
- package/template/.agents/skills/beautiful-article/references/article-types/longform.md +32 -0
- package/template/.agents/skills/beautiful-article/references/article-types/review.md +32 -0
- package/template/.agents/skills/beautiful-article/references/article-types/tutorial.md +30 -0
- package/template/.agents/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
- package/template/.agents/skills/beautiful-article/references/article-types.md +42 -0
- package/template/.agents/skills/beautiful-article/references/asset-policy.md +71 -0
- package/template/.agents/skills/beautiful-article/references/component-policy.md +103 -0
- package/template/.agents/skills/beautiful-article/references/cover.md +208 -0
- package/template/.agents/skills/beautiful-article/references/harness.md +35 -0
- package/template/.agents/skills/beautiful-article/references/html-output.md +42 -0
- package/template/.agents/skills/beautiful-article/references/information-density.md +50 -0
- package/template/.agents/skills/beautiful-article/references/layout.md +46 -0
- package/template/.agents/skills/beautiful-article/references/pdf-output.md +208 -0
- package/template/.agents/skills/beautiful-article/references/plan-template.md +109 -0
- package/template/.agents/skills/beautiful-article/references/raw-policy.md +86 -0
- package/template/.agents/skills/beautiful-article/references/repair-policy.md +35 -0
- package/template/.agents/skills/beautiful-article/references/review-checklist.md +133 -0
- package/template/.agents/skills/beautiful-article/references/scaffold.md +77 -0
- package/template/.agents/skills/beautiful-article/references/section-build.md +100 -0
- package/template/.agents/skills/beautiful-article/references/source-to-markdown.md +118 -0
- package/template/.agents/skills/beautiful-article/references/theme-selection.md +48 -0
- package/template/.agents/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
- package/template/.agents/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
- package/template/.agents/skills/beautiful-article/scripts/scaffold.sh +172 -0
- package/template/.agents/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
- package/template/.agents/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/andy.md +57 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/bayer.md +57 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/freddie.md +57 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/fuller.md +56 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/index.json +112 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/knuth.md +60 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/press.md +61 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/shannon.md +64 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/tufte.md +64 -0
- package/template/.agents/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
- package/template/.agents/skills/code-review/SKILL.md +89 -0
- package/template/.agents/skills/codebase-design/DEEPENING.md +37 -0
- package/template/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/.agents/skills/codebase-design/SKILL.md +114 -0
- package/template/.agents/skills/competitive-intelligence/SKILL.md +94 -0
- package/template/.agents/skills/diagnosing-bugs/SKILL.md +134 -0
- package/template/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/template/.agents/skills/dispatching-parallel-agents/SKILL.md +185 -0
- package/template/.agents/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.agents/skills/domain-modeling/SKILL.md +74 -0
- package/template/.agents/skills/excalidraw-diagram-generator/SKILL.md +634 -0
- package/template/.agents/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
- package/template/.agents/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
- package/template/.agents/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
- package/template/.agents/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
- package/template/.agents/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +406 -0
- package/template/.agents/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
- package/template/.agents/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
- package/template/.agents/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
- package/template/.agents/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
- package/template/.agents/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
- package/template/.agents/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
- package/template/.agents/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
- package/template/.agents/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
- package/template/.agents/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
- package/template/.agents/skills/grill-with-docs/SKILL.md +7 -0
- package/template/.agents/skills/implement/SKILL.md +15 -0
- package/template/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/.agents/skills/improve-codebase-architecture/SKILL.md +66 -0
- package/template/.agents/skills/kb-retriever/README.md +197 -0
- package/template/.agents/skills/kb-retriever/README.zh-CN.md +197 -0
- package/template/.agents/skills/kb-retriever/SKILL.md +250 -0
- package/template/.agents/skills/kb-retriever/manifest.json +15 -0
- package/template/.agents/skills/kb-retriever/references/excel_analysis.md +129 -0
- package/template/.agents/skills/kb-retriever/references/excel_reading.md +72 -0
- package/template/.agents/skills/kb-retriever/references/pdf_reading.md +362 -0
- package/template/.agents/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
- package/template/.agents/skills/prototype/LOGIC.md +79 -0
- package/template/.agents/skills/prototype/SKILL.md +30 -0
- package/template/.agents/skills/prototype/UI.md +112 -0
- package/template/.agents/skills/research/SKILL.md +12 -0
- package/template/.agents/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/.agents/skills/setup-matt-pocock-skills/SKILL.md +127 -0
- package/template/.agents/skills/setup-matt-pocock-skills/domain.md +51 -0
- package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
- package/template/.agents/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/.agents/skills/tdd/SKILL.md +36 -0
- package/template/.agents/skills/tdd/mocking.md +59 -0
- package/template/.agents/skills/tdd/tests.md +77 -0
- package/template/.agents/skills/to-issues/SKILL.md +84 -0
- package/template/.agents/skills/to-prd/SKILL.md +75 -0
- package/template/.agents/skills/triage/AGENT-BRIEF.md +207 -0
- package/template/.agents/skills/triage/OUT-OF-SCOPE.md +105 -0
- package/template/.agents/skills/triage/SKILL.md +112 -0
- package/template/.agents/skills/using-git-worktrees/SKILL.md +202 -0
- package/template/.agents/skills/web-design-engineer/README.md +461 -0
- package/template/.agents/skills/web-design-engineer/README.zh-CN.md +461 -0
- package/template/.agents/skills/web-design-engineer/SKILL.md +493 -0
- package/template/.agents/skills/web-design-engineer/manifest.json +15 -0
- package/template/.agents/skills/web-design-engineer/references/advanced-patterns.md +521 -0
- package/template/.agents/skills/web-design-engineer/references/critique-guide.md +226 -0
- package/template/.agents/skills/web-design-engineer/references/design-directions.md +188 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
- package/template/.agents/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
- package/template/.agents/skills/web-video-presentation/README.md +322 -0
- package/template/.agents/skills/web-video-presentation/README.zh-CN.md +322 -0
- package/template/.agents/skills/web-video-presentation/SKILL.md +451 -0
- package/template/.agents/skills/web-video-presentation/manifest.json +15 -0
- package/template/.agents/skills/web-video-presentation/references/AUDIO.md +276 -0
- package/template/.agents/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
- package/template/.agents/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
- package/template/.agents/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
- package/template/.agents/skills/web-video-presentation/references/RECORDING.md +77 -0
- package/template/.agents/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
- package/template/.agents/skills/web-video-presentation/references/THEMES.md +351 -0
- package/template/.agents/skills/web-video-presentation/scripts/scaffold.sh +245 -0
- package/template/.agents/skills/web-video-presentation/templates/index.html +12 -0
- package/template/.agents/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
- package/template/.agents/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
- package/template/.agents/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
- package/template/.agents/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
- package/template/.agents/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
- package/template/.agents/skills/web-video-presentation/templates/src/App.tsx +73 -0
- package/template/.agents/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
- package/template/.agents/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
- package/template/.agents/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
- package/template/.agents/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
- package/template/.agents/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
- package/template/.agents/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
- package/template/.agents/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
- package/template/.agents/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
- package/template/.agents/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
- package/template/.agents/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
- package/template/.agents/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
- package/template/.agents/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
- package/template/.agents/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
- package/template/.agents/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
- package/template/.agents/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
- package/template/.agents/skills/web-video-presentation/templates/src/main.tsx +9 -0
- package/template/.agents/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
- package/template/.agents/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
- package/template/.agents/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
- package/template/.agents/skills/web-video-presentation/templates/src/styles/base.css +415 -0
- package/template/.agents/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
- package/template/.agents/skills/web-video-presentation/templates/vite.config.ts +10 -0
- package/template/.agents/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
- package/template/.agents/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
- package/template/.agents/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
- package/template/.agents/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
- package/template/.agents/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
- package/template/.agents/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
- package/template/.agents/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
- package/template/.agents/skills/web-video-presentation/themes/dune/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/dune/tokens.css +62 -0
- package/template/.agents/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
- package/template/.agents/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
- package/template/.agents/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
- package/template/.agents/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
- package/template/.agents/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
- package/template/.agents/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
- package/template/.agents/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
- package/template/.agents/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
- package/template/.agents/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
- package/template/.agents/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
- package/template/.agents/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
- package/template/.agents/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
- package/template/.agents/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
- package/template/.agents/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
- package/template/.agents/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
- package/template/.agents/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
- package/template/.agents/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
- package/template/.agents/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
- package/template/.agents/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
- package/template/.agents/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
- package/template/.agents/skills/writing-skills/SKILL.md +689 -0
- package/template/.agents/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/template/.agents/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/template/.agents/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/template/.agents/skills/writing-skills/persuasion-principles.md +187 -0
- package/template/.agents/skills/writing-skills/render-graphs.js +168 -0
- package/template/.agents/skills/writing-skills/testing-skills-with-subagents.md +384 -0
- package/template/.claude/skills/ask-matt/SKILL.md +74 -0
- package/template/.claude/skills/beautiful-article/README.md +450 -0
- package/template/.claude/skills/beautiful-article/README.zh-CN.md +450 -0
- package/template/.claude/skills/beautiful-article/SKILL.md +466 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
- package/template/.claude/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
- package/template/.claude/skills/beautiful-article/manifest.json +15 -0
- package/template/.claude/skills/beautiful-article/references/article-types/briefing.md +32 -0
- package/template/.claude/skills/beautiful-article/references/article-types/dialogue.md +30 -0
- package/template/.claude/skills/beautiful-article/references/article-types/essay.md +31 -0
- package/template/.claude/skills/beautiful-article/references/article-types/explainer.md +32 -0
- package/template/.claude/skills/beautiful-article/references/article-types/full-report.md +32 -0
- package/template/.claude/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
- package/template/.claude/skills/beautiful-article/references/article-types/longform.md +32 -0
- package/template/.claude/skills/beautiful-article/references/article-types/review.md +32 -0
- package/template/.claude/skills/beautiful-article/references/article-types/tutorial.md +30 -0
- package/template/.claude/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
- package/template/.claude/skills/beautiful-article/references/article-types.md +42 -0
- package/template/.claude/skills/beautiful-article/references/asset-policy.md +71 -0
- package/template/.claude/skills/beautiful-article/references/component-policy.md +103 -0
- package/template/.claude/skills/beautiful-article/references/cover.md +208 -0
- package/template/.claude/skills/beautiful-article/references/harness.md +35 -0
- package/template/.claude/skills/beautiful-article/references/html-output.md +42 -0
- package/template/.claude/skills/beautiful-article/references/information-density.md +50 -0
- package/template/.claude/skills/beautiful-article/references/layout.md +46 -0
- package/template/.claude/skills/beautiful-article/references/pdf-output.md +208 -0
- package/template/.claude/skills/beautiful-article/references/plan-template.md +109 -0
- package/template/.claude/skills/beautiful-article/references/raw-policy.md +86 -0
- package/template/.claude/skills/beautiful-article/references/repair-policy.md +35 -0
- package/template/.claude/skills/beautiful-article/references/review-checklist.md +133 -0
- package/template/.claude/skills/beautiful-article/references/scaffold.md +77 -0
- package/template/.claude/skills/beautiful-article/references/section-build.md +100 -0
- package/template/.claude/skills/beautiful-article/references/source-to-markdown.md +118 -0
- package/template/.claude/skills/beautiful-article/references/theme-selection.md +48 -0
- package/template/.claude/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
- package/template/.claude/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
- package/template/.claude/skills/beautiful-article/scripts/scaffold.sh +172 -0
- package/template/.claude/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
- package/template/.claude/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/andy.md +57 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/bayer.md +57 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/freddie.md +57 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/fuller.md +56 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/index.json +112 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/knuth.md +60 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/press.md +61 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/shannon.md +64 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/tufte.md +64 -0
- package/template/.claude/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
- package/template/.claude/skills/code-review/SKILL.md +89 -0
- package/template/.claude/skills/codebase-design/DEEPENING.md +37 -0
- package/template/.claude/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/.claude/skills/codebase-design/SKILL.md +114 -0
- package/template/.claude/skills/competitive-intelligence/SKILL.md +94 -0
- package/template/.claude/skills/diagnosing-bugs/SKILL.md +134 -0
- package/template/.claude/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/template/.claude/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.claude/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.claude/skills/domain-modeling/SKILL.md +74 -0
- package/template/.claude/skills/excalidraw-diagram-generator/SKILL.md +613 -0
- package/template/.claude/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
- package/template/.claude/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
- package/template/.claude/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
- package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
- package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +407 -0
- package/template/.claude/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
- package/template/.claude/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
- package/template/.claude/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
- package/template/.claude/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
- package/template/.claude/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
- package/template/.claude/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
- package/template/.claude/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
- package/template/.claude/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
- package/template/.claude/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
- package/template/.claude/skills/grill-with-docs/SKILL.md +7 -0
- package/template/.claude/skills/implement/SKILL.md +15 -0
- package/template/.claude/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/.claude/skills/improve-codebase-architecture/SKILL.md +66 -0
- package/template/.claude/skills/kb-retriever/README.md +197 -0
- package/template/.claude/skills/kb-retriever/README.zh-CN.md +197 -0
- package/template/.claude/skills/kb-retriever/SKILL.md +250 -0
- package/template/.claude/skills/kb-retriever/manifest.json +15 -0
- package/template/.claude/skills/kb-retriever/references/excel_analysis.md +129 -0
- package/template/.claude/skills/kb-retriever/references/excel_reading.md +72 -0
- package/template/.claude/skills/kb-retriever/references/pdf_reading.md +362 -0
- package/template/.claude/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
- package/template/.claude/skills/prototype/LOGIC.md +79 -0
- package/template/.claude/skills/prototype/SKILL.md +30 -0
- package/template/.claude/skills/prototype/UI.md +112 -0
- package/template/.claude/skills/research/SKILL.md +12 -0
- package/template/.claude/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/.claude/skills/setup-matt-pocock-skills/SKILL.md +127 -0
- package/template/.claude/skills/setup-matt-pocock-skills/domain.md +51 -0
- package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
- package/template/.claude/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/.claude/skills/tdd/SKILL.md +36 -0
- package/template/.claude/skills/tdd/mocking.md +59 -0
- package/template/.claude/skills/tdd/tests.md +77 -0
- package/template/.claude/skills/to-issues/SKILL.md +84 -0
- package/template/.claude/skills/to-prd/SKILL.md +75 -0
- package/template/.claude/skills/triage/AGENT-BRIEF.md +207 -0
- package/template/.claude/skills/triage/OUT-OF-SCOPE.md +105 -0
- package/template/.claude/skills/triage/SKILL.md +112 -0
- package/template/.claude/skills/web-design-engineer/README.md +461 -0
- package/template/.claude/skills/web-design-engineer/README.zh-CN.md +461 -0
- package/template/.claude/skills/web-design-engineer/SKILL.md +493 -0
- package/template/.claude/skills/web-design-engineer/manifest.json +15 -0
- package/template/.claude/skills/web-design-engineer/references/advanced-patterns.md +521 -0
- package/template/.claude/skills/web-design-engineer/references/critique-guide.md +226 -0
- package/template/.claude/skills/web-design-engineer/references/design-directions.md +188 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
- package/template/.claude/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
- package/template/.claude/skills/web-video-presentation/README.md +322 -0
- package/template/.claude/skills/web-video-presentation/README.zh-CN.md +322 -0
- package/template/.claude/skills/web-video-presentation/SKILL.md +451 -0
- package/template/.claude/skills/web-video-presentation/manifest.json +15 -0
- package/template/.claude/skills/web-video-presentation/references/AUDIO.md +276 -0
- package/template/.claude/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
- package/template/.claude/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
- package/template/.claude/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
- package/template/.claude/skills/web-video-presentation/references/RECORDING.md +77 -0
- package/template/.claude/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
- package/template/.claude/skills/web-video-presentation/references/THEMES.md +351 -0
- package/template/.claude/skills/web-video-presentation/scripts/scaffold.sh +245 -0
- package/template/.claude/skills/web-video-presentation/templates/index.html +12 -0
- package/template/.claude/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
- package/template/.claude/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
- package/template/.claude/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
- package/template/.claude/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
- package/template/.claude/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
- package/template/.claude/skills/web-video-presentation/templates/src/App.tsx +73 -0
- package/template/.claude/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
- package/template/.claude/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
- package/template/.claude/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
- package/template/.claude/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
- package/template/.claude/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
- package/template/.claude/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
- package/template/.claude/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
- package/template/.claude/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
- package/template/.claude/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
- package/template/.claude/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
- package/template/.claude/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
- package/template/.claude/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
- package/template/.claude/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
- package/template/.claude/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
- package/template/.claude/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
- package/template/.claude/skills/web-video-presentation/templates/src/main.tsx +9 -0
- package/template/.claude/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
- package/template/.claude/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
- package/template/.claude/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
- package/template/.claude/skills/web-video-presentation/templates/src/styles/base.css +415 -0
- package/template/.claude/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
- package/template/.claude/skills/web-video-presentation/templates/vite.config.ts +10 -0
- package/template/.claude/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
- package/template/.claude/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
- package/template/.claude/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
- package/template/.claude/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
- package/template/.claude/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
- package/template/.claude/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
- package/template/.claude/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
- package/template/.claude/skills/web-video-presentation/themes/dune/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/dune/tokens.css +62 -0
- package/template/.claude/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
- package/template/.claude/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
- package/template/.claude/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
- package/template/.claude/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
- package/template/.claude/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
- package/template/.claude/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
- package/template/.claude/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
- package/template/.claude/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
- package/template/.claude/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
- package/template/.claude/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
- package/template/.claude/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
- package/template/.claude/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
- package/template/.claude/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
- package/template/.claude/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
- package/template/.claude/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
- package/template/.claude/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
- package/template/.claude/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
- package/template/.claude/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
- package/template/.claude/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
- package/template/.claude/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
- package/template/.codex/skills/alibaba-java-code-style/SKILL.md +45 -0
- package/template/.codex/skills/alibaba-java-code-style/agents/openai.yaml +4 -0
- package/template/.codex/skills/alibaba-java-code-style/references/database-engineering-design.md +147 -0
- package/template/.codex/skills/alibaba-java-code-style/references/java-programming.md +178 -0
- package/template/.codex/skills/alibaba-java-code-style/references/reliability-test-security.md +89 -0
- package/template/.codex/skills/ask-matt/SKILL.md +74 -0
- package/template/.codex/skills/code-review/SKILL.md +89 -0
- package/template/.codex/skills/code-review-process/SKILL.md +65 -0
- package/template/.codex/skills/code-review-process/agents/openai.yaml +4 -0
- package/template/.codex/skills/code-review-process/references/automation-and-standards.md +82 -0
- package/template/.codex/skills/code-review-process/references/review-workflow.md +88 -0
- package/template/.codex/skills/codebase-design/DEEPENING.md +37 -0
- package/template/.codex/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/.codex/skills/codebase-design/SKILL.md +114 -0
- package/template/.codex/skills/competitive-intelligence/SKILL.md +94 -0
- package/template/.codex/skills/component-story-prototype/SKILL.md +55 -0
- package/template/.codex/skills/component-story-prototype/agents/openai.yaml +4 -0
- package/template/.codex/skills/cross-repo-implementation-routing/SKILL.md +50 -0
- package/template/.codex/skills/diagnosing-bugs/SKILL.md +134 -0
- package/template/.codex/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/template/.codex/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.codex/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.codex/skills/domain-modeling/SKILL.md +74 -0
- package/template/.codex/skills/grill-with-docs/SKILL.md +7 -0
- package/template/.codex/skills/implement/SKILL.md +15 -0
- package/template/.codex/skills/implementation-repo-onboarding/SKILL.md +48 -0
- package/template/.codex/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/.codex/skills/improve-codebase-architecture/SKILL.md +66 -0
- package/template/.codex/skills/mock-api-prototype/SKILL.md +48 -0
- package/template/.codex/skills/mock-api-prototype/agents/openai.yaml +4 -0
- package/template/.codex/skills/product-design-prototype/SKILL.md +85 -0
- package/template/.codex/skills/product-design-prototype/agents/openai.yaml +4 -0
- package/template/.codex/skills/prototype/LOGIC.md +79 -0
- package/template/.codex/skills/prototype/SKILL.md +30 -0
- package/template/.codex/skills/prototype/UI.md +112 -0
- package/template/.codex/skills/prototype-review/SKILL.md +66 -0
- package/template/.codex/skills/prototype-review/agents/openai.yaml +4 -0
- package/template/.codex/skills/research/SKILL.md +12 -0
- package/template/.codex/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/.codex/skills/setup-matt-pocock-skills/SKILL.md +127 -0
- package/template/.codex/skills/setup-matt-pocock-skills/domain.md +51 -0
- package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
- package/template/.codex/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/.codex/skills/tdd/SKILL.md +36 -0
- package/template/.codex/skills/tdd/mocking.md +59 -0
- package/template/.codex/skills/tdd/tests.md +77 -0
- package/template/.codex/skills/to-issues/SKILL.md +84 -0
- package/template/.codex/skills/to-prd/SKILL.md +75 -0
- package/template/.codex/skills/triage/AGENT-BRIEF.md +207 -0
- package/template/.codex/skills/triage/OUT-OF-SCOPE.md +105 -0
- package/template/.codex/skills/triage/SKILL.md +112 -0
- package/template/.codex/skills/wireframe-prototype/SKILL.md +52 -0
- package/template/.codex/skills/wireframe-prototype/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-anti-scheduler/SKILL.md +53 -0
- package/template/.codex/skills/yss-anti-scheduler/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-anti-scheduler/references/source-index.md +157 -0
- package/template/.codex/skills/yss-api-integration/SKILL.md +403 -0
- package/template/.codex/skills/yss-api-integration/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-audit-log/SKILL.md +64 -0
- package/template/.codex/skills/yss-audit-log/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-audit-log/assets/AuditLogAspect.java +262 -0
- package/template/.codex/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +37 -0
- package/template/.codex/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +18 -0
- package/template/.codex/skills/yss-audit-log/assets/YssAuditPublishService.java +69 -0
- package/template/.codex/skills/yss-audit-log/references/README.md +69 -0
- package/template/.codex/skills/yss-audit-log/references/source-index.md +40 -0
- package/template/.codex/skills/yss-cache/SKILL.md +73 -0
- package/template/.codex/skills/yss-cache/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-cache/assets/ClearCache.java +34 -0
- package/template/.codex/skills/yss-cache/assets/QueryCache.java +36 -0
- package/template/.codex/skills/yss-cache/assets/UpdateCache.java +34 -0
- package/template/.codex/skills/yss-cache/references/README.md +5 -0
- package/template/.codex/skills/yss-cache/references/source-index.md +64 -0
- package/template/.codex/skills/yss-components/SKILL.md +311 -0
- package/template/.codex/skills/yss-components/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-components/references/frontend-docs.md +9 -0
- package/template/.codex/skills/yss-db2mybatis/SKILL.md +94 -0
- package/template/.codex/skills/yss-db2mybatis/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-db2mybatis/assets/$.java +19 -0
- package/template/.codex/skills/yss-db2mybatis/assets/convertor.java.template +22 -0
- package/template/.codex/skills/yss-db2mybatis/assets/domain_gateway.java.template +45 -0
- package/template/.codex/skills/yss-db2mybatis/assets/domain_model.java.template +16 -0
- package/template/.codex/skills/yss-db2mybatis/assets/gateway_impl.java.template +62 -0
- package/template/.codex/skills/yss-db2mybatis/assets/po.java.template +18 -0
- package/template/.codex/skills/yss-db2mybatis/assets/repository.java.template +7 -0
- package/template/.codex/skills/yss-db2mybatis/config/metadata.json +334 -0
- package/template/.codex/skills/yss-db2mybatis/config/temp_datasource.json +12 -0
- package/template/.codex/skills/yss-db2mybatis/references/datasource-config.example.json +46 -0
- package/template/.codex/skills/yss-db2mybatis/references/project-convention.example.json +14 -0
- package/template/.codex/skills/yss-db2mybatis/references/type-mapping.json +31 -0
- package/template/.codex/skills/yss-db2mybatis/requirements.txt +4 -0
- package/template/.codex/skills/yss-db2mybatis/scripts/db2mybatis.py +1494 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +64 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/adapter/UserController.java.template +84 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/application/UserConvertor.java.template +21 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/application/UserService.java.template +48 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/application/UserServiceImpl.java.template +87 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/bootstrap/YssDatamiddleApplication.java.template +28 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +37 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/data.sql.template +2 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/logback-spring.xml.template +15 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/parent-pom.xml.template +84 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/schema.sql.template +27 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/User.java.template +17 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserAddCmd.java.template +27 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserGateway.java.template +54 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserPageQuery.java.template +12 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserUpdateCmd.java.template +21 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/domain/UserVO.java.template +52 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/AuditableEntity.java.template +25 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/PageUtil.java.template +13 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/UserGatewayImpl.java.template +85 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/UserPO.java.template +35 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/UserPOConvertor.java.template +28 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/UserRepository.java.template +7 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/infrastructure/YssDataMybatisConfig.java.template +8 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/adapter-pom.xml.template +19 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/application-pom.xml.template +43 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +80 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/domain-pom.xml.template +36 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/infrastructure-pom.xml.template +34 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/parent-pom.xml.template +95 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/web-pom.xml.template +44 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/jvm.config +1 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/maven.config +3 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/settings.xml +128 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/MavenWrapperDownloader.java +117 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.jar +0 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.properties +19 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw +316 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw.cmd +188 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +194 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +424 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/SKILL.md +199 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +127 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +269 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +191 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +132 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +169 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +470 -0
- package/template/.codex/skills/yss-design-system/SKILL.md +89 -0
- package/template/.codex/skills/yss-design-system/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-design-system/references/design-system.md +225 -0
- package/template/.codex/skills/yss-design-system/scripts/validate-frontmatter.py +50 -0
- package/template/.codex/skills/yss-dictionary/SKILL.md +49 -0
- package/template/.codex/skills/yss-dictionary/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-dictionary/references/source-index.md +78 -0
- package/template/.codex/skills/yss-dir/SKILL.md +48 -0
- package/template/.codex/skills/yss-dir/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-dir/references/source-index.md +64 -0
- package/template/.codex/skills/yss-distributed-id/SKILL.md +69 -0
- package/template/.codex/skills/yss-distributed-id/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-distributed-id/assets/AutoIdInterceptor.java +246 -0
- package/template/.codex/skills/yss-distributed-id/assets/EnableDistributedId.java +25 -0
- package/template/.codex/skills/yss-distributed-id/assets/LeafConf.java +36 -0
- package/template/.codex/skills/yss-distributed-id/references/README.md +51 -0
- package/template/.codex/skills/yss-distributed-id/references/source-index.md +71 -0
- package/template/.codex/skills/yss-domain/SKILL.md +52 -0
- package/template/.codex/skills/yss-domain/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-domain-modeling/SKILL.md +47 -0
- package/template/.codex/skills/yss-domain-modeling/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-domain-modeling/references/handoff-to-implementation.md +56 -0
- package/template/.codex/skills/yss-domain-modeling/references/modeling-output-template.md +64 -0
- package/template/.codex/skills/yss-domain-modeling/references/modeling-workflow.md +90 -0
- package/template/.codex/skills/yss-domain-modeling/references/yss-ddd-rules.md +36 -0
- package/template/.codex/skills/yss-dto/SKILL.md +61 -0
- package/template/.codex/skills/yss-dto/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-dto/assets/CommandDTO.java +8 -0
- package/template/.codex/skills/yss-dto/assets/PageQuery.java +133 -0
- package/template/.codex/skills/yss-dto/assets/QueryDTO.java +6 -0
- package/template/.codex/skills/yss-dto/assets/Result.java +105 -0
- package/template/.codex/skills/yss-dto/references/README.md +60 -0
- package/template/.codex/skills/yss-dto/references/source-index.md +50 -0
- package/template/.codex/skills/yss-duckdb/SKILL.md +41 -0
- package/template/.codex/skills/yss-duckdb/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-duckdb/references/source-index.md +34 -0
- package/template/.codex/skills/yss-excel-mvc/SKILL.md +66 -0
- package/template/.codex/skills/yss-excel-mvc/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-excel-mvc/assets/ExcelDynamicData.java +66 -0
- package/template/.codex/skills/yss-excel-mvc/assets/RequestExcel.java +33 -0
- package/template/.codex/skills/yss-excel-mvc/assets/RequestFastExcelArgumentResolver.java +272 -0
- package/template/.codex/skills/yss-excel-mvc/assets/ResponseExcel.java +46 -0
- package/template/.codex/skills/yss-excel-mvc/assets/ResponseFastExcelReturnValueHandler.java +154 -0
- package/template/.codex/skills/yss-excel-mvc/references/README.md +5 -0
- package/template/.codex/skills/yss-excel-mvc/references/source-index.md +72 -0
- package/template/.codex/skills/yss-exception/SKILL.md +46 -0
- package/template/.codex/skills/yss-exception/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-exception/references/source-index.md +32 -0
- package/template/.codex/skills/yss-file/SKILL.md +49 -0
- package/template/.codex/skills/yss-file/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-file/references/source-index.md +161 -0
- package/template/.codex/skills/yss-filerunner/SKILL.md +48 -0
- package/template/.codex/skills/yss-filerunner/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-filerunner/references/source-index.md +43 -0
- package/template/.codex/skills/yss-formily/SKILL.md +304 -0
- package/template/.codex/skills/yss-formily/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-formily/references/examples.md +65 -0
- package/template/.codex/skills/yss-formily-schema-generator/SKILL.md +189 -0
- package/template/.codex/skills/yss-formily-schema-generator/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-formily-schema-generator/assets/java-sdk/ExampleUsage.java +111 -0
- package/template/.codex/skills/yss-formily-schema-generator/assets/java-sdk/YssFormilyDsl.java +1219 -0
- package/template/.codex/skills/yss-formily-schema-generator/references/workflow.md +240 -0
- package/template/.codex/skills/yss-frontend-scaffold-generator/SKILL.md +69 -0
- package/template/.codex/skills/yss-hook/SKILL.md +131 -0
- package/template/.codex/skills/yss-hook/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-hook/references/frontend-docs.md +9 -0
- package/template/.codex/skills/yss-jdbc/SKILL.md +73 -0
- package/template/.codex/skills/yss-jdbc/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +9 -0
- package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +33 -0
- package/template/.codex/skills/yss-jdbc/assets/DsParam.java +19 -0
- package/template/.codex/skills/yss-jdbc/assets/JdbcSqlUtil.java +92 -0
- package/template/.codex/skills/yss-jdbc/references/README.md +55 -0
- package/template/.codex/skills/yss-jdbc/references/source-index.md +31 -0
- package/template/.codex/skills/yss-liquibase/SKILL.md +47 -0
- package/template/.codex/skills/yss-liquibase/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-liquibase/references/source-index.md +30 -0
- package/template/.codex/skills/yss-log/SKILL.md +46 -0
- package/template/.codex/skills/yss-log/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-log/references/source-index.md +32 -0
- package/template/.codex/skills/yss-mail/SKILL.md +48 -0
- package/template/.codex/skills/yss-mail/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-mail/references/source-index.md +32 -0
- package/template/.codex/skills/yss-mapper-dynamic/SKILL.md +50 -0
- package/template/.codex/skills/yss-mapper-dynamic/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-mapper-dynamic/references/source-index.md +75 -0
- package/template/.codex/skills/yss-microapp-commit/SKILL.md +199 -0
- package/template/.codex/skills/yss-microapp-commit/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-microapp-commit/references/scope-mapping.md +204 -0
- package/template/.codex/skills/yss-mybatis/SKILL.md +71 -0
- package/template/.codex/skills/yss-mybatis/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-mybatis/assets/BaseRepository.java +112 -0
- package/template/.codex/skills/yss-mybatis/assets/EntityQueryAspect.java +37 -0
- package/template/.codex/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +18 -0
- package/template/.codex/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +18 -0
- package/template/.codex/skills/yss-mybatis/references/README.md +57 -0
- package/template/.codex/skills/yss-mybatis/references/source-index.md +91 -0
- package/template/.codex/skills/yss-openapi/SKILL.md +124 -0
- package/template/.codex/skills/yss-openapi/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +67 -0
- package/template/.codex/skills/yss-openapi-governance/SKILL.md +145 -0
- package/template/.codex/skills/yss-openapi-governance/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-page-module-development/SKILL.md +146 -0
- package/template/.codex/skills/yss-page-module-development/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +32 -0
- package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +158 -0
- package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +188 -0
- package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +76 -0
- package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/constant.ts +128 -0
- package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +144 -0
- package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +141 -0
- package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/index.vue +175 -0
- package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/style.less +83 -0
- package/template/.codex/skills/yss-page-module-development/references/frontend-docs.md +11 -0
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +220 -0
- package/template/.codex/skills/yss-product-lifecycle/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-product-lifecycle/references/artifact-checklist.md +55 -0
- package/template/.codex/skills/yss-product-lifecycle/references/stage-routing.md +78 -0
- package/template/.codex/skills/yss-product-lifecycle/references/yss-skill-routing.md +56 -0
- package/template/.codex/skills/yss-quality/SKILL.md +45 -0
- package/template/.codex/skills/yss-quality/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-quality/references/source-index.md +45 -0
- package/template/.codex/skills/yss-repository/SKILL.md +54 -0
- package/template/.codex/skills/yss-repository/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-resilience4j/SKILL.md +46 -0
- package/template/.codex/skills/yss-resilience4j/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-resilience4j/references/source-index.md +31 -0
- package/template/.codex/skills/yss-router/SKILL.md +107 -0
- package/template/.codex/skills/yss-router/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-router/references/boundaries.md +67 -0
- package/template/.codex/skills/yss-security-algorithm/SKILL.md +48 -0
- package/template/.codex/skills/yss-security-algorithm/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-security-algorithm/references/source-index.md +33 -0
- package/template/.codex/skills/yss-source-index/SKILL.md +56 -0
- package/template/.codex/skills/yss-source-index/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-source-index/references/source-location.md +17 -0
- package/template/.codex/skills/yss-source-index/references/source-map-config.md +47 -0
- package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.py +380 -0
- package/template/.codex/skills/yss-sql-condition/SKILL.md +58 -0
- package/template/.codex/skills/yss-sql-condition/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-sql-condition/references/source-index.md +35 -0
- package/template/.codex/skills/yss-sql-tpl/SKILL.md +49 -0
- package/template/.codex/skills/yss-sql-tpl/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-sql-tpl/references/source-index.md +75 -0
- package/template/.codex/skills/yss-taskflow/SKILL.md +58 -0
- package/template/.codex/skills/yss-taskflow/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-taskflow/references/source-index.md +156 -0
- package/template/.codex/skills/yss-ui/SKILL.md +332 -0
- package/template/.codex/skills/yss-ui/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-ui/assets/demos/button/auth-basic.vue +24 -0
- package/template/.codex/skills/yss-ui/assets/demos/button/auth-dropdown.vue +29 -0
- package/template/.codex/skills/yss-ui/assets/demos/button/permission.vue +10 -0
- package/template/.codex/skills/yss-ui/assets/demos/button/size.vue +12 -0
- package/template/.codex/skills/yss-ui/assets/demos/button/states.vue +12 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/basic/index.vue +54 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/basic/style.less +41 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/cover/index.vue +25 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/flexible-layout/index.vue +122 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/flexible-layout/style.less +191 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/header-extra/index.vue +260 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/header-extra/style.less +124 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/layout-metrics/constants.ts +61 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/layout-metrics/index.vue +72 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/layout-metrics/metrics-cards.vue +70 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/layout-metrics/style.less +232 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/loading/index.vue +20 -0
- package/template/.codex/skills/yss-ui/assets/demos/card/meta/index.vue +19 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/basic/constants.ts +44 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/basic/hooks/useConditionBasic.ts +18 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/basic/index.vue +100 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/linked/constants.ts +51 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/linked/hooks/useConditionLinked.ts +29 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/linked/index.vue +23 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/nesting-between/constants.ts +35 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/nesting-between/hooks/useConditionNesting.ts +25 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/nesting-between/index.vue +24 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/remote/constants.ts +7 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/remote/hooks/useConditionRemote.ts +75 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/remote/index.vue +23 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation/constants.ts +42 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation/hooks/useConditionBasic.ts +22 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation/index.vue +138 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation-custom/constants.ts +42 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation-custom/hooks/useConditionBasic.ts +22 -0
- package/template/.codex/skills/yss-ui/assets/demos/condition-builder/validation-custom/index.vue +134 -0
- package/template/.codex/skills/yss-ui/assets/demos/cron/basic/index.vue +54 -0
- package/template/.codex/skills/yss-ui/assets/demos/cron/select/index.vue +145 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/basic.vue +30 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/calendar-heatmap.vue +49 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/candlestick.vue +30 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/dark.vue +40 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/expose-methods.vue +97 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/funnel.vue +42 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/gauge.vue +25 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/line.vue +24 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/mix.vue +33 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/pie.vue +34 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/radar.vue +38 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/ring-segment.vue +77 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/scatter.vue +23 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/stacked-area.vue +55 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/stacked-bar.vue +52 -0
- package/template/.codex/skills/yss-ui/assets/demos/echarts/treemap.vue +30 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/all-types/hooks/useAllTypes.ts +259 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/all-types/index.vue +33 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/async-remote/hooks/useAsyncRemote.ts +201 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/async-remote/index.vue +45 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/basic/index.vue +104 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/big-data/index.vue +82 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/custom-rule/index.vue +114 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/direct-editable/index.vue +94 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/drag/index.vue +125 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/filter/index.vue +107 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/linkage/index.vue +181 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/pagination-action/index.vue +131 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/required/index.vue +95 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/row-edit/index.vue +220 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/row-options/index.vue +165 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/slot-linkage/index.vue +184 -0
- package/template/.codex/skills/yss-ui/assets/demos/edit-table/submit-view/index.vue +107 -0
- package/template/.codex/skills/yss-ui/assets/demos/file-import/basic.vue +54 -0
- package/template/.codex/skills/yss-ui/assets/demos/file-import/formily.vue +42 -0
- package/template/.codex/skills/yss-ui/assets/demos/file-import/multiple.vue +33 -0
- package/template/.codex/skills/yss-ui/assets/demos/file-import/result-slot.vue +30 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/actions.vue +61 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/align.vue +56 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/async-validate.vue +69 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/basic.vue +317 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/collapse.vue +104 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/custom-component.vue +75 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/disabled.vue +71 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/dynamic-array.vue +74 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/dynamic.vue +59 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/effects.vue +117 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/events-inline.vue +82 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/events-scope.vue +101 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/grid.vue +71 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/group.vue +102 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/helper-slot.vue +50 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/label-tip.vue +42 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/linkage-multi.vue +127 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/linkage.vue +78 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/modes.vue +72 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/remote-enum.vue +88 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/slot.vue +54 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/steps.vue +135 -0
- package/template/.codex/skills/yss-ui/assets/demos/formily/submit-failed.vue +72 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/basic.vue +40 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/diff-basic.vue +143 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/fullscreen.vue +84 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/history-log-viewer.vue +586 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/log-viewer.vue +260 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/mock/mockLogApi.ts +199 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/monaco.vue +66 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/readonly.vue +20 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/resizable.vue +22 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/sql-schema.vue +20 -0
- package/template/.codex/skills/yss-ui/assets/demos/monaco/switch-lang-theme.vue +48 -0
- package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table/constant.ts +18 -0
- package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table/index.vue +60 -0
- package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table/style.less +39 -0
- package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table-layout/hooks/useTreeTable.ts +158 -0
- package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table-layout/index.vue +88 -0
- package/template/.codex/skills/yss-ui/assets/demos/split-pane/tree-table-layout/style.less +73 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/action/index.vue +83 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/action/style.less +3 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/action-auth/index.vue +41 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/action-slot/index.vue +62 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/action-slot/style.less +36 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/basic/hooks/useBasicTable.ts +205 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/basic/index.vue +89 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/basic/style.less +28 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/column-custom-search/hooks/useColumnCustomSearch.ts +236 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/column-custom-search/index.vue +141 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/column-custom-search/style.less +48 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/drag/index.vue +42 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/expand/action-expand.vue +142 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/expand/index.vue +35 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/filter-async/index.vue +93 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/filter-auto/index.vue +99 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/filter-custom/index.vue +72 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/filter-local/index.vue +112 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/filter-mixed/index.vue +142 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/filter-remote/constant.ts +129 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/filter-remote/hooks/useTableData.ts +186 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/filter-remote/index.vue +73 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/group-header/index.vue +86 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/group-header/style.less +3 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/header-height/index.vue +29 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/header-height/style.less +9 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/merge-cells/hooks/useMergeCells.ts +183 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/merge-cells/index.vue +17 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/merge-cells/style.less +3 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/pagination-remote/hooks/usePaginationRemote.ts +106 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/pagination-remote/index.vue +24 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/renderers/index.vue +64 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/selection-checkbox/index.vue +88 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/selection-checkbox/style.less +9 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/selection-radio/index.vue +57 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/selection-radio/style.less +9 -0
- package/template/.codex/skills/yss-ui/assets/demos/table/transform/index.vue +32 -0
- package/template/.codex/skills/yss-ui/assets/demos/tree/basic-left/index.vue +124 -0
- package/template/.codex/skills/yss-ui/assets/demos/tree/datasource-group/index.vue +31 -0
- package/template/.codex/skills/yss-ui/assets/demos/tree/multi-checkable/index.vue +86 -0
- package/template/.codex/skills/yss-ui/assets/demos/tree/multiple-select/index.vue +76 -0
- package/template/.codex/skills/yss-ui/assets/demos/tree/resource-list/index.vue +41 -0
- package/template/.codex/skills/yss-ui/assets/demos/tree/search-toolbar/index.vue +156 -0
- package/template/.codex/skills/yss-ui/assets/demos/tree/slot-icon/index.vue +36 -0
- package/template/.codex/skills/yss-ui/assets/demos/tree/slot-switcher-icon/index.vue +34 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/button.md +79 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/card.md +162 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/conditionBuilder.md +114 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/cron.md +77 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/echarts.md +110 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/editTable.md +212 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/fileImport.md +85 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/formily.md +370 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/monaco.md +369 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/sheet.md +169 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/split-pane.md +45 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/table.md +398 -0
- package/template/.codex/skills/yss-ui/assets/docs/components/tree.md +102 -0
- package/template/.codex/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +166 -0
- package/template/.codex/skills/yss-ui/assets/docs/guide/index.md +132 -0
- package/template/.codex/skills/yss-ui/assets/docs/guide/installation.md +97 -0
- package/template/.codex/skills/yss-ui/assets/docs/guide/jsp.md +227 -0
- package/template/.codex/skills/yss-ui/assets/docs/guide/llms.md +295 -0
- package/template/.codex/skills/yss-ui/assets/docs/guide/monorepo-versioning.md +149 -0
- package/template/.codex/skills/yss-ui/assets/docs/guide/release-workflow.md +251 -0
- package/template/.codex/skills/yss-ui/assets/docs/hooks/use-table-height.md +101 -0
- package/template/.codex/skills/yss-ui/assets/docs/hooks/use-tree-height.md +115 -0
- package/template/.codex/skills/yss-ui/assets/docs/hooks/useFullscreen.md +130 -0
- package/template/.codex/skills/yss-ui/assets/docs/hooks/useLoading.md +97 -0
- package/template/.codex/skills/yss-ui/assets/docs/root/resources.md +18 -0
- package/template/.codex/skills/yss-ui/assets/keyword-index.json +53 -0
- package/template/.codex/skills/yss-ui/assets/keyword-index.md +47 -0
- package/template/.codex/skills/yss-ui/assets/reference-index.json +55 -0
- package/template/.codex/skills/yss-ui/assets/reference-index.md +74 -0
- package/template/.codex/skills/yss-ui/assets/scenario-index.json +50 -0
- package/template/.codex/skills/yss-ui/assets/scenario-index.md +41 -0
- package/template/.codex/skills/yss-ui/references/checklist.md +89 -0
- package/template/.codex/skills/yss-ui/references/frontend-docs.md +11 -0
- package/template/.codex/skills/yss-ui/references/quick-recipes.md +280 -0
- package/template/.codex/skills/yss-up-springboot3/SKILL.md +40 -0
- package/template/.codex/skills/yss-up-springboot3/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-use-table-height/SKILL.md +340 -0
- package/template/.codex/skills/yss-use-table-height/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-use-table-height/references/frontend-docs.md +9 -0
- package/template/.codex/skills/yss-use-tree-height/SKILL.md +431 -0
- package/template/.codex/skills/yss-use-tree-height/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-use-tree-height/references/frontend-docs.md +9 -0
- package/template/.codex/skills/yss-userinfo/SKILL.md +47 -0
- package/template/.codex/skills/yss-userinfo/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-userinfo/references/source-index.md +32 -0
- package/template/.codex/skills/yss-validation/SKILL.md +54 -0
- package/template/.codex/skills/yss-validation/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-validation/references/source-index.md +50 -0
- package/template/.codex/skills/yss-valuation/SKILL.md +40 -0
- package/template/.codex/skills/yss-valuation/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-valuation/references/source-index.md +35 -0
- package/template/.codex/skills/yss-variable/SKILL.md +47 -0
- package/template/.codex/skills/yss-variable/agents/openai.yaml +4 -0
- package/template/.codex/skills/yss-variable/references/source-index.md +58 -0
- package/template/.codex/skills/yss-web-controller/SKILL.md +61 -0
- package/template/.codex/skills/yss-web-controller/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-web-controller/assets/templates/Controller.java.template +72 -0
- package/template/.codex/skills/yss-web-controller/assets/templates/WebConvertor.java.template +23 -0
- package/template/.codex/skills/yss-web-controller/assets/templates/domain/dto/cmd/AddCmd.java.template +23 -0
- package/template/.codex/skills/yss-web-controller/assets/templates/domain/dto/cmd/UpdateCmd.java.template +23 -0
- package/template/.codex/skills/yss-web-controller/assets/templates/domain/dto/query/PageQuery.java.template +21 -0
- package/template/.codex/skills/yss-web-controller/assets/templates/domain/vo/VO.java.template +20 -0
- package/template/.codex/skills/yss-web-controller/scripts/generate_controller.py +273 -0
- package/template/.hermes/skills/ask-matt/SKILL.md +74 -0
- package/template/.hermes/skills/beautiful-article/README.md +450 -0
- package/template/.hermes/skills/beautiful-article/README.zh-CN.md +450 -0
- package/template/.hermes/skills/beautiful-article/SKILL.md +466 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
- package/template/.hermes/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
- package/template/.hermes/skills/beautiful-article/manifest.json +15 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/briefing.md +32 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/dialogue.md +30 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/essay.md +31 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/explainer.md +32 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/full-report.md +32 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/longform.md +32 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/review.md +32 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/tutorial.md +30 -0
- package/template/.hermes/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
- package/template/.hermes/skills/beautiful-article/references/article-types.md +42 -0
- package/template/.hermes/skills/beautiful-article/references/asset-policy.md +71 -0
- package/template/.hermes/skills/beautiful-article/references/component-policy.md +103 -0
- package/template/.hermes/skills/beautiful-article/references/cover.md +208 -0
- package/template/.hermes/skills/beautiful-article/references/harness.md +35 -0
- package/template/.hermes/skills/beautiful-article/references/html-output.md +42 -0
- package/template/.hermes/skills/beautiful-article/references/information-density.md +50 -0
- package/template/.hermes/skills/beautiful-article/references/layout.md +46 -0
- package/template/.hermes/skills/beautiful-article/references/pdf-output.md +208 -0
- package/template/.hermes/skills/beautiful-article/references/plan-template.md +109 -0
- package/template/.hermes/skills/beautiful-article/references/raw-policy.md +86 -0
- package/template/.hermes/skills/beautiful-article/references/repair-policy.md +35 -0
- package/template/.hermes/skills/beautiful-article/references/review-checklist.md +133 -0
- package/template/.hermes/skills/beautiful-article/references/scaffold.md +77 -0
- package/template/.hermes/skills/beautiful-article/references/section-build.md +100 -0
- package/template/.hermes/skills/beautiful-article/references/source-to-markdown.md +118 -0
- package/template/.hermes/skills/beautiful-article/references/theme-selection.md +48 -0
- package/template/.hermes/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
- package/template/.hermes/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
- package/template/.hermes/skills/beautiful-article/scripts/scaffold.sh +172 -0
- package/template/.hermes/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
- package/template/.hermes/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/andy.md +57 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/bayer.md +57 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/freddie.md +57 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/fuller.md +56 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/index.json +112 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/knuth.md +60 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/press.md +61 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/shannon.md +64 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/tufte.md +64 -0
- package/template/.hermes/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
- package/template/.hermes/skills/code-review/SKILL.md +89 -0
- package/template/.hermes/skills/codebase-design/DEEPENING.md +37 -0
- package/template/.hermes/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/.hermes/skills/codebase-design/SKILL.md +114 -0
- package/template/.hermes/skills/competitive-intelligence/SKILL.md +94 -0
- package/template/.hermes/skills/diagnosing-bugs/SKILL.md +134 -0
- package/template/.hermes/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/template/.hermes/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.hermes/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.hermes/skills/domain-modeling/SKILL.md +74 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/SKILL.md +613 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +407 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
- package/template/.hermes/skills/grill-with-docs/SKILL.md +7 -0
- package/template/.hermes/skills/implement/SKILL.md +15 -0
- package/template/.hermes/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/.hermes/skills/improve-codebase-architecture/SKILL.md +66 -0
- package/template/.hermes/skills/kb-retriever/README.md +197 -0
- package/template/.hermes/skills/kb-retriever/README.zh-CN.md +197 -0
- package/template/.hermes/skills/kb-retriever/SKILL.md +250 -0
- package/template/.hermes/skills/kb-retriever/manifest.json +15 -0
- package/template/.hermes/skills/kb-retriever/references/excel_analysis.md +129 -0
- package/template/.hermes/skills/kb-retriever/references/excel_reading.md +72 -0
- package/template/.hermes/skills/kb-retriever/references/pdf_reading.md +362 -0
- package/template/.hermes/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
- package/template/.hermes/skills/prototype/LOGIC.md +79 -0
- package/template/.hermes/skills/prototype/SKILL.md +30 -0
- package/template/.hermes/skills/prototype/UI.md +112 -0
- package/template/.hermes/skills/research/SKILL.md +12 -0
- package/template/.hermes/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/.hermes/skills/setup-matt-pocock-skills/SKILL.md +127 -0
- package/template/.hermes/skills/setup-matt-pocock-skills/domain.md +51 -0
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
- package/template/.hermes/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/.hermes/skills/tdd/SKILL.md +36 -0
- package/template/.hermes/skills/tdd/mocking.md +59 -0
- package/template/.hermes/skills/tdd/tests.md +77 -0
- package/template/.hermes/skills/to-issues/SKILL.md +84 -0
- package/template/.hermes/skills/to-prd/SKILL.md +75 -0
- package/template/.hermes/skills/triage/AGENT-BRIEF.md +207 -0
- package/template/.hermes/skills/triage/OUT-OF-SCOPE.md +105 -0
- package/template/.hermes/skills/triage/SKILL.md +112 -0
- package/template/.hermes/skills/web-design-engineer/README.md +461 -0
- package/template/.hermes/skills/web-design-engineer/README.zh-CN.md +461 -0
- package/template/.hermes/skills/web-design-engineer/SKILL.md +493 -0
- package/template/.hermes/skills/web-design-engineer/manifest.json +15 -0
- package/template/.hermes/skills/web-design-engineer/references/advanced-patterns.md +521 -0
- package/template/.hermes/skills/web-design-engineer/references/critique-guide.md +226 -0
- package/template/.hermes/skills/web-design-engineer/references/design-directions.md +188 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
- package/template/.hermes/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
- package/template/.hermes/skills/web-video-presentation/README.md +322 -0
- package/template/.hermes/skills/web-video-presentation/README.zh-CN.md +322 -0
- package/template/.hermes/skills/web-video-presentation/SKILL.md +451 -0
- package/template/.hermes/skills/web-video-presentation/manifest.json +15 -0
- package/template/.hermes/skills/web-video-presentation/references/AUDIO.md +276 -0
- package/template/.hermes/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
- package/template/.hermes/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
- package/template/.hermes/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
- package/template/.hermes/skills/web-video-presentation/references/RECORDING.md +77 -0
- package/template/.hermes/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
- package/template/.hermes/skills/web-video-presentation/references/THEMES.md +351 -0
- package/template/.hermes/skills/web-video-presentation/scripts/scaffold.sh +245 -0
- package/template/.hermes/skills/web-video-presentation/templates/index.html +12 -0
- package/template/.hermes/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
- package/template/.hermes/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
- package/template/.hermes/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
- package/template/.hermes/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
- package/template/.hermes/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/App.tsx +73 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/main.tsx +9 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/styles/base.css +415 -0
- package/template/.hermes/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
- package/template/.hermes/skills/web-video-presentation/templates/vite.config.ts +10 -0
- package/template/.hermes/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
- package/template/.hermes/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
- package/template/.hermes/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
- package/template/.hermes/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
- package/template/.hermes/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
- package/template/.hermes/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
- package/template/.hermes/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
- package/template/.hermes/skills/web-video-presentation/themes/dune/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/dune/tokens.css +62 -0
- package/template/.hermes/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
- package/template/.hermes/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
- package/template/.hermes/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
- package/template/.hermes/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
- package/template/.hermes/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
- package/template/.hermes/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
- package/template/.hermes/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
- package/template/.hermes/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
- package/template/.hermes/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
- package/template/.hermes/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
- package/template/.hermes/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
- package/template/.hermes/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
- package/template/.hermes/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
- package/template/.hermes/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
- package/template/.hermes/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
- package/template/.hermes/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
- package/template/.hermes/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
- package/template/.hermes/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
- package/template/.hermes/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
- package/template/.hermes/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
- package/template/.pi/skills/ask-matt/SKILL.md +74 -0
- package/template/.pi/skills/beautiful-article/README.md +450 -0
- package/template/.pi/skills/beautiful-article/README.zh-CN.md +450 -0
- package/template/.pi/skills/beautiful-article/SKILL.md +466 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
- package/template/.pi/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
- package/template/.pi/skills/beautiful-article/manifest.json +15 -0
- package/template/.pi/skills/beautiful-article/references/article-types/briefing.md +32 -0
- package/template/.pi/skills/beautiful-article/references/article-types/dialogue.md +30 -0
- package/template/.pi/skills/beautiful-article/references/article-types/essay.md +31 -0
- package/template/.pi/skills/beautiful-article/references/article-types/explainer.md +32 -0
- package/template/.pi/skills/beautiful-article/references/article-types/full-report.md +32 -0
- package/template/.pi/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
- package/template/.pi/skills/beautiful-article/references/article-types/longform.md +32 -0
- package/template/.pi/skills/beautiful-article/references/article-types/review.md +32 -0
- package/template/.pi/skills/beautiful-article/references/article-types/tutorial.md +30 -0
- package/template/.pi/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
- package/template/.pi/skills/beautiful-article/references/article-types.md +42 -0
- package/template/.pi/skills/beautiful-article/references/asset-policy.md +71 -0
- package/template/.pi/skills/beautiful-article/references/component-policy.md +103 -0
- package/template/.pi/skills/beautiful-article/references/cover.md +208 -0
- package/template/.pi/skills/beautiful-article/references/harness.md +35 -0
- package/template/.pi/skills/beautiful-article/references/html-output.md +42 -0
- package/template/.pi/skills/beautiful-article/references/information-density.md +50 -0
- package/template/.pi/skills/beautiful-article/references/layout.md +46 -0
- package/template/.pi/skills/beautiful-article/references/pdf-output.md +208 -0
- package/template/.pi/skills/beautiful-article/references/plan-template.md +109 -0
- package/template/.pi/skills/beautiful-article/references/raw-policy.md +86 -0
- package/template/.pi/skills/beautiful-article/references/repair-policy.md +35 -0
- package/template/.pi/skills/beautiful-article/references/review-checklist.md +133 -0
- package/template/.pi/skills/beautiful-article/references/scaffold.md +77 -0
- package/template/.pi/skills/beautiful-article/references/section-build.md +100 -0
- package/template/.pi/skills/beautiful-article/references/source-to-markdown.md +118 -0
- package/template/.pi/skills/beautiful-article/references/theme-selection.md +48 -0
- package/template/.pi/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
- package/template/.pi/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
- package/template/.pi/skills/beautiful-article/scripts/scaffold.sh +172 -0
- package/template/.pi/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
- package/template/.pi/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/andy.md +57 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/bayer.md +57 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/freddie.md +57 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/fuller.md +56 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/index.json +112 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/knuth.md +60 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/press.md +61 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/shannon.md +64 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/tufte.md +64 -0
- package/template/.pi/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
- package/template/.pi/skills/code-review/SKILL.md +89 -0
- package/template/.pi/skills/codebase-design/DEEPENING.md +37 -0
- package/template/.pi/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/.pi/skills/codebase-design/SKILL.md +114 -0
- package/template/.pi/skills/competitive-intelligence/SKILL.md +94 -0
- package/template/.pi/skills/diagnosing-bugs/SKILL.md +134 -0
- package/template/.pi/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/template/.pi/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.pi/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.pi/skills/domain-modeling/SKILL.md +74 -0
- package/template/.pi/skills/excalidraw-diagram-generator/SKILL.md +613 -0
- package/template/.pi/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
- package/template/.pi/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
- package/template/.pi/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
- package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
- package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +407 -0
- package/template/.pi/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
- package/template/.pi/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
- package/template/.pi/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
- package/template/.pi/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
- package/template/.pi/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
- package/template/.pi/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
- package/template/.pi/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
- package/template/.pi/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
- package/template/.pi/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
- package/template/.pi/skills/grill-with-docs/SKILL.md +7 -0
- package/template/.pi/skills/implement/SKILL.md +15 -0
- package/template/.pi/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/.pi/skills/improve-codebase-architecture/SKILL.md +66 -0
- package/template/.pi/skills/kb-retriever/README.md +197 -0
- package/template/.pi/skills/kb-retriever/README.zh-CN.md +197 -0
- package/template/.pi/skills/kb-retriever/SKILL.md +250 -0
- package/template/.pi/skills/kb-retriever/manifest.json +15 -0
- package/template/.pi/skills/kb-retriever/references/excel_analysis.md +129 -0
- package/template/.pi/skills/kb-retriever/references/excel_reading.md +72 -0
- package/template/.pi/skills/kb-retriever/references/pdf_reading.md +362 -0
- package/template/.pi/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
- package/template/.pi/skills/prototype/LOGIC.md +79 -0
- package/template/.pi/skills/prototype/SKILL.md +30 -0
- package/template/.pi/skills/prototype/UI.md +112 -0
- package/template/.pi/skills/research/SKILL.md +12 -0
- package/template/.pi/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/.pi/skills/setup-matt-pocock-skills/SKILL.md +127 -0
- package/template/.pi/skills/setup-matt-pocock-skills/domain.md +51 -0
- package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
- package/template/.pi/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/.pi/skills/tdd/SKILL.md +36 -0
- package/template/.pi/skills/tdd/mocking.md +59 -0
- package/template/.pi/skills/tdd/tests.md +77 -0
- package/template/.pi/skills/to-issues/SKILL.md +84 -0
- package/template/.pi/skills/to-prd/SKILL.md +75 -0
- package/template/.pi/skills/triage/AGENT-BRIEF.md +207 -0
- package/template/.pi/skills/triage/OUT-OF-SCOPE.md +105 -0
- package/template/.pi/skills/triage/SKILL.md +112 -0
- package/template/.pi/skills/web-design-engineer/README.md +461 -0
- package/template/.pi/skills/web-design-engineer/README.zh-CN.md +461 -0
- package/template/.pi/skills/web-design-engineer/SKILL.md +493 -0
- package/template/.pi/skills/web-design-engineer/manifest.json +15 -0
- package/template/.pi/skills/web-design-engineer/references/advanced-patterns.md +521 -0
- package/template/.pi/skills/web-design-engineer/references/critique-guide.md +226 -0
- package/template/.pi/skills/web-design-engineer/references/design-directions.md +188 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
- package/template/.pi/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
- package/template/.pi/skills/web-video-presentation/README.md +322 -0
- package/template/.pi/skills/web-video-presentation/README.zh-CN.md +322 -0
- package/template/.pi/skills/web-video-presentation/SKILL.md +451 -0
- package/template/.pi/skills/web-video-presentation/manifest.json +15 -0
- package/template/.pi/skills/web-video-presentation/references/AUDIO.md +276 -0
- package/template/.pi/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
- package/template/.pi/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
- package/template/.pi/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
- package/template/.pi/skills/web-video-presentation/references/RECORDING.md +77 -0
- package/template/.pi/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
- package/template/.pi/skills/web-video-presentation/references/THEMES.md +351 -0
- package/template/.pi/skills/web-video-presentation/scripts/scaffold.sh +245 -0
- package/template/.pi/skills/web-video-presentation/templates/index.html +12 -0
- package/template/.pi/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
- package/template/.pi/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
- package/template/.pi/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
- package/template/.pi/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
- package/template/.pi/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
- package/template/.pi/skills/web-video-presentation/templates/src/App.tsx +73 -0
- package/template/.pi/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
- package/template/.pi/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
- package/template/.pi/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
- package/template/.pi/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
- package/template/.pi/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
- package/template/.pi/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
- package/template/.pi/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
- package/template/.pi/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
- package/template/.pi/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
- package/template/.pi/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
- package/template/.pi/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
- package/template/.pi/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
- package/template/.pi/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
- package/template/.pi/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
- package/template/.pi/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
- package/template/.pi/skills/web-video-presentation/templates/src/main.tsx +9 -0
- package/template/.pi/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
- package/template/.pi/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
- package/template/.pi/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
- package/template/.pi/skills/web-video-presentation/templates/src/styles/base.css +415 -0
- package/template/.pi/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
- package/template/.pi/skills/web-video-presentation/templates/vite.config.ts +10 -0
- package/template/.pi/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
- package/template/.pi/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
- package/template/.pi/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
- package/template/.pi/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
- package/template/.pi/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
- package/template/.pi/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
- package/template/.pi/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
- package/template/.pi/skills/web-video-presentation/themes/dune/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/dune/tokens.css +62 -0
- package/template/.pi/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
- package/template/.pi/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
- package/template/.pi/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
- package/template/.pi/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
- package/template/.pi/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
- package/template/.pi/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
- package/template/.pi/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
- package/template/.pi/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
- package/template/.pi/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
- package/template/.pi/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
- package/template/.pi/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
- package/template/.pi/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
- package/template/.pi/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
- package/template/.pi/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
- package/template/.pi/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
- package/template/.pi/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
- package/template/.pi/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
- package/template/.pi/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
- package/template/.pi/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
- package/template/.pi/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
- package/template/.trae/skills/ask-matt/SKILL.md +74 -0
- package/template/.trae/skills/beautiful-article/README.md +450 -0
- package/template/.trae/skills/beautiful-article/README.zh-CN.md +450 -0
- package/template/.trae/skills/beautiful-article/SKILL.md +466 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +69 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +172 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/main.tsx +26 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +30 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/index.html +19 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/package.json +26 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/tsconfig.json +20 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +11 -0
- package/template/.trae/skills/beautiful-article/assets/scaffold-template/vite.config.ts +18 -0
- package/template/.trae/skills/beautiful-article/manifest.json +15 -0
- package/template/.trae/skills/beautiful-article/references/article-types/briefing.md +32 -0
- package/template/.trae/skills/beautiful-article/references/article-types/dialogue.md +30 -0
- package/template/.trae/skills/beautiful-article/references/article-types/essay.md +31 -0
- package/template/.trae/skills/beautiful-article/references/article-types/explainer.md +32 -0
- package/template/.trae/skills/beautiful-article/references/article-types/full-report.md +32 -0
- package/template/.trae/skills/beautiful-article/references/article-types/interactive-explainer.md +66 -0
- package/template/.trae/skills/beautiful-article/references/article-types/longform.md +32 -0
- package/template/.trae/skills/beautiful-article/references/article-types/review.md +32 -0
- package/template/.trae/skills/beautiful-article/references/article-types/tutorial.md +30 -0
- package/template/.trae/skills/beautiful-article/references/article-types/visual-essay.md +33 -0
- package/template/.trae/skills/beautiful-article/references/article-types.md +42 -0
- package/template/.trae/skills/beautiful-article/references/asset-policy.md +71 -0
- package/template/.trae/skills/beautiful-article/references/component-policy.md +103 -0
- package/template/.trae/skills/beautiful-article/references/cover.md +208 -0
- package/template/.trae/skills/beautiful-article/references/harness.md +35 -0
- package/template/.trae/skills/beautiful-article/references/html-output.md +42 -0
- package/template/.trae/skills/beautiful-article/references/information-density.md +50 -0
- package/template/.trae/skills/beautiful-article/references/layout.md +46 -0
- package/template/.trae/skills/beautiful-article/references/pdf-output.md +208 -0
- package/template/.trae/skills/beautiful-article/references/plan-template.md +109 -0
- package/template/.trae/skills/beautiful-article/references/raw-policy.md +86 -0
- package/template/.trae/skills/beautiful-article/references/repair-policy.md +35 -0
- package/template/.trae/skills/beautiful-article/references/review-checklist.md +133 -0
- package/template/.trae/skills/beautiful-article/references/scaffold.md +77 -0
- package/template/.trae/skills/beautiful-article/references/section-build.md +100 -0
- package/template/.trae/skills/beautiful-article/references/source-to-markdown.md +118 -0
- package/template/.trae/skills/beautiful-article/references/theme-selection.md +48 -0
- package/template/.trae/skills/beautiful-article/scripts/html-to-pdf.sh +160 -0
- package/template/.trae/skills/beautiful-article/scripts/pdf-print-overrides.css +192 -0
- package/template/.trae/skills/beautiful-article/scripts/scaffold.sh +172 -0
- package/template/.trae/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +100 -0
- package/template/.trae/skills/beautiful-article/scripts/source-to-markdown.py +174 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/andy.md +57 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/bayer.md +57 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/bodoni.md +57 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/freddie.md +57 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/fuller.md +56 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/index.json +112 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/knuth.md +60 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/press.md +61 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/shannon.md +64 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/sottsass.md +57 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/tufte.md +64 -0
- package/template/.trae/skills/beautiful-article/theme-profiles/vignelli.md +63 -0
- package/template/.trae/skills/code-review/SKILL.md +89 -0
- package/template/.trae/skills/codebase-design/DEEPENING.md +37 -0
- package/template/.trae/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/.trae/skills/codebase-design/SKILL.md +114 -0
- package/template/.trae/skills/competitive-intelligence/SKILL.md +94 -0
- package/template/.trae/skills/diagnosing-bugs/SKILL.md +134 -0
- package/template/.trae/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/template/.trae/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.trae/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.trae/skills/domain-modeling/SKILL.md +74 -0
- package/template/.trae/skills/excalidraw-diagram-generator/SKILL.md +613 -0
- package/template/.trae/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
- package/template/.trae/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
- package/template/.trae/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
- package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-arrow.py +315 -0
- package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +407 -0
- package/template/.trae/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
- package/template/.trae/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
- package/template/.trae/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
- package/template/.trae/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
- package/template/.trae/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
- package/template/.trae/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
- package/template/.trae/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
- package/template/.trae/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
- package/template/.trae/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
- package/template/.trae/skills/grill-with-docs/SKILL.md +7 -0
- package/template/.trae/skills/implement/SKILL.md +15 -0
- package/template/.trae/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/.trae/skills/improve-codebase-architecture/SKILL.md +66 -0
- package/template/.trae/skills/kb-retriever/README.md +197 -0
- package/template/.trae/skills/kb-retriever/README.zh-CN.md +197 -0
- package/template/.trae/skills/kb-retriever/SKILL.md +250 -0
- package/template/.trae/skills/kb-retriever/manifest.json +15 -0
- package/template/.trae/skills/kb-retriever/references/excel_analysis.md +129 -0
- package/template/.trae/skills/kb-retriever/references/excel_reading.md +72 -0
- package/template/.trae/skills/kb-retriever/references/pdf_reading.md +362 -0
- package/template/.trae/skills/kb-retriever/scripts/convert_pdf_to_images.py +35 -0
- package/template/.trae/skills/prototype/LOGIC.md +79 -0
- package/template/.trae/skills/prototype/SKILL.md +30 -0
- package/template/.trae/skills/prototype/UI.md +112 -0
- package/template/.trae/skills/research/SKILL.md +12 -0
- package/template/.trae/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/.trae/skills/setup-matt-pocock-skills/SKILL.md +127 -0
- package/template/.trae/skills/setup-matt-pocock-skills/domain.md +51 -0
- package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
- package/template/.trae/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/.trae/skills/tdd/SKILL.md +36 -0
- package/template/.trae/skills/tdd/mocking.md +59 -0
- package/template/.trae/skills/tdd/tests.md +77 -0
- package/template/.trae/skills/to-issues/SKILL.md +84 -0
- package/template/.trae/skills/to-prd/SKILL.md +75 -0
- package/template/.trae/skills/triage/AGENT-BRIEF.md +207 -0
- package/template/.trae/skills/triage/OUT-OF-SCOPE.md +105 -0
- package/template/.trae/skills/triage/SKILL.md +112 -0
- package/template/.trae/skills/web-design-engineer/README.md +461 -0
- package/template/.trae/skills/web-design-engineer/README.zh-CN.md +461 -0
- package/template/.trae/skills/web-design-engineer/SKILL.md +493 -0
- package/template/.trae/skills/web-design-engineer/manifest.json +15 -0
- package/template/.trae/skills/web-design-engineer/references/advanced-patterns.md +521 -0
- package/template/.trae/skills/web-design-engineer/references/critique-guide.md +226 -0
- package/template/.trae/skills/web-design-engineer/references/design-directions.md +188 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/INDEX.md +145 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/active-theory.md +49 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/aesop.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/apple-hig.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/are-na.md +55 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/balenciaga-post-2017.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/bloomberg-businessweek-turley.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/bloomberg-terminal.md +56 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/dieter-rams-braun.md +50 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/field-io.md +50 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/headspace-meditation.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/linear.md +61 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/mailchimp-freddie.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/mid-century-modern.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/monocle-magazine.md +53 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/muji-kenya-hara.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/notion-pre-ai.md +53 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/nyt-the-daily.md +54 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/pentagram.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/raycast.md +54 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/resn-storytelling.md +49 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/stripe-press.md +54 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/tufte-dataink.md +52 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/vercel-mesh.md +56 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/vignelli-swiss-helvetica.md +50 -0
- package/template/.trae/skills/web-design-engineer/references/style-recipes/y2k-retrofuturism.md +54 -0
- package/template/.trae/skills/web-video-presentation/README.md +322 -0
- package/template/.trae/skills/web-video-presentation/README.zh-CN.md +322 -0
- package/template/.trae/skills/web-video-presentation/SKILL.md +451 -0
- package/template/.trae/skills/web-video-presentation/manifest.json +15 -0
- package/template/.trae/skills/web-video-presentation/references/AUDIO.md +276 -0
- package/template/.trae/skills/web-video-presentation/references/CHAPTER-CRAFT.md +224 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/README.md +107 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/case-tech-review/README.md +56 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/case-tech-review/outline-snippet.md +71 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/hook-chapter/README.md +86 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.css +197 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/hook-chapter/chapter.tsx +125 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/list-reveal/README.md +91 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.css +137 -0
- package/template/.trae/skills/web-video-presentation/references/EXAMPLES/list-reveal/chapter.tsx +103 -0
- package/template/.trae/skills/web-video-presentation/references/OUTLINE-FORMAT.md +203 -0
- package/template/.trae/skills/web-video-presentation/references/RECORDING.md +77 -0
- package/template/.trae/skills/web-video-presentation/references/SCRIPT-STYLE.md +409 -0
- package/template/.trae/skills/web-video-presentation/references/THEMES.md +351 -0
- package/template/.trae/skills/web-video-presentation/scripts/scaffold.sh +245 -0
- package/template/.trae/skills/web-video-presentation/templates/index.html +12 -0
- package/template/.trae/skills/web-video-presentation/templates/scripts/extract-narrations.ts +137 -0
- package/template/.trae/skills/web-video-presentation/templates/scripts/synthesize-audio.sh +145 -0
- package/template/.trae/skills/web-video-presentation/templates/scripts/tts-providers/README.md +324 -0
- package/template/.trae/skills/web-video-presentation/templates/scripts/tts-providers/minimax.sh +50 -0
- package/template/.trae/skills/web-video-presentation/templates/scripts/tts-providers/openai.sh +70 -0
- package/template/.trae/skills/web-video-presentation/templates/src/App.tsx +73 -0
- package/template/.trae/skills/web-video-presentation/templates/src/chapters/01-example/Example.css +80 -0
- package/template/.trae/skills/web-video-presentation/templates/src/chapters/01-example/Example.tsx +104 -0
- package/template/.trae/skills/web-video-presentation/templates/src/chapters/01-example/narrations.ts +28 -0
- package/template/.trae/skills/web-video-presentation/templates/src/components/AutoStartGate.css +55 -0
- package/template/.trae/skills/web-video-presentation/templates/src/components/AutoStartGate.tsx +36 -0
- package/template/.trae/skills/web-video-presentation/templates/src/components/AutoToggle.css +53 -0
- package/template/.trae/skills/web-video-presentation/templates/src/components/AutoToggle.tsx +36 -0
- package/template/.trae/skills/web-video-presentation/templates/src/components/MaskReveal.tsx +35 -0
- package/template/.trae/skills/web-video-presentation/templates/src/components/ProgressBar.css +122 -0
- package/template/.trae/skills/web-video-presentation/templates/src/components/ProgressBar.tsx +109 -0
- package/template/.trae/skills/web-video-presentation/templates/src/components/Stage.tsx +48 -0
- package/template/.trae/skills/web-video-presentation/templates/src/hooks/useAudioPlayer.ts +112 -0
- package/template/.trae/skills/web-video-presentation/templates/src/hooks/useAutoMode.ts +66 -0
- package/template/.trae/skills/web-video-presentation/templates/src/hooks/useStageScale.ts +28 -0
- package/template/.trae/skills/web-video-presentation/templates/src/hooks/useStepper.ts +174 -0
- package/template/.trae/skills/web-video-presentation/templates/src/main.tsx +9 -0
- package/template/.trae/skills/web-video-presentation/templates/src/registry/chapters.ts +23 -0
- package/template/.trae/skills/web-video-presentation/templates/src/registry/types.ts +25 -0
- package/template/.trae/skills/web-video-presentation/templates/src/styles/animations.css +63 -0
- package/template/.trae/skills/web-video-presentation/templates/src/styles/base.css +415 -0
- package/template/.trae/skills/web-video-presentation/templates/src/styles/fonts.css +20 -0
- package/template/.trae/skills/web-video-presentation/templates/vite.config.ts +10 -0
- package/template/.trae/skills/web-video-presentation/themes/bauhaus-bold/theme.json +27 -0
- package/template/.trae/skills/web-video-presentation/themes/bauhaus-bold/tokens.css +60 -0
- package/template/.trae/skills/web-video-presentation/themes/blueprint/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/blueprint/tokens.css +65 -0
- package/template/.trae/skills/web-video-presentation/themes/bold-signal/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/bold-signal/tokens.css +71 -0
- package/template/.trae/skills/web-video-presentation/themes/chalk-garden/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/chalk-garden/tokens.css +64 -0
- package/template/.trae/skills/web-video-presentation/themes/creative-voltage/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/creative-voltage/tokens.css +68 -0
- package/template/.trae/skills/web-video-presentation/themes/dark-botanical/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/dark-botanical/tokens.css +68 -0
- package/template/.trae/skills/web-video-presentation/themes/dune/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/dune/tokens.css +62 -0
- package/template/.trae/skills/web-video-presentation/themes/electric-studio/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/electric-studio/tokens.css +68 -0
- package/template/.trae/skills/web-video-presentation/themes/forest-ink/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/forest-ink/tokens.css +68 -0
- package/template/.trae/skills/web-video-presentation/themes/indigo-porcelain/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/indigo-porcelain/tokens.css +62 -0
- package/template/.trae/skills/web-video-presentation/themes/kraft-paper/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/kraft-paper/tokens.css +67 -0
- package/template/.trae/skills/web-video-presentation/themes/midnight-press/theme.json +26 -0
- package/template/.trae/skills/web-video-presentation/themes/midnight-press/tokens.css +56 -0
- package/template/.trae/skills/web-video-presentation/themes/monochrome-print/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/monochrome-print/tokens.css +60 -0
- package/template/.trae/skills/web-video-presentation/themes/neon-cyber/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/neon-cyber/tokens.css +75 -0
- package/template/.trae/skills/web-video-presentation/themes/newsroom/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/newsroom/tokens.css +63 -0
- package/template/.trae/skills/web-video-presentation/themes/paper-press/theme.json +27 -0
- package/template/.trae/skills/web-video-presentation/themes/paper-press/tokens.css +65 -0
- package/template/.trae/skills/web-video-presentation/themes/pastel-dream/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/pastel-dream/tokens.css +67 -0
- package/template/.trae/skills/web-video-presentation/themes/split-canvas/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/split-canvas/tokens.css +70 -0
- package/template/.trae/skills/web-video-presentation/themes/sunset-zine/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/sunset-zine/tokens.css +65 -0
- package/template/.trae/skills/web-video-presentation/themes/swiss-ikb/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/swiss-ikb/tokens.css +77 -0
- package/template/.trae/skills/web-video-presentation/themes/terminal-green/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/terminal-green/tokens.css +73 -0
- package/template/.trae/skills/web-video-presentation/themes/vintage-editorial/theme.json +28 -0
- package/template/.trae/skills/web-video-presentation/themes/vintage-editorial/tokens.css +66 -0
- package/template/.trae/skills/web-video-presentation/themes/warm-keynote/theme.json +27 -0
- package/template/.trae/skills/web-video-presentation/themes/warm-keynote/tokens.css +66 -0
- package/template/AGENTS.md +293 -0
- package/template/CONTEXT.md +26 -0
- package/template/README.md +139 -0
- package/template/docs/adr/template.md +39 -0
- package/template/docs/agents/README.md +24 -0
- package/template/docs/agents/domain.md +31 -0
- package/template/docs/agents/gitlab-workflow-skills.md +160 -0
- package/template/docs/agents/issue-tracker.md +81 -0
- package/template/docs/agents/skills-maintenance.md +126 -0
- package/template/docs/agents/triage-labels.md +15 -0
- package/template/docs/api/.gitkeep +0 -0
- package/template/docs/api/specs/.gitkeep +0 -0
- package/template/docs/api/templates/openapi-draft-review-checklist.md +56 -0
- package/template/docs/api/templates/openapi-freeze-record-template.md +60 -0
- package/template/docs/architecture/.gitkeep +0 -0
- package/template/docs/architecture/README.md +108 -0
- package/template/docs/architecture/templates/architecture-deepening-template.md +64 -0
- package/template/docs/architecture/templates/architecture-review-checklist.md +106 -0
- package/template/docs/architecture/templates/business-architecture-template.md +70 -0
- package/template/docs/architecture/templates/data-architecture-template.md +83 -0
- package/template/docs/architecture/templates/engineering-baseline-review-template.md +67 -0
- package/template/docs/architecture/templates/functional-architecture-template.md +71 -0
- package/template/docs/architecture/templates/system-overview-design-template.md +129 -0
- package/template/docs/architecture/templates/tech-design-template.md +129 -0
- package/template/docs/design/README.md +45 -0
- package/template/docs/design/design.md +220 -0
- package/template/docs/design/diagrams/README.md +11 -0
- package/template/docs/design/templates/interaction-spec-template.md +113 -0
- package/template/docs/design/templates/product-overview-design-template.md +98 -0
- package/template/docs/design/templates/prototype-review-checklist.md +63 -0
- package/template/docs/design/templates/state-matrix-template.md +40 -0
- package/template/docs/design/tokens/theme.json +24 -0
- package/template/docs/design/tokens/tokens.compact.json +251 -0
- package/template/docs/design/tokens/tokens.dark.json +251 -0
- package/template/docs/design/tokens/tokens.default.json +251 -0
- package/template/docs/design/tokens/variables.css +441 -0
- package/template/docs/design/tokens/variables.dark.css +220 -0
- package/template/docs/discovery/IDEATION.md +96 -0
- package/template/docs/discovery/README.md +87 -0
- package/template/docs/discovery/reports/.gitkeep +0 -0
- package/template/docs/discovery/reports/competitor-deep-dive/.gitkeep +0 -0
- package/template/docs/discovery/templates/competitive-analysis-template.md +261 -0
- package/template/docs/discovery/templates/competitive-matrix-template.md +28 -0
- package/template/docs/discovery/templates/discovery-template.md +95 -0
- package/template/docs/discovery/templates/market-analysis-template.md +55 -0
- package/template/docs/discovery/templates/user-pain-points-template.md +49 -0
- package/template/docs/implementation/.gitkeep +1 -0
- package/template/docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md +197 -0
- package/template/docs/process/PDCA-SCRUM.md +186 -0
- package/template/docs/process/harness-automation-candidates.md +46 -0
- package/template/docs/process/harness-executive-blueprint.md +65 -0
- package/template/docs/process/harness-optimization-backlog.md +53 -0
- package/template/docs/process/harness-pilot-retro-metrics.md +64 -0
- package/template/docs/process/harness-pilot-selection.md +52 -0
- package/template/docs/process/harness-process-tailoring.md +49 -0
- package/template/docs/process/harness-work-unit-map.md +33 -0
- package/template/docs/process/implementation-repo-integration.md +100 -0
- package/template/docs/process/lifecycle-artifact-map.md +112 -0
- package/template/docs/process/skill-governance.md +50 -0
- package/template/docs/process/sprint-retros/.gitkeep +0 -0
- package/template/docs/process/sprint-reviews/.gitkeep +0 -0
- package/template/docs/process/templates/daily-standup-template.md +46 -0
- package/template/docs/process/templates/sprint-planning-template.md +59 -0
- package/template/docs/process/templates/sprint-retro-template.md +113 -0
- package/template/docs/process/templates/sprint-review-template.md +53 -0
- package/template/docs/process/templates/stage-checkpoint-template.md +66 -0
- package/template/docs/releases/.gitkeep +1 -0
- package/template/docs/requirements/README.md +83 -0
- package/template/docs/requirements/issues/.gitkeep +1 -0
- package/template/docs/templates/agent-brief-template.md +46 -0
- package/template/docs/templates/architecture-proposal-template.md +18 -0
- package/template/docs/templates/build-architecture-checklist-template.md +69 -0
- package/template/docs/templates/cross-repo-slice-template.md +81 -0
- package/template/docs/templates/implementation-plan-template.md +16 -0
- package/template/docs/templates/implementation-repo-registry-template.md +64 -0
- package/template/docs/templates/implementation-routing-template.md +95 -0
- package/template/docs/templates/openapi-spec-template.yaml +11 -0
- package/template/docs/templates/prd-template.md +93 -0
- package/template/docs/templates/release-note-template.md +14 -0
- package/template/docs/templates/requirement-freeze-template.md +62 -0
- package/template/docs/templates/retro-report-template.md +16 -0
- package/template/docs/templates/review-report-template.md +16 -0
- package/template/docs/templates/risk-register-template.md +11 -0
- package/template/docs/templates/spec-delta-template.md +69 -0
- package/template/docs/templates/user-story-template.md +20 -0
- package/template/docs/templates/verification-record-template.md +53 -0
- package/template/docs/templates/vertical-slice-issue-template.md +61 -0
- package/template/docs/testing/README.md +110 -0
- package/template/docs/user-guide/README.md +31 -0
- package/template/docs/user-guide/create-yss-spec-cli-guide.md +194 -0
- package/template/docs/user-guide/excalidraw-diagram-generator-guide.md +143 -0
- package/template/docs/user-guide/grill-with-docs-best-practices.md +275 -0
- package/template/docs/user-guide/grill-with-docs-guide.md +229 -0
- package/template/docs/user-guide/lifecycle-best-practices.md +576 -0
- package/template/docs/user-guide/product-lifecycle-workflow.md +222 -0
- package/template/docs/user-guide/product-rd-lifecycle-best-practices.md +1082 -0
- package/template/docs/user-guide/templates/user-guide-template.md +53 -0
- package/template/scripts/gitworks +164 -0
- package/template/scripts/verify-template +204 -0
- package/template/skills-lock.json +71 -0
- package/template.manifest.json +41 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* PDF print overrides for Beautiful Article.
|
|
3
|
+
*
|
|
4
|
+
* Injected by scripts/html-to-pdf.sh into article.html's <head> right before
|
|
5
|
+
* Chromium headless prints it. reacticle's own print.css already handles
|
|
6
|
+
* hiding export bars and break-inside on cards.
|
|
7
|
+
*
|
|
8
|
+
* This file adds four groups on top of that:
|
|
9
|
+
* 0) Theme surface — keep the article theme background / text colors in PDF.
|
|
10
|
+
* A) TOC layout — force the sidebar TOC to stack above the article and
|
|
11
|
+
* page-break after it, so the article body starts on a fresh page.
|
|
12
|
+
* B) Page break behavior — undo reacticle's `.ra-section { break-inside:
|
|
13
|
+
* avoid-page }` (which causes huge empty pages for multi-page sections),
|
|
14
|
+
* glue headings to the following content, keep Hero / Lead / figures
|
|
15
|
+
* atomic, and apply widow/orphan control to paragraphs.
|
|
16
|
+
* C) Cover — if the article uses the 3:4 Cover component (default), keep
|
|
17
|
+
* its authored geometry intact and only force a page break after it.
|
|
18
|
+
* See references/cover.md.
|
|
19
|
+
*
|
|
20
|
+
* Why a separate file:
|
|
21
|
+
* - macOS BSD awk rejects multi-line strings via -v; reading from a file
|
|
22
|
+
* with getline sidesteps that.
|
|
23
|
+
* - CSS is independently editable / lintable / diff-friendly here.
|
|
24
|
+
* - Easy to swap or extend without touching the shell script.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
@media print {
|
|
28
|
+
@page {
|
|
29
|
+
margin: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* ============================================================
|
|
33
|
+
* 0 · Theme surface (preserve paper color in PDF)
|
|
34
|
+
* ============================================================ */
|
|
35
|
+
|
|
36
|
+
.ra-root {
|
|
37
|
+
background: var(--ra-color-bg, #ffffff) !important;
|
|
38
|
+
color: var(--ra-color-text, #111111) !important;
|
|
39
|
+
print-color-adjust: exact;
|
|
40
|
+
-webkit-print-color-adjust: exact;
|
|
41
|
+
position: relative;
|
|
42
|
+
z-index: 0;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
min-height: 100vh;
|
|
45
|
+
padding: 0.45in !important;
|
|
46
|
+
box-decoration-break: clone;
|
|
47
|
+
-webkit-box-decoration-break: clone;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ra-root::before {
|
|
51
|
+
content: "";
|
|
52
|
+
position: fixed;
|
|
53
|
+
inset: 0;
|
|
54
|
+
background: var(--ra-color-bg, #ffffff);
|
|
55
|
+
z-index: -1;
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ============================================================
|
|
60
|
+
* A · TOC layout (TOC above article, not beside it)
|
|
61
|
+
* ============================================================ */
|
|
62
|
+
|
|
63
|
+
/* A1) reacticle's TOC layout is a 2-col grid on desktop and `display: block`
|
|
64
|
+
* on mobile (<= 999px). Force the mobile branch for print so the TOC
|
|
65
|
+
* sits ABOVE the article column instead of beside it. */
|
|
66
|
+
.ra-article-layout--with-toc {
|
|
67
|
+
display: block !important;
|
|
68
|
+
max-width: none !important;
|
|
69
|
+
padding: 0 !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* A2) TOC: kill sticky (only paints once on print), add breathing room, and
|
|
73
|
+
* push the article to its own pages by breaking after the TOC. */
|
|
74
|
+
.ra-toc {
|
|
75
|
+
position: static !important;
|
|
76
|
+
margin-bottom: 1.5rem !important;
|
|
77
|
+
page-break-after: always;
|
|
78
|
+
break-after: page;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* A3) Long TOCs save paper as a 2-column layout; short ones collapse
|
|
82
|
+
* naturally back to one column. */
|
|
83
|
+
.ra-toc__list {
|
|
84
|
+
column-count: 2;
|
|
85
|
+
column-gap: 1.5rem;
|
|
86
|
+
column-fill: balance;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* A4) Never split a TOC item across columns / pages. */
|
|
90
|
+
.ra-toc__item {
|
|
91
|
+
break-inside: avoid;
|
|
92
|
+
page-break-inside: avoid;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* A5) Let the article column flow naturally on the page after the TOC. */
|
|
96
|
+
.ra-article-layout--with-toc > .ra-article {
|
|
97
|
+
break-before: auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* A6) Strip underlines from TOC + body links in print (chrome already shows
|
|
101
|
+
* them as link-blue; the colophon footer keeps its underline because it
|
|
102
|
+
* sets its own text-decoration inline). */
|
|
103
|
+
.ra-toc a,
|
|
104
|
+
.ra-article a {
|
|
105
|
+
color: inherit;
|
|
106
|
+
text-decoration: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* ============================================================
|
|
110
|
+
* B · Page break behavior (fixes huge empty pages in long sections)
|
|
111
|
+
* ============================================================ */
|
|
112
|
+
|
|
113
|
+
/* B1) reacticle's print.css aggressively sets `.ra-section { break-inside:
|
|
114
|
+
* avoid-page }`. For multi-page sections that rule backfires badly:
|
|
115
|
+
* the browser pushes the whole oversized section to the next page,
|
|
116
|
+
* leaving the previous page nearly empty, then the section overflows
|
|
117
|
+
* anyway. UNDO IT — let long sections break naturally across pages. */
|
|
118
|
+
.ra-section,
|
|
119
|
+
.ra-subsection,
|
|
120
|
+
.ra-section__body,
|
|
121
|
+
.ra-subsection__body {
|
|
122
|
+
break-inside: auto !important;
|
|
123
|
+
page-break-inside: auto !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* B2) But never strand a heading at the bottom of a page. Glue Section /
|
|
127
|
+
* Subsection headings to whatever follows, and keep the heading row
|
|
128
|
+
* (index + title) intact. */
|
|
129
|
+
.ra-section__head,
|
|
130
|
+
.ra-subsection__head,
|
|
131
|
+
.ra-hero__title,
|
|
132
|
+
.ra-hero__subtitle,
|
|
133
|
+
h1,
|
|
134
|
+
h2,
|
|
135
|
+
h3,
|
|
136
|
+
h4 {
|
|
137
|
+
break-after: avoid;
|
|
138
|
+
page-break-after: avoid;
|
|
139
|
+
break-inside: avoid;
|
|
140
|
+
page-break-inside: avoid;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* B3) Hero / Lead / Conclusion are short, atomic blocks — never split them
|
|
144
|
+
* across pages. (Hero often holds title + subtitle + meta; ugly when
|
|
145
|
+
* subtitle ends up alone on next page.) */
|
|
146
|
+
.ra-hero,
|
|
147
|
+
.ra-lead,
|
|
148
|
+
.ra-conclusion {
|
|
149
|
+
break-inside: avoid;
|
|
150
|
+
page-break-inside: avoid;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* B4) Widows / orphans — never leave 1–2 stranded lines of a paragraph at
|
|
154
|
+
* the top / bottom of a page. */
|
|
155
|
+
p,
|
|
156
|
+
li,
|
|
157
|
+
blockquote,
|
|
158
|
+
.ra-aside,
|
|
159
|
+
.ra-quote {
|
|
160
|
+
orphans: 3;
|
|
161
|
+
widows: 3;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* B5) Atomic visual blocks: figures, tables, code blocks. Keep them whole
|
|
165
|
+
* when reasonable; very long ones still split (the browser falls back). */
|
|
166
|
+
figure,
|
|
167
|
+
.ra-table,
|
|
168
|
+
.ra-codeblock,
|
|
169
|
+
.ra-formula,
|
|
170
|
+
.ra-image,
|
|
171
|
+
.ra-raw {
|
|
172
|
+
break-inside: avoid;
|
|
173
|
+
page-break-inside: avoid;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* ============================================================
|
|
177
|
+
* C · Cover (the 3:4 cover above TOC, see references/cover.md)
|
|
178
|
+
* ============================================================ */
|
|
179
|
+
|
|
180
|
+
/* C1) Keep the cover's screen-authored 3:4 geometry in print. Earlier
|
|
181
|
+
* versions stretched .ra-cover to height:100vh, but Chromium print can
|
|
182
|
+
* clip absolutely positioned / grid-based cover internals after that
|
|
183
|
+
* resize. The stable default is: preserve the cover and start the TOC on
|
|
184
|
+
* the next page. Article-specific covers may opt into full-page print
|
|
185
|
+
* sizing only after visual PDF verification. */
|
|
186
|
+
.ra-cover {
|
|
187
|
+
break-inside: avoid;
|
|
188
|
+
page-break-inside: avoid;
|
|
189
|
+
break-after: page;
|
|
190
|
+
page-break-after: always;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# ─────────────────────────────────────────────────────────────
|
|
3
|
+
# scaffold.sh —— 一键创建一个 Beautiful Article 工作区。
|
|
4
|
+
#
|
|
5
|
+
# 用法:
|
|
6
|
+
# bash scripts/scaffold.sh <target-dir> [--theme=<id>] [--no-cover]
|
|
7
|
+
# bash scripts/scaffold.sh --list-themes
|
|
8
|
+
#
|
|
9
|
+
# 例子:
|
|
10
|
+
# bash <path-to-beautiful-article>/scripts/scaffold.sh ./my-article --theme=tufte
|
|
11
|
+
# bash <path-to-beautiful-article>/scripts/scaffold.sh ./brief --theme=press --no-cover
|
|
12
|
+
# bash <path-to-beautiful-article>/scripts/scaffold.sh --list-themes
|
|
13
|
+
#
|
|
14
|
+
# --no-cover:禁用文章封面(默认开 · 屏幕 3:4 / PDF 独占首页)。详见 references/cover.md。
|
|
15
|
+
#
|
|
16
|
+
# 工作区从 npm 安装**最新发布版的 reacticle**(package.json 里 reacticle: "latest",
|
|
17
|
+
# 每次 fresh scaffold 都会取当下最新)。无需本地 reacticle 仓库。
|
|
18
|
+
#
|
|
19
|
+
# 跑完后看 SKILL.md「Phase 4 First Spread」+ references/component-policy.md /
|
|
20
|
+
# raw-policy.md / 选定主题 theme-profiles/<id>.md。
|
|
21
|
+
# ─────────────────────────────────────────────────────────────
|
|
22
|
+
set -euo pipefail
|
|
23
|
+
|
|
24
|
+
SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
25
|
+
TEMPLATE="$SKILL_DIR/assets/scaffold-template"
|
|
26
|
+
PROFILES="$SKILL_DIR/theme-profiles/index.json"
|
|
27
|
+
DEFAULT_THEME="tufte"
|
|
28
|
+
|
|
29
|
+
list_themes() {
|
|
30
|
+
echo "可用主题(来自 ${PROFILES}):"
|
|
31
|
+
echo
|
|
32
|
+
# 没有 jq,用 grep + sed 提字段
|
|
33
|
+
grep -E '"id"|"label"|"mood"' "$PROFILES" | sed -E \
|
|
34
|
+
-e 's/.*"id":[[:space:]]*"([^"]+)".*/ • \1/' \
|
|
35
|
+
-e 's/.*"label":[[:space:]]*"([^"]+)".*/ \1/' \
|
|
36
|
+
-e 's/.*"mood":[[:space:]]*"([^"]+)".*/ \1/'
|
|
37
|
+
echo
|
|
38
|
+
echo "用 --theme=<id> 选定一个。默认:${DEFAULT_THEME}。"
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
# 校验主题 id 是否在 theme-profiles/index.json 里
|
|
42
|
+
theme_exists() {
|
|
43
|
+
grep -Eq "\"id\"[[:space:]]*:[[:space:]]*\"$1\"" "$PROFILES"
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
# ── 解析参数 ──
|
|
47
|
+
TARGET=""
|
|
48
|
+
THEME="$DEFAULT_THEME"
|
|
49
|
+
COVER=1
|
|
50
|
+
for arg in "$@"; do
|
|
51
|
+
case "$arg" in
|
|
52
|
+
--list-themes) list_themes; exit 0 ;;
|
|
53
|
+
--theme=*) THEME="${arg#--theme=}" ;;
|
|
54
|
+
--no-cover) COVER=0 ;;
|
|
55
|
+
--cover) COVER=1 ;;
|
|
56
|
+
--*) echo "✗ 未知参数: $arg" >&2; exit 1 ;;
|
|
57
|
+
*) [[ -z "$TARGET" ]] && TARGET="$arg" ;;
|
|
58
|
+
esac
|
|
59
|
+
done
|
|
60
|
+
|
|
61
|
+
TARGET="${TARGET:-my-article}"
|
|
62
|
+
|
|
63
|
+
# ── 校验主题 ──
|
|
64
|
+
if ! theme_exists "$THEME"; then
|
|
65
|
+
echo "✗ 未知主题 '$THEME'。可用主题:" >&2
|
|
66
|
+
echo >&2
|
|
67
|
+
list_themes >&2
|
|
68
|
+
exit 1
|
|
69
|
+
fi
|
|
70
|
+
|
|
71
|
+
# ── 目标目录检查 ──
|
|
72
|
+
if [[ -d "$TARGET" && -n "$(ls -A "$TARGET" 2>/dev/null || true)" ]]; then
|
|
73
|
+
echo "✗ 目标目录 '$TARGET' 已存在且非空,已中止。" >&2
|
|
74
|
+
exit 1
|
|
75
|
+
fi
|
|
76
|
+
if ! command -v npm >/dev/null; then
|
|
77
|
+
echo "✗ 需要 npm,但在 PATH 里没找到。" >&2
|
|
78
|
+
exit 1
|
|
79
|
+
fi
|
|
80
|
+
|
|
81
|
+
echo "▸ 在 $TARGET 创建 Beautiful Article 工作区"
|
|
82
|
+
echo "▸ 主题:$THEME"
|
|
83
|
+
echo "▸ 封面:$([[ "$COVER" == "1" ]] && echo "开(屏幕 3:4 / PDF 独占首页,详见 references/cover.md)" || echo "关")"
|
|
84
|
+
echo "▸ reacticle:从 npm 安装最新发布版"
|
|
85
|
+
|
|
86
|
+
mkdir -p "$TARGET"
|
|
87
|
+
# 复制工程模板
|
|
88
|
+
cp "$TEMPLATE/package.json" "$TARGET/package.json"
|
|
89
|
+
cp "$TEMPLATE/vite.config.ts" "$TARGET/vite.config.ts"
|
|
90
|
+
cp "$TEMPLATE/tsconfig.json" "$TARGET/tsconfig.json"
|
|
91
|
+
cp "$TEMPLATE/tsconfig.node.json" "$TARGET/tsconfig.node.json"
|
|
92
|
+
cp "$TEMPLATE/index.html" "$TARGET/index.html"
|
|
93
|
+
|
|
94
|
+
# 工作记忆目录 + 文章源目录
|
|
95
|
+
mkdir -p "$TARGET/source" "$TARGET/plan" "$TARGET/review" \
|
|
96
|
+
"$TARGET/article/sections" "$TARGET/article/raw-blocks" "$TARGET/article/assets"
|
|
97
|
+
cp "$TEMPLATE/article/main.tsx" "$TARGET/article/main.tsx"
|
|
98
|
+
cp "$TEMPLATE/article/Article.tsx" "$TARGET/article/Article.tsx"
|
|
99
|
+
# 一节一文件:assembler + 第一个 section 组件(多 Agent 并行的代码锚点)
|
|
100
|
+
cp "$TEMPLATE/article/sections/01-opening.tsx" "$TARGET/article/sections/01-opening.tsx"
|
|
101
|
+
|
|
102
|
+
# 封面:默认开。--no-cover 时跳过 Cover.tsx 并从 main.tsx 剥掉 __COVER_*__ 段。
|
|
103
|
+
if [[ "$COVER" == "1" ]]; then
|
|
104
|
+
cp "$TEMPLATE/article/Cover.tsx" "$TARGET/article/Cover.tsx"
|
|
105
|
+
fi
|
|
106
|
+
|
|
107
|
+
# 留住空目录(git 友好)
|
|
108
|
+
touch "$TARGET/article/raw-blocks/.gitkeep" "$TARGET/article/assets/.gitkeep"
|
|
109
|
+
|
|
110
|
+
# ── 注入主题 id(用 perl 避免转义问题)──
|
|
111
|
+
# main.tsx: <ThemeProvider theme="__THEME__">
|
|
112
|
+
# Article.tsx: colophon "· __THEME__ theme"
|
|
113
|
+
export RA_THEME="$THEME"
|
|
114
|
+
perl -pi -e 's/__THEME__/$ENV{RA_THEME}/g' "$TARGET/article/main.tsx"
|
|
115
|
+
perl -pi -e 's/__THEME__/$ENV{RA_THEME}/g' "$TARGET/article/Article.tsx"
|
|
116
|
+
|
|
117
|
+
# ── 封面开关:处理 main.tsx 里 __COVER_*__ 标记包裹的区段 ──
|
|
118
|
+
# COVER=1 → 去掉两行 __COVER_*_BEGIN__ / __COVER_*_END__ 标记(保留中间的 import 和 <Cover/>)
|
|
119
|
+
# COVER=0 → 连标记带中间内容一起剥掉(封面不参与构建)
|
|
120
|
+
if [[ "$COVER" == "1" ]]; then
|
|
121
|
+
# 删除标记行本身,保留 Cover 引入与渲染
|
|
122
|
+
perl -i -ne 'print unless /__COVER_(IMPORT|RENDER)_(BEGIN|END)__/' "$TARGET/article/main.tsx"
|
|
123
|
+
else
|
|
124
|
+
# 把 BEGIN..END 之间(含两端标记行)整段删掉
|
|
125
|
+
perl -i -0pe 's{[^\n]*__COVER_IMPORT_BEGIN__.*?__COVER_IMPORT_END__[^\n]*\n}{}gs' "$TARGET/article/main.tsx"
|
|
126
|
+
perl -i -0pe 's{[^\n]*__COVER_RENDER_BEGIN__.*?__COVER_RENDER_END__[^\n]*\n}{}gs' "$TARGET/article/main.tsx"
|
|
127
|
+
fi
|
|
128
|
+
|
|
129
|
+
# 标记起步主题
|
|
130
|
+
echo "$THEME" > "$TARGET/.theme"
|
|
131
|
+
|
|
132
|
+
cd "$TARGET"
|
|
133
|
+
echo "▸ 安装依赖(含 reacticle 最新版,可能要等一会)..."
|
|
134
|
+
npm install >/dev/null 2>&1
|
|
135
|
+
# 确保拿到当下最新(即使将来模板带了 lockfile 也强制刷新到最新)
|
|
136
|
+
npm install reacticle@latest >/dev/null 2>&1
|
|
137
|
+
|
|
138
|
+
INSTALLED_REACTICLE="$(node -e "console.log(JSON.parse(require('fs').readFileSync('node_modules/reacticle/package.json','utf8')).version)" 2>/dev/null || echo '?')"
|
|
139
|
+
echo "▸ reacticle 版本:$INSTALLED_REACTICLE"
|
|
140
|
+
|
|
141
|
+
echo "▸ 跑一次 typecheck 确认接线 OK ..."
|
|
142
|
+
if npx tsc --noEmit; then
|
|
143
|
+
echo "✓ typecheck 通过"
|
|
144
|
+
else
|
|
145
|
+
echo "⚠ typecheck 有问题(见上),dev / build 仍可能正常 —— 请人工确认。" >&2
|
|
146
|
+
fi
|
|
147
|
+
|
|
148
|
+
cat <<EOF
|
|
149
|
+
|
|
150
|
+
✓ 完成。工作区:$TARGET(主题 $THEME,见 .theme;reacticle $INSTALLED_REACTICLE)
|
|
151
|
+
|
|
152
|
+
下一步:
|
|
153
|
+
1. cd $TARGET
|
|
154
|
+
2. npm run dev # 预览(Phase 4 先写首屏 + 第一个 Section)
|
|
155
|
+
3. 首屏(Hero/Lead)写进 article/Article.tsx(assembler);
|
|
156
|
+
第一个 Section 写进 article/sections/01-opening.tsx
|
|
157
|
+
—— 铁律:一个 Section 一个文件,坚决不要写进 Article.tsx(多 Agent 并行前提)。
|
|
158
|
+
4. $([[ "$COVER" == "1" ]] && echo "封面:替换 article/Cover.tsx 里的 <CoverPlaceholder />,按文章 + 主题做定制(读 references/cover.md)。" || echo "封面:已关闭。如需打开,重新跑 scaffold 时去掉 --no-cover,或手动复制 Cover.tsx 模板。")
|
|
159
|
+
5. 把决策落盘到 source/ plan/ review/(Skill 的长期记忆)
|
|
160
|
+
|
|
161
|
+
构建交付(Phase 8):
|
|
162
|
+
• npm run build # 类型检查 + 单页 HTML → dist/index.html(CSS+JS 内联)
|
|
163
|
+
• npm run html # 复用 build,再复制为交付物 article/article.html
|
|
164
|
+
|
|
165
|
+
切主题:改 article/main.tsx 的 <ThemeProvider theme="..."> 一个字(tufte / press)。
|
|
166
|
+
升级组件库:npm install reacticle@latest
|
|
167
|
+
|
|
168
|
+
写作必读(路径在 Skill 仓库内):
|
|
169
|
+
• $SKILL_DIR/references/component-policy.md
|
|
170
|
+
• $SKILL_DIR/references/raw-policy.md
|
|
171
|
+
• $SKILL_DIR/theme-profiles/$THEME.md
|
|
172
|
+
EOF
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""MarkItDown-backed Source -> Markdown helper for Beautiful Article.
|
|
3
|
+
|
|
4
|
+
This script intentionally depends on MarkItDown and fails clearly when it is not
|
|
5
|
+
available. Use source-to-markdown.py as the lightweight fallback.
|
|
6
|
+
|
|
7
|
+
Usage:
|
|
8
|
+
python3 source-to-markdown-markitdown.py <file-or-url> -o source/source.md
|
|
9
|
+
|
|
10
|
+
Optional dependency:
|
|
11
|
+
python3.10 -m pip install "markitdown[pdf,docx]"
|
|
12
|
+
"""
|
|
13
|
+
from __future__ import annotations
|
|
14
|
+
|
|
15
|
+
import argparse
|
|
16
|
+
import sys
|
|
17
|
+
from pathlib import Path
|
|
18
|
+
from urllib.parse import urlparse
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
INSTALL_HINT = 'python3.10 -m pip install "markitdown[pdf,docx]"'
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def load_markitdown():
|
|
25
|
+
if sys.version_info < (3, 10):
|
|
26
|
+
print(
|
|
27
|
+
"✗ MarkItDown requires Python 3.10+; current Python is "
|
|
28
|
+
f"{sys.version_info.major}.{sys.version_info.minor}.",
|
|
29
|
+
file=sys.stderr,
|
|
30
|
+
)
|
|
31
|
+
print(f" Install with: {INSTALL_HINT}", file=sys.stderr)
|
|
32
|
+
raise SystemExit(2)
|
|
33
|
+
|
|
34
|
+
try:
|
|
35
|
+
from markitdown import MarkItDown # type: ignore
|
|
36
|
+
except Exception as exc:
|
|
37
|
+
print("✗ MarkItDown is not installed in this Python environment.", file=sys.stderr)
|
|
38
|
+
print(f" Install with: {INSTALL_HINT}", file=sys.stderr)
|
|
39
|
+
print(" Or use scripts/source-to-markdown.py as the fallback.", file=sys.stderr)
|
|
40
|
+
print(f" Import error: {exc}", file=sys.stderr)
|
|
41
|
+
raise SystemExit(2)
|
|
42
|
+
|
|
43
|
+
return MarkItDown
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def result_text(result) -> str:
|
|
47
|
+
for attr in ("text_content", "markdown"):
|
|
48
|
+
value = getattr(result, attr, None)
|
|
49
|
+
if isinstance(value, str) and value.strip():
|
|
50
|
+
return value
|
|
51
|
+
if isinstance(result, str):
|
|
52
|
+
return result
|
|
53
|
+
raise RuntimeError("MarkItDown returned no text_content/markdown output.")
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def is_url(src: str) -> bool:
|
|
57
|
+
return urlparse(src).scheme in ("http", "https")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def main() -> None:
|
|
61
|
+
parser = argparse.ArgumentParser(description="Convert a source file or URL to Markdown via MarkItDown")
|
|
62
|
+
parser.add_argument("input", help="PDF / DOCX / PPTX / HTML / TXT / MD file or URL")
|
|
63
|
+
parser.add_argument("-o", "--output", help="write Markdown here (default: stdout)")
|
|
64
|
+
parser.add_argument(
|
|
65
|
+
"--use-plugins",
|
|
66
|
+
action="store_true",
|
|
67
|
+
help="enable installed MarkItDown plugins; disabled by default",
|
|
68
|
+
)
|
|
69
|
+
args = parser.parse_args()
|
|
70
|
+
|
|
71
|
+
src = args.input
|
|
72
|
+
if not is_url(src) and not Path(src).exists():
|
|
73
|
+
print(f"✗ 文件不存在:{src}", file=sys.stderr)
|
|
74
|
+
raise SystemExit(1)
|
|
75
|
+
|
|
76
|
+
MarkItDown = load_markitdown()
|
|
77
|
+
converter = MarkItDown(enable_plugins=args.use_plugins)
|
|
78
|
+
|
|
79
|
+
try:
|
|
80
|
+
markdown = result_text(converter.convert(src)).strip() + "\n"
|
|
81
|
+
except Exception as exc:
|
|
82
|
+
print(f"✗ MarkItDown 转换失败:{exc}", file=sys.stderr)
|
|
83
|
+
print(" 可改用 scripts/source-to-markdown.py 做轻量 fallback。", file=sys.stderr)
|
|
84
|
+
raise SystemExit(2)
|
|
85
|
+
|
|
86
|
+
if args.output:
|
|
87
|
+
out = Path(args.output)
|
|
88
|
+
out.parent.mkdir(parents=True, exist_ok=True)
|
|
89
|
+
out.write_text(markdown, "utf-8")
|
|
90
|
+
print(
|
|
91
|
+
f"✓ MarkItDown 写入 {out}({len(markdown)} 字符)。"
|
|
92
|
+
"请继续清理噪音并补 extraction-notes.md。",
|
|
93
|
+
file=sys.stderr,
|
|
94
|
+
)
|
|
95
|
+
else:
|
|
96
|
+
sys.stdout.write(markdown)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
if __name__ == "__main__":
|
|
100
|
+
main()
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Source → Markdown extraction helper for the Beautiful Article skill.
|
|
3
|
+
|
|
4
|
+
Mechanically extracts text from a PDF / DOCX / HTML file (or URL) into rough
|
|
5
|
+
Markdown. It does NOT clean editorial noise, mark image placeholders, or record
|
|
6
|
+
extraction risk — that judgement stays with the agent (see Phase 1 +
|
|
7
|
+
references/source-to-markdown.md). The agent should review and refine the output
|
|
8
|
+
into source/source.md and write source/extraction-notes.md.
|
|
9
|
+
|
|
10
|
+
Usage:
|
|
11
|
+
python3 source-to-markdown.py <input.pdf|.docx|.html|.htm|.txt|.md|URL> [-o out.md]
|
|
12
|
+
|
|
13
|
+
Dependencies are probed at runtime and optional. If a parser is missing the
|
|
14
|
+
script prints an install hint and degrades gracefully.
|
|
15
|
+
"""
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
|
|
18
|
+
import argparse
|
|
19
|
+
import sys
|
|
20
|
+
from pathlib import Path
|
|
21
|
+
from urllib.parse import urlparse
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def _hint(pkg: str) -> str:
|
|
25
|
+
return f" (缺少 {pkg},可安装:pip install {pkg})"
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def from_pdf(path: str) -> str:
|
|
29
|
+
try:
|
|
30
|
+
import pdfplumber # type: ignore
|
|
31
|
+
except Exception:
|
|
32
|
+
try:
|
|
33
|
+
from pdfminer.high_level import extract_text # type: ignore
|
|
34
|
+
|
|
35
|
+
return extract_text(path)
|
|
36
|
+
except Exception:
|
|
37
|
+
print(_hint("pdfplumber 或 pdfminer.six"), file=sys.stderr)
|
|
38
|
+
raise SystemExit(2)
|
|
39
|
+
out = []
|
|
40
|
+
with pdfplumber.open(path) as pdf:
|
|
41
|
+
for i, page in enumerate(pdf.pages, 1):
|
|
42
|
+
out.append(f"\n<!-- page {i} -->\n")
|
|
43
|
+
out.append(page.extract_text() or "")
|
|
44
|
+
for t in page.extract_tables() or []:
|
|
45
|
+
out.append("\n" + _table_to_md(t) + "\n")
|
|
46
|
+
return "\n".join(out)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def from_docx(path: str) -> str:
|
|
50
|
+
try:
|
|
51
|
+
import docx # type: ignore
|
|
52
|
+
except Exception:
|
|
53
|
+
print(_hint("python-docx"), file=sys.stderr)
|
|
54
|
+
raise SystemExit(2)
|
|
55
|
+
doc = docx.Document(path)
|
|
56
|
+
out = []
|
|
57
|
+
for p in doc.paragraphs:
|
|
58
|
+
text = p.text.strip()
|
|
59
|
+
if not text:
|
|
60
|
+
out.append("")
|
|
61
|
+
continue
|
|
62
|
+
style = (p.style.name or "").lower()
|
|
63
|
+
if style.startswith("heading"):
|
|
64
|
+
level = "".join(c for c in style if c.isdigit()) or "1"
|
|
65
|
+
out.append("#" * min(int(level), 6) + " " + text)
|
|
66
|
+
else:
|
|
67
|
+
out.append(text)
|
|
68
|
+
for table in doc.tables:
|
|
69
|
+
rows = [[c.text.strip() for c in r.cells] for r in table.rows]
|
|
70
|
+
if rows:
|
|
71
|
+
out.append("\n" + _table_to_md(rows) + "\n")
|
|
72
|
+
return "\n".join(out)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def from_html(html: str) -> str:
|
|
76
|
+
try:
|
|
77
|
+
from bs4 import BeautifulSoup # type: ignore
|
|
78
|
+
except Exception:
|
|
79
|
+
print(_hint("beautifulsoup4"), file=sys.stderr)
|
|
80
|
+
# crude fallback: strip tags
|
|
81
|
+
import re
|
|
82
|
+
|
|
83
|
+
return re.sub(r"<[^>]+>", "", html)
|
|
84
|
+
soup = BeautifulSoup(html, "html.parser")
|
|
85
|
+
for tag in soup(["script", "style", "nav", "footer", "aside", "header"]):
|
|
86
|
+
tag.decompose()
|
|
87
|
+
main = soup.find("article") or soup.find("main") or soup.body or soup
|
|
88
|
+
lines = []
|
|
89
|
+
for el in main.find_all(
|
|
90
|
+
["h1", "h2", "h3", "h4", "p", "li", "pre", "blockquote"]
|
|
91
|
+
):
|
|
92
|
+
text = el.get_text(" ", strip=True)
|
|
93
|
+
if not text:
|
|
94
|
+
continue
|
|
95
|
+
name = el.name
|
|
96
|
+
if name.startswith("h") and name[1:].isdigit():
|
|
97
|
+
lines.append("#" * int(name[1:]) + " " + text)
|
|
98
|
+
elif name == "li":
|
|
99
|
+
lines.append("- " + text)
|
|
100
|
+
elif name == "pre":
|
|
101
|
+
lines.append("```\n" + text + "\n```")
|
|
102
|
+
elif name == "blockquote":
|
|
103
|
+
lines.append("> " + text)
|
|
104
|
+
else:
|
|
105
|
+
lines.append(text)
|
|
106
|
+
return "\n\n".join(lines)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def from_url(url: str) -> str:
|
|
110
|
+
try:
|
|
111
|
+
import urllib.request
|
|
112
|
+
|
|
113
|
+
req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"})
|
|
114
|
+
with urllib.request.urlopen(req, timeout=30) as resp: # noqa: S310
|
|
115
|
+
html = resp.read().decode("utf-8", "replace")
|
|
116
|
+
except Exception as e: # pragma: no cover
|
|
117
|
+
print(f"✗ 抓取失败:{e}", file=sys.stderr)
|
|
118
|
+
print(" 也可以用 agent 的网页抓取能力获取正文后再清理。", file=sys.stderr)
|
|
119
|
+
raise SystemExit(2)
|
|
120
|
+
return from_html(html)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
def _table_to_md(rows) -> str:
|
|
124
|
+
rows = [[("" if c is None else str(c)).replace("\n", " ").strip() for c in r] for r in rows]
|
|
125
|
+
if not rows:
|
|
126
|
+
return ""
|
|
127
|
+
width = max(len(r) for r in rows)
|
|
128
|
+
rows = [r + [""] * (width - len(r)) for r in rows]
|
|
129
|
+
head = "| " + " | ".join(rows[0]) + " |"
|
|
130
|
+
sep = "| " + " | ".join(["---"] * width) + " |"
|
|
131
|
+
body = ["| " + " | ".join(r) + " |" for r in rows[1:]]
|
|
132
|
+
return "\n".join([head, sep, *body])
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def main() -> None:
|
|
136
|
+
ap = argparse.ArgumentParser(description="Source → Markdown extraction helper")
|
|
137
|
+
ap.add_argument("input", help="PDF / DOCX / HTML / TXT / MD file or URL")
|
|
138
|
+
ap.add_argument("-o", "--output", help="write Markdown here (default: stdout)")
|
|
139
|
+
args = ap.parse_args()
|
|
140
|
+
|
|
141
|
+
src = args.input
|
|
142
|
+
parsed = urlparse(src)
|
|
143
|
+
if parsed.scheme in ("http", "https"):
|
|
144
|
+
md = from_url(src)
|
|
145
|
+
else:
|
|
146
|
+
p = Path(src)
|
|
147
|
+
if not p.exists():
|
|
148
|
+
print(f"✗ 文件不存在:{src}", file=sys.stderr)
|
|
149
|
+
raise SystemExit(1)
|
|
150
|
+
ext = p.suffix.lower()
|
|
151
|
+
if ext == ".pdf":
|
|
152
|
+
md = from_pdf(str(p))
|
|
153
|
+
elif ext == ".docx":
|
|
154
|
+
md = from_docx(str(p))
|
|
155
|
+
elif ext in (".html", ".htm"):
|
|
156
|
+
md = from_html(p.read_text("utf-8", "replace"))
|
|
157
|
+
elif ext in (".md", ".markdown", ".txt"):
|
|
158
|
+
md = p.read_text("utf-8", "replace")
|
|
159
|
+
else:
|
|
160
|
+
print(f"✗ 不支持的输入类型:{ext}", file=sys.stderr)
|
|
161
|
+
raise SystemExit(1)
|
|
162
|
+
|
|
163
|
+
md = (md or "").strip() + "\n"
|
|
164
|
+
if args.output:
|
|
165
|
+
out = Path(args.output)
|
|
166
|
+
out.parent.mkdir(parents=True, exist_ok=True)
|
|
167
|
+
out.write_text(md, "utf-8")
|
|
168
|
+
print(f"✓ 写入 {out}({len(md)} 字符)。请人工清理噪音并补 extraction-notes.md。", file=sys.stderr)
|
|
169
|
+
else:
|
|
170
|
+
sys.stdout.write(md)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
if __name__ == "__main__":
|
|
174
|
+
main()
|