opencode-knowledge-work 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +212 -0
- package/README.md +124 -2
- package/content/bio-research/.mcp.json +48 -0
- package/content/bio-research/CONNECTORS.md +23 -0
- package/content/bio-research/LICENSE +202 -0
- package/content/bio-research/README.md +83 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/LICENSE.txt +201 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/SKILL.md +280 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/references/asm_schema_overview.md +226 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/references/field_classification_guide.md +503 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/references/flattening_guide.md +254 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/references/supported_instruments.md +151 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/requirements.txt +26 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/scripts/convert_to_asm.py +543 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/scripts/export_parser.py +481 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/scripts/flatten_asm.py +254 -0
- package/content/bio-research/skills/bio-research-instrument-data-to-allotrope/scripts/validate_asm.py +1102 -0
- package/content/bio-research/skills/bio-research-nextflow-development/LICENSE.txt +201 -0
- package/content/bio-research/skills/bio-research-nextflow-development/SKILL.md +290 -0
- package/content/bio-research/skills/bio-research-nextflow-development/references/geo-sra-acquisition.md +416 -0
- package/content/bio-research/skills/bio-research-nextflow-development/references/installation.md +96 -0
- package/content/bio-research/skills/bio-research-nextflow-development/references/pipelines/atacseq.md +138 -0
- package/content/bio-research/skills/bio-research-nextflow-development/references/pipelines/rnaseq.md +118 -0
- package/content/bio-research/skills/bio-research-nextflow-development/references/pipelines/sarek.md +145 -0
- package/content/bio-research/skills/bio-research-nextflow-development/references/troubleshooting.md +137 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/check_environment.py +452 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/config/genomes.yaml +148 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/config/pipelines/atacseq.yaml +187 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/config/pipelines/rnaseq.yaml +147 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/config/pipelines/sarek.yaml +233 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/detect_data_type.py +300 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/generate_samplesheet.py +455 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/manage_genomes.py +521 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/sra_geo_fetch.py +732 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/utils/__init__.py +69 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/utils/file_discovery.py +189 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/utils/ncbi_utils.py +808 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/utils/sample_inference.py +290 -0
- package/content/bio-research/skills/bio-research-nextflow-development/scripts/utils/validators.py +256 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/LICENSE.txt +201 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/SKILL.md +269 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/01-intuition-pumps.md +264 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/02-risk-assessment.md +323 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/03-optimization-function.md +481 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/04-parameter-strategy.md +396 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/05-decision-tree.md +85 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/06-adversity-planning.md +123 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/07-problem-inversion.md +152 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/08-integration-synthesis.md +173 -0
- package/content/bio-research/skills/bio-research-scientific-problem-selection/references/09-meta-framework.md +504 -0
- package/content/bio-research/skills/bio-research-scvi-tools/LICENSE.txt +201 -0
- package/content/bio-research/skills/bio-research-scvi-tools/SKILL.md +155 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/atac_peakvi.md +398 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/batch_correction_sysvi.md +417 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/citeseq_totalvi.md +420 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/data_preparation.md +286 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/environment_setup.md +254 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/label_transfer.md +373 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/multiome_multivi.md +384 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/rna_velocity_velovi.md +410 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/scarches_mapping.md +401 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/scrna_integration.md +429 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/spatial_deconvolution.md +438 -0
- package/content/bio-research/skills/bio-research-scvi-tools/references/troubleshooting.md +420 -0
- package/content/bio-research/skills/bio-research-scvi-tools/scripts/cluster_embed.py +212 -0
- package/content/bio-research/skills/bio-research-scvi-tools/scripts/differential_expression.py +220 -0
- package/content/bio-research/skills/bio-research-scvi-tools/scripts/integrate_datasets.py +237 -0
- package/content/bio-research/skills/bio-research-scvi-tools/scripts/model_utils.py +634 -0
- package/content/bio-research/skills/bio-research-scvi-tools/scripts/prepare_data.py +169 -0
- package/content/bio-research/skills/bio-research-scvi-tools/scripts/train_model.py +370 -0
- package/content/bio-research/skills/bio-research-scvi-tools/scripts/transfer_labels.py +224 -0
- package/content/bio-research/skills/bio-research-scvi-tools/scripts/validate_adata.py +397 -0
- package/content/bio-research/skills/bio-research-single-cell-rna-qc/LICENSE.txt +201 -0
- package/content/bio-research/skills/bio-research-single-cell-rna-qc/SKILL.md +175 -0
- package/content/bio-research/skills/bio-research-single-cell-rna-qc/references/scverse_qc_guidelines.md +186 -0
- package/content/bio-research/skills/bio-research-single-cell-rna-qc/scripts/qc_analysis.py +232 -0
- package/content/bio-research/skills/bio-research-single-cell-rna-qc/scripts/qc_core.py +233 -0
- package/content/bio-research/skills/bio-research-single-cell-rna-qc/scripts/qc_plotting.py +235 -0
- package/content/bio-research/skills/bio-research-start/SKILL.md +79 -0
- package/content/customer-support/.mcp.json +40 -0
- package/content/customer-support/CONNECTORS.md +19 -0
- package/content/customer-support/LICENSE +202 -0
- package/content/customer-support/README.md +140 -0
- package/content/customer-support/skills/customer-support-customer-escalation/SKILL.md +248 -0
- package/content/customer-support/skills/customer-support-customer-research/SKILL.md +252 -0
- package/content/customer-support/skills/customer-support-draft-response/SKILL.md +418 -0
- package/content/customer-support/skills/customer-support-kb-article/SKILL.md +351 -0
- package/content/customer-support/skills/customer-support-ticket-triage/SKILL.md +275 -0
- package/content/data/.mcp.json +36 -0
- package/content/data/CONNECTORS.md +18 -0
- package/content/data/LICENSE +202 -0
- package/content/data/README.md +121 -0
- package/content/data/skills/data-analyze/SKILL.md +119 -0
- package/content/data/skills/data-build-dashboard/SKILL.md +924 -0
- package/content/data/skills/data-create-viz/SKILL.md +154 -0
- package/content/data/skills/data-data-context-extractor/SKILL.md +227 -0
- package/content/data/skills/data-data-context-extractor/references/domain-template.md +147 -0
- package/content/data/skills/data-data-context-extractor/references/example-output.md +198 -0
- package/content/data/skills/data-data-context-extractor/references/skill-template.md +148 -0
- package/content/data/skills/data-data-context-extractor/references/sql-dialects.md +121 -0
- package/content/data/skills/data-data-context-extractor/scripts/package_data_skill.py +126 -0
- package/content/data/skills/data-data-visualization/SKILL.md +305 -0
- package/content/data/skills/data-explore-data/SKILL.md +325 -0
- package/content/data/skills/data-sql-queries/SKILL.md +428 -0
- package/content/data/skills/data-statistical-analysis/SKILL.md +245 -0
- package/content/data/skills/data-validate-data/SKILL.md +383 -0
- package/content/data/skills/data-write-query/SKILL.md +122 -0
- package/content/design/.mcp.json +44 -0
- package/content/design/CONNECTORS.md +18 -0
- package/content/design/README.md +117 -0
- package/content/design/skills/design-accessibility-review/SKILL.md +128 -0
- package/content/design/skills/design-design-critique/SKILL.md +118 -0
- package/content/design/skills/design-design-handoff/SKILL.md +131 -0
- package/content/design/skills/design-design-system/SKILL.md +190 -0
- package/content/design/skills/design-research-synthesis/SKILL.md +92 -0
- package/content/design/skills/design-user-research/SKILL.md +41 -0
- package/content/design/skills/design-ux-copy/SKILL.md +107 -0
- package/content/engineering/.mcp.json +48 -0
- package/content/engineering/CONNECTORS.md +19 -0
- package/content/engineering/README.md +136 -0
- package/content/engineering/skills/engineering-architecture/SKILL.md +85 -0
- package/content/engineering/skills/engineering-code-review/SKILL.md +118 -0
- package/content/engineering/skills/engineering-debug/SKILL.md +95 -0
- package/content/engineering/skills/engineering-deploy-checklist/SKILL.md +78 -0
- package/content/engineering/skills/engineering-documentation/SKILL.md +49 -0
- package/content/engineering/skills/engineering-incident-response/SKILL.md +158 -0
- package/content/engineering/skills/engineering-standup/SKILL.md +75 -0
- package/content/engineering/skills/engineering-system-design/SKILL.md +42 -0
- package/content/engineering/skills/engineering-tech-debt/SKILL.md +32 -0
- package/content/engineering/skills/engineering-testing-strategy/SKILL.md +33 -0
- package/content/enterprise-search/.mcp.json +36 -0
- package/content/enterprise-search/CONNECTORS.md +21 -0
- package/content/enterprise-search/LICENSE +202 -0
- package/content/enterprise-search/README.md +157 -0
- package/content/enterprise-search/skills/enterprise-search-digest/SKILL.md +173 -0
- package/content/enterprise-search/skills/enterprise-search-knowledge-synthesis/SKILL.md +258 -0
- package/content/enterprise-search/skills/enterprise-search-search/SKILL.md +178 -0
- package/content/enterprise-search/skills/enterprise-search-search-strategy/SKILL.md +222 -0
- package/content/enterprise-search/skills/enterprise-search-source-management/SKILL.md +173 -0
- package/content/finance/.mcp.json +32 -0
- package/content/finance/CONNECTORS.md +20 -0
- package/content/finance/LICENSE +202 -0
- package/content/finance/README.md +92 -0
- package/content/finance/skills/finance-audit-support/SKILL.md +374 -0
- package/content/finance/skills/finance-close-management/SKILL.md +221 -0
- package/content/finance/skills/finance-financial-statements/SKILL.md +335 -0
- package/content/finance/skills/finance-journal-entry/SKILL.md +131 -0
- package/content/finance/skills/finance-journal-entry-prep/SKILL.md +186 -0
- package/content/finance/skills/finance-reconciliation/SKILL.md +175 -0
- package/content/finance/skills/finance-sox-testing/SKILL.md +218 -0
- package/content/finance/skills/finance-variance-analysis/SKILL.md +266 -0
- package/content/human-resources/.mcp.json +28 -0
- package/content/human-resources/CONNECTORS.md +19 -0
- package/content/human-resources/README.md +138 -0
- package/content/human-resources/skills/human-resources-comp-analysis/SKILL.md +92 -0
- package/content/human-resources/skills/human-resources-draft-offer/SKILL.md +82 -0
- package/content/human-resources/skills/human-resources-interview-prep/SKILL.md +37 -0
- package/content/human-resources/skills/human-resources-onboarding/SKILL.md +104 -0
- package/content/human-resources/skills/human-resources-org-planning/SKILL.md +28 -0
- package/content/human-resources/skills/human-resources-people-report/SKILL.md +99 -0
- package/content/human-resources/skills/human-resources-performance-review/SKILL.md +149 -0
- package/content/human-resources/skills/human-resources-policy-lookup/SKILL.md +94 -0
- package/content/human-resources/skills/human-resources-recruiting-pipeline/SKILL.md +31 -0
- package/content/legal/.mcp.json +36 -0
- package/content/legal/CONNECTORS.md +21 -0
- package/content/legal/LICENSE +202 -0
- package/content/legal/README.md +234 -0
- package/content/legal/skills/legal-brief/SKILL.md +208 -0
- package/content/legal/skills/legal-compliance-check/SKILL.md +274 -0
- package/content/legal/skills/legal-legal-response/SKILL.md +457 -0
- package/content/legal/skills/legal-legal-risk-assessment/SKILL.md +265 -0
- package/content/legal/skills/legal-meeting-briefing/SKILL.md +220 -0
- package/content/legal/skills/legal-review-contract/SKILL.md +358 -0
- package/content/legal/skills/legal-signature-request/SKILL.md +104 -0
- package/content/legal/skills/legal-triage-nda/SKILL.md +262 -0
- package/content/legal/skills/legal-vendor-check/SKILL.md +159 -0
- package/content/manifest.json +86 -0
- package/content/marketing/.mcp.json +60 -0
- package/content/marketing/CONNECTORS.md +20 -0
- package/content/marketing/LICENSE +202 -0
- package/content/marketing/README.md +90 -0
- package/content/marketing/skills/marketing-brand-review/SKILL.md +276 -0
- package/content/marketing/skills/marketing-campaign-plan/SKILL.md +308 -0
- package/content/marketing/skills/marketing-competitive-brief/SKILL.md +331 -0
- package/content/marketing/skills/marketing-content-creation/SKILL.md +157 -0
- package/content/marketing/skills/marketing-draft-content/SKILL.md +117 -0
- package/content/marketing/skills/marketing-email-sequence/SKILL.md +220 -0
- package/content/marketing/skills/marketing-performance-report/SKILL.md +392 -0
- package/content/marketing/skills/marketing-seo-audit/SKILL.md +190 -0
- package/content/operations/.mcp.json +32 -0
- package/content/operations/CONNECTORS.md +20 -0
- package/content/operations/README.md +135 -0
- package/content/operations/skills/operations-capacity-plan/SKILL.md +113 -0
- package/content/operations/skills/operations-change-request/SKILL.md +121 -0
- package/content/operations/skills/operations-compliance-tracking/SKILL.md +44 -0
- package/content/operations/skills/operations-process-doc/SKILL.md +82 -0
- package/content/operations/skills/operations-process-optimization/SKILL.md +39 -0
- package/content/operations/skills/operations-risk-assessment/SKILL.md +40 -0
- package/content/operations/skills/operations-runbook/SKILL.md +87 -0
- package/content/operations/skills/operations-status-report/SKILL.md +77 -0
- package/content/operations/skills/operations-vendor-review/SKILL.md +104 -0
- package/content/pdf-viewer/.mcp.json +8 -0
- package/content/pdf-viewer/CONNECTORS.md +15 -0
- package/content/pdf-viewer/LICENSE +202 -0
- package/content/pdf-viewer/README.md +57 -0
- package/content/pdf-viewer/commands/annotate.md +51 -0
- package/content/pdf-viewer/commands/fill-form.md +73 -0
- package/content/pdf-viewer/commands/open.md +34 -0
- package/content/pdf-viewer/commands/sign.md +54 -0
- package/content/pdf-viewer/skills/pdf-viewer-view-pdf/SKILL.md +147 -0
- package/content/product-management/.mcp.json +72 -0
- package/content/product-management/CONNECTORS.md +22 -0
- package/content/product-management/LICENSE +202 -0
- package/content/product-management/README.md +118 -0
- package/content/product-management/commands/brainstorm.md +120 -0
- package/content/product-management/skills/product-management-competitive-brief/SKILL.md +302 -0
- package/content/product-management/skills/product-management-metrics-review/SKILL.md +388 -0
- package/content/product-management/skills/product-management-product-brainstorming/SKILL.md +273 -0
- package/content/product-management/skills/product-management-roadmap-update/SKILL.md +266 -0
- package/content/product-management/skills/product-management-sprint-planning/SKILL.md +94 -0
- package/content/product-management/skills/product-management-stakeholder-update/SKILL.md +352 -0
- package/content/product-management/skills/product-management-synthesize-research/SKILL.md +312 -0
- package/content/product-management/skills/product-management-write-spec/SKILL.md +250 -0
- package/content/productivity/.mcp.json +44 -0
- package/content/productivity/CONNECTORS.md +18 -0
- package/content/productivity/LICENSE +202 -0
- package/content/productivity/README.md +97 -0
- package/content/productivity/skills/dashboard.html +3111 -0
- package/content/productivity/skills/productivity-memory-management/SKILL.md +323 -0
- package/content/productivity/skills/productivity-start/SKILL.md +158 -0
- package/content/productivity/skills/productivity-task-management/SKILL.md +91 -0
- package/content/productivity/skills/productivity-update/SKILL.md +168 -0
- package/content/sales/.mcp.json +100 -0
- package/content/sales/CONNECTORS.md +36 -0
- package/content/sales/LICENSE +202 -0
- package/content/sales/README.md +148 -0
- package/content/sales/skills/sales-account-context/SKILL.md +94 -0
- package/content/sales/skills/sales-account-plan/SKILL.md +95 -0
- package/content/sales/skills/sales-account-research/SKILL.md +99 -0
- package/content/sales/skills/sales-account-tiering/SKILL.md +101 -0
- package/content/sales/skills/sales-call-prep/SKILL.md +111 -0
- package/content/sales/skills/sales-call-summary/SKILL.md +111 -0
- package/content/sales/skills/sales-close-plan/SKILL.md +106 -0
- package/content/sales/skills/sales-competitive-intelligence/SKILL.md +102 -0
- package/content/sales/skills/sales-create-an-asset/SKILL.md +105 -0
- package/content/sales/skills/sales-crm-hygiene-check/SKILL.md +103 -0
- package/content/sales/skills/sales-customer-health/SKILL.md +108 -0
- package/content/sales/skills/sales-customer-voice/SKILL.md +94 -0
- package/content/sales/skills/sales-daily-briefing/SKILL.md +61 -0
- package/content/sales/skills/sales-deal-advance-gap/SKILL.md +102 -0
- package/content/sales/skills/sales-deal-review/SKILL.md +105 -0
- package/content/sales/skills/sales-deal-signals/SKILL.md +96 -0
- package/content/sales/skills/sales-deal-slip-scenario/SKILL.md +101 -0
- package/content/sales/skills/sales-draft-outreach/SKILL.md +116 -0
- package/content/sales/skills/sales-end-of-day/SKILL.md +114 -0
- package/content/sales/skills/sales-expansion-whitespace/SKILL.md +97 -0
- package/content/sales/skills/sales-forecast/SKILL.md +100 -0
- package/content/sales/skills/sales-handle-objection/SKILL.md +93 -0
- package/content/sales/skills/sales-inbox-sweep/SKILL.md +114 -0
- package/content/sales/skills/sales-lead-triage/SKILL.md +105 -0
- package/content/sales/skills/sales-log-activity/SKILL.md +111 -0
- package/content/sales/skills/sales-pipeline-review/SKILL.md +97 -0
- package/content/sales/skills/sales-renewal-radar/SKILL.md +95 -0
- package/content/sales/skills/sales-rep-context/SKILL.md +90 -0
- package/content/sales/skills/sales-route-lead/SKILL.md +111 -0
- package/content/sales/skills/sales-schedule-meeting/SKILL.md +99 -0
- package/content/sales/skills/sales-setup/SKILL.md +195 -0
- package/content/sales/skills/sales-stakeholder-map/SKILL.md +107 -0
- package/content/sales/skills/sales-team-pipeline/SKILL.md +105 -0
- package/content/sales/skills/sales-update-opportunity/SKILL.md +111 -0
- package/content/sales/skills/sales-weekly-wrap/SKILL.md +90 -0
- package/content/sales/skills/sales-win-loss-review/SKILL.md +88 -0
- package/content/small-business/.mcp.json +148 -0
- package/content/small-business/README.md +117 -0
- package/content/small-business/skills/small-business-ad-manager/SKILL.md +128 -0
- package/content/small-business/skills/small-business-ad-manager/reference/ad_copy.md +112 -0
- package/content/small-business/skills/small-business-ad-manager/reference/change_playbook.md +127 -0
- package/content/small-business/skills/small-business-ad-manager/reference/data_sources.md +100 -0
- package/content/small-business/skills/small-business-ad-manager/reference/diagnostics.md +89 -0
- package/content/small-business/skills/small-business-ad-manager/reference/gotchas.md +181 -0
- package/content/small-business/skills/small-business-ap-processor/SKILL.md +158 -0
- package/content/small-business/skills/small-business-ap-processor/reference/coding_rules.md +70 -0
- package/content/small-business/skills/small-business-ap-processor/reference/gotchas.md +131 -0
- package/content/small-business/skills/small-business-ap-processor/reference/intake_and_extraction.md +82 -0
- package/content/small-business/skills/small-business-ap-processor/reference/matching_and_exceptions.md +80 -0
- package/content/small-business/skills/small-business-ap-processor/reference/payment_run.md +77 -0
- package/content/small-business/skills/small-business-brand-style/SKILL.md +106 -0
- package/content/small-business/skills/small-business-build-agent/SKILL.md +105 -0
- package/content/small-business/skills/small-business-build-agent/reference/capture.md +133 -0
- package/content/small-business/skills/small-business-build-agent/reference/gotchas.md +204 -0
- package/content/small-business/skills/small-business-build-agent/reference/skill_authoring.md +165 -0
- package/content/small-business/skills/small-business-build-connector/SKILL.md +102 -0
- package/content/small-business/skills/small-business-build-connector/reference/discovery.md +120 -0
- package/content/small-business/skills/small-business-build-connector/reference/gotchas.md +237 -0
- package/content/small-business/skills/small-business-build-connector/reference/paths.md +106 -0
- package/content/small-business/skills/small-business-build-connector/reference/use-zapier.md +128 -0
- package/content/small-business/skills/small-business-business-pulse/SKILL.md +181 -0
- package/content/small-business/skills/small-business-business-pulse/reference/data_sources.md +173 -0
- package/content/small-business/skills/small-business-business-pulse/reference/gotchas.md +103 -0
- package/content/small-business/skills/small-business-business-pulse/reference/output_template.md +109 -0
- package/content/small-business/skills/small-business-business-pulse/reference/thresholds.md +71 -0
- package/content/small-business/skills/small-business-business-pulse/reference/v2_sources.md +63 -0
- package/content/small-business/skills/small-business-call-list/SKILL.md +82 -0
- package/content/small-business/skills/small-business-canva-creator/SKILL.md +448 -0
- package/content/small-business/skills/small-business-canva-creator/reference/canva-api.md +208 -0
- package/content/small-business/skills/small-business-canva-creator/reference/examples/boutique-brief-campaign.md +181 -0
- package/content/small-business/skills/small-business-canva-creator/reference/gotchas.md +380 -0
- package/content/small-business/skills/small-business-canva-creator/reference/hubspot-staging.md +137 -0
- package/content/small-business/skills/small-business-cash-flow-snapshot/SKILL.md +251 -0
- package/content/small-business/skills/small-business-cash-flow-snapshot/reference/examples/worked-example.md +92 -0
- package/content/small-business/skills/small-business-cash-flow-snapshot/reference/gotchas.md +62 -0
- package/content/small-business/skills/small-business-cash-flow-snapshot/reference/v2_sources.md +84 -0
- package/content/small-business/skills/small-business-close-month/SKILL.md +86 -0
- package/content/small-business/skills/small-business-content-strategy/SKILL.md +152 -0
- package/content/small-business/skills/small-business-content-strategy/reference/examples/retail-boutique-example.md +71 -0
- package/content/small-business/skills/small-business-content-strategy/reference/gotchas.md +104 -0
- package/content/small-business/skills/small-business-content-strategy/reference/v2_sources.md +40 -0
- package/content/small-business/skills/small-business-contract-review/SKILL.md +158 -0
- package/content/small-business/skills/small-business-contract-review/reference/docusign-fetch.md +32 -0
- package/content/small-business/skills/small-business-contract-review/reference/examples/flagged-summary-saas.md +97 -0
- package/content/small-business/skills/small-business-contract-review/reference/gmail-fetch.md +30 -0
- package/content/small-business/skills/small-business-contract-review/reference/gotchas.md +105 -0
- package/content/small-business/skills/small-business-contract-review/reference/m365-fetch.md +60 -0
- package/content/small-business/skills/small-business-crm-autopilot/SKILL.md +162 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/cleanup-checklist.md +82 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/examples/cleanup-deal.md +83 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/examples/log-call-happy-path.md +68 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/examples/log-email-happy-path.md +50 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/gotchas.md +110 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/hubspot-fields.md +62 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/lightweight_crm.md +125 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/salesforce-fields.md +122 -0
- package/content/small-business/skills/small-business-crm-autopilot/reference/standing_mode.md +144 -0
- package/content/small-business/skills/small-business-grant-rfp-writer/SKILL.md +162 -0
- package/content/small-business/skills/small-business-grant-rfp-writer/reference/drafting.md +129 -0
- package/content/small-business/skills/small-business-grant-rfp-writer/reference/go_no_go.md +125 -0
- package/content/small-business/skills/small-business-grant-rfp-writer/reference/gotchas.md +180 -0
- package/content/small-business/skills/small-business-grant-rfp-writer/reference/opportunity_sources.md +90 -0
- package/content/small-business/skills/small-business-grant-rfp-writer/reference/org_profile.md +81 -0
- package/content/small-business/skills/small-business-grow-pipeline/SKILL.md +92 -0
- package/content/small-business/skills/small-business-growth-pulse/SKILL.md +143 -0
- package/content/small-business/skills/small-business-growth-pulse/reference/data_sources.md +113 -0
- package/content/small-business/skills/small-business-growth-pulse/reference/gotchas.md +175 -0
- package/content/small-business/skills/small-business-growth-pulse/reference/output_template.md +122 -0
- package/content/small-business/skills/small-business-growth-pulse/reference/thresholds.md +110 -0
- package/content/small-business/skills/small-business-hiring-screener/SKILL.md +137 -0
- package/content/small-business/skills/small-business-hiring-screener/reference/candidate_comms.md +132 -0
- package/content/small-business/skills/small-business-hiring-screener/reference/fair_screening.md +103 -0
- package/content/small-business/skills/small-business-hiring-screener/reference/gotchas.md +183 -0
- package/content/small-business/skills/small-business-hiring-screener/reference/onboarding.md +82 -0
- package/content/small-business/skills/small-business-hiring-screener/reference/rubric.md +122 -0
- package/content/small-business/skills/small-business-inbox-manager/SKILL.md +130 -0
- package/content/small-business/skills/small-business-inbox-manager/reference/digest_format.md +110 -0
- package/content/small-business/skills/small-business-inbox-manager/reference/gotchas.md +220 -0
- package/content/small-business/skills/small-business-inbox-manager/reference/handoffs.md +77 -0
- package/content/small-business/skills/small-business-inbox-manager/reference/reply_drafting.md +116 -0
- package/content/small-business/skills/small-business-inbox-manager/reference/triage_rules.md +72 -0
- package/content/small-business/skills/small-business-inventory-planner/SKILL.md +126 -0
- package/content/small-business/skills/small-business-inventory-planner/reference/data_sources.md +94 -0
- package/content/small-business/skills/small-business-inventory-planner/reference/gotchas.md +153 -0
- package/content/small-business/skills/small-business-inventory-planner/reference/po_drafting.md +92 -0
- package/content/small-business/skills/small-business-inventory-planner/reference/seasonality.md +112 -0
- package/content/small-business/skills/small-business-inventory-planner/reference/velocity_and_reorder.md +154 -0
- package/content/small-business/skills/small-business-invoice-chase/SKILL.md +131 -0
- package/content/small-business/skills/small-business-invoice-chase/reference/examples/firm-reminder.md +28 -0
- package/content/small-business/skills/small-business-invoice-chase/reference/examples/gentle-reminder.md +27 -0
- package/content/small-business/skills/small-business-invoice-chase/reference/gotchas.md +75 -0
- package/content/small-business/skills/small-business-invoice-chase/reference/tone-matching.md +44 -0
- package/content/small-business/skills/small-business-invoice-chase/reference/v2_sources.md +78 -0
- package/content/small-business/skills/small-business-job-post-builder/SKILL.md +204 -0
- package/content/small-business/skills/small-business-job-post-builder/reference/docusign-routing.md +63 -0
- package/content/small-business/skills/small-business-job-post-builder/reference/examples/worked-example.md +110 -0
- package/content/small-business/skills/small-business-job-post-builder/reference/existing-document-merge.md +58 -0
- package/content/small-business/skills/small-business-job-post-builder/reference/gotchas.md +68 -0
- package/content/small-business/skills/small-business-job-post-builder/reference/interview-guide-structure.md +93 -0
- package/content/small-business/skills/small-business-job-post-builder/reference/job-post-structure.md +62 -0
- package/content/small-business/skills/small-business-job-post-builder/reference/offer-letter-template.md +145 -0
- package/content/small-business/skills/small-business-job-post-builder/reference/role-intake.md +73 -0
- package/content/small-business/skills/small-business-lead-finder/SKILL.md +119 -0
- package/content/small-business/skills/small-business-lead-finder/reference/gotchas.md +152 -0
- package/content/small-business/skills/small-business-lead-finder/reference/icp_method.md +97 -0
- package/content/small-business/skills/small-business-lead-finder/reference/output_template.md +124 -0
- package/content/small-business/skills/small-business-lead-finder/reference/scoring.md +92 -0
- package/content/small-business/skills/small-business-lead-finder/reference/sourcing.md +78 -0
- package/content/small-business/skills/small-business-lead-triage/SKILL.md +81 -0
- package/content/small-business/skills/small-business-lead-triage/reference/examples/happy-path-triage.md +68 -0
- package/content/small-business/skills/small-business-lead-triage/reference/gotchas.md +76 -0
- package/content/small-business/skills/small-business-lead-triage/reference/hubspot-scoring.md +169 -0
- package/content/small-business/skills/small-business-marketing-monday/SKILL.md +108 -0
- package/content/small-business/skills/small-business-monday-brief/SKILL.md +97 -0
- package/content/small-business/skills/small-business-month-end-prep/SKILL.md +331 -0
- package/content/small-business/skills/small-business-month-end-prep/reference/close-packet-format.md +127 -0
- package/content/small-business/skills/small-business-month-end-prep/reference/examples/pl-narrative.md +52 -0
- package/content/small-business/skills/small-business-month-end-prep/reference/gotchas.md +113 -0
- package/content/small-business/skills/small-business-month-end-prep/reference/paypal-settlements.md +110 -0
- package/content/small-business/skills/small-business-month-end-prep/reference/quickbooks-reconcile.md +71 -0
- package/content/small-business/skills/small-business-month-end-prep/reference/v2_sources.md +125 -0
- package/content/small-business/skills/small-business-month-end-prep/reference/xero-reconcile.md +175 -0
- package/content/small-business/skills/small-business-month-end-prep/reference/zoho-books-reconcile.md +168 -0
- package/content/small-business/skills/small-business-outreach-composer/SKILL.md +144 -0
- package/content/small-business/skills/small-business-outreach-composer/reference/gotchas.md +213 -0
- package/content/small-business/skills/small-business-outreach-composer/reference/output_template.md +147 -0
- package/content/small-business/skills/small-business-outreach-composer/reference/sequence_patterns.md +99 -0
- package/content/small-business/skills/small-business-outreach-composer/reference/slop_test.md +164 -0
- package/content/small-business/skills/small-business-pay-the-bills/SKILL.md +101 -0
- package/content/small-business/skills/small-business-payroll-prep/SKILL.md +139 -0
- package/content/small-business/skills/small-business-payroll-prep/reference/anomaly_rules.md +99 -0
- package/content/small-business/skills/small-business-payroll-prep/reference/books_sync.md +72 -0
- package/content/small-business/skills/small-business-payroll-prep/reference/gotchas.md +153 -0
- package/content/small-business/skills/small-business-payroll-prep/reference/run_sheet_format.md +90 -0
- package/content/small-business/skills/small-business-payroll-prep/reference/timesheet_intake.md +118 -0
- package/content/small-business/skills/small-business-plan-payroll/SKILL.md +88 -0
- package/content/small-business/skills/small-business-proposal-builder/SKILL.md +168 -0
- package/content/small-business/skills/small-business-proposal-builder/reference/discovery_extraction.md +138 -0
- package/content/small-business/skills/small-business-proposal-builder/reference/gotchas.md +184 -0
- package/content/small-business/skills/small-business-proposal-builder/reference/output_template.md +128 -0
- package/content/small-business/skills/small-business-proposal-builder/reference/pricing_method.md +125 -0
- package/content/small-business/skills/small-business-proposal-builder/reference/proposal_structure.md +120 -0
- package/content/small-business/skills/small-business-reactivate/SKILL.md +109 -0
- package/content/small-business/skills/small-business-report-builder/SKILL.md +142 -0
- package/content/small-business/skills/small-business-report-builder/reference/data_sources.md +168 -0
- package/content/small-business/skills/small-business-report-builder/reference/gotchas.md +155 -0
- package/content/small-business/skills/small-business-report-builder/reference/output_template.md +109 -0
- package/content/small-business/skills/small-business-report-builder/reference/report_spec.md +109 -0
- package/content/small-business/skills/small-business-report-builder/reference/saved_reports.md +50 -0
- package/content/small-business/skills/small-business-report-pack/SKILL.md +83 -0
- package/content/small-business/skills/small-business-restock/SKILL.md +88 -0
- package/content/small-business/skills/small-business-review-reputation/SKILL.md +130 -0
- package/content/small-business/skills/small-business-review-reputation/reference/churn-signals.md +110 -0
- package/content/small-business/skills/small-business-review-reputation/reference/examples/example-report.md +150 -0
- package/content/small-business/skills/small-business-review-reputation/reference/gotchas.md +164 -0
- package/content/small-business/skills/small-business-review-reputation/reference/response-patterns.md +123 -0
- package/content/small-business/skills/small-business-review-reputation/reference/sources.md +116 -0
- package/content/small-business/skills/small-business-seo-ai-visibility/SKILL.md +143 -0
- package/content/small-business/skills/small-business-seo-ai-visibility/reference/ai_visibility.md +173 -0
- package/content/small-business/skills/small-business-seo-ai-visibility/reference/audit_checklist.md +134 -0
- package/content/small-business/skills/small-business-seo-ai-visibility/reference/catalog_refresh.md +126 -0
- package/content/small-business/skills/small-business-seo-ai-visibility/reference/content_rewrite.md +113 -0
- package/content/small-business/skills/small-business-seo-ai-visibility/reference/gotchas.md +211 -0
- package/content/small-business/skills/small-business-smb-onboard/SKILL.md +82 -0
- package/content/small-business/skills/small-business-smb-onboard/reference/examples/happy-path.md +190 -0
- package/content/small-business/skills/small-business-smb-onboard/reference/gotchas.md +111 -0
- package/content/small-business/skills/small-business-smb-onboard/reference/onboard-checklist.md +99 -0
- package/content/small-business/skills/small-business-smb-onboard/reference/website-research.md +82 -0
- package/content/small-business/skills/small-business-smb-router/SKILL.md +216 -0
- package/content/small-business/skills/small-business-smb-router/reference/connector-map.md +96 -0
- package/content/small-business/skills/small-business-social-content-engine/SKILL.md +162 -0
- package/content/small-business/skills/small-business-social-content-engine/reference/calendar.md +116 -0
- package/content/small-business/skills/small-business-social-content-engine/reference/canva-api.md +208 -0
- package/content/small-business/skills/small-business-social-content-engine/reference/examples/okonkwo-campaign.md +190 -0
- package/content/small-business/skills/small-business-social-content-engine/reference/gotchas.md +447 -0
- package/content/small-business/skills/small-business-social-content-engine/reference/publishing.md +166 -0
- package/content/small-business/skills/small-business-social-content-engine/reference/shopify-assets.md +77 -0
- package/content/small-business/skills/small-business-speed-to-lead/SKILL.md +172 -0
- package/content/small-business/skills/small-business-speed-to-lead/reference/approval.md +61 -0
- package/content/small-business/skills/small-business-speed-to-lead/reference/gotchas.md +167 -0
- package/content/small-business/skills/small-business-speed-to-lead/reference/qualification.md +153 -0
- package/content/small-business/skills/small-business-speed-to-lead/reference/response_patterns.md +184 -0
- package/content/small-business/skills/small-business-tax-prep/SKILL.md +85 -0
- package/content/small-business/skills/small-business-tax-season-organizer/SKILL.md +210 -0
- package/content/small-business/skills/small-business-tax-season-organizer/reference/calculation-assumptions.md +177 -0
- package/content/small-business/skills/small-business-tax-season-organizer/reference/connector-queries.md +267 -0
- package/content/small-business/skills/small-business-tax-season-organizer/reference/examples/quarterly-estimate.md +92 -0
- package/content/small-business/skills/small-business-tax-season-organizer/reference/examples/year-end-1099.md +102 -0
- package/content/small-business/skills/small-business-tax-season-organizer/reference/gotchas.md +104 -0
- package/content/small-business/skills/small-business-tax-season-organizer/reference/output-formats.md +68 -0
- package/content/small-business/skills/small-business-ticket-deflector/SKILL.md +164 -0
- package/content/small-business/skills/small-business-ticket-deflector/reference/examples/deny-refund-request.md +98 -0
- package/content/small-business/skills/small-business-ticket-deflector/reference/examples/respond-refund-request.md +77 -0
- package/content/small-business/skills/small-business-ticket-deflector/reference/gotchas.md +57 -0
- package/index.ts +84 -0
- package/package.json +30 -3
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: canva-creator
|
|
3
|
+
description: >
|
|
4
|
+
Takes an approved content brief and executes a campaign end-to-end: builds
|
|
5
|
+
the posting calendar, generates Canva designs for social posts, drafts
|
|
6
|
+
caption and email copy, and stages social sends in HubSpot. Canva is used
|
|
7
|
+
for social posts only (Instagram, Facebook, X, LinkedIn) — email content
|
|
8
|
+
is drafted as plain text and surfaced inline for the owner to send from
|
|
9
|
+
their own tool. Every step requires explicit owner approval. This is the
|
|
10
|
+
one-shot campaign executor: a finished brief goes in, a complete campaign
|
|
11
|
+
comes out. Use when the owner hands off an approved brief or points at one
|
|
12
|
+
— "run this brief," "execute the campaign," "turn this brief into posts,"
|
|
13
|
+
"build the campaign from the plan we approved." For day-to-day posting with
|
|
14
|
+
no brief — "I need to post more," "what should we post" — use
|
|
15
|
+
social-content-engine instead; it owns the standing calendar.
|
|
16
|
+
allowed-tools: Read, WebFetch
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Canva Creator
|
|
20
|
+
|
|
21
|
+
## Scope
|
|
22
|
+
|
|
23
|
+
This skill handles a campaign in five sequential stages, each gated by owner
|
|
24
|
+
approval:
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
brief → calendar → asset inventory → Canva designs → copy → HubSpot staging
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
| Path | Channels | What this skill produces |
|
|
31
|
+
|------|----------|--------------------------|
|
|
32
|
+
| Canva (social) | Instagram, Facebook, X/Twitter, LinkedIn | Canva design + caption + scheduled HubSpot post |
|
|
33
|
+
| Text-only | Email (newsletter, marketing, drip) | Subject + preheader + body, surfaced inline for the owner to send |
|
|
34
|
+
|
|
35
|
+
**Canva is not used for email rows under any circumstance** — no templates,
|
|
36
|
+
no autofill, no design copies, no asset uploads, no exports. Email
|
|
37
|
+
graphics are out of scope for this skill because email-template
|
|
38
|
+
autofill produces placeholder graphics when image slots exceed available
|
|
39
|
+
photos, and variation thumbnails fail to render in chat previews. If the
|
|
40
|
+
owner asks for a Canva email design, see `reference/gotchas.md` for the
|
|
41
|
+
redirect language.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Pre-flight
|
|
46
|
+
|
|
47
|
+
Before Stage 1, confirm:
|
|
48
|
+
|
|
49
|
+
1. **Brief.** The user has referenced or pasted an approved brief. If not:
|
|
50
|
+
"I'll need the content brief before I can build the campaign. Do you
|
|
51
|
+
have one from the content-strategy skill, or would you like to write
|
|
52
|
+
one now?"
|
|
53
|
+
|
|
54
|
+
2. **Canva tier.** Pro/Teams require manual template selection from the
|
|
55
|
+
user's library (no autofill API). Enterprise can autofill from brand
|
|
56
|
+
templates.
|
|
57
|
+
|
|
58
|
+
3. **HubSpot tier.** Social staging requires Marketing Hub Professional.
|
|
59
|
+
Starter or Free → skip Stage 5 and export a CSV instead
|
|
60
|
+
(see [reference/hubspot-staging.md](reference/hubspot-staging.md)).
|
|
61
|
+
|
|
62
|
+
4. **Brand assets.** If a storefront is connected (Shopify or Square —
|
|
63
|
+
peers, `../../shared/connector-neutrality.md`), read the product list
|
|
64
|
+
first: titles, image URLs, and prices for every product the brief names.
|
|
65
|
+
Read only — nothing is uploaded to Canva until Stage 2 step 5, and then
|
|
66
|
+
only the images the approved calendar's slots need. That list is the
|
|
67
|
+
starting photo inventory; ask only about products the store has no
|
|
68
|
+
image for. The pull rules — which fields, the price-claim rule — are in
|
|
69
|
+
[../social-content-engine/reference/shopify-assets.md](../social-content-engine/reference/shopify-assets.md)
|
|
70
|
+
(written for Shopify; Square's catalog images follow the same steps
|
|
71
|
+
from the tool inventory). With no storefront,
|
|
72
|
+
confirm the path to product photos on disk or that the brand kit is
|
|
73
|
+
live in Canva.
|
|
74
|
+
|
|
75
|
+
5. **Generation budget.** Estimate the campaign's Canva volume and surface
|
|
76
|
+
it before Stage 1 begins. Default is 3 candidates per Canva-bound row;
|
|
77
|
+
each design costs ~5 API calls (autofill + export + polling).
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
Generation budget for this campaign:
|
|
81
|
+
Canva (social) rows: 8
|
|
82
|
+
Candidates per row: 3 (default — say "single candidate" to use 1)
|
|
83
|
+
Total designs: 24
|
|
84
|
+
API calls (approx): ~120 (autofill + export + polling)
|
|
85
|
+
|
|
86
|
+
Canva limit: 100 requests/minute. This will take ~2-3 minutes of
|
|
87
|
+
generation, well within your tier limits. Proceed?
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
If the projected total designs exceeds 30, recommend single-candidate
|
|
91
|
+
mode upfront — large campaigns run out of headroom fast. The owner can
|
|
92
|
+
override the default to 1, 2, or 3 candidates per row before Stage 1
|
|
93
|
+
starts. Lock the chosen value for the entire session.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Workflow
|
|
98
|
+
|
|
99
|
+
### Stage 1 — Posting calendar
|
|
100
|
+
|
|
101
|
+
Pull from the brief: content themes, channels, cadence, hard dates
|
|
102
|
+
(launches, sales, holidays).
|
|
103
|
+
|
|
104
|
+
Build a calendar table with a `Path` column that routes every row to either
|
|
105
|
+
Canva or text-only drafting:
|
|
106
|
+
|
|
107
|
+
| Date | Channel | Path | Theme | Asset type | Caption/Subject angle |
|
|
108
|
+
|------|---------|------|-------|------------|-----------------------|
|
|
109
|
+
| Jun 2 | Instagram feed | Canva (social) | Linen launch | Square post | "finally, a dress…" |
|
|
110
|
+
| Jun 5 | Email | Text-only | Linen launch | Email body | "Linen that actually breathes" |
|
|
111
|
+
|
|
112
|
+
Tag every email-channel row as `Text-only` before presenting. Cap at 30
|
|
113
|
+
days unless the brief specifies otherwise. Flag scheduling conflicts (two
|
|
114
|
+
posts same day for the same product) up front.
|
|
115
|
+
|
|
116
|
+
**Checkpoint 1.** Present the calendar. Ask: "Does this match the plan?
|
|
117
|
+
Any dates to shift, channels to add, or themes to swap?" Iterate until
|
|
118
|
+
approved, then restate the split out loud — "N rows go through Canva, M
|
|
119
|
+
rows go through text-only drafting" — before moving on. Catching a
|
|
120
|
+
miscategorization here is free; catching it after generating designs
|
|
121
|
+
isn't.
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
### Stage 2 — Asset inventory (Canva rows only)
|
|
126
|
+
|
|
127
|
+
Email rows skip this stage entirely. For each `Canva (social)` row, build
|
|
128
|
+
a manifest of what the template needs and what's already available.
|
|
129
|
+
|
|
130
|
+
1. **Enumerate every image slot by name.** Square Instagram posts usually
|
|
131
|
+
have 1-2 image slots; carousels and product grids can have 5+. List
|
|
132
|
+
them individually (`Header_Image`, `Product1_Image`, `Product2_Image`,
|
|
133
|
+
…) — never roll them up as "product images."
|
|
134
|
+
- Enterprise: read field names from `dataset[].label` on the brand
|
|
135
|
+
template (`GET /v1/brand-templates/{id}`).
|
|
136
|
+
- Pro/Teams: count every distinct image rectangle in the template.
|
|
137
|
+
|
|
138
|
+
2. **Inventory available assets.** Text content from the brief (product
|
|
139
|
+
names, offer copy, taglines, pricing), product image URLs read from the
|
|
140
|
+
connected storefront at pre-flight (uploaded in step 5, only for the
|
|
141
|
+
slots the gap table needs, and recorded by `asset.id` then), product
|
|
142
|
+
photos already uploaded to Canva (`GET /v1/assets`) or on the owner's
|
|
143
|
+
disk, brand kit colors and fonts (Enterprise). A price in a caption
|
|
144
|
+
comes from the storefront's returned value or the brief, never from
|
|
145
|
+
memory.
|
|
146
|
+
|
|
147
|
+
3. **Build the slot-by-slot gap table.** One row per slot per design — not
|
|
148
|
+
per design.
|
|
149
|
+
|
|
150
|
+
| Date | Slot name | Slot kind | Available asset | Status |
|
|
151
|
+
|------|-----------|-----------|-----------------|--------|
|
|
152
|
+
| Jun 2 | Hero_Image | image | bloom_summer.jpg → asset_id pending | upload |
|
|
153
|
+
| Jun 2 | Headline | text | "Summer linen, finally" | ready |
|
|
154
|
+
| Jun 9 | Product1_Image | image | — | **MISSING** |
|
|
155
|
+
|
|
156
|
+
4. **Resolve slot/asset mismatches with the owner.** If the template has
|
|
157
|
+
more image slots than the brief provides photos, pause and ask:
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
The "Summer Carousel" template has 5 image slots. The brief gave me 1
|
|
161
|
+
photo (bloom_summer.jpg). How should I fill the other 4?
|
|
162
|
+
|
|
163
|
+
1. Reuse the same photo across all 5 slots
|
|
164
|
+
2. You send me 4 more photos (file paths)
|
|
165
|
+
3. Pick a simpler template with fewer slots
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
No generation calls until the owner picks. Generating with empty slots
|
|
169
|
+
produces designs full of Canva's default landscape placeholders.
|
|
170
|
+
|
|
171
|
+
5. **Upload missing photos and capture verified asset IDs.** Upload via
|
|
172
|
+
`POST /v1/asset-uploads`, then poll `GET /v1/asset-uploads/{job_id}`
|
|
173
|
+
until `status == "success"`. Record `asset.id` from the response — this
|
|
174
|
+
is the only value that works in an autofill image field. Passing an
|
|
175
|
+
empty string, a URL, a file path, or a stale ID silently renders
|
|
176
|
+
Canva's stock landscape graphic instead of the photo.
|
|
177
|
+
|
|
178
|
+
6. **Confirm the manifest.** Show the owner the completed slot-by-slot
|
|
179
|
+
table with every slot resolved and every image `asset.id` confirmed.
|
|
180
|
+
This is the last stop before Canva API calls.
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
### Stage 3 — Canva design generation
|
|
185
|
+
|
|
186
|
+
Before any Canva API call, re-read the calendar and drop any row whose
|
|
187
|
+
`Path` is not `Canva (social)`. Email rows do not pass through this
|
|
188
|
+
stage.
|
|
189
|
+
|
|
190
|
+
Generate designs **one calendar row at a time**, with 3 candidates per row
|
|
191
|
+
(or the value chosen at pre-flight). Each row follows the same loop:
|
|
192
|
+
generate candidates → verify → export → visually check → retry failures
|
|
193
|
+
→ present → wait for owner pick → next row. Pause 30 seconds between
|
|
194
|
+
rows. This caps the burst at 3 generations + 3 exports per ~30s — well
|
|
195
|
+
under Canva's 100 req/min rate limit. Do not parallelize multiple rows;
|
|
196
|
+
one row at a time is the protection that keeps the owner from hitting
|
|
197
|
+
quota mid-campaign.
|
|
198
|
+
|
|
199
|
+
**Polling cadence.** Poll job status every 3-5 seconds, not faster.
|
|
200
|
+
Tighter intervals burn quota without speeding up completion.
|
|
201
|
+
|
|
202
|
+
**Preview URLs — only one type is safe to embed.** Autofill responses
|
|
203
|
+
return `design.canva.ai` thumbnails that expire within minutes; embedding
|
|
204
|
+
them as markdown images produces broken "Show Image" placeholders.
|
|
205
|
+
Permanent export URLs (`export-download.canva.com` or the `export-design`
|
|
206
|
+
MCP tool) do not expire. Native Cowork carousels render the autofill
|
|
207
|
+
result directly using the connector's authenticated session — let them
|
|
208
|
+
render on their own, don't re-embed.
|
|
209
|
+
|
|
210
|
+
#### Row loop
|
|
211
|
+
|
|
212
|
+
1. **Resolve template.** (Once per session — same template across rows
|
|
213
|
+
unless the calendar mixes asset types.)
|
|
214
|
+
- Enterprise: `GET /v1/brand-templates` filtered by asset type.
|
|
215
|
+
- Pro/Teams: `GET /v1/designs?ownership=any&query={template name}`,
|
|
216
|
+
surface top 3 to the owner, confirm one before generating.
|
|
217
|
+
|
|
218
|
+
2. **Generate the row's candidates in parallel.** Fire the row's 3
|
|
219
|
+
candidates simultaneously (or N from pre-flight).
|
|
220
|
+
- Enterprise: `POST /v1/autofills` per candidate with the template ID
|
|
221
|
+
and field values. Poll all jobs concurrently.
|
|
222
|
+
- Pro/Teams: `POST /v1/designs` to create copies. Describe the text and
|
|
223
|
+
image edits the owner applies in Canva; collect design IDs back.
|
|
224
|
+
|
|
225
|
+
3. **Verify job status.** For each candidate, confirm
|
|
226
|
+
`GET /autofills/{job_id}` returned `status == "success"` and
|
|
227
|
+
`result.design.id` is present. Handle errors per-design:
|
|
228
|
+
- `JOB_FAILED` → read `job.error.message`, fix the field values or
|
|
229
|
+
asset IDs, retry once.
|
|
230
|
+
- `RATE_LIMIT_EXCEEDED` (first hit this session) → wait 60s, retry
|
|
231
|
+
that one candidate once. This handles transient spikes.
|
|
232
|
+
- `RATE_LIMIT_EXCEEDED` (second hit this session) **or** any
|
|
233
|
+
`quota_exceeded` / daily-cap error → stop generation immediately.
|
|
234
|
+
Do not retry. Surface progress and ask:
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
Canva is rate-limiting the campaign. Status so far:
|
|
238
|
+
✓ Generated: Posts 1-4 (12 designs)
|
|
239
|
+
⏸ Remaining: Posts 5-8 (12 designs not yet generated)
|
|
240
|
+
|
|
241
|
+
How should I proceed?
|
|
242
|
+
1. Switch to 1 candidate per remaining row (4 designs total) — finishes now
|
|
243
|
+
2. Pause campaign — resume in 60 minutes when quota refills
|
|
244
|
+
3. Stop generation — work with what we have, move to captions
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
Wait for the owner's choice. Do not loop on retry.
|
|
248
|
+
|
|
249
|
+
4. **Export each successful candidate to a permanent PNG.** Fire the
|
|
250
|
+
row's exports in parallel.
|
|
251
|
+
- REST: `POST /v1/exports` with `format.type: "png"`, poll
|
|
252
|
+
`GET /v1/exports/{job_id}` until success, capture `urls[0]`.
|
|
253
|
+
- Canva MCP: `export-design` with the design ID.
|
|
254
|
+
|
|
255
|
+
These permanent URLs are what get embedded in previews and attached to
|
|
256
|
+
the HubSpot post later. The autofill response thumbnail is never used
|
|
257
|
+
downstream.
|
|
258
|
+
|
|
259
|
+
5. **Visually verify each export.** Look at the image and reject any of
|
|
260
|
+
these — they all indicate an unfilled slot or wrong asset:
|
|
261
|
+
- Generic landscape with clouds and green hills (Canva's default
|
|
262
|
+
placeholder)
|
|
263
|
+
- Solid gray rectangles where a photo should be
|
|
264
|
+
- Lorem-ipsum or template-default text
|
|
265
|
+
- Subject that doesn't match the brief (wrong product, wrong brand)
|
|
266
|
+
|
|
267
|
+
If a candidate fails verification: re-check the manifest for the
|
|
268
|
+
affected slot, fix the `asset.id`, regenerate that single candidate,
|
|
269
|
+
re-export, re-verify.
|
|
270
|
+
|
|
271
|
+
6. **Retry per-candidate on partial failure.** If 1 of N candidates in
|
|
272
|
+
the row failed at Step 3 or 5, regenerate just that one — don't redo
|
|
273
|
+
the whole row and don't present a partial broken carousel. If the
|
|
274
|
+
second attempt also fails:
|
|
275
|
+
|
|
276
|
+
```
|
|
277
|
+
The third candidate for the Jun 9 post keeps failing — Canva returned
|
|
278
|
+
[error / rendered placeholder]. How should I proceed?
|
|
279
|
+
|
|
280
|
+
1. Skip it — present the other 2 and move on
|
|
281
|
+
2. Swap to a simpler template for just this candidate
|
|
282
|
+
3. Try once more with a different photo
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
7. **Present the row's candidates.** Let the native Cowork carousel
|
|
286
|
+
render the autofill tool result. Below it, add a text prompt:
|
|
287
|
+
|
|
288
|
+
```
|
|
289
|
+
Jun 9 candidates are ready — scroll through the carousel above.
|
|
290
|
+
Which one should I use for the Jun 9 post?
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
If the carousel doesn't render or one position is broken, embed the
|
|
294
|
+
permanent export PNG URLs from Step 4 instead. Final fallback: link to
|
|
295
|
+
the design's Canva edit URL (`https://www.canva.com/d/{design_id}`).
|
|
296
|
+
Never re-embed `design.canva.ai` URLs.
|
|
297
|
+
|
|
298
|
+
8. **Pause 30 seconds, then move to the next row.**
|
|
299
|
+
|
|
300
|
+
**Checkpoint 2.** Satisfied once the owner has picked one design per
|
|
301
|
+
calendar row. If they want a regenerate, regenerate only that one
|
|
302
|
+
candidate.
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
### Stage 4 — Copy drafting
|
|
307
|
+
|
|
308
|
+
For each calendar row, draft the copy. Social rows get a caption; email
|
|
309
|
+
rows get a full email.
|
|
310
|
+
|
|
311
|
+
**Social captions** — Instagram, Facebook, X, LinkedIn:
|
|
312
|
+
|
|
313
|
+
- Length: channel-appropriate (Instagram ≤ 2,200 chars; Facebook ≤ 500
|
|
314
|
+
recommended; X ≤ 280).
|
|
315
|
+
- Structure: hook → one product benefit → CTA → 3-5 hashtags (not 30).
|
|
316
|
+
- Voice: match the brief's tone markers. If the brief says "casual and
|
|
317
|
+
friendly," don't write corporate copy.
|
|
318
|
+
- No filler. No "Exciting news!" or "We're thrilled to announce." Open
|
|
319
|
+
with the value.
|
|
320
|
+
|
|
321
|
+
**Email content** — Claude writes the entire email; no Canva:
|
|
322
|
+
|
|
323
|
+
- Subject: ≤ 50 chars, specific, no clickbait. "Spring projects are
|
|
324
|
+
booking up" beats "Don't miss out!"
|
|
325
|
+
- Preheader: ≤ 90 chars, complements the subject without repeating it.
|
|
326
|
+
- Body: plain prose, 100-250 words. Opening line that earns the read →
|
|
327
|
+
1-2 paragraphs of substance → single clear CTA → sign-off.
|
|
328
|
+
- Voice: same tone markers as social. Owners want their emails to sound
|
|
329
|
+
like them, not like a templated newsletter.
|
|
330
|
+
- No image references. Don't write "see image above." If the owner wants
|
|
331
|
+
visuals, they add them in their email tool.
|
|
332
|
+
- One CTA per email. Pick the most important action and lead with it.
|
|
333
|
+
|
|
334
|
+
Present captions inline below each social row. Present full emails
|
|
335
|
+
inline below each email row:
|
|
336
|
+
|
|
337
|
+
```
|
|
338
|
+
Subject: <subject line>
|
|
339
|
+
Preheader: <preheader text>
|
|
340
|
+
|
|
341
|
+
<body text>
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
For worked examples, see
|
|
345
|
+
[reference/examples/boutique-brief-campaign.md](reference/examples/boutique-brief-campaign.md).
|
|
346
|
+
|
|
347
|
+
**Checkpoint 3.** "Any captions or emails to rewrite? Flag the date and
|
|
348
|
+
what to change." Iterate until approved.
|
|
349
|
+
|
|
350
|
+
---
|
|
351
|
+
|
|
352
|
+
### Stage 5 — HubSpot staging + email handoff
|
|
353
|
+
|
|
354
|
+
Stage social posts in HubSpot. Email content is not staged — it's
|
|
355
|
+
surfaced inline for the owner to copy into their email tool. For API
|
|
356
|
+
field reference, see
|
|
357
|
+
[reference/hubspot-staging.md](reference/hubspot-staging.md).
|
|
358
|
+
|
|
359
|
+
1. **Create the campaign.** `POST /marketing/v3/campaigns` with the
|
|
360
|
+
campaign name and start/end dates from the calendar.
|
|
361
|
+
|
|
362
|
+
2. **Stage each social post.** `POST` to the HubSpot Social API per
|
|
363
|
+
`Canva (social)` row:
|
|
364
|
+
- `channel`: map calendar channel to HubSpot account ID
|
|
365
|
+
- `scheduledAt`: ISO 8601 datetime — confirm it's in the future before
|
|
366
|
+
calling
|
|
367
|
+
- `content.body`: approved caption
|
|
368
|
+
- `attachments`: permanent Canva export PNG URL from Stage 3
|
|
369
|
+
- `status`: `SCHEDULED` (never `PUBLISHED`)
|
|
370
|
+
|
|
371
|
+
3. **Confirm the queue.** Call
|
|
372
|
+
`GET /marketing/v3/social/posts?status=SCHEDULED`, surface the list,
|
|
373
|
+
provide a direct link to the HubSpot campaign view.
|
|
374
|
+
|
|
375
|
+
4. **Surface email content for handoff.** For each email row, present the
|
|
376
|
+
approved subject + preheader + body inline, grouped by send date. The
|
|
377
|
+
owner copies these into their email tool (HubSpot Marketing Email,
|
|
378
|
+
Mailchimp, Gmail or M365).
|
|
379
|
+
|
|
380
|
+
**Final checkpoint.**
|
|
381
|
+
|
|
382
|
+
```
|
|
383
|
+
Your social posts are scheduled in HubSpot: [link]
|
|
384
|
+
They'll go out as scheduled — you can cancel or edit any post in HubSpot.
|
|
385
|
+
|
|
386
|
+
Email content is drafted below — copy each into your email tool when
|
|
387
|
+
you're ready to send:
|
|
388
|
+
|
|
389
|
+
Jun 5 — "Spring projects are booking up"
|
|
390
|
+
Jul 15 — "Summer maintenance windows are filling"
|
|
391
|
+
|
|
392
|
+
Anything to change before we're done?
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
Alongside that summary — never replacing it — render the campaign as an
|
|
396
|
+
HTML artifact per the house style (`../../shared/artifact-style.md`): the
|
|
397
|
+
posting calendar as a table, a per-channel status pill on each row
|
|
398
|
+
(scheduled / drafted / handoff), and a staged-post panel per row with the
|
|
399
|
+
approved caption or email copy and its export PNG link.
|
|
400
|
+
|
|
401
|
+
**Closing offer.** One line on what the campaign now contains, then the
|
|
402
|
+
single most relevant next step with its trigger phrase — usually "is my
|
|
403
|
+
marketing working?" (`growth-pulse`) once posts start going out. Up to
|
|
404
|
+
two others: "make the content" (`social-content-engine`) for the standing
|
|
405
|
+
calendar, or "my ads" (`ad-manager`). Max three; never re-offer something
|
|
406
|
+
the owner declined this session.
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
## Approval gates
|
|
411
|
+
|
|
412
|
+
- **No Canva calls for email rows.** Re-check the `Path` column before
|
|
413
|
+
every API call.
|
|
414
|
+
- **No publishing.** Every HubSpot post is staged as `SCHEDULED`; the
|
|
415
|
+
owner controls go-live.
|
|
416
|
+
- **Always surface the generation budget at pre-flight.** Owner sees the
|
|
417
|
+
total design count and approves before Stage 1 begins.
|
|
418
|
+
- **One row at a time in Stage 3.** Candidates within a row fire in
|
|
419
|
+
parallel, but rows are sequential with a 30s gap — this is the quota
|
|
420
|
+
protection.
|
|
421
|
+
- **On the second quota error, pause and ask.** Never loop on retry.
|
|
422
|
+
- **Always export to a permanent PNG before presenting.** Job success
|
|
423
|
+
doesn't mean the design rendered correctly.
|
|
424
|
+
- **Never embed `design.canva.ai` URLs in messages.** They expire.
|
|
425
|
+
- **Never regenerate the whole row when one candidate fails.**
|
|
426
|
+
Per-candidate retry only.
|
|
427
|
+
- **Never auto-select a template for Pro/Teams users.** Always confirm.
|
|
428
|
+
- **Never skip slot-by-slot inventory.** Multi-slot templates render
|
|
429
|
+
placeholder landscapes when any slot is empty.
|
|
430
|
+
- **Never skip Checkpoint 1.** Generating before the calendar is approved
|
|
431
|
+
is the largest source of wasted work in this skill.
|
|
432
|
+
|
|
433
|
+
---
|
|
434
|
+
|
|
435
|
+
## Reference
|
|
436
|
+
|
|
437
|
+
- [reference/canva-api.md](reference/canva-api.md) — Canva Connect API
|
|
438
|
+
endpoints, asset upload, export formats, MCP equivalents
|
|
439
|
+
- [reference/hubspot-staging.md](reference/hubspot-staging.md) — HubSpot
|
|
440
|
+
Social API and CSV fallback for non-Pro tiers
|
|
441
|
+
- [reference/gotchas.md](reference/gotchas.md) — Good / Bad patterns for
|
|
442
|
+
common failure modes
|
|
443
|
+
- [reference/examples/boutique-brief-campaign.md](reference/examples/boutique-brief-campaign.md)
|
|
444
|
+
— full worked examples (single-slot social, multi-slot template)
|
|
445
|
+
|
|
446
|
+
## Using a tool that isn't listed
|
|
447
|
+
|
|
448
|
+
The connectors named in this skill are the tested paths, not a wall. If the owner wants this flow to use a tool that isn't connected or listed, offer `build-connector` — it checks the connector directory first and connects through Zapier otherwise, never hand-building against a raw API. Once the connection exists, the tool joins this skill like any other optional connector, under the same approval gates.
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# Canva Connect API Reference
|
|
2
|
+
|
|
3
|
+
Base URL: `https://api.canva.com/rest/v1`
|
|
4
|
+
Auth: Bearer token (OAuth 2.0). Scopes needed: `design:content:read`, `design:content:write`, `asset:read`, `asset:write`, `brandtemplate:content:read` (Enterprise only).
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Table of contents
|
|
9
|
+
|
|
10
|
+
1. [Tier requirements](#tier-requirements)
|
|
11
|
+
2. [Brand templates (Enterprise)](#brand-templates-enterprise)
|
|
12
|
+
3. [Autofill (Enterprise)](#autofill-enterprise)
|
|
13
|
+
4. [Design copy (Pro/Teams)](#design-copy-proteams)
|
|
14
|
+
5. [Asset upload](#asset-upload)
|
|
15
|
+
6. [Export](#export)
|
|
16
|
+
7. [Error codes](#error-codes)
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Tier requirements
|
|
21
|
+
|
|
22
|
+
| Feature | Free | Pro | Teams | Enterprise |
|
|
23
|
+
|---------|------|-----|-------|------------|
|
|
24
|
+
| Create designs | ✓ | ✓ | ✓ | ✓ |
|
|
25
|
+
| List own designs | ✓ | ✓ | ✓ | ✓ |
|
|
26
|
+
| Brand templates (read) | — | — | — | ✓ |
|
|
27
|
+
| Autofill brand templates | — | — | — | ✓ |
|
|
28
|
+
| Asset upload (brand kit) | — | — | — | ✓ |
|
|
29
|
+
| Asset upload (user) | — | ✓ | ✓ | ✓ |
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Brand templates (Enterprise)
|
|
34
|
+
|
|
35
|
+
**List brand templates:**
|
|
36
|
+
```
|
|
37
|
+
GET /brand-templates?query={keyword}&ownership=organization
|
|
38
|
+
```
|
|
39
|
+
Response fields of interest:
|
|
40
|
+
- `id` — pass this to autofill
|
|
41
|
+
- `title` — human-readable name
|
|
42
|
+
- `thumbnail.url` — preview image
|
|
43
|
+
- `dataset[].label` — autofill field labels (e.g., "Headline", "ProductName")
|
|
44
|
+
|
|
45
|
+
Filter by `title` contains the asset type keyword (e.g., "square post", "story", "email header").
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Autofill (Enterprise)
|
|
50
|
+
|
|
51
|
+
Populates a brand template's variable fields and creates a new design:
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
POST /autofills
|
|
55
|
+
{
|
|
56
|
+
"brand_template_id": "<template_id>",
|
|
57
|
+
"title": "Summer Sale — Post 1",
|
|
58
|
+
"data": {
|
|
59
|
+
"Headline": { "type": "text", "text": "Summer Sale: 30% off candles" },
|
|
60
|
+
"ProductImage": { "type": "image", "asset_id": "<uploaded_asset_id>" }
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Response: `{ "job": { "id": "<job_id>", "status": "queued" } }`
|
|
66
|
+
|
|
67
|
+
Poll `GET /autofills/{job_id}` until `status == "success"`. The response
|
|
68
|
+
includes `result.design.id` — use this for export.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Design copy (Pro/Teams)
|
|
73
|
+
|
|
74
|
+
There is no direct "copy template" endpoint for Pro/Teams users. Workflow:
|
|
75
|
+
|
|
76
|
+
1. `GET /designs?ownership=any&query={template name}` — list designs by name
|
|
77
|
+
2. Show top 3 to user; get confirmation
|
|
78
|
+
3. `POST /designs` with `asset_type` to create a blank design of the right
|
|
79
|
+
dimensions, then describe what the user needs to update manually in Canva.
|
|
80
|
+
|
|
81
|
+
Pro/Teams asset generation is semi-manual: Claude creates the design shell and
|
|
82
|
+
populates what the API allows; the user applies brand-specific edits in Canva
|
|
83
|
+
and returns the design ID for export.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Asset upload
|
|
88
|
+
|
|
89
|
+
Use when the brief references product photos stored on the user's Desktop or
|
|
90
|
+
file system.
|
|
91
|
+
|
|
92
|
+
**Step 1 — Initialize upload:**
|
|
93
|
+
```
|
|
94
|
+
POST /asset-uploads
|
|
95
|
+
{ "name_base64": "<base64(filename)>", "types": ["image/jpeg"] }
|
|
96
|
+
```
|
|
97
|
+
Response: `{ "job": { "id": "<job_id>" }, "upload_url": "<presigned_s3_url>" }`
|
|
98
|
+
|
|
99
|
+
**Step 2 — Upload file:**
|
|
100
|
+
```
|
|
101
|
+
PUT <upload_url>
|
|
102
|
+
Content-Type: image/jpeg
|
|
103
|
+
Body: <raw file bytes>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Step 3 — Poll until ready:**
|
|
107
|
+
`GET /asset-uploads/{job_id}` → wait for `status == "success"` → capture `asset.id`.
|
|
108
|
+
|
|
109
|
+
Maximum file size: 100 MB. Supported types: `image/jpeg`, `image/png`, `image/webp`.
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Export
|
|
114
|
+
|
|
115
|
+
**Why export every design:** the autofill response thumbnail returned at
|
|
116
|
+
`design.canva.ai/...` is a short-lived authenticated CDN URL — it expires
|
|
117
|
+
within minutes and renders as a broken "Show Image" placeholder if embedded
|
|
118
|
+
in a markdown image after expiry. The `POST /exports` output is a
|
|
119
|
+
**permanent URL** that's safe to embed in chat previews, attach to HubSpot
|
|
120
|
+
posts, and share with the owner.
|
|
121
|
+
|
|
122
|
+
Always export each design after generation, before showing previews.
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
POST /exports
|
|
126
|
+
{
|
|
127
|
+
"design_id": "<design_id>",
|
|
128
|
+
"format": {
|
|
129
|
+
"type": "png",
|
|
130
|
+
"export_quality": "regular",
|
|
131
|
+
"pages": [1]
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Poll `GET /exports/{job_id}` until `status == "success"`. Response includes
|
|
137
|
+
`urls[]` — use `urls[0]` as the preview link and HubSpot attachment URL.
|
|
138
|
+
|
|
139
|
+
**Canva MCP equivalents** (when using Cowork's Canva connector instead of
|
|
140
|
+
direct REST):
|
|
141
|
+
|
|
142
|
+
| Need | MCP tool | Returns |
|
|
143
|
+
|------|---------|---------|
|
|
144
|
+
| Permanent preview URL | `export-design` | Permanent download URL (safe to embed) |
|
|
145
|
+
| Per-page thumbnail (more stable than autofill response, not permanent) | `get-design-thumbnail` | Page thumbnail URL |
|
|
146
|
+
| Design metadata only | `get-design` | Title, owner, page count, thumbnail |
|
|
147
|
+
| Upload from owner's machine | `upload-asset-from-url` | `asset_id` (one URL per call) |
|
|
148
|
+
|
|
149
|
+
**Format guidance by channel:**
|
|
150
|
+
|
|
151
|
+
| Channel | Type | Dimensions |
|
|
152
|
+
|---------|------|-----------|
|
|
153
|
+
| Instagram feed | `png` | 1080×1080 (square) |
|
|
154
|
+
| Instagram story / Reels cover | `png` | 1080×1920 |
|
|
155
|
+
| Facebook feed | `png` | 1200×630 |
|
|
156
|
+
| Email header | `png` | 600×200 |
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Rate limits & generation budgeting
|
|
161
|
+
|
|
162
|
+
**Hard limit:** 100 requests per minute per token.
|
|
163
|
+
|
|
164
|
+
**Cost per design:** ~5 API calls — 1 `POST /autofills` + 1 `POST /exports`
|
|
165
|
+
+ ~3 polling rounds (`GET /autofills/{job_id}`, `GET /exports/{job_id}`).
|
|
166
|
+
Polling cadence should be 3-5 seconds; faster polling burns quota without
|
|
167
|
+
speeding up completion.
|
|
168
|
+
|
|
169
|
+
**Safe ceiling:** ~15-20 designs per minute leaves comfortable headroom
|
|
170
|
+
under the 100 req/min cap.
|
|
171
|
+
|
|
172
|
+
**Recommended pacing (used by Stage 3):**
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
3 candidates per row × 1 row at a time × 30s gap between rows
|
|
176
|
+
= 6 designs (~30 API calls) per 30 seconds
|
|
177
|
+
= 12 designs / minute, about half the ceiling
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
**Pre-flight budget formula:**
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
total_designs = (Canva-bound rows) × (candidates per row, default 3)
|
|
184
|
+
total_api_calls ≈ total_designs × 5
|
|
185
|
+
generation_time ≈ (total_designs / 12) minutes
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
**Back-off pattern for `RATE_LIMIT_EXCEEDED`:**
|
|
189
|
+
|
|
190
|
+
1. First hit in a session → wait 60s, retry that one candidate. Treats
|
|
191
|
+
the error as a transient spike.
|
|
192
|
+
2. Second hit in the same session, or any `quota_exceeded` / daily-cap
|
|
193
|
+
error → stop generation and surface progress to the owner. Do not
|
|
194
|
+
retry. The skill asks the owner whether to (a) drop to 1 candidate
|
|
195
|
+
per remaining row, (b) pause and resume in 60 minutes, or (c) stop
|
|
196
|
+
and move to captions with what's already generated.
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Error codes
|
|
201
|
+
|
|
202
|
+
| Code | Meaning | What to do |
|
|
203
|
+
|------|---------|-----------|
|
|
204
|
+
| `PERMISSION_DENIED` | Scope missing or wrong tier | Check tier; ask user to reconnect Canva with correct scopes |
|
|
205
|
+
| `DESIGN_NOT_FOUND` | Wrong design ID | Re-list designs and confirm ID |
|
|
206
|
+
| `AUTOFILL_FIELD_NOT_FOUND` | Template field name mismatch | Call `GET /brand-templates/{id}` and re-read `dataset[].label` |
|
|
207
|
+
| `RATE_LIMIT_EXCEEDED` | Too many requests | First hit: wait 60s, retry once. Second hit: stop and ask owner (see Rate limits above) |
|
|
208
|
+
| `JOB_FAILED` | Async job failed | Check `job.error.message`; common cause is oversized asset |
|