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,443 @@
|
|
|
1
|
+
param(
|
|
2
|
+
[switch]$DryRun = $false,
|
|
3
|
+
[switch]$Update = $false, # Update existing issues instead of skipping
|
|
4
|
+
[switch]$SyncDates = $false, # Sync dates to GitHub Project
|
|
5
|
+
[switch]$AutoArchive = $false, # Move completed issues to closed/ subfolder
|
|
6
|
+
[switch]$Force = $false, # Force sync all files (ignore change detection)
|
|
7
|
+
|
|
8
|
+
# Required for SyncDates (auto-detected from repo if not provided)
|
|
9
|
+
[string]$ProjectOwner = "",
|
|
10
|
+
[int]$ProjectNumber = 0,
|
|
11
|
+
[string]$ProjectId = "",
|
|
12
|
+
[string]$StartDateFieldId = "",
|
|
13
|
+
[string]$TargetDateFieldId = "",
|
|
14
|
+
[int]$TargetWeeks = 4,
|
|
15
|
+
|
|
16
|
+
[string]$IssueDir = "docs/issues"
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
<#
|
|
20
|
+
.SYNOPSIS
|
|
21
|
+
Smart Issue Sync - Syncs markdown issue specs to GitHub with intelligent change detection.
|
|
22
|
+
|
|
23
|
+
.DESCRIPTION
|
|
24
|
+
Features:
|
|
25
|
+
- SMART SYNC: Only processes files that changed since last run (uses .issue-sync-state.json)
|
|
26
|
+
- AUTO-ARCHIVE: Moves completed .md files to closed/ subfolder
|
|
27
|
+
- AUTO-CLOSE: Closes GitHub issues when all checkboxes are ticked
|
|
28
|
+
- NATURAL SORT: Processes Issue_1, Issue_2, ... Issue_10 (not 1, 10, 11)
|
|
29
|
+
- DATE SYNC: Sets Start/Target dates on GitHub Projects
|
|
30
|
+
|
|
31
|
+
.EXAMPLE
|
|
32
|
+
# Smart sync (only changed files)
|
|
33
|
+
.\publish_issues.ps1 -Update -AutoArchive
|
|
34
|
+
|
|
35
|
+
# Force full resync
|
|
36
|
+
.\publish_issues.ps1 -Update -AutoArchive -Force
|
|
37
|
+
|
|
38
|
+
# Dry run
|
|
39
|
+
.\publish_issues.ps1 -Update -AutoArchive -DryRun
|
|
40
|
+
#>
|
|
41
|
+
|
|
42
|
+
# ============ AUTO-DETECT REPO INFO ============
|
|
43
|
+
$repoJson = gh repo view --json owner,name 2>$null | ConvertFrom-Json
|
|
44
|
+
if (-not $repoJson) {
|
|
45
|
+
Write-Host "ERROR: Not in a GitHub repository or gh CLI not authenticated" -ForegroundColor Red
|
|
46
|
+
exit 1
|
|
47
|
+
}
|
|
48
|
+
$REPO_OWNER = $repoJson.owner.login
|
|
49
|
+
$REPO_NAME = $repoJson.name
|
|
50
|
+
$REPO = "$REPO_OWNER/$REPO_NAME"
|
|
51
|
+
|
|
52
|
+
Write-Host "Repository: $REPO" -ForegroundColor Cyan
|
|
53
|
+
|
|
54
|
+
# ============ STATE FILE FOR CHANGE DETECTION ============
|
|
55
|
+
$stateFile = Join-Path $IssueDir ".issue-sync-state.json"
|
|
56
|
+
$syncState = @{}
|
|
57
|
+
|
|
58
|
+
if (Test-Path $stateFile) {
|
|
59
|
+
try {
|
|
60
|
+
$syncState = Get-Content $stateFile -Raw | ConvertFrom-Json -AsHashtable
|
|
61
|
+
} catch {
|
|
62
|
+
$syncState = @{}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function Save-SyncState {
|
|
67
|
+
if (-not $DryRun) {
|
|
68
|
+
$syncState | ConvertTo-Json -Depth 10 | Set-Content $stateFile -Encoding UTF8
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function Get-FileHash256 {
|
|
73
|
+
param([string]$Path)
|
|
74
|
+
$hash = Get-FileHash -Path $Path -Algorithm SHA256
|
|
75
|
+
return $hash.Hash
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function Test-FileChanged {
|
|
79
|
+
param([string]$FilePath)
|
|
80
|
+
|
|
81
|
+
if ($Force) { return $true }
|
|
82
|
+
|
|
83
|
+
$fileName = Split-Path $FilePath -Leaf
|
|
84
|
+
$currentHash = Get-FileHash256 -Path $FilePath
|
|
85
|
+
|
|
86
|
+
if ($syncState.ContainsKey($fileName)) {
|
|
87
|
+
$lastHash = $syncState[$fileName].hash
|
|
88
|
+
return $currentHash -ne $lastHash
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return $true # New file, never synced
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function Update-FileState {
|
|
95
|
+
param(
|
|
96
|
+
[string]$FilePath,
|
|
97
|
+
[string]$Status, # "synced", "archived"
|
|
98
|
+
[int]$IssueNumber = 0
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
$fileName = Split-Path $FilePath -Leaf
|
|
102
|
+
$syncState[$fileName] = @{
|
|
103
|
+
hash = (Get-FileHash256 -Path $FilePath)
|
|
104
|
+
lastSync = (Get-Date -Format "yyyy-MM-ddTHH:mm:ss")
|
|
105
|
+
status = $Status
|
|
106
|
+
issueNumber = $IssueNumber
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
# ============ VALIDATE SYNC DATES CONFIG ============
|
|
111
|
+
if ($SyncDates) {
|
|
112
|
+
if (-not $ProjectOwner) { $ProjectOwner = $REPO_OWNER }
|
|
113
|
+
|
|
114
|
+
$missingConfig = @()
|
|
115
|
+
if ($ProjectNumber -eq 0) { $missingConfig += "-ProjectNumber" }
|
|
116
|
+
if (-not $ProjectId) { $missingConfig += "-ProjectId" }
|
|
117
|
+
if (-not $StartDateFieldId) { $missingConfig += "-StartDateFieldId" }
|
|
118
|
+
if (-not $TargetDateFieldId) { $missingConfig += "-TargetDateFieldId" }
|
|
119
|
+
|
|
120
|
+
if ($missingConfig.Count -gt 0) {
|
|
121
|
+
Write-Host "ERROR: -SyncDates requires: $($missingConfig -join ', ')" -ForegroundColor Red
|
|
122
|
+
exit 1
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
# ============ FIND ISSUE FILES (Natural Sort) ============
|
|
127
|
+
$closedDir = Join-Path $IssueDir "closed"
|
|
128
|
+
|
|
129
|
+
# Get files and sort naturally (Issue_1, Issue_2, ... Issue_10)
|
|
130
|
+
$issueFiles = Get-ChildItem "$IssueDir/*.md" -ErrorAction SilentlyContinue |
|
|
131
|
+
Where-Object { $_.Name -ne "ALL_ISSUES.md" } |
|
|
132
|
+
Sort-Object {
|
|
133
|
+
if ($_.Name -match 'Issue_(\d+)') {
|
|
134
|
+
[int]$matches[1]
|
|
135
|
+
} else {
|
|
136
|
+
$_.Name
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if ($issueFiles.Count -eq 0) {
|
|
141
|
+
Write-Host "No issue files found in $IssueDir/" -ForegroundColor Yellow
|
|
142
|
+
exit 0
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
Write-Host "Found $($issueFiles.Count) issue files" -ForegroundColor Gray
|
|
146
|
+
|
|
147
|
+
# ============ FILTER TO CHANGED FILES ONLY ============
|
|
148
|
+
$changedFiles = @()
|
|
149
|
+
$skippedFiles = @()
|
|
150
|
+
|
|
151
|
+
foreach ($file in $issueFiles) {
|
|
152
|
+
if (Test-FileChanged -FilePath $file.FullName) {
|
|
153
|
+
$changedFiles += $file
|
|
154
|
+
} else {
|
|
155
|
+
$skippedFiles += $file
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if ($skippedFiles.Count -gt 0 -and -not $Force) {
|
|
160
|
+
Write-Host "Skipping $($skippedFiles.Count) unchanged files" -ForegroundColor DarkGray
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
if ($changedFiles.Count -eq 0) {
|
|
164
|
+
Write-Host "No files have changed since last sync. Use -Force to resync all." -ForegroundColor Yellow
|
|
165
|
+
exit 0
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
Write-Host "Processing $($changedFiles.Count) changed files..." -ForegroundColor Cyan
|
|
169
|
+
Write-Host ""
|
|
170
|
+
|
|
171
|
+
# ============ CACHE EXISTING ISSUES ============
|
|
172
|
+
Write-Host "Fetching existing GitHub issues..." -ForegroundColor Gray
|
|
173
|
+
$existingIssues = gh issue list --repo $REPO --state all --limit 500 --json number,title,state | ConvertFrom-Json
|
|
174
|
+
$issueTitleMap = @{}
|
|
175
|
+
$issueStateMap = @{}
|
|
176
|
+
foreach ($issue in $existingIssues) {
|
|
177
|
+
$issueTitleMap[$issue.title] = $issue.number
|
|
178
|
+
$issueStateMap[$issue.title] = $issue.state
|
|
179
|
+
}
|
|
180
|
+
Write-Host "Found $($existingIssues.Count) existing issues on GitHub" -ForegroundColor Gray
|
|
181
|
+
Write-Host ""
|
|
182
|
+
|
|
183
|
+
# ============ HELPER FUNCTIONS ============
|
|
184
|
+
|
|
185
|
+
function Ensure-Label {
|
|
186
|
+
param($LabelName)
|
|
187
|
+
if (-not $DryRun) {
|
|
188
|
+
$ErrorActionPreference = "SilentlyContinue"
|
|
189
|
+
gh label create "$LabelName" --repo $REPO --color "0e8a16" 2>$null
|
|
190
|
+
$ErrorActionPreference = "Continue"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
function Add-ToProject {
|
|
195
|
+
param([int]$IssueNumber)
|
|
196
|
+
|
|
197
|
+
if (-not $SyncDates -or $DryRun) { return }
|
|
198
|
+
|
|
199
|
+
try {
|
|
200
|
+
$url = "https://github.com/$REPO/issues/$IssueNumber"
|
|
201
|
+
gh project item-add $ProjectNumber --owner $ProjectOwner --url $url 2>$null
|
|
202
|
+
} catch { }
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
function Sync-ProjectDates {
|
|
206
|
+
param([int]$IssueNumber, [string]$StartDate, [string]$TargetDate)
|
|
207
|
+
|
|
208
|
+
if (-not $SyncDates) { return }
|
|
209
|
+
|
|
210
|
+
Add-ToProject -IssueNumber $IssueNumber
|
|
211
|
+
|
|
212
|
+
$itemsJson = gh project item-list $ProjectNumber --owner $ProjectOwner --format json 2>$null
|
|
213
|
+
if (-not $itemsJson) { return }
|
|
214
|
+
|
|
215
|
+
$items = $itemsJson | ConvertFrom-Json
|
|
216
|
+
$item = $items.items | Where-Object { $_.content.number -eq $IssueNumber } | Select-Object -First 1
|
|
217
|
+
|
|
218
|
+
if (-not $item) { return }
|
|
219
|
+
|
|
220
|
+
if (-not $DryRun) {
|
|
221
|
+
gh project item-edit --id $item.id --project-id $ProjectId --field-id $StartDateFieldId --date $StartDate 2>$null
|
|
222
|
+
gh project item-edit --id $item.id --project-id $ProjectId --field-id $TargetDateFieldId --date $TargetDate 2>$null
|
|
223
|
+
Write-Host " Dates: $StartDate -> $TargetDate" -ForegroundColor Blue
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
function Parse-IssueMetadata {
|
|
228
|
+
param($Content)
|
|
229
|
+
|
|
230
|
+
$result = @{ title = $null; labels = @() }
|
|
231
|
+
|
|
232
|
+
# Try YAML frontmatter
|
|
233
|
+
if ($Content -match '^---\s*[\r\n]+([\s\S]*?)[\r\n]+---') {
|
|
234
|
+
$yaml = $matches[1]
|
|
235
|
+
if ($yaml -match 'title:\s*["\u0027]?([^"\u0027\r\n]+)["\u0027]?') {
|
|
236
|
+
$result.title = $matches[1].Trim()
|
|
237
|
+
}
|
|
238
|
+
if ($yaml -match 'labels:\s*([^\r\n]+)') {
|
|
239
|
+
$result.labels = ($matches[1].Trim() -split ',') | ForEach-Object { $_.Trim() } | Where-Object { $_ }
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
# Try Bold markdown
|
|
244
|
+
if (-not $result.title -and $Content -match '\*\*Title:\*\*\s*(.+)') {
|
|
245
|
+
$result.title = $matches[1].Trim()
|
|
246
|
+
}
|
|
247
|
+
if ($result.labels.Count -eq 0 -and $Content -match '\*\*Labels:\*\*\s*(.+)') {
|
|
248
|
+
$result.labels = ($matches[1] -replace '`', '' -replace '\s', '' -split ',') | Where-Object { $_ }
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
# Try Markdown headers
|
|
252
|
+
if (-not $result.title -and $Content -match '## Title\s*[\r\n]+(.+)') {
|
|
253
|
+
$result.title = $matches[1].Trim()
|
|
254
|
+
}
|
|
255
|
+
if ($result.labels.Count -eq 0 -and $Content -match '## Labels\s*[\r\n]+(.+)') {
|
|
256
|
+
$result.labels = ($matches[1] -replace '`', '' -replace '\s', '' -split ',') | Where-Object { $_ }
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
return $result
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
function Get-CheckboxStatus {
|
|
263
|
+
param($Content)
|
|
264
|
+
|
|
265
|
+
$unchecked = [regex]::Matches($Content, '[-*]\s*\[\s*\]').Count
|
|
266
|
+
$checked = [regex]::Matches($Content, '[-*]\s*\[[xX]\]').Count
|
|
267
|
+
|
|
268
|
+
return @{
|
|
269
|
+
Total = $unchecked + $checked
|
|
270
|
+
Checked = $checked
|
|
271
|
+
AllComplete = (($unchecked + $checked) -gt 0 -and $unchecked -eq 0)
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function Move-ToClosedFolder {
|
|
276
|
+
param([string]$FilePath)
|
|
277
|
+
|
|
278
|
+
if (-not $AutoArchive) { return }
|
|
279
|
+
|
|
280
|
+
if (-not (Test-Path $closedDir)) {
|
|
281
|
+
if (-not $DryRun) {
|
|
282
|
+
New-Item -ItemType Directory -Path $closedDir -Force | Out-Null
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
$fileName = Split-Path $FilePath -Leaf
|
|
287
|
+
$destPath = Join-Path $closedDir $fileName
|
|
288
|
+
|
|
289
|
+
if (-not $DryRun) {
|
|
290
|
+
Move-Item -Path $FilePath -Destination $destPath -Force
|
|
291
|
+
# Remove from state since it's archived
|
|
292
|
+
$syncState.Remove($fileName)
|
|
293
|
+
Write-Host " Archived to closed/$fileName" -ForegroundColor DarkMagenta
|
|
294
|
+
} else {
|
|
295
|
+
Write-Host " [DryRun] Would archive to closed/$fileName" -ForegroundColor Gray
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
function Get-CleanIssueBody {
|
|
300
|
+
param($Content)
|
|
301
|
+
|
|
302
|
+
$clean = $Content -replace '(?ms)^---\s*[\r\n]+.*?[\r\n]+---\s*[\r\n]*', ''
|
|
303
|
+
$clean = $clean -replace '(?ms)^## Title.*?(?=##|\Z)', ''
|
|
304
|
+
$clean = $clean -replace '(?ms)^## Labels.*?(?=##|\Z)', ''
|
|
305
|
+
$clean = $clean -replace '(?ms)^# GitHub Issue:.*?(?=##|\Z)', ''
|
|
306
|
+
return $clean.Trim()
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
# ============ MAIN LOOP ============
|
|
310
|
+
|
|
311
|
+
$processedCount = 0
|
|
312
|
+
$archivedCount = 0
|
|
313
|
+
|
|
314
|
+
foreach ($file in $changedFiles) {
|
|
315
|
+
$content = Get-Content $file.FullName -Raw
|
|
316
|
+
$parsed = Parse-IssueMetadata -Content $content
|
|
317
|
+
|
|
318
|
+
if (-not $parsed.title) {
|
|
319
|
+
Write-Warning "Could not find title for $($file.Name) - skipping"
|
|
320
|
+
continue
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
$title = $parsed.title
|
|
324
|
+
# Sanitize title: replace double quotes with single quotes to avoid CLI issues
|
|
325
|
+
$title = $title -replace '"', "'"
|
|
326
|
+
$labelArray = $parsed.labels
|
|
327
|
+
$checkboxStatus = Get-CheckboxStatus -Content $content
|
|
328
|
+
$isComplete = $checkboxStatus.AllComplete
|
|
329
|
+
|
|
330
|
+
# Calculate dates
|
|
331
|
+
$fileInfo = Get-Item $file.FullName
|
|
332
|
+
$startDate = $fileInfo.CreationTime.ToString("yyyy-MM-dd")
|
|
333
|
+
$targetDate = if ($isComplete) {
|
|
334
|
+
$fileInfo.LastWriteTime.ToString("yyyy-MM-dd")
|
|
335
|
+
} else {
|
|
336
|
+
$fileInfo.CreationTime.AddDays($TargetWeeks * 7).ToString("yyyy-MM-dd")
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
Write-Host "Processing: $($file.Name)" -ForegroundColor Cyan
|
|
340
|
+
Write-Host " Title: $title"
|
|
341
|
+
if ($checkboxStatus.Total -gt 0) {
|
|
342
|
+
$color = if ($isComplete) { "Green" } else { "Yellow" }
|
|
343
|
+
Write-Host " Checkboxes: $($checkboxStatus.Checked)/$($checkboxStatus.Total)" -ForegroundColor $color
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
$cleanBody = Get-CleanIssueBody -Content $content
|
|
347
|
+
$tempBodyFile = [System.IO.Path]::GetTempFileName()
|
|
348
|
+
Set-Content -Path $tempBodyFile -Value $cleanBody -Encoding UTF8
|
|
349
|
+
|
|
350
|
+
try {
|
|
351
|
+
$existingNumber = $issueTitleMap[$title]
|
|
352
|
+
$currentState = $issueStateMap[$title]
|
|
353
|
+
|
|
354
|
+
if ($existingNumber) {
|
|
355
|
+
if ($Update) {
|
|
356
|
+
Write-Host " Existing: #$existingNumber ($currentState) - UPDATING" -ForegroundColor Yellow
|
|
357
|
+
|
|
358
|
+
foreach ($l in $labelArray) {
|
|
359
|
+
if (![string]::IsNullOrWhiteSpace($l)) { Ensure-Label -LabelName $l }
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
if (-not $DryRun) {
|
|
363
|
+
$ghArgs = @("issue", "edit", "$existingNumber", "--repo", "$REPO", "--title", "$title", "--body-file", "$tempBodyFile")
|
|
364
|
+
foreach ($l in $labelArray) {
|
|
365
|
+
if (![string]::IsNullOrWhiteSpace($l)) {
|
|
366
|
+
$ghArgs += "--add-label"; $ghArgs += "$l"
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
& gh $ghArgs
|
|
370
|
+
|
|
371
|
+
# Close if complete and currently open
|
|
372
|
+
if ($isComplete -and $currentState -eq "OPEN") {
|
|
373
|
+
gh issue close $existingNumber --repo $REPO --comment "✅ All acceptance criteria completed"
|
|
374
|
+
Write-Host " Closed #$existingNumber" -ForegroundColor Magenta
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
Write-Host " Updated #$existingNumber" -ForegroundColor Green
|
|
378
|
+
Sync-ProjectDates -IssueNumber $existingNumber -StartDate $startDate -TargetDate $targetDate
|
|
379
|
+
Update-FileState -FilePath $file.FullName -Status "synced" -IssueNumber $existingNumber
|
|
380
|
+
$processedCount++
|
|
381
|
+
|
|
382
|
+
# Archive if complete (whether just closed or already closed)
|
|
383
|
+
if ($isComplete) {
|
|
384
|
+
Move-ToClosedFolder -FilePath $file.FullName
|
|
385
|
+
$archivedCount++
|
|
386
|
+
}
|
|
387
|
+
} else {
|
|
388
|
+
Write-Host " [DryRun] Would update #$existingNumber" -ForegroundColor Gray
|
|
389
|
+
if ($isComplete) {
|
|
390
|
+
if ($currentState -eq "OPEN") {
|
|
391
|
+
Write-Host " [DryRun] Would CLOSE" -ForegroundColor Magenta
|
|
392
|
+
}
|
|
393
|
+
Write-Host " [DryRun] Would ARCHIVE" -ForegroundColor DarkMagenta
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
} else {
|
|
397
|
+
Write-Host " Existing: #$existingNumber - SKIPPING (use -Update)" -ForegroundColor DarkGray
|
|
398
|
+
}
|
|
399
|
+
} else {
|
|
400
|
+
Write-Host " New issue - CREATING" -ForegroundColor Green
|
|
401
|
+
|
|
402
|
+
foreach ($l in $labelArray) {
|
|
403
|
+
if (![string]::IsNullOrWhiteSpace($l)) { Ensure-Label -LabelName $l }
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
if (-not $DryRun) {
|
|
407
|
+
$ghArgs = @("issue", "create", "--repo", "$REPO", "--title", "$title", "--body-file", "$tempBodyFile")
|
|
408
|
+
foreach ($l in $labelArray) {
|
|
409
|
+
if (![string]::IsNullOrWhiteSpace($l)) {
|
|
410
|
+
$ghArgs += "--label"; $ghArgs += "$l"
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
$issueUrl = & gh $ghArgs
|
|
414
|
+
|
|
415
|
+
if ($issueUrl -match '/issues/(\d+)$') {
|
|
416
|
+
$newNum = [int]$matches[1]
|
|
417
|
+
Write-Host " Created #$newNum" -ForegroundColor Green
|
|
418
|
+
Sync-ProjectDates -IssueNumber $newNum -StartDate $startDate -TargetDate $targetDate
|
|
419
|
+
Update-FileState -FilePath $file.FullName -Status "synced" -IssueNumber $newNum
|
|
420
|
+
$processedCount++
|
|
421
|
+
}
|
|
422
|
+
} else {
|
|
423
|
+
Write-Host " [DryRun] Would create issue" -ForegroundColor Gray
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
} finally {
|
|
427
|
+
if (Test-Path $tempBodyFile) { Remove-Item $tempBodyFile -Force }
|
|
428
|
+
}
|
|
429
|
+
Write-Host "-------------------"
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
# Save state file
|
|
433
|
+
Save-SyncState
|
|
434
|
+
|
|
435
|
+
Write-Host ""
|
|
436
|
+
Write-Host "Done!" -ForegroundColor Green
|
|
437
|
+
Write-Host " Processed: $processedCount issues"
|
|
438
|
+
if ($archivedCount -gt 0) {
|
|
439
|
+
Write-Host " Archived: $archivedCount completed issues" -ForegroundColor Magenta
|
|
440
|
+
}
|
|
441
|
+
if ($skippedFiles.Count -gt 0 -and -not $Force) {
|
|
442
|
+
Write-Host " Skipped: $($skippedFiles.Count) unchanged files" -ForegroundColor DarkGray
|
|
443
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Smart Ops - GitHub Automation Script (PowerShell)
|
|
2
|
+
# Copy to: scripts/smart-ops.ps1
|
|
3
|
+
# Replace {{PLACEHOLDERS}} with actual values
|
|
4
|
+
|
|
5
|
+
$ErrorActionPreference = "Stop"
|
|
6
|
+
|
|
7
|
+
# ============ CONFIGURATION ============
|
|
8
|
+
$REPO_OWNER = "{{OWNER}}"
|
|
9
|
+
$REPO_NAME = "{{REPO}}"
|
|
10
|
+
$REPO = "$REPO_OWNER/$REPO_NAME"
|
|
11
|
+
|
|
12
|
+
# GitHub Projects (optional - leave empty if not using)
|
|
13
|
+
$PROJECT_NUMBER = "{{PROJECT_NUMBER}}"
|
|
14
|
+
$PROJECT_ID = "{{PROJECT_ID}}"
|
|
15
|
+
$STATUS_FIELD_ID = "{{STATUS_FIELD_ID}}"
|
|
16
|
+
$TODO_OPTION_ID = "{{TODO_OPTION_ID}}"
|
|
17
|
+
$IN_PROGRESS_OPTION_ID = "{{IN_PROGRESS_OPTION_ID}}"
|
|
18
|
+
$DONE_OPTION_ID = "{{DONE_OPTION_ID}}"
|
|
19
|
+
$START_DATE_FIELD_ID = "{{START_DATE_FIELD_ID}}"
|
|
20
|
+
$TARGET_DATE_FIELD_ID = "{{TARGET_DATE_FIELD_ID}}"
|
|
21
|
+
|
|
22
|
+
$DEBUG = $env:DEBUG -eq "1"
|
|
23
|
+
|
|
24
|
+
# ============ HELPERS ============
|
|
25
|
+
|
|
26
|
+
function Test-Prerequisites {
|
|
27
|
+
$errors = 0
|
|
28
|
+
try { $null = Get-Command gh -ErrorAction Stop } catch {
|
|
29
|
+
Write-Host "X GitHub CLI not installed" -ForegroundColor Red
|
|
30
|
+
$errors++
|
|
31
|
+
}
|
|
32
|
+
try { $null = gh auth status 2>&1; if ($LASTEXITCODE -ne 0) { throw } } catch {
|
|
33
|
+
Write-Host "X Not authenticated. Run: gh auth login" -ForegroundColor Red
|
|
34
|
+
$errors++
|
|
35
|
+
}
|
|
36
|
+
if ($errors -gt 0) { exit 1 }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function Get-Today { return (Get-Date -Format "yyyy-MM-dd") }
|
|
40
|
+
function Get-FutureDate { param([int]$Days = 7); return (Get-Date).AddDays($Days).ToString("yyyy-MM-dd") }
|
|
41
|
+
|
|
42
|
+
# ============ COMMANDS ============
|
|
43
|
+
|
|
44
|
+
function Start-Scan {
|
|
45
|
+
Write-Host "Scanning open issues..." -ForegroundColor Cyan
|
|
46
|
+
gh issue list --repo $REPO --state open --json number,title,labels --limit 20
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function Complete-Scan {
|
|
50
|
+
Write-Host "Issues ready for completion..." -ForegroundColor Cyan
|
|
51
|
+
gh issue list --repo $REPO --state open --json number,title --limit 20
|
|
52
|
+
Write-Host "`nToday: $(Get-Today)"
|
|
53
|
+
Write-Host 'Close with: .\smart-ops.ps1 close [number]' -ForegroundColor Gray
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function New-Issue {
|
|
57
|
+
param([string]$Title, [string]$Body = "", [string]$Labels = "enhancement", [int]$Days = 7)
|
|
58
|
+
if ([string]::IsNullOrWhiteSpace($Title)) { Write-Host "X Title required" -ForegroundColor Red; return }
|
|
59
|
+
|
|
60
|
+
Write-Host "Creating: $Title (${Days}d)" -ForegroundColor Cyan
|
|
61
|
+
$url = gh issue create --repo $REPO --title $Title --body $Body --label $Labels
|
|
62
|
+
|
|
63
|
+
if ($url -match '/(\d+)$') {
|
|
64
|
+
Write-Host "Created #$($Matches[1])" -ForegroundColor Green
|
|
65
|
+
Write-Host $url
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function Close-Issue {
|
|
70
|
+
param([string]$Num, [string]$Comment = "Completed")
|
|
71
|
+
if ([string]::IsNullOrWhiteSpace($Num)) { Write-Host "X Issue number required" -ForegroundColor Red; return }
|
|
72
|
+
|
|
73
|
+
$confirm = Read-Host "Close #${Num}? (y/N)"
|
|
74
|
+
if ($confirm -ne 'y') { return }
|
|
75
|
+
|
|
76
|
+
gh issue close $Num --repo $REPO --comment $Comment
|
|
77
|
+
Write-Host "Closed #$Num" -ForegroundColor Green
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function Move-ToProgress {
|
|
81
|
+
param([string]$Id)
|
|
82
|
+
if ([string]::IsNullOrWhiteSpace($PROJECT_ID)) { Write-Host "X No project configured" -ForegroundColor Red; return }
|
|
83
|
+
gh project item-edit --id $Id --field-id $STATUS_FIELD_ID --project-id $PROJECT_ID --single-select-option-id $IN_PROGRESS_OPTION_ID
|
|
84
|
+
Write-Host "-> In Progress" -ForegroundColor Green
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function Move-ToDone {
|
|
88
|
+
param([string]$Id)
|
|
89
|
+
if ([string]::IsNullOrWhiteSpace($PROJECT_ID)) { Write-Host "X No project configured" -ForegroundColor Red; return }
|
|
90
|
+
gh project item-edit --id $Id --field-id $STATUS_FIELD_ID --project-id $PROJECT_ID --single-select-option-id $DONE_OPTION_ID
|
|
91
|
+
Write-Host "-> Done" -ForegroundColor Green
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function Show-Help {
|
|
95
|
+
Write-Host @'
|
|
96
|
+
Smart Ops - GitHub Automation
|
|
97
|
+
|
|
98
|
+
Usage: .\smart-ops.ps1 [command] [args]
|
|
99
|
+
|
|
100
|
+
Commands:
|
|
101
|
+
start List open issues
|
|
102
|
+
complete List for completion
|
|
103
|
+
create [title] [body] [labels] [days]
|
|
104
|
+
close [number] [comment]
|
|
105
|
+
progress [item_id] Move to In Progress
|
|
106
|
+
done [item_id] Move to Done
|
|
107
|
+
|
|
108
|
+
Examples:
|
|
109
|
+
.\smart-ops.ps1 create "Fix bug" "Description" "bug" 3
|
|
110
|
+
.\smart-ops.ps1 close 42 "Fixed"
|
|
111
|
+
'@ -ForegroundColor Cyan
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
# ============ MAIN ============
|
|
115
|
+
|
|
116
|
+
Test-Prerequisites
|
|
117
|
+
|
|
118
|
+
$cmd = if ($args.Count -gt 0) { $args[0] } else { "help" }
|
|
119
|
+
|
|
120
|
+
switch ($cmd.ToLower()) {
|
|
121
|
+
"start" { Start-Scan }
|
|
122
|
+
"complete" { Complete-Scan }
|
|
123
|
+
"create" { New-Issue -Title $args[1] -Body $args[2] -Labels $args[3] -Days ([int]$args[4]) }
|
|
124
|
+
"close" { Close-Issue -Num $args[1] -Comment $args[2] }
|
|
125
|
+
"progress" { Move-ToProgress -Id $args[1] }
|
|
126
|
+
"done" { Move-ToDone -Id $args[1] }
|
|
127
|
+
default { Show-Help }
|
|
128
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Smart Ops - GitHub Automation Script (Bash)
|
|
3
|
+
# Copy to: scripts/smart-ops.sh
|
|
4
|
+
# Replace {{PLACEHOLDERS}} with actual values
|
|
5
|
+
|
|
6
|
+
set -e
|
|
7
|
+
|
|
8
|
+
# ============ CONFIGURATION ============
|
|
9
|
+
REPO_OWNER="{{OWNER}}"
|
|
10
|
+
REPO_NAME="{{REPO}}"
|
|
11
|
+
REPO="${REPO_OWNER}/${REPO_NAME}"
|
|
12
|
+
|
|
13
|
+
# GitHub Projects (optional - leave empty if not using)
|
|
14
|
+
PROJECT_NUMBER="{{PROJECT_NUMBER}}"
|
|
15
|
+
PROJECT_ID="{{PROJECT_ID}}"
|
|
16
|
+
STATUS_FIELD_ID="{{STATUS_FIELD_ID}}"
|
|
17
|
+
TODO_OPTION_ID="{{TODO_OPTION_ID}}"
|
|
18
|
+
IN_PROGRESS_OPTION_ID="{{IN_PROGRESS_OPTION_ID}}"
|
|
19
|
+
DONE_OPTION_ID="{{DONE_OPTION_ID}}"
|
|
20
|
+
START_DATE_FIELD_ID="{{START_DATE_FIELD_ID}}"
|
|
21
|
+
TARGET_DATE_FIELD_ID="{{TARGET_DATE_FIELD_ID}}"
|
|
22
|
+
|
|
23
|
+
DEBUG="${DEBUG:-0}"
|
|
24
|
+
|
|
25
|
+
# ============ HELPERS ============
|
|
26
|
+
|
|
27
|
+
check_prerequisites() {
|
|
28
|
+
local errors=0
|
|
29
|
+
command -v gh &> /dev/null || { echo "❌ GitHub CLI not installed"; errors=$((errors + 1)); }
|
|
30
|
+
gh auth status &> /dev/null || { echo "❌ Not authenticated. Run: gh auth login"; errors=$((errors + 1)); }
|
|
31
|
+
[ "$errors" -gt 0 ] && exit 1
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
get_today() { date +%Y-%m-%d; }
|
|
35
|
+
get_future_date() {
|
|
36
|
+
local days="${1:-7}"
|
|
37
|
+
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
38
|
+
date -v+${days}d +%Y-%m-%d
|
|
39
|
+
else
|
|
40
|
+
date -d "+${days} days" +%Y-%m-%d
|
|
41
|
+
fi
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
# ============ COMMANDS ============
|
|
45
|
+
|
|
46
|
+
start_scan() {
|
|
47
|
+
echo "🔍 Scanning open issues..."
|
|
48
|
+
gh issue list --repo "$REPO" --state open --json number,title,labels --limit 20
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
complete_scan() {
|
|
52
|
+
echo "📋 Issues ready for completion..."
|
|
53
|
+
gh issue list --repo "$REPO" --state open --json number,title --limit 20
|
|
54
|
+
echo ""
|
|
55
|
+
echo "Today: $(get_today)"
|
|
56
|
+
echo "Close with: ./smart-ops.sh close <number>"
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
create_issue() {
|
|
60
|
+
local title="$1"
|
|
61
|
+
local body="$2"
|
|
62
|
+
local labels="${3:-enhancement}"
|
|
63
|
+
local days="${4:-7}"
|
|
64
|
+
|
|
65
|
+
[ -z "$title" ] && { echo "❌ Title required"; return 1; }
|
|
66
|
+
|
|
67
|
+
echo "📝 Creating: $title (${days}d)"
|
|
68
|
+
gh issue create --repo "$REPO" --title "$title" --body "$body" --label "$labels"
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
close_issue() {
|
|
72
|
+
local num="$1"
|
|
73
|
+
local comment="${2:-Completed}"
|
|
74
|
+
|
|
75
|
+
[ -z "$num" ] && { echo "❌ Issue number required"; return 1; }
|
|
76
|
+
|
|
77
|
+
read -p "Close #$num? (y/N): " -n 1 -r; echo
|
|
78
|
+
[[ ! $REPLY =~ ^[Yy]$ ]] && return 0
|
|
79
|
+
|
|
80
|
+
gh issue close "$num" --repo "$REPO" --comment "$comment"
|
|
81
|
+
echo "✅ Closed #$num"
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
move_to_progress() {
|
|
85
|
+
local id="$1"
|
|
86
|
+
[ -z "$PROJECT_ID" ] && { echo "❌ No project configured"; return 1; }
|
|
87
|
+
gh project item-edit --id "$id" --field-id "$STATUS_FIELD_ID" --project-id "$PROJECT_ID" --single-select-option-id "$IN_PROGRESS_OPTION_ID"
|
|
88
|
+
echo "✅ → In Progress"
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
move_to_done() {
|
|
92
|
+
local id="$1"
|
|
93
|
+
[ -z "$PROJECT_ID" ] && { echo "❌ No project configured"; return 1; }
|
|
94
|
+
gh project item-edit --id "$id" --field-id "$STATUS_FIELD_ID" --project-id "$PROJECT_ID" --single-select-option-id "$DONE_OPTION_ID"
|
|
95
|
+
echo "✅ → Done"
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
show_help() {
|
|
99
|
+
cat << 'EOF'
|
|
100
|
+
Smart Ops - GitHub Automation
|
|
101
|
+
|
|
102
|
+
Usage: ./smart-ops.sh <command> [args]
|
|
103
|
+
|
|
104
|
+
Commands:
|
|
105
|
+
start List open issues
|
|
106
|
+
complete List for completion
|
|
107
|
+
create <title> [body] [labels] [days]
|
|
108
|
+
close <number> [comment]
|
|
109
|
+
progress <item_id> Move to In Progress
|
|
110
|
+
done <item_id> Move to Done
|
|
111
|
+
|
|
112
|
+
Examples:
|
|
113
|
+
./smart-ops.sh create "Fix bug" "Description" "bug" 3
|
|
114
|
+
./smart-ops.sh close 42 "Fixed"
|
|
115
|
+
EOF
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
# ============ MAIN ============
|
|
119
|
+
|
|
120
|
+
check_prerequisites
|
|
121
|
+
|
|
122
|
+
case "${1:-help}" in
|
|
123
|
+
start) start_scan ;;
|
|
124
|
+
complete) complete_scan ;;
|
|
125
|
+
create) create_issue "$2" "$3" "$4" "$5" ;;
|
|
126
|
+
close) close_issue "$2" "$3" ;;
|
|
127
|
+
progress) move_to_progress "$2" ;;
|
|
128
|
+
done) move_to_done "$2" ;;
|
|
129
|
+
*) show_help ;;
|
|
130
|
+
esac
|