@nguyenphp/antigravity-marketing 1.0.16 → 1.0.19
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 +187 -74
- package/bin/index.js +4 -4
- package/package.json +4 -3
- package/templates/.agent/agents/backend-specialist.md +263 -0
- package/templates/.agent/agents/database-architect.md +226 -0
- package/templates/.agent/agents/debugger.md +225 -0
- package/templates/.agent/agents/devops-engineer.md +242 -0
- package/templates/.agent/agents/documentation-writer.md +104 -0
- package/templates/.agent/agents/explorer-agent.md +73 -0
- package/templates/.agent/agents/frontend-specialist.md +527 -0
- package/templates/.agent/agents/game-developer.md +162 -0
- package/templates/.agent/agents/mobile-developer.md +377 -0
- package/templates/.agent/agents/orchestrator.md +400 -0
- package/templates/.agent/agents/penetration-tester.md +188 -0
- package/templates/.agent/agents/performance-optimizer.md +187 -0
- package/templates/.agent/agents/project-planner.md +403 -0
- package/templates/.agent/agents/security-auditor.md +170 -0
- package/templates/.agent/agents/seo-specialist.md +111 -0
- package/templates/.agent/agents/test-engineer.md +158 -0
- package/templates/.agent/rules/GEMINI.md +248 -0
- package/templates/.agent/skills/analytics-marketing/SKILL.md +172 -324
- package/templates/.agent/skills/api-patterns/SKILL.md +81 -0
- package/templates/.agent/skills/api-patterns/api-style.md +42 -0
- package/templates/.agent/skills/api-patterns/auth.md +24 -0
- package/templates/.agent/skills/api-patterns/documentation.md +26 -0
- package/templates/.agent/skills/api-patterns/graphql.md +41 -0
- package/templates/.agent/skills/api-patterns/rate-limiting.md +31 -0
- package/templates/.agent/skills/api-patterns/response.md +37 -0
- package/templates/.agent/skills/api-patterns/rest.md +40 -0
- package/templates/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
- package/templates/.agent/skills/api-patterns/security-testing.md +122 -0
- package/templates/.agent/skills/api-patterns/trpc.md +41 -0
- package/templates/.agent/skills/api-patterns/versioning.md +22 -0
- package/templates/.agent/skills/app-builder/SKILL.md +75 -0
- package/templates/.agent/skills/app-builder/agent-coordination.md +71 -0
- package/templates/.agent/skills/app-builder/feature-building.md +53 -0
- package/templates/.agent/skills/app-builder/project-detection.md +34 -0
- package/templates/.agent/skills/app-builder/scaffolding.md +118 -0
- package/templates/.agent/skills/app-builder/tech-stack.md +40 -0
- package/templates/.agent/skills/app-builder/templates/SKILL.md +39 -0
- package/templates/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/templates/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/templates/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/templates/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/templates/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/templates/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/templates/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/templates/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +82 -0
- package/templates/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +100 -0
- package/templates/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +106 -0
- package/templates/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +101 -0
- package/templates/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/templates/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +93 -0
- package/templates/.agent/skills/architecture/SKILL.md +55 -0
- package/templates/.agent/skills/architecture/context-discovery.md +43 -0
- package/templates/.agent/skills/architecture/examples.md +94 -0
- package/templates/.agent/skills/architecture/pattern-selection.md +68 -0
- package/templates/.agent/skills/architecture/patterns-reference.md +50 -0
- package/templates/.agent/skills/architecture/trade-off-analysis.md +77 -0
- package/templates/.agent/skills/banner-design/SKILL.md +192 -0
- package/templates/.agent/skills/banner-design/references/banner-sizes-and-styles.md +118 -0
- package/templates/.agent/skills/bash-linux/SKILL.md +199 -0
- package/templates/.agent/skills/behavioral-modes/SKILL.md +242 -0
- package/templates/.agent/skills/brainstorming/SKILL.md +163 -0
- package/templates/.agent/skills/brainstorming/dynamic-questioning.md +350 -0
- package/templates/.agent/skills/brand/SKILL.md +97 -0
- package/templates/.agent/skills/brand/references/approval-checklist.md +169 -0
- package/templates/.agent/skills/brand/references/asset-organization.md +157 -0
- package/templates/.agent/skills/brand/references/brand-guideline-template.md +140 -0
- package/templates/.agent/skills/brand/references/color-palette-management.md +186 -0
- package/templates/.agent/skills/brand/references/consistency-checklist.md +94 -0
- package/templates/.agent/skills/brand/references/logo-usage-rules.md +185 -0
- package/templates/.agent/skills/brand/references/messaging-framework.md +85 -0
- package/templates/.agent/skills/brand/references/typography-specifications.md +214 -0
- package/templates/.agent/skills/brand/references/update.md +118 -0
- package/templates/.agent/skills/brand/references/visual-identity.md +96 -0
- package/templates/.agent/skills/brand/references/voice-framework.md +88 -0
- package/templates/.agent/skills/brand/scripts/extract-colors.cjs +341 -0
- package/templates/.agent/skills/brand/scripts/inject-brand-context.cjs +349 -0
- package/templates/.agent/skills/brand/scripts/sync-brand-to-tokens.cjs +266 -0
- package/templates/.agent/skills/brand/scripts/validate-asset.cjs +387 -0
- package/templates/.agent/skills/brand/templates/brand-guidelines-starter.md +275 -0
- package/templates/.agent/skills/clean-code/SKILL.md +201 -0
- package/templates/.agent/skills/code-review-checklist/SKILL.md +109 -0
- package/templates/.agent/skills/copywriting/SKILL.md +250 -0
- package/templates/.agent/skills/database-design/SKILL.md +52 -0
- package/templates/.agent/skills/database-design/database-selection.md +43 -0
- package/templates/.agent/skills/database-design/indexing.md +39 -0
- package/templates/.agent/skills/database-design/migrations.md +48 -0
- package/templates/.agent/skills/database-design/optimization.md +36 -0
- package/templates/.agent/skills/database-design/orm-selection.md +30 -0
- package/templates/.agent/skills/database-design/schema-design.md +56 -0
- package/templates/.agent/skills/database-design/scripts/schema_validator.py +172 -0
- package/templates/.agent/skills/deployment-procedures/SKILL.md +241 -0
- package/templates/.agent/skills/docker-expert/SKILL.md +409 -0
- package/templates/.agent/skills/frontend-design/animation-guide.md +331 -0
- package/templates/.agent/skills/frontend-design/color-system.md +311 -0
- package/templates/.agent/skills/frontend-design/decision-trees.md +418 -0
- package/templates/.agent/skills/frontend-design/motion-graphics.md +306 -0
- package/templates/.agent/skills/frontend-design/scripts/accessibility_checker.py +183 -0
- package/templates/.agent/skills/frontend-design/scripts/ux_audit.py +722 -0
- package/templates/.agent/skills/frontend-design/typography-system.md +345 -0
- package/templates/.agent/skills/frontend-design/ux-psychology.md +541 -0
- package/templates/.agent/skills/frontend-design/visual-effects.md +383 -0
- package/templates/.agent/skills/frontend-slides/SKILL.md +92 -0
- package/templates/.agent/skills/frontend-slides/STYLE_PRESETS.md +347 -0
- package/templates/.agent/skills/frontend-slides/animation-patterns.md +110 -0
- package/templates/.agent/skills/frontend-slides/examples/n8n-jupviec-automation.html +789 -0
- package/templates/.agent/skills/frontend-slides/examples/n8n-jupviec-automation.pptx +0 -0
- package/templates/.agent/skills/frontend-slides/html-template.md +347 -0
- package/templates/.agent/skills/frontend-slides/scripts/export-pptx.py +58 -0
- package/templates/.agent/skills/frontend-slides/scripts/extract-pptx.py +96 -0
- package/templates/.agent/skills/frontend-slides/viewport-base.css +153 -0
- package/templates/.agent/skills/game-development/2d-games/SKILL.md +119 -0
- package/templates/.agent/skills/game-development/3d-games/SKILL.md +135 -0
- package/templates/.agent/skills/game-development/SKILL.md +167 -0
- package/templates/.agent/skills/game-development/game-art/SKILL.md +185 -0
- package/templates/.agent/skills/game-development/game-audio/SKILL.md +190 -0
- package/templates/.agent/skills/game-development/game-design/SKILL.md +129 -0
- package/templates/.agent/skills/game-development/mobile-games/SKILL.md +108 -0
- package/templates/.agent/skills/game-development/multiplayer/SKILL.md +132 -0
- package/templates/.agent/skills/game-development/pc-games/SKILL.md +144 -0
- package/templates/.agent/skills/game-development/vr-ar/SKILL.md +123 -0
- package/templates/.agent/skills/game-development/web-games/SKILL.md +150 -0
- package/templates/.agent/skills/geo-fundamentals/SKILL.md +156 -0
- package/templates/.agent/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
- package/templates/.agent/skills/growth-engine/SKILL.md +244 -0
- package/templates/.agent/skills/i18n-localization/SKILL.md +154 -0
- package/templates/.agent/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/templates/.agent/skills/lint-and-validate/SKILL.md +45 -0
- package/templates/.agent/skills/lint-and-validate/scripts/lint_runner.py +172 -0
- package/templates/.agent/skills/lint-and-validate/scripts/type_coverage.py +173 -0
- package/templates/.agent/skills/marketing-report-expert/SKILL.md +70 -0
- package/templates/.agent/skills/mcp-builder/SKILL.md +176 -0
- package/templates/.agent/skills/minimax-docx/LICENSE +21 -0
- package/templates/.agent/skills/minimax-docx/SKILL.md +274 -0
- package/templates/.agent/skills/minimax-docx/assets/styles/academic_styles.xml +250 -0
- package/templates/.agent/skills/minimax-docx/assets/styles/corporate_styles.xml +284 -0
- package/templates/.agent/skills/minimax-docx/assets/styles/default_styles.xml +449 -0
- package/templates/.agent/skills/minimax-docx/assets/xsd/aesthetic-rules.xsd +470 -0
- package/templates/.agent/skills/minimax-docx/assets/xsd/business-rules.xsd +130 -0
- package/templates/.agent/skills/minimax-docx/assets/xsd/common-types.xsd +159 -0
- package/templates/.agent/skills/minimax-docx/assets/xsd/wml-subset.xsd +589 -0
- package/templates/.agent/skills/minimax-docx/references/cjk_typography.md +357 -0
- package/templates/.agent/skills/minimax-docx/references/cjk_university_template_guide.md +184 -0
- package/templates/.agent/skills/minimax-docx/references/comments_guide.md +191 -0
- package/templates/.agent/skills/minimax-docx/references/design_good_bad_examples.md +829 -0
- package/templates/.agent/skills/minimax-docx/references/design_principles.md +819 -0
- package/templates/.agent/skills/minimax-docx/references/openxml_element_order.md +308 -0
- package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part1.md +4061 -0
- package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part2.md +2820 -0
- package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part3.md +3381 -0
- package/templates/.agent/skills/minimax-docx/references/openxml_namespaces.md +82 -0
- package/templates/.agent/skills/minimax-docx/references/openxml_units.md +72 -0
- package/templates/.agent/skills/minimax-docx/references/scenario_a_create.md +284 -0
- package/templates/.agent/skills/minimax-docx/references/scenario_b_edit_content.md +295 -0
- package/templates/.agent/skills/minimax-docx/references/scenario_c_apply_template.md +456 -0
- package/templates/.agent/skills/minimax-docx/references/track_changes_guide.md +200 -0
- package/templates/.agent/skills/minimax-docx/references/troubleshooting.md +506 -0
- package/templates/.agent/skills/minimax-docx/references/typography_guide.md +294 -0
- package/templates/.agent/skills/minimax-docx/references/xsd_validation_guide.md +158 -0
- package/templates/.agent/skills/minimax-docx/scripts/doc_to_docx.sh +40 -0
- package/templates/.agent/skills/minimax-docx/scripts/docx_preview.sh +37 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/MiniMaxAIDocx.Cli.csproj +19 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/Program.cs +18 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/AnalyzeCommand.cs +147 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ApplyTemplateCommand.cs +322 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/CreateCommand.cs +324 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/DiffCommand.cs +155 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/EditContentCommand.cs +487 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/FixOrderCommand.cs +108 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/MergeRunsCommand.cs +122 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ValidateCommand.cs +107 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/MiniMaxAIDocx.Core.csproj +15 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/CommentSynchronizer.cs +169 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/ElementOrder.cs +80 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/NamespaceConstants.cs +42 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/RunMerger.cs +81 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/StyleAnalyzer.cs +81 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/TrackChangesHelper.cs +99 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/UnitConverter.cs +23 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples.cs +1832 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch1.cs +910 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch2.cs +999 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch3.cs +1048 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch4.cs +1038 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/CharacterFormattingSamples.cs +1020 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/DocumentCreationSamples.cs +1121 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FieldAndTocSamples.cs +624 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FootnoteAndCommentSamples.cs +675 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/HeaderFooterSamples.cs +838 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ImageSamples.cs +917 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ListAndNumberingSamples.cs +826 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ParagraphFormattingSamples.cs +1199 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/StyleSystemSamples.cs +1487 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TableSamples.cs +1163 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TrackChangesSamples.cs +595 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/CjkHelper.cs +39 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/FontDefaults.cs +24 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/PageSizes.cs +20 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/BusinessRuleValidator.cs +224 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/GateCheckValidator.cs +148 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/ValidationResult.cs +23 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/XsdValidator.cs +69 -0
- package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.slnx +4 -0
- package/templates/.agent/skills/minimax-docx/scripts/env_check.sh +196 -0
- package/templates/.agent/skills/minimax-docx/scripts/setup.ps1 +274 -0
- package/templates/.agent/skills/minimax-docx/scripts/setup.sh +504 -0
- package/templates/.agent/skills/minimax-multimodal-toolkit/SKILL.md +359 -0
- package/templates/.agent/skills/minimax-pdf/README.md +222 -0
- package/templates/.agent/skills/minimax-pdf/SKILL.md +201 -0
- package/templates/.agent/skills/minimax-pdf/design/design.md +381 -0
- package/templates/.agent/skills/minimax-pdf/scripts/cover.py +1579 -0
- package/templates/.agent/skills/minimax-pdf/scripts/fill_inspect.py +200 -0
- package/templates/.agent/skills/minimax-pdf/scripts/fill_write.py +242 -0
- package/templates/.agent/skills/minimax-pdf/scripts/make.sh +491 -0
- package/templates/.agent/skills/minimax-pdf/scripts/merge.py +112 -0
- package/templates/.agent/skills/minimax-pdf/scripts/palette.py +559 -0
- package/templates/.agent/skills/minimax-pdf/scripts/reformat_parse.py +374 -0
- package/templates/.agent/skills/minimax-pdf/scripts/render_body.py +1055 -0
- package/templates/.agent/skills/minimax-pdf/scripts/render_cover.cjs +111 -0
- package/templates/.agent/skills/minimax-xlsx/SKILL.md +138 -0
- package/templates/.agent/skills/minimax-xlsx/references/create.md +691 -0
- package/templates/.agent/skills/minimax-xlsx/references/edit.md +684 -0
- package/templates/.agent/skills/minimax-xlsx/references/fix.md +37 -0
- package/templates/.agent/skills/minimax-xlsx/references/format.md +768 -0
- package/templates/.agent/skills/minimax-xlsx/references/ooxml-cheatsheet.md +231 -0
- package/templates/.agent/skills/minimax-xlsx/references/read-analyze.md +97 -0
- package/templates/.agent/skills/minimax-xlsx/references/validate.md +772 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/formula_check.py +422 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/libreoffice_recalc.py +248 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/shared_strings_builder.py +163 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/style_audit.py +575 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_add_column.py +395 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_insert_row.py +274 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_pack.py +87 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_reader.py +362 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_shift_rows.py +396 -0
- package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_unpack.py +130 -0
- package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/[Content_Types].xml +9 -0
- package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/_rels/.rels +6 -0
- package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +19 -0
- package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +33 -0
- package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/styles.xml +160 -0
- package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/workbook.xml +30 -0
- package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +70 -0
- package/templates/.agent/skills/mobile-design/SKILL.md +394 -0
- package/templates/.agent/skills/mobile-design/decision-trees.md +516 -0
- package/templates/.agent/skills/mobile-design/mobile-backend.md +491 -0
- package/templates/.agent/skills/mobile-design/mobile-color-system.md +420 -0
- package/templates/.agent/skills/mobile-design/mobile-debugging.md +122 -0
- package/templates/.agent/skills/mobile-design/mobile-design-thinking.md +357 -0
- package/templates/.agent/skills/mobile-design/mobile-navigation.md +458 -0
- package/templates/.agent/skills/mobile-design/mobile-performance.md +767 -0
- package/templates/.agent/skills/mobile-design/mobile-testing.md +356 -0
- package/templates/.agent/skills/mobile-design/mobile-typography.md +433 -0
- package/templates/.agent/skills/mobile-design/platform-android.md +666 -0
- package/templates/.agent/skills/mobile-design/platform-ios.md +561 -0
- package/templates/.agent/skills/mobile-design/scripts/mobile_audit.py +670 -0
- package/templates/.agent/skills/mobile-design/touch-psychology.md +537 -0
- package/templates/.agent/skills/nestjs-expert/SKILL.md +552 -0
- package/templates/.agent/skills/nextjs-best-practices/SKILL.md +203 -0
- package/templates/.agent/skills/nodejs-best-practices/SKILL.md +333 -0
- package/templates/.agent/skills/parallel-agents/SKILL.md +175 -0
- package/templates/.agent/skills/performance-profiling/SKILL.md +143 -0
- package/templates/.agent/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
- package/templates/.agent/skills/plan-writing/SKILL.md +152 -0
- package/templates/.agent/skills/powershell-windows/SKILL.md +167 -0
- package/templates/.agent/skills/ppc-advertising/SKILL.md +183 -475
- package/templates/.agent/skills/pptx-generator/SKILL.md +249 -0
- package/templates/.agent/skills/pptx-generator/references/design-system.md +392 -0
- package/templates/.agent/skills/pptx-generator/references/editing.md +162 -0
- package/templates/.agent/skills/pptx-generator/references/pitfalls.md +112 -0
- package/templates/.agent/skills/pptx-generator/references/pptxgenjs.md +420 -0
- package/templates/.agent/skills/pptx-generator/references/slide-types.md +413 -0
- package/templates/.agent/skills/prisma-expert/SKILL.md +355 -0
- package/templates/.agent/skills/python-patterns/SKILL.md +441 -0
- package/templates/.agent/skills/react-patterns/SKILL.md +198 -0
- package/templates/.agent/skills/red-team-tactics/SKILL.md +199 -0
- package/templates/.agent/skills/remotion-best-practices/SKILL.md +45 -111
- package/templates/.agent/skills/remotion-best-practices/rules/3d.md +4 -4
- package/templates/.agent/skills/remotion-best-practices/rules/animations.md +5 -7
- package/templates/.agent/skills/remotion-best-practices/rules/assets/charts-bar-chart.tsx +173 -0
- package/templates/.agent/skills/remotion-best-practices/rules/assets/text-animations-typewriter.tsx +100 -0
- package/templates/.agent/skills/remotion-best-practices/rules/assets/text-animations-word-highlight.tsx +103 -0
- package/templates/.agent/skills/remotion-best-practices/rules/assets.md +78 -0
- package/templates/.agent/skills/remotion-best-practices/rules/audio-visualization.md +198 -0
- package/templates/.agent/skills/remotion-best-practices/rules/audio.md +1 -4
- package/templates/.agent/skills/remotion-best-practices/rules/calculate-metadata.md +47 -17
- package/templates/.agent/skills/remotion-best-practices/rules/can-decode.md +75 -0
- package/templates/.agent/skills/remotion-best-practices/rules/charts.md +80 -48
- package/templates/.agent/skills/remotion-best-practices/rules/compositions.md +22 -14
- package/templates/.agent/skills/remotion-best-practices/rules/display-captions.md +79 -21
- package/templates/.agent/skills/remotion-best-practices/rules/extract-frames.md +229 -0
- package/templates/.agent/skills/remotion-best-practices/rules/ffmpeg.md +38 -0
- package/templates/.agent/skills/remotion-best-practices/rules/fonts.md +96 -54
- package/templates/.agent/skills/remotion-best-practices/rules/get-audio-duration.md +58 -0
- package/templates/.agent/skills/remotion-best-practices/rules/get-video-dimensions.md +68 -0
- package/templates/.agent/skills/remotion-best-practices/rules/get-video-duration.md +60 -0
- package/templates/.agent/skills/remotion-best-practices/rules/gifs.md +21 -18
- package/templates/.agent/skills/remotion-best-practices/rules/images.md +6 -2
- package/templates/.agent/skills/remotion-best-practices/rules/import-srt-captions.md +69 -0
- package/templates/.agent/skills/remotion-best-practices/rules/light-leaks.md +73 -0
- package/templates/.agent/skills/remotion-best-practices/rules/lottie.md +10 -7
- package/templates/.agent/skills/remotion-best-practices/rules/maps.md +412 -0
- package/templates/.agent/skills/remotion-best-practices/rules/measuring-dom-nodes.md +34 -0
- package/templates/.agent/skills/remotion-best-practices/rules/measuring-text.md +140 -0
- package/templates/.agent/skills/remotion-best-practices/rules/parameters.md +109 -0
- package/templates/.agent/skills/remotion-best-practices/rules/sequencing.md +13 -1
- package/templates/.agent/skills/remotion-best-practices/rules/sfx.md +26 -0
- package/templates/.agent/skills/remotion-best-practices/rules/subtitles.md +36 -0
- package/templates/.agent/skills/remotion-best-practices/rules/tailwind.md +11 -0
- package/templates/.agent/skills/remotion-best-practices/rules/text-animations.md +4 -115
- package/templates/.agent/skills/remotion-best-practices/rules/timing.md +19 -19
- package/templates/.agent/skills/remotion-best-practices/rules/transcribe-captions.md +70 -0
- package/templates/.agent/skills/remotion-best-practices/rules/transitions.md +117 -42
- package/templates/.agent/skills/remotion-best-practices/rules/transparent-videos.md +106 -0
- package/templates/.agent/skills/remotion-best-practices/rules/trimming.md +51 -0
- package/templates/.agent/skills/remotion-best-practices/rules/voiceover.md +99 -0
- package/templates/.agent/skills/seo-fundamentals/SKILL.md +83 -441
- package/templates/.agent/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
- package/templates/.agent/skills/server-management/SKILL.md +161 -0
- package/templates/.agent/skills/systematic-debugging/SKILL.md +109 -0
- package/templates/.agent/skills/tdd-workflow/SKILL.md +149 -0
- package/templates/.agent/skills/testing-patterns/SKILL.md +178 -0
- package/templates/.agent/skills/testing-patterns/scripts/test_runner.py +219 -0
- package/templates/.agent/skills/tutorial-video-expert/SKILL.md +88 -0
- package/templates/.agent/skills/typescript-expert/SKILL.md +429 -0
- package/templates/.agent/skills/ui-ux-pro-max/SKILL.md +1 -1
- package/templates/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/templates/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/templates/.agent/skills/ui-ux-pro-max/scripts/core.py +257 -0
- package/templates/.agent/skills/ui-ux-pro-max/scripts/design_system.py +487 -0
- package/templates/.agent/skills/ui-ux-pro-max/scripts/search.py +76 -0
- package/templates/.agent/skills/vision-analysis/SKILL.md +174 -0
- package/templates/.agent/skills/vue-expert/SKILL.md +374 -0
- package/templates/.agent/skills/vulnerability-scanner/SKILL.md +276 -0
- package/templates/.agent/skills/vulnerability-scanner/checklists.md +121 -0
- package/templates/.agent/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/templates/.agent/skills/webapp-testing/SKILL.md +187 -0
- package/templates/.agent/skills/webapp-testing/scripts/playwright_runner.py +173 -0
- package/templates/.agent/workflows/analyze.md +3 -0
- package/templates/.agent/workflows/brainstorm.md +113 -0
- package/templates/.agent/workflows/brand-report.md +44 -0
- package/templates/.agent/workflows/create.md +59 -0
- package/templates/.agent/workflows/debug.md +103 -0
- package/templates/.agent/workflows/deploy.md +176 -0
- package/templates/.agent/workflows/enhance.md +63 -0
- package/templates/.agent/workflows/orchestrate.md +237 -0
- package/templates/.agent/workflows/plan.md +89 -0
- package/templates/.agent/workflows/preview.md +80 -0
- package/templates/.agent/workflows/report.md +49 -0
- package/templates/.agent/workflows/status.md +86 -0
- package/templates/.agent/workflows/test.md +144 -0
- package/templates/.agent/workflows/ui-ux-pro-max.md +231 -0
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
# Visual Effects Reference
|
|
2
|
+
|
|
3
|
+
> Modern CSS effect principles and techniques - learn the concepts, create variations.
|
|
4
|
+
> **No fixed values to copy - understand the patterns.**
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. Glassmorphism Principles
|
|
9
|
+
|
|
10
|
+
### What Makes Glassmorphism Work
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
Key Properties:
|
|
14
|
+
├── Semi-transparent background (not solid)
|
|
15
|
+
├── Backdrop blur (frosted glass effect)
|
|
16
|
+
├── Subtle border (for definition)
|
|
17
|
+
└── Often: light shadow for depth
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### The Pattern (Customize Values)
|
|
21
|
+
|
|
22
|
+
```css
|
|
23
|
+
.glass {
|
|
24
|
+
/* Transparency: adjust opacity based on content readability */
|
|
25
|
+
background: rgba(R, G, B, OPACITY);
|
|
26
|
+
/* OPACITY: 0.1-0.3 for dark bg, 0.5-0.8 for light bg */
|
|
27
|
+
|
|
28
|
+
/* Blur: higher = more frosted */
|
|
29
|
+
backdrop-filter: blur(AMOUNT);
|
|
30
|
+
/* AMOUNT: 8-12px subtle, 16-24px strong */
|
|
31
|
+
|
|
32
|
+
/* Border: defines edges */
|
|
33
|
+
border: 1px solid rgba(255, 255, 255, OPACITY);
|
|
34
|
+
/* OPACITY: 0.1-0.3 typically */
|
|
35
|
+
|
|
36
|
+
/* Radius: match your design system */
|
|
37
|
+
border-radius: YOUR_RADIUS;
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### When to Use Glassmorphism
|
|
42
|
+
- ✅ Over colorful/image backgrounds
|
|
43
|
+
- ✅ Modals, overlays, cards
|
|
44
|
+
- ✅ Navigation bars with scrolling content behind
|
|
45
|
+
- ❌ Text-heavy content (readability issues)
|
|
46
|
+
- ❌ Simple solid backgrounds (pointless)
|
|
47
|
+
|
|
48
|
+
### When NOT to Use
|
|
49
|
+
- Low contrast situations
|
|
50
|
+
- Accessibility-critical content
|
|
51
|
+
- Performance-constrained devices
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 2. Neomorphism Principles
|
|
56
|
+
|
|
57
|
+
### What Makes Neomorphism Work
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
Key Concept: Soft, extruded elements using DUAL shadows
|
|
61
|
+
├── Light shadow (from light source direction)
|
|
62
|
+
├── Dark shadow (opposite direction)
|
|
63
|
+
└── Background matches surrounding (same color)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### The Pattern
|
|
67
|
+
|
|
68
|
+
```css
|
|
69
|
+
.neo-raised {
|
|
70
|
+
/* Background MUST match parent */
|
|
71
|
+
background: SAME_AS_PARENT;
|
|
72
|
+
|
|
73
|
+
/* Two shadows: light direction + dark direction */
|
|
74
|
+
box-shadow:
|
|
75
|
+
OFFSET OFFSET BLUR rgba(light-color),
|
|
76
|
+
-OFFSET -OFFSET BLUR rgba(dark-color);
|
|
77
|
+
|
|
78
|
+
/* OFFSET: typically 6-12px */
|
|
79
|
+
/* BLUR: typically 12-20px */
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.neo-pressed {
|
|
83
|
+
/* Inset creates "pushed in" effect */
|
|
84
|
+
box-shadow:
|
|
85
|
+
inset OFFSET OFFSET BLUR rgba(dark-color),
|
|
86
|
+
inset -OFFSET -OFFSET BLUR rgba(light-color);
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Accessibility Warning
|
|
91
|
+
⚠️ **Low contrast** - use sparingly, ensure clear boundaries
|
|
92
|
+
|
|
93
|
+
### When to Use
|
|
94
|
+
- Decorative elements
|
|
95
|
+
- Subtle interactive states
|
|
96
|
+
- Minimalist UI with flat colors
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## 3. Shadow Hierarchy Principles
|
|
101
|
+
|
|
102
|
+
### Concept: Shadows Indicate Elevation
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
Higher elevation = larger shadow
|
|
106
|
+
├── Level 0: No shadow (flat on surface)
|
|
107
|
+
├── Level 1: Subtle shadow (slightly raised)
|
|
108
|
+
├── Level 2: Medium shadow (cards, buttons)
|
|
109
|
+
├── Level 3: Large shadow (modals, dropdowns)
|
|
110
|
+
└── Level 4: Deep shadow (floating elements)
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Shadow Properties to Adjust
|
|
114
|
+
|
|
115
|
+
```css
|
|
116
|
+
box-shadow: OFFSET-X OFFSET-Y BLUR SPREAD COLOR;
|
|
117
|
+
|
|
118
|
+
/* Offset: direction of shadow */
|
|
119
|
+
/* Blur: softness (larger = softer) */
|
|
120
|
+
/* Spread: size expansion */
|
|
121
|
+
/* Color: typically black with low opacity */
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Principles for Natural Shadows
|
|
125
|
+
|
|
126
|
+
1. **Y-offset larger than X** (light comes from above)
|
|
127
|
+
2. **Low opacity** (5-15% for subtle, 15-25% for pronounced)
|
|
128
|
+
3. **Multiple layers** for realism (ambient + direct)
|
|
129
|
+
4. **Blur scales with offset** (larger offset = larger blur)
|
|
130
|
+
|
|
131
|
+
### Dark Mode Shadows
|
|
132
|
+
- Shadows less visible on dark backgrounds
|
|
133
|
+
- May need to increase opacity
|
|
134
|
+
- Or use glow/highlight instead
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 4. Gradient Principles
|
|
139
|
+
|
|
140
|
+
### Types and When to Use
|
|
141
|
+
|
|
142
|
+
| Type | Pattern | Use Case |
|
|
143
|
+
|------|---------|----------|
|
|
144
|
+
| **Linear** | Color A → Color B along line | Backgrounds, buttons, headers |
|
|
145
|
+
| **Radial** | Center → outward | Spotlights, focal points |
|
|
146
|
+
| **Conic** | Around center | Pie charts, creative effects |
|
|
147
|
+
|
|
148
|
+
### Creating Harmonious Gradients
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
Good Gradient Rules:
|
|
152
|
+
├── Use ADJACENT colors on wheel (analogous)
|
|
153
|
+
├── Or same hue with different lightness
|
|
154
|
+
├── Avoid complementary (can look harsh)
|
|
155
|
+
└── Add middle stops for smoother transitions
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Gradient Syntax Pattern
|
|
159
|
+
|
|
160
|
+
```css
|
|
161
|
+
.gradient {
|
|
162
|
+
background: linear-gradient(
|
|
163
|
+
DIRECTION, /* angle or to-keyword */
|
|
164
|
+
COLOR-STOP-1, /* color + optional position */
|
|
165
|
+
COLOR-STOP-2,
|
|
166
|
+
/* ... more stops */
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* DIRECTION examples: */
|
|
171
|
+
/* 90deg, 135deg, to right, to bottom right */
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Mesh Gradients
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
Multiple radial gradients overlapped:
|
|
178
|
+
├── Each at different position
|
|
179
|
+
├── Each with transparent falloff
|
|
180
|
+
├── **Mandatory for "Wow" factor in Hero sections**
|
|
181
|
+
└── Creates organic, colorful effect (Search: "Aurora Gradient CSS")
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## 5. Border Effects Principles
|
|
187
|
+
|
|
188
|
+
### Gradient Borders
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
Technique: Pseudo-element with gradient background
|
|
192
|
+
├── Element has padding = border width
|
|
193
|
+
├── Pseudo-element fills with gradient
|
|
194
|
+
└── Mask or clip creates border effect
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Animated Borders
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
Technique: Rotating gradient or conic sweep
|
|
201
|
+
├── Pseudo-element larger than content
|
|
202
|
+
├── Animation rotates the gradient
|
|
203
|
+
└── Overflow hidden clips to shape
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Glow Borders
|
|
207
|
+
|
|
208
|
+
```css
|
|
209
|
+
/* Multiple box-shadows create glow */
|
|
210
|
+
box-shadow:
|
|
211
|
+
0 0 SMALL-BLUR COLOR,
|
|
212
|
+
0 0 MEDIUM-BLUR COLOR,
|
|
213
|
+
0 0 LARGE-BLUR COLOR;
|
|
214
|
+
|
|
215
|
+
/* Each layer adds to the glow */
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## 6. Glow Effects Principles
|
|
221
|
+
|
|
222
|
+
### Text Glow
|
|
223
|
+
|
|
224
|
+
```css
|
|
225
|
+
text-shadow:
|
|
226
|
+
0 0 BLUR-1 COLOR,
|
|
227
|
+
0 0 BLUR-2 COLOR,
|
|
228
|
+
0 0 BLUR-3 COLOR;
|
|
229
|
+
|
|
230
|
+
/* Multiple layers = stronger glow */
|
|
231
|
+
/* Larger blur = softer spread */
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### Element Glow
|
|
235
|
+
|
|
236
|
+
```css
|
|
237
|
+
box-shadow:
|
|
238
|
+
0 0 BLUR-1 COLOR,
|
|
239
|
+
0 0 BLUR-2 COLOR;
|
|
240
|
+
|
|
241
|
+
/* Use color matching element for realistic glow */
|
|
242
|
+
/* Lower opacity for subtle, higher for neon */
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### Pulsing Glow Animation
|
|
246
|
+
|
|
247
|
+
```css
|
|
248
|
+
@keyframes glow-pulse {
|
|
249
|
+
0%, 100% { box-shadow: 0 0 SMALL-BLUR COLOR; }
|
|
250
|
+
50% { box-shadow: 0 0 LARGE-BLUR COLOR; }
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* Easing and duration affect feel */
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## 7. Overlay Techniques
|
|
259
|
+
|
|
260
|
+
### Gradient Overlay on Images
|
|
261
|
+
|
|
262
|
+
```
|
|
263
|
+
Purpose: Improve text readability over images
|
|
264
|
+
Pattern: Gradient from transparent to opaque
|
|
265
|
+
Position: Where text will appear
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
```css
|
|
269
|
+
.overlay::after {
|
|
270
|
+
content: '';
|
|
271
|
+
position: absolute;
|
|
272
|
+
inset: 0;
|
|
273
|
+
background: linear-gradient(
|
|
274
|
+
DIRECTION,
|
|
275
|
+
transparent PERCENTAGE,
|
|
276
|
+
rgba(0,0,0,OPACITY) 100%
|
|
277
|
+
);
|
|
278
|
+
}
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### Colored Overlay
|
|
282
|
+
|
|
283
|
+
```css
|
|
284
|
+
/* Blend mode or layered gradient */
|
|
285
|
+
background:
|
|
286
|
+
linear-gradient(YOUR-COLOR-WITH-OPACITY),
|
|
287
|
+
url('image.jpg');
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## 8. Modern CSS Techniques
|
|
293
|
+
|
|
294
|
+
### Container Queries (Concept)
|
|
295
|
+
|
|
296
|
+
```
|
|
297
|
+
Instead of viewport breakpoints:
|
|
298
|
+
├── Component responds to ITS container
|
|
299
|
+
├── Truly modular, reusable components
|
|
300
|
+
└── Syntax: @container (condition) { }
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
### :has() Selector (Concept)
|
|
304
|
+
|
|
305
|
+
```
|
|
306
|
+
Parent styling based on children:
|
|
307
|
+
├── "Parent that has X child"
|
|
308
|
+
├── Enables previously impossible patterns
|
|
309
|
+
└── Progressive enhancement approach
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
### Scroll-Driven Animations (Concept)
|
|
313
|
+
|
|
314
|
+
```
|
|
315
|
+
Animation progress tied to scroll:
|
|
316
|
+
├── Entry/exit animations on scroll
|
|
317
|
+
├── Parallax effects
|
|
318
|
+
├── Progress indicators
|
|
319
|
+
└── View-based or scroll-based timeline
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
## 9. Performance Principles
|
|
325
|
+
|
|
326
|
+
### GPU-Accelerated Properties
|
|
327
|
+
|
|
328
|
+
```
|
|
329
|
+
CHEAP to animate (GPU):
|
|
330
|
+
├── transform (translate, scale, rotate)
|
|
331
|
+
└── opacity
|
|
332
|
+
|
|
333
|
+
EXPENSIVE to animate (CPU):
|
|
334
|
+
├── width, height
|
|
335
|
+
├── top, left, right, bottom
|
|
336
|
+
├── margin, padding
|
|
337
|
+
└── box-shadow (recalculates)
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### will-change Usage
|
|
341
|
+
|
|
342
|
+
```css
|
|
343
|
+
/* Use sparingly, only for heavy animations */
|
|
344
|
+
.heavy-animation {
|
|
345
|
+
will-change: transform;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/* Remove after animation if possible */
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
### Reduced Motion
|
|
352
|
+
|
|
353
|
+
```css
|
|
354
|
+
@media (prefers-reduced-motion: reduce) {
|
|
355
|
+
/* Disable or minimize animations */
|
|
356
|
+
/* Respect user preference */
|
|
357
|
+
}
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
---
|
|
361
|
+
|
|
362
|
+
## 10. Effect Selection Checklist
|
|
363
|
+
|
|
364
|
+
Before applying any effect:
|
|
365
|
+
|
|
366
|
+
- [ ] **Does it serve a purpose?** (not just decoration)
|
|
367
|
+
- [ ] **Is it appropriate for the context?** (brand, audience)
|
|
368
|
+
- [ ] **Have you varied from previous projects?** (avoid repetition)
|
|
369
|
+
- [ ] **Is it accessible?** (contrast, motion sensitivity)
|
|
370
|
+
- [ ] **Is it performant?** (especially on mobile)
|
|
371
|
+
- [ ] **Did you ask user preference?** (if style open-ended)
|
|
372
|
+
|
|
373
|
+
### Anti-Patterns
|
|
374
|
+
|
|
375
|
+
- ❌ Glassmorphism on every element (kitsch)
|
|
376
|
+
- ❌ Dark + neon as default (lazy AI look)
|
|
377
|
+
- ❌ **Static/Flat designs with no depth (FAILED)**
|
|
378
|
+
- ❌ Effects that hurt readability
|
|
379
|
+
- ❌ Animations without purpose
|
|
380
|
+
|
|
381
|
+
---
|
|
382
|
+
|
|
383
|
+
> **Remember**: Effects enhance meaning. Choose based on purpose and context, not because it "looks cool."
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-slides
|
|
3
|
+
description: Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Frontend Slides
|
|
7
|
+
|
|
8
|
+
Create zero-dependency, animation-rich HTML presentations that run entirely in the browser.
|
|
9
|
+
|
|
10
|
+
## Core Principles
|
|
11
|
+
|
|
12
|
+
1. **Zero Dependencies** — Single HTML files with inline CSS/JS. No npm, no build tools.
|
|
13
|
+
2. **Show, Don't Tell** — Generate visual previews, not abstract choices. People discover what they want by seeing it.
|
|
14
|
+
3. **Distinctive Design** — No generic "AI slop." Every presentation must feel custom-crafted.
|
|
15
|
+
4. **Viewport Fitting (NON-NEGOTIABLE)** — Every slide MUST fit exactly within 100vh. No scrolling within slides, ever. Content overflows? Split into multiple slides.
|
|
16
|
+
|
|
17
|
+
## Design Aesthetics
|
|
18
|
+
|
|
19
|
+
Avoid generic AI-generated aesthetics like overused font families (Inter, Roboto) or cliched color schemes (purple gradients on white). Focus on:
|
|
20
|
+
- **Typography**: beautiful, unique fonts (Google Fonts/Fontshare).
|
|
21
|
+
- **Color & Theme**: cohesive aesthetic with CSS variables and sharp accents.
|
|
22
|
+
- **Motion**: CSS-only animations for staggered reveals and high-impact transitions.
|
|
23
|
+
- **Backgrounds**: layered gradients, geometric patterns, or depth effects.
|
|
24
|
+
|
|
25
|
+
## Viewport Fitting Rules (Mandatory)
|
|
26
|
+
|
|
27
|
+
- Every `.slide` must have `height: 100vh; height: 100dvh; overflow: hidden;`
|
|
28
|
+
- ALL font sizes and spacing must use `clamp(min, preferred, max)`.
|
|
29
|
+
- Content containers need `max-height` constraints.
|
|
30
|
+
- Images: `max-height: min(50vh, 400px)`.
|
|
31
|
+
- Breakpoints required for heights: 700px, 600px, 500px.
|
|
32
|
+
- Include `prefers-reduced-motion` support.
|
|
33
|
+
|
|
34
|
+
**Always read `viewport-base.css` and include its full contents in every presentation.**
|
|
35
|
+
|
|
36
|
+
### Content Density Limits Per Slide
|
|
37
|
+
|
|
38
|
+
| Slide Type | Maximum Content |
|
|
39
|
+
|------------|-----------------|
|
|
40
|
+
| Title slide | 1 heading + 1 subtitle + optional tagline |
|
|
41
|
+
| Content slide | 1 heading + 4-6 bullet points OR 1 heading + 2 paragraphs |
|
|
42
|
+
| Feature grid | 1 heading + 6 cards maximum (2x3 or 3x2) |
|
|
43
|
+
| Code slide | 1 heading + 8-10 lines of code |
|
|
44
|
+
| Quote slide | 1 quote (max 3 lines) + attribution |
|
|
45
|
+
| Image slide | 1 heading + 1 image (max 60vh height) |
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Workflow Guide
|
|
50
|
+
|
|
51
|
+
### Phase 1: Content Discovery
|
|
52
|
+
- Ask the user about the **Purpose**, **Length**, and **Content** of the presentation.
|
|
53
|
+
- Inquire if they need **Inline Editing** (LocalStorage persistence).
|
|
54
|
+
|
|
55
|
+
### Phase 2: Style Selection
|
|
56
|
+
- Show 3 distinct style previews based on the desired "mood" (Confident, Energized, Focused, Inspired).
|
|
57
|
+
- Read `STYLE_PRESETS.md` for options.
|
|
58
|
+
- Save previews to a temporary folder and let the user pick.
|
|
59
|
+
|
|
60
|
+
### Phase 3: Generation
|
|
61
|
+
- Read `html-template.md`, `viewport-base.css`, and `animation-patterns.md`.
|
|
62
|
+
- Generate a self-contained HTML file with all CSS/JS inline.
|
|
63
|
+
- Include the **full contents** of `viewport-base.css`.
|
|
64
|
+
|
|
65
|
+
### Phase 4: PPT Conversion (requires python-pptx)
|
|
66
|
+
- Run `python3 .agent/skills/frontend-slides/scripts/extract-pptx.py <input.pptx> <output_dir>`.
|
|
67
|
+
- Extract text and images, then proceed to style selection.
|
|
68
|
+
|
|
69
|
+
### Phase 5: PPTX Export (requires python-pptx)
|
|
70
|
+
- Run `python3 .agent/skills/frontend-slides/scripts/export-pptx.py <input.html> <output.pptx>`.
|
|
71
|
+
- Converts the HTML slides back into a PowerPoint format for offline presentation and editing.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Examples
|
|
76
|
+
|
|
77
|
+
| Project | Description | Links |
|
|
78
|
+
|---------|-------------|-------|
|
|
79
|
+
| **JupViec Automation** | Content marketing automation presentation for JupViec.vn. | [HTML](examples/n8n-jupviec-automation.html), [PPTX](examples/n8n-jupviec-automation.pptx) |
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Supporting Files
|
|
84
|
+
|
|
85
|
+
| File | Purpose |
|
|
86
|
+
|------|---------|
|
|
87
|
+
| [STYLE_PRESETS.md](STYLE_PRESETS.md) | 12 curated visual presets with colors, fonts, and signature elements |
|
|
88
|
+
| [viewport-base.css](viewport-base.css) | Mandatory responsive CSS — copy into every presentation |
|
|
89
|
+
| [html-template.md](html-template.md) | HTML structure, JS features, code quality standards |
|
|
90
|
+
| [animation-patterns.md](animation-patterns.md) | CSS/JS animation snippets and effect-to-feeling guide |
|
|
91
|
+
| [scripts/extract-pptx.py](scripts/extract-pptx.py) | Python script for PPT content extraction (to HTML) |
|
|
92
|
+
| [scripts/export-pptx.py](scripts/export-pptx.py) | Python script for HTML to PPTX conversion |
|