takomi 2.0.4
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 +422 -0
- package/assets/.agent/skills/agent-recovery/SKILL.md +147 -0
- package/assets/.agent/skills/ai-avatar-video/SKILL.md +153 -0
- package/assets/.agent/skills/ai-marketing-videos/SKILL.md +295 -0
- package/assets/.agent/skills/ai-podcast-creation/SKILL.md +292 -0
- package/assets/.agent/skills/ai-product-photography/SKILL.md +269 -0
- package/assets/.agent/skills/ai-sdk/SKILL.md +77 -0
- package/assets/.agent/skills/ai-sdk/references/ai-gateway.md +66 -0
- package/assets/.agent/skills/ai-sdk/references/common-errors.md +443 -0
- package/assets/.agent/skills/ai-sdk/references/type-safe-agents.md +204 -0
- package/assets/.agent/skills/ai-social-media-content/SKILL.md +253 -0
- package/assets/.agent/skills/ai-voice-cloning/SKILL.md +276 -0
- package/assets/.agent/skills/algorithmic-art/LICENSE.txt +202 -0
- package/assets/.agent/skills/algorithmic-art/SKILL.md +405 -0
- package/assets/.agent/skills/algorithmic-art/templates/generator_template.js +223 -0
- package/assets/.agent/skills/algorithmic-art/templates/viewer.html +599 -0
- package/assets/.agent/skills/audit-website/SKILL.md +631 -0
- package/assets/.agent/skills/audit-website/agents/openai.yaml +6 -0
- package/assets/.agent/skills/audit-website/assets/icon-large.png +0 -0
- package/assets/.agent/skills/audit-website/assets/icon-small.svg +41 -0
- package/assets/.agent/skills/audit-website/references/OUTPUT-FORMAT.md +250 -0
- package/assets/.agent/skills/avoid-feature-creep/SKILL.md +307 -0
- package/assets/.agent/skills/avoid-feature-creep/agents/openai.yaml +3 -0
- package/assets/.agent/skills/avoid-feature-creep/assets/large-logo.png +0 -0
- package/assets/.agent/skills/avoid-feature-creep/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/building-native-ui/SKILL.md +320 -0
- package/assets/.agent/skills/building-native-ui/references/animations.md +220 -0
- package/assets/.agent/skills/building-native-ui/references/controls.md +270 -0
- package/assets/.agent/skills/building-native-ui/references/form-sheet.md +227 -0
- package/assets/.agent/skills/building-native-ui/references/gradients.md +106 -0
- package/assets/.agent/skills/building-native-ui/references/icons.md +213 -0
- package/assets/.agent/skills/building-native-ui/references/media.md +198 -0
- package/assets/.agent/skills/building-native-ui/references/route-structure.md +229 -0
- package/assets/.agent/skills/building-native-ui/references/search.md +248 -0
- package/assets/.agent/skills/building-native-ui/references/storage.md +121 -0
- package/assets/.agent/skills/building-native-ui/references/tabs.md +368 -0
- package/assets/.agent/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
- package/assets/.agent/skills/building-native-ui/references/visual-effects.md +197 -0
- package/assets/.agent/skills/building-native-ui/references/webgpu-three.md +605 -0
- package/assets/.agent/skills/building-native-ui/references/zoom-transitions.md +158 -0
- package/assets/.agent/skills/code-review/SKILL.md +81 -0
- package/assets/.agent/skills/component-analysis/SKILL.md +103 -0
- package/assets/.agent/skills/context7/SKILL.md +85 -0
- package/assets/.agent/skills/convex/SKILL.md +62 -0
- package/assets/.agent/skills/convex/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-agents/SKILL.md +516 -0
- package/assets/.agent/skills/convex-agents/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-agents/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-agents/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-best-practices/SKILL.md +369 -0
- package/assets/.agent/skills/convex-best-practices/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-best-practices/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-best-practices/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-component-authoring/SKILL.md +457 -0
- package/assets/.agent/skills/convex-component-authoring/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-component-authoring/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-component-authoring/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-cron-jobs/SKILL.md +604 -0
- package/assets/.agent/skills/convex-cron-jobs/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-cron-jobs/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-cron-jobs/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-file-storage/SKILL.md +467 -0
- package/assets/.agent/skills/convex-file-storage/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-file-storage/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-file-storage/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-functions/SKILL.md +458 -0
- package/assets/.agent/skills/convex-functions/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-functions/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-functions/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-http-actions/SKILL.md +733 -0
- package/assets/.agent/skills/convex-http-actions/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-http-actions/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-http-actions/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-migrations/SKILL.md +712 -0
- package/assets/.agent/skills/convex-migrations/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-migrations/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-migrations/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-realtime/SKILL.md +443 -0
- package/assets/.agent/skills/convex-realtime/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-realtime/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-realtime/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-schema-validator/SKILL.md +400 -0
- package/assets/.agent/skills/convex-schema-validator/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-schema-validator/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-schema-validator/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-security-audit/SKILL.md +539 -0
- package/assets/.agent/skills/convex-security-audit/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-security-audit/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-security-audit/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/convex-security-check/SKILL.md +378 -0
- package/assets/.agent/skills/convex-security-check/agents/openai.yaml +3 -0
- package/assets/.agent/skills/convex-security-check/assets/large-logo.png +0 -0
- package/assets/.agent/skills/convex-security-check/assets/small-logo.svg +17 -0
- package/assets/.agent/skills/copywriting/SKILL.md +251 -0
- package/assets/.agent/skills/copywriting/references/copy-frameworks.md +338 -0
- package/assets/.agent/skills/copywriting/references/natural-transitions.md +252 -0
- package/assets/.agent/skills/crafting-effective-readmes/SKILL.md +78 -0
- package/assets/.agent/skills/crafting-effective-readmes/references/art-of-readme.md +536 -0
- package/assets/.agent/skills/crafting-effective-readmes/references/make-a-readme.md +119 -0
- package/assets/.agent/skills/crafting-effective-readmes/references/standard-readme-example-maximal.md +68 -0
- package/assets/.agent/skills/crafting-effective-readmes/references/standard-readme-example-minimal.md +21 -0
- package/assets/.agent/skills/crafting-effective-readmes/references/standard-readme-spec.md +242 -0
- package/assets/.agent/skills/crafting-effective-readmes/section-checklist.md +17 -0
- package/assets/.agent/skills/crafting-effective-readmes/style-guide.md +13 -0
- package/assets/.agent/skills/crafting-effective-readmes/templates/internal.md +106 -0
- package/assets/.agent/skills/crafting-effective-readmes/templates/oss.md +77 -0
- package/assets/.agent/skills/crafting-effective-readmes/templates/personal.md +51 -0
- package/assets/.agent/skills/crafting-effective-readmes/templates/xdg-config.md +71 -0
- package/assets/.agent/skills/crafting-effective-readmes/using-references.md +35 -0
- package/assets/.agent/skills/docx/LICENSE.txt +30 -0
- package/assets/.agent/skills/docx/SKILL.md +481 -0
- package/assets/.agent/skills/docx/scripts/accept_changes.py +135 -0
- package/assets/.agent/skills/docx/scripts/comment.py +318 -0
- package/assets/.agent/skills/docx/scripts/office/helpers/merge_runs.py +199 -0
- package/assets/.agent/skills/docx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/assets/.agent/skills/docx/scripts/office/pack.py +159 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/assets/.agent/skills/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/assets/.agent/skills/docx/scripts/office/soffice.py +183 -0
- package/assets/.agent/skills/docx/scripts/office/unpack.py +132 -0
- package/assets/.agent/skills/docx/scripts/office/validate.py +111 -0
- package/assets/.agent/skills/docx/scripts/office/validators/base.py +847 -0
- package/assets/.agent/skills/docx/scripts/office/validators/docx.py +446 -0
- package/assets/.agent/skills/docx/scripts/office/validators/pptx.py +275 -0
- package/assets/.agent/skills/docx/scripts/office/validators/redlining.py +247 -0
- package/assets/.agent/skills/docx/scripts/templates/comments.xml +3 -0
- package/assets/.agent/skills/docx/scripts/templates/commentsExtended.xml +3 -0
- package/assets/.agent/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/assets/.agent/skills/docx/scripts/templates/commentsIds.xml +3 -0
- package/assets/.agent/skills/docx/scripts/templates/people.xml +3 -0
- package/assets/.agent/skills/domain-name-brainstormer/SKILL.md +212 -0
- package/assets/.agent/skills/frontend-design/LICENSE.txt +177 -0
- package/assets/.agent/skills/frontend-design/SKILL.md +42 -0
- package/assets/.agent/skills/gemini/SKILL.md +223 -0
- package/assets/.agent/skills/git-worktree/SKILL.md +78 -0
- package/assets/.agent/skills/github-ops/SKILL.md +220 -0
- package/assets/.agent/skills/github-ops/scripts/publish_issues.ps1 +443 -0
- package/assets/.agent/skills/github-ops/scripts/smart-ops.ps1 +128 -0
- package/assets/.agent/skills/github-ops/scripts/smart-ops.sh +130 -0
- package/assets/.agent/skills/global-brand-namer/SKILL.md +119 -0
- package/assets/.agent/skills/global-brand-namer/references/language-matrices.md +196 -0
- package/assets/.agent/skills/global-brand-namer/references/saas-modifiers.md +132 -0
- package/assets/.agent/skills/google-trends/SKILL.md +157 -0
- package/assets/.agent/skills/google-trends/scripts/package.json +17 -0
- package/assets/.agent/skills/google-trends/scripts/pnpm-lock.yaml +31 -0
- package/assets/.agent/skills/google-trends/scripts/search.js +168 -0
- package/assets/.agent/skills/high-fidelity-extraction/SKILL.md +59 -0
- package/assets/.agent/skills/jules/SKILL.md +196 -0
- package/assets/.agent/skills/marketing-ideas/SKILL.md +166 -0
- package/assets/.agent/skills/marketing-ideas/references/ideas-by-category.md +347 -0
- package/assets/.agent/skills/monorepo-management/SKILL.md +623 -0
- package/assets/.agent/skills/nextjs-standards/SKILL.md +194 -0
- package/assets/.agent/skills/nextjs-standards/scripts/vibe-verify.py +150 -0
- package/assets/.agent/skills/nextjs-standards/templates/Coding_Guidelines.md +337 -0
- package/assets/.agent/skills/nextjs-standards/templates/Issue_Template.md +194 -0
- package/assets/.agent/skills/optimize-agent-context/SKILL.md +97 -0
- package/assets/.agent/skills/pdf/LICENSE.txt +30 -0
- package/assets/.agent/skills/pdf/SKILL.md +314 -0
- package/assets/.agent/skills/pdf/forms.md +294 -0
- package/assets/.agent/skills/pdf/reference.md +612 -0
- package/assets/.agent/skills/pdf/scripts/check_bounding_boxes.py +65 -0
- package/assets/.agent/skills/pdf/scripts/check_fillable_fields.py +11 -0
- package/assets/.agent/skills/pdf/scripts/convert_pdf_to_images.py +33 -0
- package/assets/.agent/skills/pdf/scripts/create_validation_image.py +37 -0
- package/assets/.agent/skills/pdf/scripts/extract_form_field_info.py +122 -0
- package/assets/.agent/skills/pdf/scripts/extract_form_structure.py +115 -0
- package/assets/.agent/skills/pdf/scripts/fill_fillable_fields.py +98 -0
- package/assets/.agent/skills/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
- package/assets/.agent/skills/pptx/LICENSE.txt +30 -0
- package/assets/.agent/skills/pptx/SKILL.md +232 -0
- package/assets/.agent/skills/pptx/editing.md +205 -0
- package/assets/.agent/skills/pptx/pptxgenjs.md +420 -0
- package/assets/.agent/skills/pptx/scripts/add_slide.py +195 -0
- package/assets/.agent/skills/pptx/scripts/clean.py +286 -0
- package/assets/.agent/skills/pptx/scripts/office/helpers/merge_runs.py +199 -0
- package/assets/.agent/skills/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/assets/.agent/skills/pptx/scripts/office/pack.py +159 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/assets/.agent/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/assets/.agent/skills/pptx/scripts/office/soffice.py +183 -0
- package/assets/.agent/skills/pptx/scripts/office/unpack.py +132 -0
- package/assets/.agent/skills/pptx/scripts/office/validate.py +111 -0
- package/assets/.agent/skills/pptx/scripts/office/validators/base.py +847 -0
- package/assets/.agent/skills/pptx/scripts/office/validators/docx.py +446 -0
- package/assets/.agent/skills/pptx/scripts/office/validators/pptx.py +275 -0
- package/assets/.agent/skills/pptx/scripts/office/validators/redlining.py +247 -0
- package/assets/.agent/skills/pptx/scripts/thumbnail.py +289 -0
- package/assets/.agent/skills/pricing-strategy/SKILL.md +227 -0
- package/assets/.agent/skills/pricing-strategy/references/research-methods.md +146 -0
- package/assets/.agent/skills/pricing-strategy/references/tier-structure.md +223 -0
- package/assets/.agent/skills/programmatic-seo/SKILL.md +236 -0
- package/assets/.agent/skills/programmatic-seo/references/playbooks.md +293 -0
- package/assets/.agent/skills/prompt-engineering/SKILL.md +342 -0
- package/assets/.agent/skills/remotion/SKILL.md +45 -0
- package/assets/.agent/skills/remotion/rules/3d.md +86 -0
- package/assets/.agent/skills/remotion/rules/animations.md +29 -0
- package/assets/.agent/skills/remotion/rules/assets/charts-bar-chart.tsx +173 -0
- package/assets/.agent/skills/remotion/rules/assets/text-animations-typewriter.tsx +100 -0
- package/assets/.agent/skills/remotion/rules/assets/text-animations-word-highlight.tsx +108 -0
- package/assets/.agent/skills/remotion/rules/assets.md +78 -0
- package/assets/.agent/skills/remotion/rules/audio.md +172 -0
- package/assets/.agent/skills/remotion/rules/calculate-metadata.md +104 -0
- package/assets/.agent/skills/remotion/rules/can-decode.md +75 -0
- package/assets/.agent/skills/remotion/rules/charts.md +58 -0
- package/assets/.agent/skills/remotion/rules/compositions.md +141 -0
- package/assets/.agent/skills/remotion/rules/display-captions.md +126 -0
- package/assets/.agent/skills/remotion/rules/extract-frames.md +229 -0
- package/assets/.agent/skills/remotion/rules/fonts.md +152 -0
- package/assets/.agent/skills/remotion/rules/get-audio-duration.md +58 -0
- package/assets/.agent/skills/remotion/rules/get-video-dimensions.md +68 -0
- package/assets/.agent/skills/remotion/rules/get-video-duration.md +58 -0
- package/assets/.agent/skills/remotion/rules/gifs.md +138 -0
- package/assets/.agent/skills/remotion/rules/images.md +130 -0
- package/assets/.agent/skills/remotion/rules/import-srt-captions.md +67 -0
- package/assets/.agent/skills/remotion/rules/lottie.md +68 -0
- package/assets/.agent/skills/remotion/rules/maps.md +403 -0
- package/assets/.agent/skills/remotion/rules/measuring-dom-nodes.md +35 -0
- package/assets/.agent/skills/remotion/rules/measuring-text.md +143 -0
- package/assets/.agent/skills/remotion/rules/parameters.md +98 -0
- package/assets/.agent/skills/remotion/rules/sequencing.md +118 -0
- package/assets/.agent/skills/remotion/rules/tailwind.md +11 -0
- package/assets/.agent/skills/remotion/rules/text-animations.md +20 -0
- package/assets/.agent/skills/remotion/rules/timing.md +179 -0
- package/assets/.agent/skills/remotion/rules/transcribe-captions.md +19 -0
- package/assets/.agent/skills/remotion/rules/transitions.md +122 -0
- package/assets/.agent/skills/remotion/rules/trimming.md +53 -0
- package/assets/.agent/skills/remotion/rules/videos.md +171 -0
- package/assets/.agent/skills/security-audit/SKILL.md +184 -0
- package/assets/.agent/skills/seo-ready/SKILL.md +140 -0
- package/assets/.agent/skills/seo-ready/references/aeo-geo-patterns.md +279 -0
- package/assets/.agent/skills/seo-ready/references/ai-writing-detection.md +190 -0
- package/assets/.agent/skills/skill-creator/LICENSE.txt +202 -0
- package/assets/.agent/skills/skill-creator/SKILL.md +356 -0
- package/assets/.agent/skills/skill-creator/references/output-patterns.md +82 -0
- package/assets/.agent/skills/skill-creator/references/workflows.md +28 -0
- package/assets/.agent/skills/skill-creator/scripts/__pycache__/quick_validate.cpython-311.pyc +0 -0
- package/assets/.agent/skills/skill-creator/scripts/init_skill.py +303 -0
- package/assets/.agent/skills/skill-creator/scripts/package_skill.py +110 -0
- package/assets/.agent/skills/skill-creator/scripts/quick_validate.py +95 -0
- package/assets/.agent/skills/social-content/SKILL.md +277 -0
- package/assets/.agent/skills/social-content/references/platforms.md +163 -0
- package/assets/.agent/skills/social-content/references/post-templates.md +171 -0
- package/assets/.agent/skills/social-content/references/reverse-engineering.md +190 -0
- package/assets/.agent/skills/spawn-task/SKILL.md +130 -0
- package/assets/.agent/skills/stitch/SKILL.md +258 -0
- package/assets/.agent/skills/stitch/design-md/README.md +34 -0
- package/assets/.agent/skills/stitch/design-md/SKILL.md +172 -0
- package/assets/.agent/skills/stitch/design-md/examples/DESIGN.md +154 -0
- package/assets/.agent/skills/stitch/enhance-prompt/README.md +34 -0
- package/assets/.agent/skills/stitch/enhance-prompt/SKILL.md +204 -0
- package/assets/.agent/skills/stitch/enhance-prompt/references/KEYWORDS.md +114 -0
- package/assets/.agent/skills/stitch/react-components/README.md +36 -0
- package/assets/.agent/skills/stitch/react-components/SKILL.md +47 -0
- package/assets/.agent/skills/stitch/react-components/examples/gold-standard-card.tsx +80 -0
- package/assets/.agent/skills/stitch/react-components/package-lock.json +231 -0
- package/assets/.agent/skills/stitch/react-components/package.json +16 -0
- package/assets/.agent/skills/stitch/react-components/resources/architecture-checklist.md +15 -0
- package/assets/.agent/skills/stitch/react-components/resources/component-template.tsx +37 -0
- package/assets/.agent/skills/stitch/react-components/resources/stitch-api-reference.md +14 -0
- package/assets/.agent/skills/stitch/react-components/resources/style-guide.json +27 -0
- package/assets/.agent/skills/stitch/react-components/scripts/fetch-stitch.sh +30 -0
- package/assets/.agent/skills/stitch/react-components/scripts/validate.js +68 -0
- package/assets/.agent/skills/stitch/remotion/README.md +105 -0
- package/assets/.agent/skills/stitch/remotion/SKILL.md +393 -0
- package/assets/.agent/skills/stitch/remotion/examples/WalkthroughComposition.tsx +78 -0
- package/assets/.agent/skills/stitch/remotion/examples/screens.json +56 -0
- package/assets/.agent/skills/stitch/remotion/resources/composition-checklist.md +124 -0
- package/assets/.agent/skills/stitch/remotion/resources/screen-slide-template.tsx +123 -0
- package/assets/.agent/skills/stitch/remotion/scripts/download-stitch-asset.sh +38 -0
- package/assets/.agent/skills/stitch/shadcn-ui/README.md +248 -0
- package/assets/.agent/skills/stitch/shadcn-ui/SKILL.md +326 -0
- package/assets/.agent/skills/stitch/shadcn-ui/examples/auth-layout.tsx +177 -0
- package/assets/.agent/skills/stitch/shadcn-ui/examples/data-table.tsx +313 -0
- package/assets/.agent/skills/stitch/shadcn-ui/examples/form-pattern.tsx +177 -0
- package/assets/.agent/skills/stitch/shadcn-ui/resources/component-catalog.md +481 -0
- package/assets/.agent/skills/stitch/shadcn-ui/resources/customization-guide.md +516 -0
- package/assets/.agent/skills/stitch/shadcn-ui/resources/migration-guide.md +463 -0
- package/assets/.agent/skills/stitch/shadcn-ui/resources/setup-guide.md +412 -0
- package/assets/.agent/skills/stitch/shadcn-ui/scripts/verify-setup.sh +134 -0
- package/assets/.agent/skills/stitch/stitch-loop/README.md +54 -0
- package/assets/.agent/skills/stitch/stitch-loop/SKILL.md +203 -0
- package/assets/.agent/skills/stitch/stitch-loop/examples/SITE.md +73 -0
- package/assets/.agent/skills/stitch/stitch-loop/examples/next-prompt.md +25 -0
- package/assets/.agent/skills/stitch/stitch-loop/resources/baton-schema.md +61 -0
- package/assets/.agent/skills/stitch/stitch-loop/resources/site-template.md +104 -0
- package/assets/.agent/skills/subagent-driven-development/SKILL.md +242 -0
- package/assets/.agent/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
- package/assets/.agent/skills/subagent-driven-development/implementer-prompt.md +78 -0
- package/assets/.agent/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/assets/.agent/skills/sync-docs/SKILL.md +88 -0
- package/assets/.agent/skills/twitter-automation/SKILL.md +157 -0
- package/assets/.agent/skills/ui-ux-pro-max/README.md +488 -0
- package/assets/.agent/skills/ui-ux-pro-max/SKILL.md +293 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/assets/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-311.pyc +0 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-311.pyc +0 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/core.py +258 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/assets/.agent/skills/ui-ux-pro-max/scripts/search.py +106 -0
- package/assets/.agent/skills/upgrading-expo/SKILL.md +125 -0
- package/assets/.agent/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
- package/assets/.agent/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
- package/assets/.agent/skills/upgrading-expo/references/native-tabs.md +124 -0
- package/assets/.agent/skills/upgrading-expo/references/new-architecture.md +79 -0
- package/assets/.agent/skills/upgrading-expo/references/react-19.md +79 -0
- package/assets/.agent/skills/upgrading-expo/references/react-compiler.md +59 -0
- package/assets/.agent/skills/web-design-guidelines/SKILL.md +39 -0
- package/assets/.agent/skills/webapp-testing/LICENSE.txt +202 -0
- package/assets/.agent/skills/webapp-testing/SKILL.md +96 -0
- package/assets/.agent/skills/webapp-testing/examples/console_logging.py +35 -0
- package/assets/.agent/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/assets/.agent/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/assets/.agent/skills/webapp-testing/scripts/with_server.py +106 -0
- package/assets/.agent/skills/xlsx/LICENSE.txt +30 -0
- package/assets/.agent/skills/xlsx/SKILL.md +292 -0
- package/assets/.agent/skills/xlsx/scripts/office/helpers/merge_runs.py +199 -0
- package/assets/.agent/skills/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/assets/.agent/skills/xlsx/scripts/office/pack.py +159 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/assets/.agent/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/assets/.agent/skills/xlsx/scripts/office/soffice.py +183 -0
- package/assets/.agent/skills/xlsx/scripts/office/unpack.py +132 -0
- package/assets/.agent/skills/xlsx/scripts/office/validate.py +111 -0
- package/assets/.agent/skills/xlsx/scripts/office/validators/base.py +847 -0
- package/assets/.agent/skills/xlsx/scripts/office/validators/docx.py +446 -0
- package/assets/.agent/skills/xlsx/scripts/office/validators/pptx.py +275 -0
- package/assets/.agent/skills/xlsx/scripts/office/validators/redlining.py +247 -0
- package/assets/.agent/skills/xlsx/scripts/recalc.py +184 -0
- package/assets/.agent/skills/youtube-pipeline/SKILL.md +194 -0
- package/assets/.agent/skills/youtube-pipeline/resources/youtube-phase1-strategy.md +224 -0
- package/assets/.agent/skills/youtube-pipeline/resources/youtube-phase2-packaging.md +148 -0
- package/assets/.agent/skills/youtube-pipeline/resources/youtube-phase3-scripting.md +197 -0
- package/assets/.agent/skills/youtube-pipeline/resources/youtube-phase3.5-shorts.md +271 -0
- package/assets/.agent/skills/youtube-pipeline/resources/youtube-phase4-production.md +193 -0
- package/assets/.agent/skills/youtube-pipeline/resources/youtube-phase5-repurposing.md +159 -0
- package/assets/.agent/skills/youtube-pipeline/resources/youtube-pipeline.md +161 -0
- package/assets/.agent/skills/youtube-pipeline/scripts/parse_yt_studio.ps1 +150 -0
- package/assets/.agent/workflows/LEGACY/ANTIGRAVITY_TOOLBOX.md +200 -0
- package/assets/.agent/workflows/LEGACY/analyze_component.md +141 -0
- package/assets/.agent/workflows/LEGACY/build_vibecode_project.md +154 -0
- package/assets/.agent/workflows/LEGACY/build_vibecode_project_v2.md +158 -0
- package/assets/.agent/workflows/LEGACY/deep_code_audit.md +79 -0
- package/assets/.agent/workflows/LEGACY/gemini-orchestrate.md +63 -0
- package/assets/.agent/workflows/LEGACY/git_worktree.md +71 -0
- package/assets/.agent/workflows/LEGACY/init_smart_ops.md +101 -0
- package/assets/.agent/workflows/LEGACY/init_vibecode_genesis_v1.md +137 -0
- package/assets/.agent/workflows/LEGACY/multi_agent_strategy.md +62 -0
- package/assets/.agent/workflows/LEGACY/orchestrate.md +321 -0
- package/assets/.agent/workflows/LEGACY/seo_ready.md +249 -0
- package/assets/.agent/workflows/LEGACY/vibe-orchestrator.md +305 -0
- package/assets/.agent/workflows/LEGACY/youtube-phase1-strategy.md +224 -0
- package/assets/.agent/workflows/LEGACY/youtube-phase2-packaging.md +148 -0
- package/assets/.agent/workflows/LEGACY/youtube-phase3-scripting.md +197 -0
- package/assets/.agent/workflows/LEGACY/youtube-phase3.5-shorts.md +271 -0
- package/assets/.agent/workflows/LEGACY/youtube-phase4-production.md +193 -0
- package/assets/.agent/workflows/LEGACY/youtube-phase5-repurposing.md +159 -0
- package/assets/.agent/workflows/LEGACY/youtube-pipeline.md +161 -0
- package/assets/.agent/workflows/README.md +537 -0
- package/assets/.agent/workflows/Vercel Ai SDK.md +34083 -0
- package/assets/.agent/workflows/agent_reset.md +173 -0
- package/assets/.agent/workflows/escalate.md +112 -0
- package/assets/.agent/workflows/migrate.md +135 -0
- package/assets/.agent/workflows/mode-architect.md +422 -0
- package/assets/.agent/workflows/mode-ask.md +294 -0
- package/assets/.agent/workflows/mode-code.md +481 -0
- package/assets/.agent/workflows/mode-debug.md +407 -0
- package/assets/.agent/workflows/mode-orchestrator.md +222 -0
- package/assets/.agent/workflows/mode-review.md +341 -0
- package/assets/.agent/workflows/mode-visionary.md +186 -0
- package/assets/.agent/workflows/optimize-agent-context.md +54 -0
- package/assets/.agent/workflows/remotion-build.md +323 -0
- package/assets/.agent/workflows/reverse_genesis.md +132 -0
- package/assets/.agent/workflows/review_code.md +133 -0
- package/assets/.agent/workflows/spawn-jstar-code-review.md +121 -0
- package/assets/.agent/workflows/stitch.md +149 -0
- package/assets/.agent/workflows/vibe-build.md +271 -0
- package/assets/.agent/workflows/vibe-continueBuild.md +184 -0
- package/assets/.agent/workflows/vibe-design.md +98 -0
- package/assets/.agent/workflows/vibe-finalize.md +208 -0
- package/assets/.agent/workflows/vibe-genesis.md +191 -0
- package/assets/.agent/workflows/vibe-primeAgent.md +110 -0
- package/assets/.agent/workflows/vibe-spawnTask.md +188 -0
- package/assets/.agent/workflows/vibe-syncDocs.md +90 -0
- package/assets/Legacy/0 VibeCode User Manual.md +175 -0
- package/assets/Legacy/1 Project Genesis Protocol The VibeCode Workflow.md +89 -0
- package/assets/Legacy/2/342/234/250 ULTIMATE ORCHESTRATION PROMPT/342/234/250.md" +114 -0
- package/assets/Legacy/3 Design System Genesis Protocol.md +75 -0
- package/assets/Legacy/3.1.1 my_design_system_rules.md +177 -0
- package/assets/Legacy/3.1.2 Material You M3 Genesis Protocol.md +73 -0
- package/assets/Legacy/4 The Ultimate GitHub Issue Meta-Prompt Template.md +54 -0
- package/assets/Legacy/5 The Escalation & Handoff Protocol.md +97 -0
- package/assets/Legacy/8 The Seamless Migration Meta-Prompt (Your Reusable Tool).md +38 -0
- package/assets/Legacy/9 The Reverse Genesis Protocol.md +75 -0
- package/assets/Takomi-Agents/custom_modes.yaml +1252 -0
- package/assets/Takomi-Agents/kilo-code-settings.json +1 -0
- package/assets/Takomi-Agents/vibe-architect.yaml +473 -0
- package/assets/Takomi-Agents/vibe-ask.yaml +395 -0
- package/assets/Takomi-Agents/vibe-code.yaml +522 -0
- package/assets/Takomi-Agents/vibe-debug.yaml +448 -0
- package/assets/Takomi-Agents/vibe-orchestrator.yaml +763 -0
- package/assets/Takomi-Agents/vibe-review.yaml +459 -0
- package/assets/Takomi-Agents/vibe-visionary.yaml +607 -0
- package/bin/takomi.js +2 -0
- package/package.json +42 -0
- package/src/cli.js +638 -0
- package/src/harness.js +281 -0
- package/src/store.js +239 -0
- package/src/utils.js +447 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: extract-frames
|
|
3
|
+
description: Extract frames from videos at specific timestamps using Mediabunny
|
|
4
|
+
metadata:
|
|
5
|
+
tags: frames, extract, video, thumbnail, filmstrip, canvas
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Extracting frames from videos
|
|
9
|
+
|
|
10
|
+
Use Mediabunny to extract frames from videos at specific timestamps. This is useful for generating thumbnails, filmstrips, or processing individual frames.
|
|
11
|
+
|
|
12
|
+
## The `extractFrames()` function
|
|
13
|
+
|
|
14
|
+
This function can be copy-pasted into any project.
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
import {
|
|
18
|
+
ALL_FORMATS,
|
|
19
|
+
Input,
|
|
20
|
+
UrlSource,
|
|
21
|
+
VideoSample,
|
|
22
|
+
VideoSampleSink,
|
|
23
|
+
} from "mediabunny";
|
|
24
|
+
|
|
25
|
+
type Options = {
|
|
26
|
+
track: { width: number; height: number };
|
|
27
|
+
container: string;
|
|
28
|
+
durationInSeconds: number | null;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export type ExtractFramesTimestampsInSecondsFn = (
|
|
32
|
+
options: Options
|
|
33
|
+
) => Promise<number[]> | number[];
|
|
34
|
+
|
|
35
|
+
export type ExtractFramesProps = {
|
|
36
|
+
src: string;
|
|
37
|
+
timestampsInSeconds: number[] | ExtractFramesTimestampsInSecondsFn;
|
|
38
|
+
onVideoSample: (sample: VideoSample) => void;
|
|
39
|
+
signal?: AbortSignal;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export async function extractFrames({
|
|
43
|
+
src,
|
|
44
|
+
timestampsInSeconds,
|
|
45
|
+
onVideoSample,
|
|
46
|
+
signal,
|
|
47
|
+
}: ExtractFramesProps): Promise<void> {
|
|
48
|
+
using input = new Input({
|
|
49
|
+
formats: ALL_FORMATS,
|
|
50
|
+
source: new UrlSource(src),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
const [durationInSeconds, format, videoTrack] = await Promise.all([
|
|
54
|
+
input.computeDuration(),
|
|
55
|
+
input.getFormat(),
|
|
56
|
+
input.getPrimaryVideoTrack(),
|
|
57
|
+
]);
|
|
58
|
+
|
|
59
|
+
if (!videoTrack) {
|
|
60
|
+
throw new Error("No video track found in the input");
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
if (signal?.aborted) {
|
|
64
|
+
throw new Error("Aborted");
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const timestamps =
|
|
68
|
+
typeof timestampsInSeconds === "function"
|
|
69
|
+
? await timestampsInSeconds({
|
|
70
|
+
track: {
|
|
71
|
+
width: videoTrack.displayWidth,
|
|
72
|
+
height: videoTrack.displayHeight,
|
|
73
|
+
},
|
|
74
|
+
container: format.name,
|
|
75
|
+
durationInSeconds,
|
|
76
|
+
})
|
|
77
|
+
: timestampsInSeconds;
|
|
78
|
+
|
|
79
|
+
if (timestamps.length === 0) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (signal?.aborted) {
|
|
84
|
+
throw new Error("Aborted");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const sink = new VideoSampleSink(videoTrack);
|
|
88
|
+
|
|
89
|
+
for await (using videoSample of sink.samplesAtTimestamps(timestamps)) {
|
|
90
|
+
if (signal?.aborted) {
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
if (!videoSample) {
|
|
95
|
+
continue;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
onVideoSample(videoSample);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Basic usage
|
|
104
|
+
|
|
105
|
+
Extract frames at specific timestamps:
|
|
106
|
+
|
|
107
|
+
```tsx
|
|
108
|
+
await extractFrames({
|
|
109
|
+
src: "https://remotion.media/video.mp4",
|
|
110
|
+
timestampsInSeconds: [0, 1, 2, 3, 4],
|
|
111
|
+
onVideoSample: (sample) => {
|
|
112
|
+
const canvas = document.createElement("canvas");
|
|
113
|
+
canvas.width = sample.displayWidth;
|
|
114
|
+
canvas.height = sample.displayHeight;
|
|
115
|
+
const ctx = canvas.getContext("2d");
|
|
116
|
+
sample.draw(ctx!, 0, 0);
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Creating a filmstrip
|
|
122
|
+
|
|
123
|
+
Use a callback function to dynamically calculate timestamps based on video metadata:
|
|
124
|
+
|
|
125
|
+
```tsx
|
|
126
|
+
const canvasWidth = 500;
|
|
127
|
+
const canvasHeight = 80;
|
|
128
|
+
const fromSeconds = 0;
|
|
129
|
+
const toSeconds = 10;
|
|
130
|
+
|
|
131
|
+
await extractFrames({
|
|
132
|
+
src: "https://remotion.media/video.mp4",
|
|
133
|
+
timestampsInSeconds: async ({ track, durationInSeconds }) => {
|
|
134
|
+
const aspectRatio = track.width / track.height;
|
|
135
|
+
const amountOfFramesFit = Math.ceil(
|
|
136
|
+
canvasWidth / (canvasHeight * aspectRatio)
|
|
137
|
+
);
|
|
138
|
+
const segmentDuration = toSeconds - fromSeconds;
|
|
139
|
+
const timestamps: number[] = [];
|
|
140
|
+
|
|
141
|
+
for (let i = 0; i < amountOfFramesFit; i++) {
|
|
142
|
+
timestamps.push(
|
|
143
|
+
fromSeconds + (segmentDuration / amountOfFramesFit) * (i + 0.5)
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
return timestamps;
|
|
148
|
+
},
|
|
149
|
+
onVideoSample: (sample) => {
|
|
150
|
+
console.log(`Frame at ${sample.timestamp}s`);
|
|
151
|
+
|
|
152
|
+
const canvas = document.createElement("canvas");
|
|
153
|
+
canvas.width = sample.displayWidth;
|
|
154
|
+
canvas.height = sample.displayHeight;
|
|
155
|
+
const ctx = canvas.getContext("2d");
|
|
156
|
+
sample.draw(ctx!, 0, 0);
|
|
157
|
+
},
|
|
158
|
+
});
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## Cancellation with AbortSignal
|
|
162
|
+
|
|
163
|
+
Cancel frame extraction after a timeout:
|
|
164
|
+
|
|
165
|
+
```tsx
|
|
166
|
+
const controller = new AbortController();
|
|
167
|
+
|
|
168
|
+
setTimeout(() => controller.abort(), 5000);
|
|
169
|
+
|
|
170
|
+
try {
|
|
171
|
+
await extractFrames({
|
|
172
|
+
src: "https://remotion.media/video.mp4",
|
|
173
|
+
timestampsInSeconds: [0, 1, 2, 3, 4],
|
|
174
|
+
onVideoSample: (sample) => {
|
|
175
|
+
using frame = sample;
|
|
176
|
+
const canvas = document.createElement("canvas");
|
|
177
|
+
canvas.width = frame.displayWidth;
|
|
178
|
+
canvas.height = frame.displayHeight;
|
|
179
|
+
const ctx = canvas.getContext("2d");
|
|
180
|
+
frame.draw(ctx!, 0, 0);
|
|
181
|
+
},
|
|
182
|
+
signal: controller.signal,
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
console.log("Frame extraction complete!");
|
|
186
|
+
} catch (error) {
|
|
187
|
+
console.error("Frame extraction was aborted or failed:", error);
|
|
188
|
+
}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## Timeout with Promise.race
|
|
192
|
+
|
|
193
|
+
```tsx
|
|
194
|
+
const controller = new AbortController();
|
|
195
|
+
|
|
196
|
+
const timeoutPromise = new Promise<never>((_, reject) => {
|
|
197
|
+
const timeoutId = setTimeout(() => {
|
|
198
|
+
controller.abort();
|
|
199
|
+
reject(new Error("Frame extraction timed out after 10 seconds"));
|
|
200
|
+
}, 10000);
|
|
201
|
+
|
|
202
|
+
controller.signal.addEventListener("abort", () => clearTimeout(timeoutId), {
|
|
203
|
+
once: true,
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
try {
|
|
208
|
+
await Promise.race([
|
|
209
|
+
extractFrames({
|
|
210
|
+
src: "https://remotion.media/video.mp4",
|
|
211
|
+
timestampsInSeconds: [0, 1, 2, 3, 4],
|
|
212
|
+
onVideoSample: (sample) => {
|
|
213
|
+
using frame = sample;
|
|
214
|
+
const canvas = document.createElement("canvas");
|
|
215
|
+
canvas.width = frame.displayWidth;
|
|
216
|
+
canvas.height = frame.displayHeight;
|
|
217
|
+
const ctx = canvas.getContext("2d");
|
|
218
|
+
frame.draw(ctx!, 0, 0);
|
|
219
|
+
},
|
|
220
|
+
signal: controller.signal,
|
|
221
|
+
}),
|
|
222
|
+
timeoutPromise,
|
|
223
|
+
]);
|
|
224
|
+
|
|
225
|
+
console.log("Frame extraction complete!");
|
|
226
|
+
} catch (error) {
|
|
227
|
+
console.error("Frame extraction was aborted or failed:", error);
|
|
228
|
+
}
|
|
229
|
+
```
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fonts
|
|
3
|
+
description: Loading Google Fonts and local fonts in Remotion
|
|
4
|
+
metadata:
|
|
5
|
+
tags: fonts, google-fonts, typography, text
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Using fonts in Remotion
|
|
9
|
+
|
|
10
|
+
## Google Fonts with @remotion/google-fonts
|
|
11
|
+
|
|
12
|
+
The recommended way to use Google Fonts. It's type-safe and automatically blocks rendering until the font is ready.
|
|
13
|
+
|
|
14
|
+
### Prerequisites
|
|
15
|
+
|
|
16
|
+
First, the @remotion/google-fonts package needs to be installed.
|
|
17
|
+
If it is not installed, use the following command:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx remotion add @remotion/google-fonts # If project uses npm
|
|
21
|
+
bunx remotion add @remotion/google-fonts # If project uses bun
|
|
22
|
+
yarn remotion add @remotion/google-fonts # If project uses yarn
|
|
23
|
+
pnpm exec remotion add @remotion/google-fonts # If project uses pnpm
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```tsx
|
|
27
|
+
import { loadFont } from "@remotion/google-fonts/Lobster";
|
|
28
|
+
|
|
29
|
+
const { fontFamily } = loadFont();
|
|
30
|
+
|
|
31
|
+
export const MyComposition = () => {
|
|
32
|
+
return <div style={{ fontFamily }}>Hello World</div>;
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Preferrably, specify only needed weights and subsets to reduce file size:
|
|
37
|
+
|
|
38
|
+
```tsx
|
|
39
|
+
import { loadFont } from "@remotion/google-fonts/Roboto";
|
|
40
|
+
|
|
41
|
+
const { fontFamily } = loadFont("normal", {
|
|
42
|
+
weights: ["400", "700"],
|
|
43
|
+
subsets: ["latin"],
|
|
44
|
+
});
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Waiting for font to load
|
|
48
|
+
|
|
49
|
+
Use `waitUntilDone()` if you need to know when the font is ready:
|
|
50
|
+
|
|
51
|
+
```tsx
|
|
52
|
+
import { loadFont } from "@remotion/google-fonts/Lobster";
|
|
53
|
+
|
|
54
|
+
const { fontFamily, waitUntilDone } = loadFont();
|
|
55
|
+
|
|
56
|
+
await waitUntilDone();
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Local fonts with @remotion/fonts
|
|
60
|
+
|
|
61
|
+
For local font files, use the `@remotion/fonts` package.
|
|
62
|
+
|
|
63
|
+
### Prerequisites
|
|
64
|
+
|
|
65
|
+
First, install @remotion/fonts:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx remotion add @remotion/fonts # If project uses npm
|
|
69
|
+
bunx remotion add @remotion/fonts # If project uses bun
|
|
70
|
+
yarn remotion add @remotion/fonts # If project uses yarn
|
|
71
|
+
pnpm exec remotion add @remotion/fonts # If project uses pnpm
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Loading a local font
|
|
75
|
+
|
|
76
|
+
Place your font file in the `public/` folder and use `loadFont()`:
|
|
77
|
+
|
|
78
|
+
```tsx
|
|
79
|
+
import { loadFont } from "@remotion/fonts";
|
|
80
|
+
import { staticFile } from "remotion";
|
|
81
|
+
|
|
82
|
+
await loadFont({
|
|
83
|
+
family: "MyFont",
|
|
84
|
+
url: staticFile("MyFont-Regular.woff2"),
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
export const MyComposition = () => {
|
|
88
|
+
return <div style={{ fontFamily: "MyFont" }}>Hello World</div>;
|
|
89
|
+
};
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Loading multiple weights
|
|
93
|
+
|
|
94
|
+
Load each weight separately with the same family name:
|
|
95
|
+
|
|
96
|
+
```tsx
|
|
97
|
+
import { loadFont } from "@remotion/fonts";
|
|
98
|
+
import { staticFile } from "remotion";
|
|
99
|
+
|
|
100
|
+
await Promise.all([
|
|
101
|
+
loadFont({
|
|
102
|
+
family: "Inter",
|
|
103
|
+
url: staticFile("Inter-Regular.woff2"),
|
|
104
|
+
weight: "400",
|
|
105
|
+
}),
|
|
106
|
+
loadFont({
|
|
107
|
+
family: "Inter",
|
|
108
|
+
url: staticFile("Inter-Bold.woff2"),
|
|
109
|
+
weight: "700",
|
|
110
|
+
}),
|
|
111
|
+
]);
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Available options
|
|
115
|
+
|
|
116
|
+
```tsx
|
|
117
|
+
loadFont({
|
|
118
|
+
family: "MyFont", // Required: name to use in CSS
|
|
119
|
+
url: staticFile("font.woff2"), // Required: font file URL
|
|
120
|
+
format: "woff2", // Optional: auto-detected from extension
|
|
121
|
+
weight: "400", // Optional: font weight
|
|
122
|
+
style: "normal", // Optional: normal or italic
|
|
123
|
+
display: "block", // Optional: font-display behavior
|
|
124
|
+
});
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Using in components
|
|
128
|
+
|
|
129
|
+
Call `loadFont()` at the top level of your component or in a separate file that's imported early:
|
|
130
|
+
|
|
131
|
+
```tsx
|
|
132
|
+
import { loadFont } from "@remotion/google-fonts/Montserrat";
|
|
133
|
+
|
|
134
|
+
const { fontFamily } = loadFont("normal", {
|
|
135
|
+
weights: ["400", "700"],
|
|
136
|
+
subsets: ["latin"],
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
export const Title: React.FC<{ text: string }> = ({ text }) => {
|
|
140
|
+
return (
|
|
141
|
+
<h1
|
|
142
|
+
style={{
|
|
143
|
+
fontFamily,
|
|
144
|
+
fontSize: 80,
|
|
145
|
+
fontWeight: "bold",
|
|
146
|
+
}}
|
|
147
|
+
>
|
|
148
|
+
{text}
|
|
149
|
+
</h1>
|
|
150
|
+
);
|
|
151
|
+
};
|
|
152
|
+
```
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: get-audio-duration
|
|
3
|
+
description: Getting the duration of an audio file in seconds with Mediabunny
|
|
4
|
+
metadata:
|
|
5
|
+
tags: duration, audio, length, time, seconds, mp3, wav
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Getting audio duration with Mediabunny
|
|
9
|
+
|
|
10
|
+
Mediabunny can extract the duration of an audio file. It works in browser, Node.js, and Bun environments.
|
|
11
|
+
|
|
12
|
+
## Getting audio duration
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import { Input, ALL_FORMATS, UrlSource } from "mediabunny";
|
|
16
|
+
|
|
17
|
+
export const getAudioDuration = async (src: string) => {
|
|
18
|
+
const input = new Input({
|
|
19
|
+
formats: ALL_FORMATS,
|
|
20
|
+
source: new UrlSource(src, {
|
|
21
|
+
getRetryDelay: () => null,
|
|
22
|
+
}),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const durationInSeconds = await input.computeDuration();
|
|
26
|
+
return durationInSeconds;
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
const duration = await getAudioDuration("https://remotion.media/audio.mp3");
|
|
34
|
+
console.log(duration); // e.g. 180.5 (seconds)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Using with local files
|
|
38
|
+
|
|
39
|
+
For local files, use `FileSource` instead of `UrlSource`:
|
|
40
|
+
|
|
41
|
+
```tsx
|
|
42
|
+
import { Input, ALL_FORMATS, FileSource } from "mediabunny";
|
|
43
|
+
|
|
44
|
+
const input = new Input({
|
|
45
|
+
formats: ALL_FORMATS,
|
|
46
|
+
source: new FileSource(file), // File object from input or drag-drop
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
const durationInSeconds = await input.computeDuration();
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Using with staticFile in Remotion
|
|
53
|
+
|
|
54
|
+
```tsx
|
|
55
|
+
import { staticFile } from "remotion";
|
|
56
|
+
|
|
57
|
+
const duration = await getAudioDuration(staticFile("audio.mp3"));
|
|
58
|
+
```
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: get-video-dimensions
|
|
3
|
+
description: Getting the width and height of a video file with Mediabunny
|
|
4
|
+
metadata:
|
|
5
|
+
tags: dimensions, width, height, resolution, size, video
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Getting video dimensions with Mediabunny
|
|
9
|
+
|
|
10
|
+
Mediabunny can extract the width and height of a video file. It works in browser, Node.js, and Bun environments.
|
|
11
|
+
|
|
12
|
+
## Getting video dimensions
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import { Input, ALL_FORMATS, UrlSource } from "mediabunny";
|
|
16
|
+
|
|
17
|
+
export const getVideoDimensions = async (src: string) => {
|
|
18
|
+
const input = new Input({
|
|
19
|
+
formats: ALL_FORMATS,
|
|
20
|
+
source: new UrlSource(src, {
|
|
21
|
+
getRetryDelay: () => null,
|
|
22
|
+
}),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const videoTrack = await input.getPrimaryVideoTrack();
|
|
26
|
+
if (!videoTrack) {
|
|
27
|
+
throw new Error("No video track found");
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return {
|
|
31
|
+
width: videoTrack.displayWidth,
|
|
32
|
+
height: videoTrack.displayHeight,
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Usage
|
|
38
|
+
|
|
39
|
+
```tsx
|
|
40
|
+
const dimensions = await getVideoDimensions("https://remotion.media/video.mp4");
|
|
41
|
+
console.log(dimensions.width); // e.g. 1920
|
|
42
|
+
console.log(dimensions.height); // e.g. 1080
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Using with local files
|
|
46
|
+
|
|
47
|
+
For local files, use `FileSource` instead of `UrlSource`:
|
|
48
|
+
|
|
49
|
+
```tsx
|
|
50
|
+
import { Input, ALL_FORMATS, FileSource } from "mediabunny";
|
|
51
|
+
|
|
52
|
+
const input = new Input({
|
|
53
|
+
formats: ALL_FORMATS,
|
|
54
|
+
source: new FileSource(file), // File object from input or drag-drop
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
const videoTrack = await input.getPrimaryVideoTrack();
|
|
58
|
+
const width = videoTrack.displayWidth;
|
|
59
|
+
const height = videoTrack.displayHeight;
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Using with staticFile in Remotion
|
|
63
|
+
|
|
64
|
+
```tsx
|
|
65
|
+
import { staticFile } from "remotion";
|
|
66
|
+
|
|
67
|
+
const dimensions = await getVideoDimensions(staticFile("video.mp4"));
|
|
68
|
+
```
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: get-video-duration
|
|
3
|
+
description: Getting the duration of a video file in seconds with Mediabunny
|
|
4
|
+
metadata:
|
|
5
|
+
tags: duration, video, length, time, seconds
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Getting video duration with Mediabunny
|
|
9
|
+
|
|
10
|
+
Mediabunny can extract the duration of a video file. It works in browser, Node.js, and Bun environments.
|
|
11
|
+
|
|
12
|
+
## Getting video duration
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import { Input, ALL_FORMATS, UrlSource } from "mediabunny";
|
|
16
|
+
|
|
17
|
+
export const getVideoDuration = async (src: string) => {
|
|
18
|
+
const input = new Input({
|
|
19
|
+
formats: ALL_FORMATS,
|
|
20
|
+
source: new UrlSource(src, {
|
|
21
|
+
getRetryDelay: () => null,
|
|
22
|
+
}),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const durationInSeconds = await input.computeDuration();
|
|
26
|
+
return durationInSeconds;
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
const duration = await getVideoDuration("https://remotion.media/video.mp4");
|
|
34
|
+
console.log(duration); // e.g. 10.5 (seconds)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Using with local files
|
|
38
|
+
|
|
39
|
+
For local files, use `FileSource` instead of `UrlSource`:
|
|
40
|
+
|
|
41
|
+
```tsx
|
|
42
|
+
import { Input, ALL_FORMATS, FileSource } from "mediabunny";
|
|
43
|
+
|
|
44
|
+
const input = new Input({
|
|
45
|
+
formats: ALL_FORMATS,
|
|
46
|
+
source: new FileSource(file), // File object from input or drag-drop
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
const durationInSeconds = await input.computeDuration();
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Using with staticFile in Remotion
|
|
53
|
+
|
|
54
|
+
```tsx
|
|
55
|
+
import { staticFile } from "remotion";
|
|
56
|
+
|
|
57
|
+
const duration = await getVideoDuration(staticFile("video.mp4"));
|
|
58
|
+
```
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gif
|
|
3
|
+
description: Displaying GIFs, APNG, AVIF and WebP in Remotion
|
|
4
|
+
metadata:
|
|
5
|
+
tags: gif, animation, images, animated, apng, avif, webp
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Using Animated images in Remotion
|
|
9
|
+
|
|
10
|
+
## Basic usage
|
|
11
|
+
|
|
12
|
+
Use `<AnimatedImage>` to display a GIF, APNG, AVIF or WebP image synchronized with Remotion's timeline:
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import {AnimatedImage, staticFile} from 'remotion';
|
|
16
|
+
|
|
17
|
+
export const MyComposition = () => {
|
|
18
|
+
return <AnimatedImage src={staticFile('animation.gif')} width={500} height={500} />;
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Remote URLs are also supported (must have CORS enabled):
|
|
23
|
+
|
|
24
|
+
```tsx
|
|
25
|
+
<AnimatedImage src="https://example.com/animation.gif" width={500} height={500} />
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Sizing and fit
|
|
29
|
+
|
|
30
|
+
Control how the image fills its container with the `fit` prop:
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
// Stretch to fill (default)
|
|
34
|
+
<AnimatedImage src={staticFile("animation.gif")} width={500} height={300} fit="fill" />
|
|
35
|
+
|
|
36
|
+
// Maintain aspect ratio, fit inside container
|
|
37
|
+
<AnimatedImage src={staticFile("animation.gif")} width={500} height={300} fit="contain" />
|
|
38
|
+
|
|
39
|
+
// Fill container, crop if needed
|
|
40
|
+
<AnimatedImage src={staticFile("animation.gif")} width={500} height={300} fit="cover" />
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Playback speed
|
|
44
|
+
|
|
45
|
+
Use `playbackRate` to control the animation speed:
|
|
46
|
+
|
|
47
|
+
```tsx
|
|
48
|
+
<AnimatedImage src={staticFile("animation.gif")} width={500} height={500} playbackRate={2} /> {/* 2x speed */}
|
|
49
|
+
<AnimatedImage src={staticFile("animation.gif")} width={500} height={500} playbackRate={0.5} /> {/* Half speed */}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Looping behavior
|
|
53
|
+
|
|
54
|
+
Control what happens when the animation finishes:
|
|
55
|
+
|
|
56
|
+
```tsx
|
|
57
|
+
// Loop indefinitely (default)
|
|
58
|
+
<AnimatedImage src={staticFile("animation.gif")} width={500} height={500} loopBehavior="loop" />
|
|
59
|
+
|
|
60
|
+
// Play once, show final frame
|
|
61
|
+
<AnimatedImage src={staticFile("animation.gif")} width={500} height={500} loopBehavior="pause-after-finish" />
|
|
62
|
+
|
|
63
|
+
// Play once, then clear canvas
|
|
64
|
+
<AnimatedImage src={staticFile("animation.gif")} width={500} height={500} loopBehavior="clear-after-finish" />
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Styling
|
|
68
|
+
|
|
69
|
+
Use the `style` prop for additional CSS (use `width` and `height` props for sizing):
|
|
70
|
+
|
|
71
|
+
```tsx
|
|
72
|
+
<AnimatedImage
|
|
73
|
+
src={staticFile('animation.gif')}
|
|
74
|
+
width={500}
|
|
75
|
+
height={500}
|
|
76
|
+
style={{
|
|
77
|
+
borderRadius: 20,
|
|
78
|
+
position: 'absolute',
|
|
79
|
+
top: 100,
|
|
80
|
+
left: 50,
|
|
81
|
+
}}
|
|
82
|
+
/>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Getting GIF duration
|
|
86
|
+
|
|
87
|
+
Use `getGifDurationInSeconds()` from `@remotion/gif` to get the duration of a GIF.
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
npx remotion add @remotion/gif # If project uses npm
|
|
91
|
+
bunx remotion add @remotion/gif # If project uses bun
|
|
92
|
+
yarn remotion add @remotion/gif # If project uses yarn
|
|
93
|
+
pnpm exec remotion add @remotion/gif # If project uses pnpm
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
```tsx
|
|
97
|
+
import {getGifDurationInSeconds} from '@remotion/gif';
|
|
98
|
+
import {staticFile} from 'remotion';
|
|
99
|
+
|
|
100
|
+
const duration = await getGifDurationInSeconds(staticFile('animation.gif'));
|
|
101
|
+
console.log(duration); // e.g. 2.5
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
This is useful for setting the composition duration to match the GIF:
|
|
105
|
+
|
|
106
|
+
```tsx
|
|
107
|
+
import {getGifDurationInSeconds} from '@remotion/gif';
|
|
108
|
+
import {staticFile, CalculateMetadataFunction} from 'remotion';
|
|
109
|
+
|
|
110
|
+
const calculateMetadata: CalculateMetadataFunction = async () => {
|
|
111
|
+
const duration = await getGifDurationInSeconds(staticFile('animation.gif'));
|
|
112
|
+
return {
|
|
113
|
+
durationInFrames: Math.ceil(duration * 30),
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Alternative
|
|
119
|
+
|
|
120
|
+
If `<AnimatedImage>` does not work (only supported in Chrome and Firefox), you can use `<Gif>` from `@remotion/gif` instead.
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npx remotion add @remotion/gif # If project uses npm
|
|
124
|
+
bunx remotion add @remotion/gif # If project uses bun
|
|
125
|
+
yarn remotion add @remotion/gif # If project uses yarn
|
|
126
|
+
pnpm exec remotion add @remotion/gif # If project uses pnpm
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
```tsx
|
|
130
|
+
import {Gif} from '@remotion/gif';
|
|
131
|
+
import {staticFile} from 'remotion';
|
|
132
|
+
|
|
133
|
+
export const MyComposition = () => {
|
|
134
|
+
return <Gif src={staticFile('animation.gif')} width={500} height={500} />;
|
|
135
|
+
};
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
The `<Gif>` component has the same props as `<AnimatedImage>` but only supports GIF files.
|