@duckmind/deepquark-darwin-arm64 0.9.78 → 0.9.81
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/.deepquark/skills/bundled/data-storytelling/SKILL.md +453 -0
- package/.deepquark/skills/bundled/docx/LICENSE.txt +30 -0
- package/.deepquark/skills/bundled/docx/SKILL.md +481 -0
- package/.deepquark/skills/bundled/docx/scripts/__init__.py +1 -0
- package/.deepquark/skills/bundled/docx/scripts/accept_changes.py +135 -0
- package/.deepquark/skills/bundled/docx/scripts/comment.py +318 -0
- package/.deepquark/skills/bundled/docx/scripts/office/helpers/__init__.py +0 -0
- package/.deepquark/skills/bundled/docx/scripts/office/helpers/merge_runs.py +199 -0
- package/.deepquark/skills/bundled/docx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/.deepquark/skills/bundled/docx/scripts/office/pack.py +159 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/.deepquark/skills/bundled/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/.deepquark/skills/bundled/docx/scripts/office/soffice.py +183 -0
- package/.deepquark/skills/bundled/docx/scripts/office/unpack.py +132 -0
- package/.deepquark/skills/bundled/docx/scripts/office/validate.py +111 -0
- package/.deepquark/skills/bundled/docx/scripts/office/validators/__init__.py +15 -0
- package/.deepquark/skills/bundled/docx/scripts/office/validators/base.py +847 -0
- package/.deepquark/skills/bundled/docx/scripts/office/validators/docx.py +446 -0
- package/.deepquark/skills/bundled/docx/scripts/office/validators/pptx.py +275 -0
- package/.deepquark/skills/bundled/docx/scripts/office/validators/redlining.py +247 -0
- package/.deepquark/skills/bundled/docx/scripts/templates/comments.xml +3 -0
- package/.deepquark/skills/bundled/docx/scripts/templates/commentsExtended.xml +3 -0
- package/.deepquark/skills/bundled/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/.deepquark/skills/bundled/docx/scripts/templates/commentsIds.xml +3 -0
- package/.deepquark/skills/bundled/docx/scripts/templates/people.xml +3 -0
- package/.deepquark/skills/bundled/drawio-architect/SKILL.md +300 -0
- package/.deepquark/skills/bundled/drawio-architect/references/architecture-patterns.md +236 -0
- package/.deepquark/skills/bundled/drawio-architect/references/branding.md +180 -0
- package/.deepquark/skills/bundled/drawio-architect/references/cloud-icons.md +493 -0
- package/.deepquark/skills/bundled/drawio-architect/references/style-guide.md +268 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/ARCHITECTURE_REVIEW.md +495 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/AUTONOMY_VERIFICATION.md +420 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/COMPETITIVE_ANALYSIS.md +179 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/CONTEXT_OPTIMIZATION.md +293 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/QUICK_START.md +167 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/README.md +259 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/SKILL.md +754 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/WORD_PRECISION_AUDIT.md +476 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/reference/methodology.md +384 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/requirements.txt +10 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/scripts/citation_manager.py +177 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/scripts/md_to_html.py +330 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/scripts/research_engine.py +578 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/scripts/source_evaluator.py +292 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/scripts/validate_report.py +354 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/scripts/verify_citations.py +430 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/scripts/verify_html.py +220 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/templates/mckinsey_report_template.html +443 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/templates/report_template.md +414 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/tests/fixtures/invalid_report.md +27 -0
- package/.deepquark/skills/bundled/duckmind-deep-research/tests/fixtures/valid_report.md +114 -0
- package/.deepquark/skills/bundled/duckmind-multimodal/SKILL.md +171 -0
- package/.deepquark/skills/bundled/duckmind-multimodal/references/image-generation.md +131 -0
- package/.deepquark/skills/bundled/duckmind-multimodal/references/pdf-processing.md +120 -0
- package/.deepquark/skills/bundled/duckmind-transcribe/SKILL.md +70 -0
- package/.deepquark/skills/bundled/duckmind-transcribe/scripts/transcribe.sh +134 -0
- package/.deepquark/skills/bundled/excel-analysis/SKILL.md +247 -0
- package/.deepquark/skills/bundled/ge-payroll/SKILL.md +153 -0
- package/.deepquark/skills/bundled/ge-payroll/evals/evals.json +23 -0
- package/.deepquark/skills/bundled/ge-payroll/references/pain-points-improvements.md +106 -0
- package/.deepquark/skills/bundled/ge-payroll/references/process-detail.md +217 -0
- package/.deepquark/skills/bundled/ge-payroll/references/raci-stakeholders.md +85 -0
- package/.deepquark/skills/bundled/ge-payroll/references/timeline-mandays.md +64 -0
- package/.deepquark/skills/bundled/pdf/LICENSE.txt +30 -0
- package/.deepquark/skills/bundled/pdf/SKILL.md +314 -0
- package/.deepquark/skills/bundled/pdf/forms.md +294 -0
- package/.deepquark/skills/bundled/pdf/reference.md +612 -0
- package/.deepquark/skills/bundled/pdf/scripts/check_bounding_boxes.py +65 -0
- package/.deepquark/skills/bundled/pdf/scripts/check_fillable_fields.py +11 -0
- package/.deepquark/skills/bundled/pdf/scripts/convert_pdf_to_images.py +33 -0
- package/.deepquark/skills/bundled/pdf/scripts/create_validation_image.py +37 -0
- package/.deepquark/skills/bundled/pdf/scripts/extract_form_field_info.py +122 -0
- package/.deepquark/skills/bundled/pdf/scripts/extract_form_structure.py +115 -0
- package/.deepquark/skills/bundled/pdf/scripts/fill_fillable_fields.py +98 -0
- package/.deepquark/skills/bundled/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
- package/.deepquark/skills/bundled/perplexity-search/SKILL.md +447 -0
- package/.deepquark/skills/bundled/perplexity-search/assets/.env.example +16 -0
- package/.deepquark/skills/bundled/perplexity-search/references/model_comparison.md +386 -0
- package/.deepquark/skills/bundled/perplexity-search/references/openrouter_setup.md +454 -0
- package/.deepquark/skills/bundled/perplexity-search/references/search_strategies.md +258 -0
- package/.deepquark/skills/bundled/perplexity-search/scripts/perplexity_search.py +277 -0
- package/.deepquark/skills/bundled/perplexity-search/scripts/setup_env.py +171 -0
- package/.deepquark/skills/bundled/pptx/LICENSE.txt +30 -0
- package/.deepquark/skills/bundled/pptx/SKILL.md +232 -0
- package/.deepquark/skills/bundled/pptx/editing.md +205 -0
- package/.deepquark/skills/bundled/pptx/pptxgenjs.md +420 -0
- package/.deepquark/skills/bundled/pptx/scripts/__init__.py +0 -0
- package/.deepquark/skills/bundled/pptx/scripts/add_slide.py +195 -0
- package/.deepquark/skills/bundled/pptx/scripts/clean.py +286 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/helpers/__init__.py +0 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/helpers/merge_runs.py +199 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/pack.py +159 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/soffice.py +183 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/unpack.py +132 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/validate.py +111 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/validators/__init__.py +15 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/validators/base.py +847 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/validators/docx.py +446 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/validators/pptx.py +275 -0
- package/.deepquark/skills/bundled/pptx/scripts/office/validators/redlining.py +247 -0
- package/.deepquark/skills/bundled/pptx/scripts/thumbnail.py +289 -0
- package/.deepquark/skills/bundled/text-to-pdf-automation/SKILL.md +91 -0
- package/.deepquark/skills/bundled/web-fetch/SKILL.md +56 -0
- package/.deepquark/skills/bundled/web-fetch/scripts/fetch.sh +54 -0
- package/.deepquark/skills/bundled/xlsx/LICENSE.txt +30 -0
- package/.deepquark/skills/bundled/xlsx/SKILL.md +292 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/helpers/__init__.py +0 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/helpers/merge_runs.py +199 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/pack.py +159 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/soffice.py +183 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/unpack.py +132 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/validate.py +111 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/validators/__init__.py +15 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/validators/base.py +847 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/validators/docx.py +446 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/validators/pptx.py +275 -0
- package/.deepquark/skills/bundled/xlsx/scripts/office/validators/redlining.py +247 -0
- package/.deepquark/skills/bundled/xlsx/scripts/recalc.py +184 -0
- package/.deepquark/skills/bundled/youtube-downloader/SKILL.md +99 -0
- package/.deepquark/skills/bundled/youtube-downloader/scripts/download_video.py +145 -0
- package/.deepquark/skills/bundled/youtube-transcribe-skill/SKILL.md +116 -0
- package/bin/deepquark +0 -0
- package/package.json +4 -3
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: drawio-architect
|
|
3
|
+
description: Create and edit draw.io diagram files (.drawio) for architecture diagrams, flowcharts, network diagrams, and technical illustrations. Use when the user asks to create diagrams, architecture visuals, flowcharts, wireframes, network topology, or any visual that should be editable in draw.io/diagrams.net. Outputs XML-based .drawio files that can be imported directly into draw.io desktop or web app.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Draw.io Diagram Skill
|
|
7
|
+
|
|
8
|
+
Create professional, editable diagram files in draw.io's native XML format.
|
|
9
|
+
|
|
10
|
+
## Output Format
|
|
11
|
+
|
|
12
|
+
Draw.io files are XML with this structure:
|
|
13
|
+
|
|
14
|
+
```xml
|
|
15
|
+
<mxfile host="app.diagrams.net" modified="DATE" agent="Claude" version="21.0.0" type="device">
|
|
16
|
+
<diagram name="DIAGRAM_NAME" id="UNIQUE_ID">
|
|
17
|
+
<mxGraphModel dx="1200" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0">
|
|
18
|
+
<root>
|
|
19
|
+
<mxCell id="0" />
|
|
20
|
+
<mxCell id="1" parent="0" />
|
|
21
|
+
<!-- All diagram elements go here -->
|
|
22
|
+
</root>
|
|
23
|
+
</mxGraphModel>
|
|
24
|
+
</diagram>
|
|
25
|
+
</mxfile>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Core Element Types
|
|
29
|
+
|
|
30
|
+
### Basic Shapes
|
|
31
|
+
|
|
32
|
+
```xml
|
|
33
|
+
<!-- Rectangle -->
|
|
34
|
+
<mxCell id="unique-id" value="Label Text" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
|
|
35
|
+
<mxGeometry x="100" y="100" width="120" height="60" as="geometry" />
|
|
36
|
+
</mxCell>
|
|
37
|
+
|
|
38
|
+
<!-- Rounded Rectangle -->
|
|
39
|
+
<mxCell id="unique-id" value="Label" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
|
|
40
|
+
<mxGeometry x="100" y="100" width="120" height="60" as="geometry" />
|
|
41
|
+
</mxCell>
|
|
42
|
+
|
|
43
|
+
<!-- Cylinder (Database) -->
|
|
44
|
+
<mxCell id="unique-id" value="Database" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="1">
|
|
45
|
+
<mxGeometry x="100" y="100" width="80" height="80" as="geometry" />
|
|
46
|
+
</mxCell>
|
|
47
|
+
|
|
48
|
+
<!-- Ellipse -->
|
|
49
|
+
<mxCell id="unique-id" value="Node" style="ellipse;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="1">
|
|
50
|
+
<mxGeometry x="100" y="100" width="80" height="80" as="geometry" />
|
|
51
|
+
</mxCell>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Containers & Groups
|
|
55
|
+
|
|
56
|
+
```xml
|
|
57
|
+
<!-- Swimlane (Container with Header) -->
|
|
58
|
+
<mxCell id="unique-id" value="Section Title" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=30;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" vertex="1" parent="1">
|
|
59
|
+
<mxGeometry x="40" y="40" width="200" height="150" as="geometry" />
|
|
60
|
+
</mxCell>
|
|
61
|
+
|
|
62
|
+
<!-- Header Bar (using brand primary color) -->
|
|
63
|
+
<mxCell id="unique-id" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#0066CC;strokeColor=#0066CC;" vertex="1" parent="1">
|
|
64
|
+
<mxGeometry x="40" y="40" width="400" height="40" as="geometry" />
|
|
65
|
+
</mxCell>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Connectors & Arrows
|
|
69
|
+
|
|
70
|
+
```xml
|
|
71
|
+
<!-- Basic Arrow -->
|
|
72
|
+
<mxCell id="unique-id" value="" style="endArrow=classic;html=1;rounded=0;strokeWidth=2;strokeColor=#666666;" edge="1" parent="1" source="source-id" target="target-id">
|
|
73
|
+
<mxGeometry relative="1" as="geometry" />
|
|
74
|
+
</mxCell>
|
|
75
|
+
|
|
76
|
+
<!-- Bidirectional Arrow -->
|
|
77
|
+
<mxCell id="unique-id" value="" style="endArrow=classic;startArrow=classic;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1">
|
|
78
|
+
<mxGeometry relative="1" as="geometry">
|
|
79
|
+
<mxPoint x="200" y="200" as="sourcePoint" />
|
|
80
|
+
<mxPoint x="400" y="200" as="targetPoint" />
|
|
81
|
+
</mxGeometry>
|
|
82
|
+
</mxCell>
|
|
83
|
+
|
|
84
|
+
<!-- Flex Arrow (Block Arrow) -->
|
|
85
|
+
<mxCell id="unique-id" value="" style="shape=flexArrow;endArrow=classic;html=1;fillColor=#FFB800;strokeColor=#cc9400;width=20;endSize=8;" edge="1" parent="1">
|
|
86
|
+
<mxGeometry relative="1" as="geometry">
|
|
87
|
+
<mxPoint x="200" y="200" as="sourcePoint" />
|
|
88
|
+
<mxPoint x="400" y="200" as="targetPoint" />
|
|
89
|
+
</mxGeometry>
|
|
90
|
+
</mxCell>
|
|
91
|
+
|
|
92
|
+
<!-- Dashed Line -->
|
|
93
|
+
<mxCell id="unique-id" value="" style="endArrow=classic;html=1;dashed=1;dashPattern=8 8;strokeColor=#999999;" edge="1" parent="1">
|
|
94
|
+
<mxGeometry relative="1" as="geometry">
|
|
95
|
+
<mxPoint x="200" y="200" as="sourcePoint" />
|
|
96
|
+
<mxPoint x="400" y="200" as="targetPoint" />
|
|
97
|
+
</mxGeometry>
|
|
98
|
+
</mxCell>
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Text Elements
|
|
102
|
+
|
|
103
|
+
```xml
|
|
104
|
+
<!-- Plain Text -->
|
|
105
|
+
<mxCell id="unique-id" value="Label Text" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;" vertex="1" parent="1">
|
|
106
|
+
<mxGeometry x="100" y="100" width="100" height="30" as="geometry" />
|
|
107
|
+
</mxCell>
|
|
108
|
+
|
|
109
|
+
<!-- Bold Title -->
|
|
110
|
+
<mxCell id="unique-id" value="Title" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=18;fontStyle=1;fontColor=#333333;" vertex="1" parent="1">
|
|
111
|
+
<mxGeometry x="100" y="20" width="300" height="40" as="geometry" />
|
|
112
|
+
</mxCell>
|
|
113
|
+
|
|
114
|
+
<!-- Multi-line Text (use 
 for newlines) -->
|
|
115
|
+
<mxCell id="unique-id" value="Line 1
Line 2
Line 3" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=10;" vertex="1" parent="1">
|
|
116
|
+
<mxGeometry x="100" y="100" width="150" height="60" as="geometry" />
|
|
117
|
+
</mxCell>
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Common Style Properties
|
|
121
|
+
|
|
122
|
+
### Colors (use hex codes)
|
|
123
|
+
|
|
124
|
+
| Property | Purpose | Example |
|
|
125
|
+
|----------|---------|---------|
|
|
126
|
+
| `fillColor` | Background | `fillColor=#dae8fc` |
|
|
127
|
+
| `strokeColor` | Border | `strokeColor=#6c8ebf` |
|
|
128
|
+
| `fontColor` | Text | `fontColor=#333333` |
|
|
129
|
+
|
|
130
|
+
### Standard Color Palette
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
Blue: fillColor=#dae8fc;strokeColor=#6c8ebf
|
|
134
|
+
Green: fillColor=#d5e8d4;strokeColor=#82b366
|
|
135
|
+
Yellow: fillColor=#fff2cc;strokeColor=#d6b656
|
|
136
|
+
Orange: fillColor=#ffe6cc;strokeColor=#d79b00
|
|
137
|
+
Red: fillColor=#f8cecc;strokeColor=#b85450
|
|
138
|
+
Purple: fillColor=#e1d5e7;strokeColor=#9673a6
|
|
139
|
+
Grey: fillColor=#f5f5f5;strokeColor=#666666
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Typography
|
|
143
|
+
|
|
144
|
+
| Property | Values | Example |
|
|
145
|
+
|----------|--------|---------|
|
|
146
|
+
| `fontSize` | Number | `fontSize=12` |
|
|
147
|
+
| `fontStyle` | 0=normal, 1=bold, 2=italic, 3=bold+italic | `fontStyle=1` |
|
|
148
|
+
| `align` | left, center, right | `align=center` |
|
|
149
|
+
| `verticalAlign` | top, middle, bottom | `verticalAlign=middle` |
|
|
150
|
+
|
|
151
|
+
### Borders & Effects
|
|
152
|
+
|
|
153
|
+
| Property | Values | Example |
|
|
154
|
+
|----------|--------|---------|
|
|
155
|
+
| `rounded` | 0 or 1 | `rounded=1` |
|
|
156
|
+
| `strokeWidth` | Number | `strokeWidth=2` |
|
|
157
|
+
| `dashed` | 0 or 1 | `dashed=1` |
|
|
158
|
+
| `dashPattern` | Pattern | `dashPattern=8 8` |
|
|
159
|
+
| `shadow` | 0 or 1 | `shadow=1` |
|
|
160
|
+
|
|
161
|
+
## Company Branding (Customisable)
|
|
162
|
+
|
|
163
|
+
This skill supports company-specific branding. Edit `references/branding.md` to set your organisation's colours and styles.
|
|
164
|
+
|
|
165
|
+
**Default brand placeholders (replace with your own):**
|
|
166
|
+
```
|
|
167
|
+
Primary: fillColor=#0066CC;strokeColor=#0052a3;fontColor=#FFFFFF
|
|
168
|
+
Secondary: fillColor=#FFB800;strokeColor=#cc9400;fontColor=#333333
|
|
169
|
+
Dark: fillColor=#1a1a2e;strokeColor=#1a1a2e;fontColor=#FFFFFF
|
|
170
|
+
Light BG: fillColor=#f0f4f8;strokeColor=#0066CC
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
See `references/branding.md` for full customisation instructions.
|
|
174
|
+
|
|
175
|
+
## Diagram Patterns
|
|
176
|
+
|
|
177
|
+
### Architecture Diagram Layout
|
|
178
|
+
|
|
179
|
+
1. **Title bar** at top (full width, branded color)
|
|
180
|
+
2. **Main sections** as swimlanes or rounded containers
|
|
181
|
+
3. **Components** as rounded rectangles inside sections
|
|
182
|
+
4. **Databases** as cylinders
|
|
183
|
+
5. **External systems** on left/right edges
|
|
184
|
+
6. **Arrows** showing data/control flow
|
|
185
|
+
7. **Legend** in corner explaining colors/symbols
|
|
186
|
+
8. **Footer** with metadata
|
|
187
|
+
|
|
188
|
+
### Layered Architecture (Top to Bottom)
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
┌─────────────────────────────────────┐
|
|
192
|
+
│ Users / Clients │ ← Top layer
|
|
193
|
+
├─────────────────────────────────────┤
|
|
194
|
+
│ API / Interface │
|
|
195
|
+
├─────────────────────────────────────┤
|
|
196
|
+
│ Business Logic │
|
|
197
|
+
├─────────────────────────────────────┤
|
|
198
|
+
│ Data / Storage │ ← Bottom layer
|
|
199
|
+
└─────────────────────────────────────┘
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Left-to-Right Flow
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
┌──────┐ ┌──────────┐ ┌──────────┐
|
|
206
|
+
│Source│ ──► │ Process │ ──► │ Target │
|
|
207
|
+
└──────┘ └──────────┘ └──────────┘
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## Best Practices
|
|
211
|
+
|
|
212
|
+
1. **Unique IDs**: Every mxCell needs a unique `id` attribute
|
|
213
|
+
2. **Parent hierarchy**: Set `parent="1"` for top-level elements
|
|
214
|
+
3. **Positioning**: Use `mxGeometry` with x, y, width, height
|
|
215
|
+
4. **Layering**: Elements defined later appear on top
|
|
216
|
+
5. **Alignment**: Use consistent x/y spacing (grid of 10-20px)
|
|
217
|
+
6. **Colors**: Use coordinated fill/stroke pairs from the palette
|
|
218
|
+
7. **Labels**: Keep text concise; use separate text elements for descriptions
|
|
219
|
+
8. **Whitespace**: Leave margins inside containers (20-40px padding)
|
|
220
|
+
|
|
221
|
+
## Workflow
|
|
222
|
+
|
|
223
|
+
1. Determine diagram type and layout pattern
|
|
224
|
+
2. Set page dimensions in `mxGraphModel` (pageWidth, pageHeight)
|
|
225
|
+
3. Create container structure (swimlanes, groups)
|
|
226
|
+
4. Add components with unique IDs
|
|
227
|
+
5. Add connectors referencing source/target IDs
|
|
228
|
+
6. Add labels and annotations
|
|
229
|
+
7. Add legend if using color coding
|
|
230
|
+
8. Save as `.drawio` file
|
|
231
|
+
9. Copy to `/mnt/user-data/outputs/` and present to user
|
|
232
|
+
|
|
233
|
+
## Cloud Provider Icons (AWS, Azure, GCP)
|
|
234
|
+
|
|
235
|
+
Draw.io includes built-in shape libraries for major cloud providers. Use official icons for professional architecture diagrams.
|
|
236
|
+
|
|
237
|
+
### AWS Icons (Quick Reference)
|
|
238
|
+
|
|
239
|
+
AWS uses `shape=mxgraph.aws4.resourceIcon` with `resIcon=mxgraph.aws4.SERVICE`:
|
|
240
|
+
|
|
241
|
+
```xml
|
|
242
|
+
<mxCell id="lambda-1" value="Lambda" style="sketch=0;outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" vertex="1" parent="1">
|
|
243
|
+
<mxGeometry x="100" y="100" width="78" height="78" as="geometry" />
|
|
244
|
+
</mxCell>
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
**Common AWS resIcon values:**
|
|
248
|
+
- Compute: `ec2`, `lambda`, `ecs`, `eks`, `fargate`
|
|
249
|
+
- Storage: `s3`, `elastic_block_store`, `elastic_file_system`
|
|
250
|
+
- Database: `rds`, `dynamodb`, `aurora`, `elasticache`, `redshift`
|
|
251
|
+
- Networking: `vpc`, `cloudfront`, `route_53`, `api_gateway`, `elastic_load_balancing`
|
|
252
|
+
- Security: `iam`, `cognito`, `secrets_manager`, `kms`, `waf`
|
|
253
|
+
|
|
254
|
+
**AWS Category Colors:**
|
|
255
|
+
- Compute: `#ED7100`
|
|
256
|
+
- Storage: `#7AA116`
|
|
257
|
+
- Database: `#C925D1`
|
|
258
|
+
- Networking: `#8C4FFF`
|
|
259
|
+
- Security: `#DD344C`
|
|
260
|
+
|
|
261
|
+
### Azure Icons (Quick Reference)
|
|
262
|
+
|
|
263
|
+
Azure uses `image=img/lib/azure2/CATEGORY/SERVICE.svg`:
|
|
264
|
+
|
|
265
|
+
```xml
|
|
266
|
+
<mxCell id="vm-1" value="VM" style="aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/azure2/compute/Virtual_Machine.svg;verticalLabelPosition=bottom;verticalAlign=top;" vertex="1" parent="1">
|
|
267
|
+
<mxGeometry x="100" y="100" width="68" height="68" as="geometry" />
|
|
268
|
+
</mxCell>
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
**Common Azure image paths:**
|
|
272
|
+
- `compute/Virtual_Machine.svg`, `compute/Function_Apps.svg`
|
|
273
|
+
- `containers/Kubernetes_Services.svg`
|
|
274
|
+
- `storage/Storage_Accounts.svg`, `storage/Blob_Storage.svg`
|
|
275
|
+
- `databases/SQL_Database.svg`, `databases/Azure_Cosmos_DB.svg`
|
|
276
|
+
- `networking/Virtual_Networks.svg`, `networking/Load_Balancers.svg`
|
|
277
|
+
- `security/Key_Vaults.svg`, `identity/Azure_Active_Directory.svg`
|
|
278
|
+
|
|
279
|
+
### AWS Group Containers
|
|
280
|
+
|
|
281
|
+
```xml
|
|
282
|
+
<!-- VPC -->
|
|
283
|
+
<mxCell id="vpc" value="VPC" style="sketch=0;outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_vpc;strokeColor=#8C4FFF;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;dashed=0;" vertex="1" parent="1">
|
|
284
|
+
<mxGeometry x="40" y="40" width="400" height="300" as="geometry" />
|
|
285
|
+
</mxCell>
|
|
286
|
+
|
|
287
|
+
<!-- Public Subnet -->
|
|
288
|
+
grIcon=mxgraph.aws4.group_public_subnet;strokeColor=#7AA116;fillColor=#E9F3E6
|
|
289
|
+
|
|
290
|
+
<!-- Private Subnet -->
|
|
291
|
+
grIcon=mxgraph.aws4.group_private_subnet;strokeColor=#00A4A6;fillColor=#E6F6F7
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
## References
|
|
295
|
+
|
|
296
|
+
For advanced patterns and complete icon lists, see:
|
|
297
|
+
- `references/architecture-patterns.md` - Common architecture diagram layouts
|
|
298
|
+
- `references/style-guide.md` - Extended styling options and icon placement
|
|
299
|
+
- `references/cloud-icons.md` - Complete AWS, Azure, GCP icon reference
|
|
300
|
+
- `references/branding.md` - Company branding customisation guide
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# Architecture Diagram Patterns
|
|
2
|
+
|
|
3
|
+
Common layouts for technical architecture diagrams.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
1. [Cloud Architecture](#cloud-architecture)
|
|
8
|
+
2. [DRaaS / Replication](#draas-replication)
|
|
9
|
+
3. [Microservices](#microservices)
|
|
10
|
+
4. [Network Topology](#network-topology)
|
|
11
|
+
5. [CI/CD Pipeline](#cicd-pipeline)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Cloud Architecture
|
|
16
|
+
|
|
17
|
+
### Three-Zone Layout (Source → Platform → Destination)
|
|
18
|
+
|
|
19
|
+
Best for: Migration, DR, data flow diagrams
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
┌─────────────┐ ┌─────────────────┐ ┌─────────────┐
|
|
23
|
+
│ SOURCE │ │ PLATFORM │ │ DESTINATION │
|
|
24
|
+
│ (Left) │──►│ (Center) │──►│ (Right) │
|
|
25
|
+
│ │ │ │ │ │
|
|
26
|
+
└─────────────┘ └─────────────────┘ └─────────────┘
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**XML Pattern:**
|
|
30
|
+
```xml
|
|
31
|
+
<!-- Left Zone -->
|
|
32
|
+
<mxCell id="zone-left" value="" style="rounded=1;fillColor=#f5f5f5;strokeColor=#666666;" vertex="1" parent="1">
|
|
33
|
+
<mxGeometry x="40" y="100" width="300" height="400" as="geometry" />
|
|
34
|
+
</mxCell>
|
|
35
|
+
|
|
36
|
+
<!-- Center Zone (use brand primary from references/branding.md) -->
|
|
37
|
+
<mxCell id="zone-center" value="" style="rounded=1;fillColor=#0066CC;strokeColor=#0066CC;" vertex="1" parent="1">
|
|
38
|
+
<mxGeometry x="380" y="100" width="300" height="400" as="geometry" />
|
|
39
|
+
</mxCell>
|
|
40
|
+
|
|
41
|
+
<!-- Right Zone -->
|
|
42
|
+
<mxCell id="zone-right" value="" style="rounded=1;fillColor=#e8f5e9;strokeColor=#82b366;" vertex="1" parent="1">
|
|
43
|
+
<mxGeometry x="720" y="100" width="300" height="400" as="geometry" />
|
|
44
|
+
</mxCell>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Layered Stack (Top to Bottom)
|
|
48
|
+
|
|
49
|
+
Best for: Application architecture, OSI model, tech stacks
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
┌────────────────────────────────────┐
|
|
53
|
+
│ Presentation Layer │
|
|
54
|
+
├────────────────────────────────────┤
|
|
55
|
+
│ Application Layer │
|
|
56
|
+
├────────────────────────────────────┤
|
|
57
|
+
│ Service Layer │
|
|
58
|
+
├────────────────────────────────────┤
|
|
59
|
+
│ Data Layer │
|
|
60
|
+
└────────────────────────────────────┘
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Spacing:** 80-100px height per layer, 20px gap between layers
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## DRaaS / Replication
|
|
68
|
+
|
|
69
|
+
### DR Flow Pattern
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
┌──────────────┐ ┌──────────────┐
|
|
73
|
+
│ PRODUCTION │ ═══════════► │ DR SITE │
|
|
74
|
+
│ (Active) │ Replication │ (Standby) │
|
|
75
|
+
│ 🟢 │ │ ⚪ │
|
|
76
|
+
└──────────────┘ └──────────────┘
|
|
77
|
+
│ │
|
|
78
|
+
│ ┌──────────────┐ │
|
|
79
|
+
└────────►│ Orchestrator │◄──────────┘
|
|
80
|
+
│ Platform │
|
|
81
|
+
└──────────────┘
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Key Elements:**
|
|
85
|
+
- Status indicators (ellipse with green/grey fill)
|
|
86
|
+
- Flex arrows for replication flow
|
|
87
|
+
- Dashed arrows for failover paths
|
|
88
|
+
- Central orchestrator platform
|
|
89
|
+
|
|
90
|
+
### Failover/Failback Section
|
|
91
|
+
|
|
92
|
+
Place at bottom of diagram with dashed border:
|
|
93
|
+
|
|
94
|
+
```xml
|
|
95
|
+
<mxCell id="failover-section" value="" style="rounded=1;fillColor=#fff5f5;strokeColor=#b85450;strokeWidth=2;dashed=1;" vertex="1" parent="1">
|
|
96
|
+
<mxGeometry x="40" y="600" width="1000" height="150" as="geometry" />
|
|
97
|
+
</mxCell>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Microservices
|
|
103
|
+
|
|
104
|
+
### Service Mesh Pattern
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
┌─────────┐
|
|
108
|
+
│ Gateway │
|
|
109
|
+
└────┬────┘
|
|
110
|
+
│
|
|
111
|
+
┌────────┼────────┐
|
|
112
|
+
│ │ │
|
|
113
|
+
┌───▼──┐ ┌──▼───┐ ┌──▼───┐
|
|
114
|
+
│Svc A │ │Svc B │ │Svc C │
|
|
115
|
+
└───┬──┘ └──┬───┘ └──┬───┘
|
|
116
|
+
│ │ │
|
|
117
|
+
└───────┼────────┘
|
|
118
|
+
│
|
|
119
|
+
┌────▼────┐
|
|
120
|
+
│ Message │
|
|
121
|
+
│ Queue │
|
|
122
|
+
└────┬────┘
|
|
123
|
+
│
|
|
124
|
+
┌────▼────┐
|
|
125
|
+
│Database │
|
|
126
|
+
└─────────┘
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Colors by function:**
|
|
130
|
+
- Gateway/API: Yellow (`#fff2cc`)
|
|
131
|
+
- Services: Blue (`#dae8fc`)
|
|
132
|
+
- Queue/Messaging: Orange (`#ffe6cc`)
|
|
133
|
+
- Database: Red (`#f8cecc`)
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Network Topology
|
|
138
|
+
|
|
139
|
+
### Hub and Spoke
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
┌──────────┐
|
|
143
|
+
┌────────│ Spoke 1 │
|
|
144
|
+
│ └──────────┘
|
|
145
|
+
│
|
|
146
|
+
┌────▼────┐ ┌──────────┐
|
|
147
|
+
│ HUB │───│ Spoke 2 │
|
|
148
|
+
└────┬────┘ └──────────┘
|
|
149
|
+
│
|
|
150
|
+
│ ┌──────────┐
|
|
151
|
+
└────────│ Spoke 3 │
|
|
152
|
+
└──────────┘
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### VPC/Subnet Layout
|
|
156
|
+
|
|
157
|
+
```xml
|
|
158
|
+
<!-- VPC Container -->
|
|
159
|
+
<mxCell id="vpc" value="VPC 10.0.0.0/16" style="swimlane;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
|
|
160
|
+
<mxGeometry x="100" y="100" width="600" height="400" as="geometry" />
|
|
161
|
+
</mxCell>
|
|
162
|
+
|
|
163
|
+
<!-- Public Subnet -->
|
|
164
|
+
<mxCell id="public-subnet" value="Public Subnet 10.0.1.0/24" style="swimlane;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
|
|
165
|
+
<mxGeometry x="120" y="150" width="260" height="150" as="geometry" />
|
|
166
|
+
</mxCell>
|
|
167
|
+
|
|
168
|
+
<!-- Private Subnet -->
|
|
169
|
+
<mxCell id="private-subnet" value="Private Subnet 10.0.2.0/24" style="swimlane;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="1">
|
|
170
|
+
<mxGeometry x="420" y="150" width="260" height="150" as="geometry" />
|
|
171
|
+
</mxCell>
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## CI/CD Pipeline
|
|
177
|
+
|
|
178
|
+
### Linear Pipeline
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
┌──────┐ ┌───────┐ ┌──────┐ ┌────────┐ ┌────────┐
|
|
182
|
+
│ Code │──►│ Build │──►│ Test │──►│ Deploy │──►│ Monitor│
|
|
183
|
+
└──────┘ └───────┘ └──────┘ └────────┘ └────────┘
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**Stage colors (left to right):**
|
|
187
|
+
1. Code: Blue
|
|
188
|
+
2. Build: Yellow
|
|
189
|
+
3. Test: Orange
|
|
190
|
+
4. Deploy: Green
|
|
191
|
+
5. Monitor: Purple
|
|
192
|
+
|
|
193
|
+
### Pipeline with Environments
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
┌─────────────────────────────────────┐
|
|
197
|
+
│ Pipeline │
|
|
198
|
+
┌──────┐ ┌───────┐│ ┌─────┐ ┌─────┐ ┌──────────┐ │
|
|
199
|
+
│ Code │──►│ Build │├─►│ Dev │──►│ UAT │──►│Production│ │
|
|
200
|
+
└──────┘ └───────┘│ └─────┘ └─────┘ └──────────┘ │
|
|
201
|
+
└─────────────────────────────────────┘
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## OpenStack Architecture
|
|
207
|
+
|
|
208
|
+
### Core Services Layout
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
┌────────────────────────────────────────────────────────┐
|
|
212
|
+
│ OpenStack Platform │
|
|
213
|
+
├──────────┬──────────┬──────────┬──────────┬───────────┤
|
|
214
|
+
│ Nova │ Cinder │ Neutron │ Glance │ Swift │
|
|
215
|
+
│(Compute) │(Storage) │(Network) │ (Image) │ (Object) │
|
|
216
|
+
├──────────┴──────────┴──────────┴──────────┴───────────┤
|
|
217
|
+
│ Keystone (Identity) │ Horizon (Dashboard) │ Heat │
|
|
218
|
+
└───────────────────────┴───────────────────────┴───────┘
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
**Service color coding:**
|
|
222
|
+
- Compute services: Green
|
|
223
|
+
- Identity/Security: Orange
|
|
224
|
+
- Storage: Red
|
|
225
|
+
- Network: Blue
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## Tips for Complex Diagrams
|
|
230
|
+
|
|
231
|
+
1. **Group related elements** - Use swimlanes for logical grouping
|
|
232
|
+
2. **Consistent spacing** - 20-40px between elements, 60-100px between groups
|
|
233
|
+
3. **Flow direction** - Pick one (L→R or T→B) and stick with it
|
|
234
|
+
4. **Color coding** - Max 5-6 colors, with legend
|
|
235
|
+
5. **Labels on arrows** - Use for protocol/port/action descriptions
|
|
236
|
+
6. **Status indicators** - Small circles with semantic colors (green=active, red=error, grey=standby)
|