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,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: yss-excel-mvc
|
|
3
|
+
description: 用于 Spring MVC 下的 Excel 导入导出实现。当用户提到 RequestExcel、ResponseExcel、Excel 导入解析、Excel 下载、动态列导出或导入导出接口异常时调用。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# yss-excel-mvc
|
|
7
|
+
|
|
8
|
+
用于处理基于注解的 Excel 导入导出能力。
|
|
9
|
+
|
|
10
|
+
## 何时使用
|
|
11
|
+
|
|
12
|
+
- 用户要新增 Excel 导入接口。
|
|
13
|
+
- 用户要新增 Excel 导出接口。
|
|
14
|
+
- 用户提到 `@RequestExcel`、`@ResponseExcel`、`ExcelDynamicData`。
|
|
15
|
+
- 用户反馈下载文件名异常、导入失败、动态列导出错位。
|
|
16
|
+
|
|
17
|
+
## 工作方式
|
|
18
|
+
|
|
19
|
+
1. 先识别是导入、固定模型导出还是动态列导出。
|
|
20
|
+
2. 涉及真实注解、解析器、返回处理器、文件名或排障时,先读 `references/source-index.md`,再定位源码或文档。
|
|
21
|
+
3. 先看现有 Controller 和返回结构,再决定是否只加注解还是要改模型。
|
|
22
|
+
4. 优先复用项目现有的导入导出 VO,不要重新造重复模型。
|
|
23
|
+
|
|
24
|
+
## 源码索引
|
|
25
|
+
|
|
26
|
+
- 源码位置不要假设固定目录;先按 `yss-source-index/references/source-location.md` 定位。
|
|
27
|
+
- 当前技能索引:`references/source-index.md`
|
|
28
|
+
- 重点源码入口通常包括 `RequestExcel`、`ResponseExcel`、`ExcelDynamicData`、参数解析器、返回值处理器、starter 配置。
|
|
29
|
+
|
|
30
|
+
当组件源码变化后,用 `yss-source-index` 刷新索引;刷新或读取前先按源码定位策略确认真实位置。
|
|
31
|
+
|
|
32
|
+
## 常见实现路径
|
|
33
|
+
|
|
34
|
+
- 导入:`@RequestExcel List<T>`
|
|
35
|
+
- 固定模型导出:`@ResponseExcel` + `List<VO>`
|
|
36
|
+
- 动态列导出:返回 `ExcelDynamicData`
|
|
37
|
+
|
|
38
|
+
## 检查清单
|
|
39
|
+
|
|
40
|
+
- 启动类是否启用了 Excel MVC 能力。
|
|
41
|
+
- 上传字段名是否与前端一致。
|
|
42
|
+
- 导出接口是否正确设置文件名和 sheet 名。
|
|
43
|
+
- POST 下载场景是否能从响应头取到文件名。
|
|
44
|
+
- 动态列场景下 `columns`、`columnCn`、`rows` 是否一一对应。
|
|
45
|
+
- 导出 VO 字段注解和列顺序是否与前端模板一致。
|
|
46
|
+
- 大数据量导出是否需要流式、分页或异步任务,避免 Controller 一次性堆内存。
|
|
47
|
+
|
|
48
|
+
## 排障顺序
|
|
49
|
+
|
|
50
|
+
1. 确认 starter 和 MVC 配置是否生效。
|
|
51
|
+
2. 导入先查 multipart 字段名、文件格式、模型字段注解。
|
|
52
|
+
3. 固定列导出先查 `@ResponseExcel`、返回类型、VO 注解。
|
|
53
|
+
4. 动态列导出先查 `ExcelDynamicData` 的列、列中文名、行数据对齐。
|
|
54
|
+
5. 下载文件名问题先查响应头、编码和前端取 header 逻辑。
|
|
55
|
+
|
|
56
|
+
## 修改约束
|
|
57
|
+
|
|
58
|
+
- 不要把 Excel 导出和普通 JSON 返回写在同一方法里混用。
|
|
59
|
+
- 不要在不知道文件命名规则时硬编码中文名模板。
|
|
60
|
+
- 动态列导出优先用 `ExcelDynamicData`,不要在 Controller 里手写列映射。
|
|
61
|
+
|
|
62
|
+
## 按需读取
|
|
63
|
+
|
|
64
|
+
- 源码索引:`references/source-index.md`
|
|
65
|
+
- 注解与返回结构:`assets/RequestExcel.java`、`assets/ResponseExcel.java`、`assets/ExcelDynamicData.java`
|
|
66
|
+
- MVC 解析器:`assets/RequestFastExcelArgumentResolver.java`、`assets/ResponseFastExcelReturnValueHandler.java`
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
package com.yss.excel.mvc.model;
|
|
2
|
+
|
|
3
|
+
import java.util.ArrayList;
|
|
4
|
+
import java.util.List;
|
|
5
|
+
import java.util.Map;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 动态Excel导出数据模型
|
|
9
|
+
*
|
|
10
|
+
* @author daomingzhu
|
|
11
|
+
* @date 2024-01-23
|
|
12
|
+
*/
|
|
13
|
+
public class ExcelDynamicData {
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 列名列表(Map中的Key)
|
|
17
|
+
*/
|
|
18
|
+
private List<String> columns = new ArrayList<>();
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 列名中文列表(Excel表头)
|
|
22
|
+
*/
|
|
23
|
+
private List<String> columnCn = new ArrayList<>();
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* 行数据列表
|
|
27
|
+
*/
|
|
28
|
+
private List<Map<String, Object>> rows = new ArrayList<>();
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 导出文件名(可选,优先级高于注解)
|
|
32
|
+
*/
|
|
33
|
+
private String fileName;
|
|
34
|
+
|
|
35
|
+
public List<String> getColumns() {
|
|
36
|
+
return columns;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public void setColumns(List<String> columns) {
|
|
40
|
+
this.columns = columns;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public List<String> getColumnCn() {
|
|
44
|
+
return columnCn;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public void setColumnCn(List<String> columnCn) {
|
|
48
|
+
this.columnCn = columnCn;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public List<Map<String, Object>> getRows() {
|
|
52
|
+
return rows;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public void setRows(List<Map<String, Object>> rows) {
|
|
56
|
+
this.rows = rows;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public String getFileName() {
|
|
60
|
+
return fileName;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public void setFileName(String fileName) {
|
|
64
|
+
this.fileName = fileName;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
package com.yss.excel.mvc.annotation;
|
|
2
|
+
|
|
3
|
+
import java.lang.annotation.*;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 导入Excel注解
|
|
7
|
+
* 用于Controller方法参数,将上传的Excel文件解析为List对象
|
|
8
|
+
*
|
|
9
|
+
* @author daomingzhu
|
|
10
|
+
* @date 2024-01-13
|
|
11
|
+
*/
|
|
12
|
+
@Target(ElementType.PARAMETER)
|
|
13
|
+
@Retention(RetentionPolicy.RUNTIME)
|
|
14
|
+
@Documented
|
|
15
|
+
public @interface RequestExcel {
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 前端上传的文件名称,默认为 file
|
|
19
|
+
*/
|
|
20
|
+
String fileName() default "file";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 是否忽略空行
|
|
24
|
+
*/
|
|
25
|
+
boolean ignoreEmptyRow() default true;
|
|
26
|
+
boolean throwErrorData() default false;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 校验上传文件的原始文件名(正则表达式)
|
|
30
|
+
* 如果不匹配则抛出异常
|
|
31
|
+
*/
|
|
32
|
+
String matchFilePattern() default "";
|
|
33
|
+
}
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
package com.yss.excel.mvc.handler;
|
|
2
|
+
|
|
3
|
+
import com.yss.excel.mvc.annotation.RequestExcel;
|
|
4
|
+
import com.yss.excel.mvc.util.ExcelUtils;
|
|
5
|
+
import lombok.Setter;
|
|
6
|
+
import lombok.extern.slf4j.Slf4j;
|
|
7
|
+
import org.springframework.cglib.beans.BeanMap;
|
|
8
|
+
import org.springframework.core.MethodParameter;
|
|
9
|
+
import org.apache.fesod.sheet.annotation.ExcelProperty;
|
|
10
|
+
import com.yss.excel.mvc.exception.ExcelDataValidationException;
|
|
11
|
+
import org.springframework.util.MultiValueMap;
|
|
12
|
+
import org.springframework.validation.BindException;
|
|
13
|
+
import org.springframework.validation.annotation.Validated;
|
|
14
|
+
import org.springframework.util.StringUtils;
|
|
15
|
+
import org.springframework.web.bind.support.WebDataBinderFactory;
|
|
16
|
+
import org.springframework.web.context.request.NativeWebRequest;
|
|
17
|
+
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
|
|
18
|
+
import org.springframework.web.method.support.ModelAndViewContainer;
|
|
19
|
+
import org.springframework.web.multipart.MultipartFile;
|
|
20
|
+
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
21
|
+
|
|
22
|
+
import javax.servlet.http.HttpServletRequest;
|
|
23
|
+
import javax.validation.ConstraintViolation;
|
|
24
|
+
import javax.validation.Valid;
|
|
25
|
+
import javax.validation.Validator;
|
|
26
|
+
import java.io.IOException;
|
|
27
|
+
import java.io.InputStream;
|
|
28
|
+
import java.lang.reflect.ParameterizedType;
|
|
29
|
+
import java.lang.reflect.Type;
|
|
30
|
+
import java.util.*;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Excel导入参数解析器
|
|
34
|
+
*
|
|
35
|
+
* @author daomingzhu
|
|
36
|
+
* @date 2024-01-13
|
|
37
|
+
*/
|
|
38
|
+
@Slf4j
|
|
39
|
+
public class RequestFastExcelArgumentResolver implements HandlerMethodArgumentResolver {
|
|
40
|
+
|
|
41
|
+
@Setter
|
|
42
|
+
private Validator validator;
|
|
43
|
+
|
|
44
|
+
@Override
|
|
45
|
+
public boolean supportsParameter(MethodParameter parameter) {
|
|
46
|
+
return parameter.hasParameterAnnotation(RequestExcel.class);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@Override
|
|
50
|
+
public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer,
|
|
51
|
+
NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception {
|
|
52
|
+
RequestExcel requestExcel = parameter.getParameterAnnotation(RequestExcel.class);
|
|
53
|
+
HttpServletRequest request = webRequest.getNativeRequest(HttpServletRequest.class);
|
|
54
|
+
if (request == null) {
|
|
55
|
+
throw new IllegalArgumentException("HTTP request cannot be null");
|
|
56
|
+
}
|
|
57
|
+
List<InputStream> inputStreams = new ArrayList<>();
|
|
58
|
+
try {
|
|
59
|
+
if (!(request instanceof MultipartHttpServletRequest)) {
|
|
60
|
+
inputStreams.add(request.getInputStream());
|
|
61
|
+
} else {
|
|
62
|
+
MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
|
|
63
|
+
MultiValueMap<String, MultipartFile> multipartRequestFileMap = multipartRequest.getMultiFileMap();
|
|
64
|
+
if (multipartRequestFileMap.isEmpty()) {
|
|
65
|
+
log.warn("Uploaded file is empty for parameter: {}", parameter.getParameterName());
|
|
66
|
+
return Collections.emptyList();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// 获取所有文件
|
|
70
|
+
multipartRequestFileMap.forEach((key, multipartFile) -> {
|
|
71
|
+
for (MultipartFile file : multipartFile) {
|
|
72
|
+
if (!file.isEmpty()) {
|
|
73
|
+
// 验证文件类型
|
|
74
|
+
validateFileType(file);
|
|
75
|
+
|
|
76
|
+
// 校验文件名正则匹配
|
|
77
|
+
if (StringUtils.hasText(requestExcel.matchFilePattern())) {
|
|
78
|
+
String originalFilename = file.getOriginalFilename();
|
|
79
|
+
if (originalFilename != null && !originalFilename.matches(requestExcel.matchFilePattern())) {
|
|
80
|
+
throw new IllegalArgumentException(String.format("文件名 [%s] 不匹配校验规则 [%s]", originalFilename,
|
|
81
|
+
requestExcel.matchFilePattern()));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
try {
|
|
85
|
+
inputStreams.add(file.getInputStream());
|
|
86
|
+
} catch (IOException e) {
|
|
87
|
+
throw new RuntimeException(e);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
if (inputStreams.isEmpty()) {
|
|
94
|
+
log.warn("No valid files found for parameter: {}", parameter.getParameterName());
|
|
95
|
+
return Collections.emptyList();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
Class<?> targetClass = getTargetClass(parameter);
|
|
100
|
+
if (targetClass == null) {
|
|
101
|
+
log.warn("Could not determine target class for parameter: {}", parameter.getParameterName());
|
|
102
|
+
return Collections.emptyList();
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
List<Object> allList = new ArrayList<>();
|
|
106
|
+
try {
|
|
107
|
+
for (InputStream is : inputStreams) {
|
|
108
|
+
List<?> list = ExcelUtils.read(is, targetClass);
|
|
109
|
+
if (list != null) {
|
|
110
|
+
allList.addAll((List) list);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
} catch (Exception e) {
|
|
114
|
+
log.error("Failed to parse excel file for parameter: {}", parameter.getParameterName(), e);
|
|
115
|
+
throw new RuntimeException("Excel parsing failed: " + e.getMessage());
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// 数据校验
|
|
119
|
+
validateIfApplicable(parameter, requestExcel.throwErrorData(), allList);
|
|
120
|
+
|
|
121
|
+
return allList;
|
|
122
|
+
} finally {
|
|
123
|
+
for (InputStream is : inputStreams) {
|
|
124
|
+
if (is != null) {
|
|
125
|
+
try {
|
|
126
|
+
is.close();
|
|
127
|
+
} catch (IOException e) {
|
|
128
|
+
log.warn("Failed to close input stream", e);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
private void validateIfApplicable(MethodParameter parameter, Boolean throwErrorData, List<?> list)
|
|
136
|
+
throws BindException {
|
|
137
|
+
if (validator == null || list == null || list.isEmpty()) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
if (parameter.hasParameterAnnotation(Validated.class) || parameter.hasParameterAnnotation(Valid.class)) {
|
|
142
|
+
java.util.LinkedList<java.util.Map<String, Object>> errorDataList = new java.util.LinkedList<>();
|
|
143
|
+
boolean hasError = false;
|
|
144
|
+
java.util.Map<String, String> errorHeader = new java.util.LinkedHashMap<>();
|
|
145
|
+
Class<?> targetClass = getTargetClass(parameter);
|
|
146
|
+
|
|
147
|
+
// 提取表头信息
|
|
148
|
+
if (targetClass != null) {
|
|
149
|
+
java.lang.reflect.Field[] fields = targetClass.getDeclaredFields();
|
|
150
|
+
for (java.lang.reflect.Field field : fields) {
|
|
151
|
+
ExcelProperty excelProperty = field.getAnnotation(ExcelProperty.class);
|
|
152
|
+
if (excelProperty != null && excelProperty.value().length > 0) {
|
|
153
|
+
errorHeader.put(field.getName(), excelProperty.value()[0]);
|
|
154
|
+
} else {
|
|
155
|
+
errorHeader.put(field.getName(), field.getName());
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
errorHeader.put("errorMessage", "错误信息");
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
List<String> errorMessages = new ArrayList<>();
|
|
162
|
+
for (Object object : list) {
|
|
163
|
+
Set<ConstraintViolation<Object>> violations = validator.validate(object);
|
|
164
|
+
if (!violations.isEmpty()) {
|
|
165
|
+
hasError = true;
|
|
166
|
+
java.util.Map<String, Object> map = BeanMap.create(object);
|
|
167
|
+
StringBuilder errorMessage = new StringBuilder();
|
|
168
|
+
for (ConstraintViolation<Object> violation : violations) {
|
|
169
|
+
if (errorMessage.length() > 0) {
|
|
170
|
+
errorMessage.append("; ");
|
|
171
|
+
}
|
|
172
|
+
String fieldErrorName = violation.getPropertyPath().toString();
|
|
173
|
+
if (errorHeader.containsKey(fieldErrorName)) {
|
|
174
|
+
fieldErrorName = errorHeader.get(fieldErrorName);
|
|
175
|
+
}
|
|
176
|
+
errorMessage.append(fieldErrorName).append(violation.getMessage());
|
|
177
|
+
}
|
|
178
|
+
errorMessages.add(errorMessage.toString());
|
|
179
|
+
map.put("errorMessage", errorMessage.toString());
|
|
180
|
+
errorDataList.add(map);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
if (!Boolean.TRUE.equals(throwErrorData)) {
|
|
185
|
+
if (hasError) {
|
|
186
|
+
throw new IllegalArgumentException("Data validation errors: " + errorMessages);
|
|
187
|
+
}
|
|
188
|
+
} else {
|
|
189
|
+
if (hasError) {
|
|
190
|
+
throw new ExcelDataValidationException(errorHeader, errorDataList);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* 获取目标类型(List<T> 中的 T)
|
|
198
|
+
*/
|
|
199
|
+
private Class<?> getTargetClass(MethodParameter parameter) {
|
|
200
|
+
Type type = parameter.getGenericParameterType();
|
|
201
|
+
if (type instanceof ParameterizedType) {
|
|
202
|
+
ParameterizedType parameterizedType = (ParameterizedType) type;
|
|
203
|
+
Type[] actualTypeArguments = parameterizedType.getActualTypeArguments();
|
|
204
|
+
if (actualTypeArguments != null && actualTypeArguments.length > 0) {
|
|
205
|
+
return (Class<?>) actualTypeArguments[0];
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
return null;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* 验证上传的文件类型是否为Excel文件
|
|
213
|
+
*
|
|
214
|
+
* @param file 上传的文件
|
|
215
|
+
* @throws IllegalArgumentException 如果文件不是Excel格式
|
|
216
|
+
*/
|
|
217
|
+
private void validateFileType(MultipartFile file) {
|
|
218
|
+
String fileName = file.getOriginalFilename();
|
|
219
|
+
if (fileName == null) {
|
|
220
|
+
throw new IllegalArgumentException("File name cannot be null");
|
|
221
|
+
}
|
|
222
|
+
String contentType = file.getContentType();
|
|
223
|
+
String fileExtension = getFileExtension(fileName);
|
|
224
|
+
// 检查文件扩展名和内容类型
|
|
225
|
+
boolean isValidExcel = isValidExcelExtension(fileExtension) || isValidExcelContentType(contentType);
|
|
226
|
+
if (!isValidExcel) {
|
|
227
|
+
log.warn("Invalid file type detected. File name: {}, Content type: {}", fileName, contentType);
|
|
228
|
+
throw new IllegalArgumentException(
|
|
229
|
+
String.format("Invalid file type: %s. Only Excel files (.xls, .xlsx) are allowed.", fileName));
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* 获取文件扩展名
|
|
235
|
+
*
|
|
236
|
+
* @param fileName 文件名
|
|
237
|
+
* @return 扩展名(不包含点号)
|
|
238
|
+
*/
|
|
239
|
+
private String getFileExtension(String fileName) {
|
|
240
|
+
int lastDotIndex = fileName.lastIndexOf('.');
|
|
241
|
+
if (lastDotIndex > 0 && lastDotIndex < fileName.length() - 1) {
|
|
242
|
+
return fileName.substring(lastDotIndex + 1).toLowerCase();
|
|
243
|
+
}
|
|
244
|
+
return "";
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* 检查文件扩展名是否为有效的Excel格式
|
|
249
|
+
*
|
|
250
|
+
* @param extension 文件扩展名
|
|
251
|
+
* @return 是否为有效Excel扩展名
|
|
252
|
+
*/
|
|
253
|
+
private boolean isValidExcelExtension(String extension) {
|
|
254
|
+
return "xls".equals(extension) || "xlsx".equals(extension);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* 检查内容类型是否为有效的Excel格式
|
|
259
|
+
*
|
|
260
|
+
* @param contentType 内容类型
|
|
261
|
+
* @return 是否为有效Excel内容类型
|
|
262
|
+
*/
|
|
263
|
+
private boolean isValidExcelContentType(String contentType) {
|
|
264
|
+
if (contentType == null) {
|
|
265
|
+
return false;
|
|
266
|
+
}
|
|
267
|
+
return contentType.equals("application/vnd.ms-excel") ||
|
|
268
|
+
contentType.equals("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") ||
|
|
269
|
+
contentType.startsWith("application/vnd.ms-excel") ||
|
|
270
|
+
contentType.startsWith("application/vnd.openxmlformats-officedocument.spreadsheetml");
|
|
271
|
+
}
|
|
272
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
package com.yss.excel.mvc.annotation;
|
|
2
|
+
|
|
3
|
+
import java.lang.annotation.*;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 导出Excel注解
|
|
7
|
+
* 用于Controller方法,将返回值导出为Excel文件
|
|
8
|
+
*
|
|
9
|
+
* @author daomingzhu
|
|
10
|
+
* @date 2024-01-13
|
|
11
|
+
*/
|
|
12
|
+
@Target(ElementType.METHOD)
|
|
13
|
+
@Retention(RetentionPolicy.RUNTIME)
|
|
14
|
+
@Documented
|
|
15
|
+
public @interface ResponseExcel {
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 导出的文件名称
|
|
19
|
+
*/
|
|
20
|
+
String name() default "";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Sheet名称
|
|
24
|
+
*/
|
|
25
|
+
String sheet() default "Sheet1";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 文件后缀,支持 xlsx, xls, csv
|
|
29
|
+
*/
|
|
30
|
+
String suffix() default "xlsx";
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 密码(可选)
|
|
34
|
+
*/
|
|
35
|
+
String password() default "";
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 包含的字段(可选)
|
|
39
|
+
*/
|
|
40
|
+
String[] include() default {};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 排除的字段(可选)
|
|
44
|
+
*/
|
|
45
|
+
String[] exclude() default {};
|
|
46
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
package com.yss.excel.mvc.handler;
|
|
2
|
+
|
|
3
|
+
import com.yss.excel.mvc.annotation.ResponseExcel;
|
|
4
|
+
import com.yss.excel.mvc.model.ExcelDynamicData;
|
|
5
|
+
import com.yss.excel.mvc.util.ExcelUtils;
|
|
6
|
+
import lombok.extern.slf4j.Slf4j;
|
|
7
|
+
import org.springframework.core.MethodParameter;
|
|
8
|
+
import org.springframework.util.StringUtils;
|
|
9
|
+
import org.springframework.web.context.request.NativeWebRequest;
|
|
10
|
+
import org.springframework.web.method.support.HandlerMethodReturnValueHandler;
|
|
11
|
+
import org.springframework.web.method.support.ModelAndViewContainer;
|
|
12
|
+
|
|
13
|
+
import javax.servlet.http.HttpServletRequest;
|
|
14
|
+
import javax.servlet.http.HttpServletResponse;
|
|
15
|
+
import java.lang.reflect.ParameterizedType;
|
|
16
|
+
import java.lang.reflect.Type;
|
|
17
|
+
import java.net.URLEncoder;
|
|
18
|
+
import java.time.LocalDateTime;
|
|
19
|
+
import java.time.format.DateTimeFormatter;
|
|
20
|
+
import java.util.List;
|
|
21
|
+
import java.util.regex.Matcher;
|
|
22
|
+
import java.util.regex.Pattern;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Excel导出返回值处理器
|
|
26
|
+
*
|
|
27
|
+
* @author daomingzhu
|
|
28
|
+
* @date 2024-01-13
|
|
29
|
+
*/
|
|
30
|
+
@Slf4j
|
|
31
|
+
public class ResponseFastExcelReturnValueHandler implements HandlerMethodReturnValueHandler {
|
|
32
|
+
|
|
33
|
+
private static final Pattern PARAM_PATTERN = Pattern.compile("\\{([^}]+)\\}");
|
|
34
|
+
|
|
35
|
+
@Override
|
|
36
|
+
public boolean supportsReturnType(MethodParameter returnType) {
|
|
37
|
+
return returnType.hasMethodAnnotation(ResponseExcel.class);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@Override
|
|
41
|
+
public void handleReturnValue(Object returnValue, MethodParameter returnType,
|
|
42
|
+
ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception {
|
|
43
|
+
mavContainer.setRequestHandled(true);
|
|
44
|
+
HttpServletResponse response = webRequest.getNativeResponse(HttpServletResponse.class);
|
|
45
|
+
HttpServletRequest request = webRequest.getNativeRequest(HttpServletRequest.class);
|
|
46
|
+
ResponseExcel responseExcel = returnType.getMethodAnnotation(ResponseExcel.class);
|
|
47
|
+
|
|
48
|
+
if (response == null) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
String fileName = responseExcel.name();
|
|
53
|
+
if (!StringUtils.hasText(fileName)) {
|
|
54
|
+
fileName = "export_" + System.currentTimeMillis();
|
|
55
|
+
} else {
|
|
56
|
+
// 解析文件名中的占位符
|
|
57
|
+
fileName = resolveFileName(fileName, request);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// 如果返回值是ExcelDynamicData且指定了文件名,则覆盖(支持POST请求动态文件名)
|
|
61
|
+
if (returnValue instanceof ExcelDynamicData) {
|
|
62
|
+
ExcelDynamicData dynamicData = (ExcelDynamicData) returnValue;
|
|
63
|
+
if (StringUtils.hasText(dynamicData.getFileName())) {
|
|
64
|
+
fileName = dynamicData.getFileName();
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
String suffix = responseExcel.suffix();
|
|
69
|
+
String fullFileName = fileName + "." + suffix;
|
|
70
|
+
|
|
71
|
+
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
72
|
+
response.setCharacterEncoding("utf-8");
|
|
73
|
+
response.setHeader("Access-Control-Expose-Headers", "Content-Disposition");
|
|
74
|
+
String encodedFileName = URLEncoder.encode(fullFileName, "UTF-8").replaceAll("\\+", "%20");
|
|
75
|
+
response.setHeader("Content-Disposition",
|
|
76
|
+
"attachment;filename=" + encodedFileName + ";filename*=utf-8''" + encodedFileName);
|
|
77
|
+
|
|
78
|
+
if (returnValue == null) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (returnValue instanceof ExcelDynamicData) {
|
|
83
|
+
ExcelDynamicData dynamicData = (ExcelDynamicData) returnValue;
|
|
84
|
+
ExcelUtils.writeMap(response.getOutputStream(), dynamicData.getColumns(), dynamicData.getColumnCn(),
|
|
85
|
+
dynamicData.getRows(), responseExcel.sheet());
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (returnValue instanceof List) {
|
|
90
|
+
List<?> list = (List<?>) returnValue;
|
|
91
|
+
if (list.isEmpty()) {
|
|
92
|
+
// 如果为空列表,尝试获取泛型类型,写入空表头
|
|
93
|
+
Class<?> targetClass = getTargetClass(returnType);
|
|
94
|
+
if (targetClass != null) {
|
|
95
|
+
ExcelUtils.write(response.getOutputStream(), (Class) targetClass, (List) list,
|
|
96
|
+
responseExcel.sheet());
|
|
97
|
+
}
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
Class<?> clazz = list.get(0).getClass();
|
|
102
|
+
ExcelUtils.write(response.getOutputStream(), (Class) clazz, (List) list, responseExcel.sheet());
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 解析文件名中的占位符
|
|
108
|
+
* 支持格式:
|
|
109
|
+
* {paramName} - 请求参数
|
|
110
|
+
* {yyyyMMdd} - 当前日期格式化
|
|
111
|
+
*/
|
|
112
|
+
private String resolveFileName(String fileName, HttpServletRequest request) {
|
|
113
|
+
if (!StringUtils.hasText(fileName)) {
|
|
114
|
+
return fileName;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
Matcher matcher = PARAM_PATTERN.matcher(fileName);
|
|
118
|
+
StringBuffer sb = new StringBuffer();
|
|
119
|
+
while (matcher.find()) {
|
|
120
|
+
String key = matcher.group(1);
|
|
121
|
+
String replacement = "";
|
|
122
|
+
// 尝试作为日期格式解析
|
|
123
|
+
try {
|
|
124
|
+
replacement = LocalDateTime.now().format(DateTimeFormatter.ofPattern(key));
|
|
125
|
+
} catch (Exception e) {
|
|
126
|
+
// 不是日期格式,尝试从请求参数获取
|
|
127
|
+
if (request != null) {
|
|
128
|
+
String paramValue = request.getParameter(key);
|
|
129
|
+
if (paramValue != null) {
|
|
130
|
+
replacement = paramValue;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
matcher.appendReplacement(sb, Matcher.quoteReplacement(replacement));
|
|
135
|
+
}
|
|
136
|
+
matcher.appendTail(sb);
|
|
137
|
+
return sb.toString();
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* 获取目标类型(List<T> 中的 T)
|
|
142
|
+
*/
|
|
143
|
+
private Class<?> getTargetClass(MethodParameter parameter) {
|
|
144
|
+
Type type = parameter.getGenericParameterType();
|
|
145
|
+
if (type instanceof ParameterizedType) {
|
|
146
|
+
ParameterizedType parameterizedType = (ParameterizedType) type;
|
|
147
|
+
Type[] actualTypeArguments = parameterizedType.getActualTypeArguments();
|
|
148
|
+
if (actualTypeArguments != null && actualTypeArguments.length > 0) {
|
|
149
|
+
return (Class<?>) actualTypeArguments[0];
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# 相关引用
|
|
2
|
+
|
|
3
|
+
- 注解:[RequestExcel.java](../assets/RequestExcel.java) / [ResponseExcel.java](../assets/ResponseExcel.java)
|
|
4
|
+
- 处理器:[RequestFastExcelArgumentResolver.java](../assets/RequestFastExcelArgumentResolver.java) / [ResponseFastExcelReturnValueHandler.java](../assets/ResponseFastExcelReturnValueHandler.java)
|
|
5
|
+
- 动态模型:[ExcelDynamicData.java](../assets/ExcelDynamicData.java)
|