@uipath/delegate-sdk 1.203.1 → 1.203.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -3
- package/dist/index.mjs +2 -2
- package/dist/skills/business-analysis/SKILL.md +729 -0
- package/dist/skills/business-analysis/as-is-capture.md +444 -0
- package/dist/skills/business-analysis/assets/progress.yaml +19 -0
- package/dist/skills/business-analysis/assets/task-list.md +34 -0
- package/dist/skills/business-analysis/automation-hub-publishing.md +47 -0
- package/dist/skills/business-analysis/bpmn-to-be-design.md +274 -0
- package/dist/skills/business-analysis/case-to-be-design.md +223 -0
- package/dist/skills/business-analysis/diagram-authoring.md +224 -0
- package/dist/skills/business-analysis/industry-gaps.md +134 -0
- package/dist/skills/business-analysis/interview-spine.md +297 -0
- package/dist/skills/business-analysis/locales/de.json +54 -0
- package/dist/skills/business-analysis/locales/en.json +54 -0
- package/dist/skills/business-analysis/locales/es-MX.json +54 -0
- package/dist/skills/business-analysis/locales/es.json +54 -0
- package/dist/skills/business-analysis/locales/fr.json +54 -0
- package/dist/skills/business-analysis/locales/ja.json +54 -0
- package/dist/skills/business-analysis/locales/ko.json +54 -0
- package/dist/skills/business-analysis/locales/pt-BR.json +54 -0
- package/dist/skills/business-analysis/locales/pt.json +54 -0
- package/dist/skills/business-analysis/locales/ro.json +54 -0
- package/dist/skills/business-analysis/locales/tr.json +54 -0
- package/dist/skills/business-analysis/locales/zh-CN.json +54 -0
- package/dist/skills/business-analysis/locales/zh-TW.json +54 -0
- package/dist/skills/business-analysis/pdd-generation.md +204 -0
- package/dist/skills/business-analysis/pdd-template.md +562 -0
- package/dist/skills/business-analysis/progress-presentation.json +13 -0
- package/dist/skills/business-analysis/recording-first.md +19 -0
- package/dist/skills/business-analysis/recording-processing.md +152 -0
- package/dist/skills/business-analysis/references/automation-hub-open-api.md +57 -0
- package/dist/skills/business-analysis/references/case-definition-spec.md +90 -0
- package/dist/skills/business-analysis/references/case-design-patterns/loan-origination-spec.md +86 -0
- package/dist/skills/business-analysis/references/component-type-mapping.md +52 -0
- package/dist/skills/business-analysis/references/uipath-products/case-management-schema.md +62 -0
- package/dist/skills/business-analysis/references/uipath-products/maestro-case-framework.md +65 -0
- package/dist/skills/business-analysis/references/uipath-products/maestro-case-management.md +49 -0
- package/dist/skills/business-analysis/research-offer.md +104 -0
- package/dist/skills/business-analysis/research-pass.md +149 -0
- package/dist/skills/business-analysis/scripts/assemble-pdd.ps1 +294 -0
- package/dist/skills/business-analysis/scripts/assemble-pdd.sh +453 -0
- package/dist/skills/business-analysis/scripts/check-phase-ready.ps1 +72 -0
- package/dist/skills/business-analysis/scripts/check-phase-ready.sh +98 -0
- package/dist/skills/business-analysis/scripts/lint-diagram.ps1 +524 -0
- package/dist/skills/business-analysis/scripts/lint-diagram.sh +519 -0
- package/dist/skills/business-analysis/scripts/stamp-pages.ps1 +363 -0
- package/dist/skills/business-analysis/scripts/stamp-pages.sh +360 -0
- package/dist/skills/business-analysis/to-be-design.md +199 -0
- package/dist/skills/confluence/SKILL.md +386 -0
- package/dist/skills/doc-coauthoring/SKILL.md +295 -0
- package/dist/skills/excel-architect/SKILL.macos.md +161 -0
- package/dist/skills/excel-architect/SKILL.md +180 -0
- package/dist/skills/excel-architect/SKILL.windows.md +61 -0
- package/dist/skills/excel-architect/archetypes/01-financial-model-advanced.md +332 -0
- package/dist/skills/excel-architect/archetypes/01-financial-model.md +248 -0
- package/dist/skills/excel-architect/archetypes/02-data-analysis.md +171 -0
- package/dist/skills/excel-architect/archetypes/03-tracking-dashboard.md +160 -0
- package/dist/skills/excel-architect/archetypes/04-project-planning.md +193 -0
- package/dist/skills/excel-architect/archetypes/05-simple-table.md +111 -0
- package/dist/skills/excel-architect/building.md +279 -0
- package/dist/skills/excel-architect/create.md +64 -0
- package/dist/skills/excel-architect/data-and-formulas.md +186 -0
- package/dist/skills/excel-architect/generator.md +272 -0
- package/dist/skills/excel-architect/macos/scripts/add-data-validation.applescript +242 -0
- package/dist/skills/excel-architect/macos/scripts/append-rows.applescript +310 -0
- package/dist/skills/excel-architect/macos/scripts/apply-conditional-format.applescript +565 -0
- package/dist/skills/excel-architect/macos/scripts/autofit-columns.applescript +79 -0
- package/dist/skills/excel-architect/macos/scripts/benchmark.sh +135 -0
- package/dist/skills/excel-architect/macos/scripts/check-compile.sh +30 -0
- package/dist/skills/excel-architect/macos/scripts/clear-range.applescript +152 -0
- package/dist/skills/excel-architect/macos/scripts/copy-paste.applescript +179 -0
- package/dist/skills/excel-architect/macos/scripts/create-chart.applescript +531 -0
- package/dist/skills/excel-architect/macos/scripts/create-pivot.applescript +443 -0
- package/dist/skills/excel-architect/macos/scripts/create-sheets.applescript +264 -0
- package/dist/skills/excel-architect/macos/scripts/create-workbook.applescript +92 -0
- package/dist/skills/excel-architect/macos/scripts/delete-chart.applescript +105 -0
- package/dist/skills/excel-architect/macos/scripts/delete-sheet.applescript +127 -0
- package/dist/skills/excel-architect/macos/scripts/filter-data.applescript +213 -0
- package/dist/skills/excel-architect/macos/scripts/find-replace.applescript +238 -0
- package/dist/skills/excel-architect/macos/scripts/format-range.applescript +531 -0
- package/dist/skills/excel-architect/macos/scripts/freeze-panes.applescript +133 -0
- package/dist/skills/excel-architect/macos/scripts/get-current-file.applescript +24 -0
- package/dist/skills/excel-architect/macos/scripts/get-sheet-dimensions.applescript +115 -0
- package/dist/skills/excel-architect/macos/scripts/health-check.applescript +704 -0
- package/dist/skills/excel-architect/macos/scripts/list-open-workbooks.applescript +80 -0
- package/dist/skills/excel-architect/macos/scripts/maximize-window.applescript +47 -0
- package/dist/skills/excel-architect/macos/scripts/merge-cells.applescript +227 -0
- package/dist/skills/excel-architect/macos/scripts/open-workbook.applescript +139 -0
- package/dist/skills/excel-architect/macos/scripts/read-range.applescript +267 -0
- package/dist/skills/excel-architect/macos/scripts/rename-sheet.applescript +231 -0
- package/dist/skills/excel-architect/macos/scripts/select-sheet.applescript +133 -0
- package/dist/skills/excel-architect/macos/scripts/set-tab-color.applescript +109 -0
- package/dist/skills/excel-architect/macos/scripts/sort-data.applescript +136 -0
- package/dist/skills/excel-architect/macos/scripts/undo.applescript +59 -0
- package/dist/skills/excel-architect/macos/scripts/workbook-lifecycle.applescript +149 -0
- package/dist/skills/excel-architect/macos/scripts/write-formula.applescript +225 -0
- package/dist/skills/excel-architect/macos/scripts/write-range.applescript +351 -0
- package/dist/skills/excel-architect/reference/api/advanced.md +381 -0
- package/dist/skills/excel-architect/reference/api/basic.md +747 -0
- package/dist/skills/excel-architect/reference/guides.md +348 -0
- package/dist/skills/excel-architect/reference/repair.md +174 -0
- package/dist/skills/excel-architect/reference/troubleshooting.md +46 -0
- package/dist/skills/excel-architect/scripting.md +266 -0
- package/dist/skills/excel-architect/styling-and-features.md +433 -0
- package/dist/skills/excel-architect/windows/api/composites.md +337 -0
- package/dist/skills/excel-architect/windows/api/scripting.md +139 -0
- package/dist/skills/excel-architect/windows/examples/level-1-workflows.md +485 -0
- package/dist/skills/excel-architect/windows/examples/level-2-advanced.md +690 -0
- package/dist/skills/excel-architect/windows/examples/level-3-scripting.md +337 -0
- package/dist/skills/github/SKILL.md +446 -0
- package/dist/skills/github/recipes/add-comment.md +85 -0
- package/dist/skills/github/recipes/check-pr-status.md +122 -0
- package/dist/skills/github/recipes/compare-branches.md +79 -0
- package/dist/skills/github/recipes/create-issue.md +103 -0
- package/dist/skills/github/recipes/create-pr.md +97 -0
- package/dist/skills/github/recipes/get-file-contents.md +76 -0
- package/dist/skills/github/recipes/get-last-commit.md +128 -0
- package/dist/skills/github/recipes/list-my-open-prs.md +105 -0
- package/dist/skills/github/recipes/list-recent-commits.md +84 -0
- package/dist/skills/github/recipes/search-issues.md +115 -0
- package/dist/skills/google-workspace/SKILL.md +217 -0
- package/dist/skills/google-workspace/services/calendar.md +311 -0
- package/dist/skills/google-workspace/services/docs.md +426 -0
- package/dist/skills/google-workspace/services/drive.md +504 -0
- package/dist/skills/google-workspace/services/gmail.md +466 -0
- package/dist/skills/google-workspace/services/sheets.md +370 -0
- package/dist/skills/internal-comms/SKILL.md +35 -0
- package/dist/skills/internal-comms/examples/3p-updates.md +47 -0
- package/dist/skills/internal-comms/examples/company-newsletter.md +65 -0
- package/dist/skills/internal-comms/examples/faq-answers.md +30 -0
- package/dist/skills/internal-comms/examples/general-comms.md +15 -0
- package/dist/skills/jira/SKILL.md +397 -0
- package/dist/skills/jira/recipes/add-comment.md +123 -0
- package/dist/skills/jira/recipes/assign-issue.md +157 -0
- package/dist/skills/jira/recipes/create-issue.md +274 -0
- package/dist/skills/jira/recipes/get-issue-details.md +154 -0
- package/dist/skills/jira/recipes/list-projects.md +151 -0
- package/dist/skills/jira/recipes/my-issues.md +180 -0
- package/dist/skills/jira/recipes/search-issues.md +215 -0
- package/dist/skills/jira/recipes/transition-issue.md +154 -0
- package/dist/skills/jira/recipes/troubleshooting.md +387 -0
- package/dist/skills/knowledge-base/SKILL.md +289 -0
- package/dist/skills/media-tools/SKILL.md +204 -0
- package/dist/skills/media-tools/references/encode-runbook.md +24 -0
- package/dist/skills/media-tools/references/resolve-binaries.md +88 -0
- package/dist/skills/media-tools/scripts/macos/ff-launch.sh +22 -0
- package/dist/skills/media-tools/scripts/macos/ff-poll.sh +10 -0
- package/dist/skills/media-tools/scripts/windows/ff-launch.ps1 +34 -0
- package/dist/skills/media-tools/scripts/windows/ff-poll.ps1 +20 -0
- package/dist/skills/office-download/SKILL.md +161 -0
- package/dist/skills/outlook-365/SKILL.macos.md +331 -0
- package/dist/skills/outlook-365/SKILL.md +171 -0
- package/dist/skills/outlook-365/SKILL.windows.md +124 -0
- package/dist/skills/outlook-365/api/bulk-email-operations.md +178 -0
- package/dist/skills/outlook-365/api/check-availability.md +87 -0
- package/dist/skills/outlook-365/api/create-inbox-rule.md +182 -0
- package/dist/skills/outlook-365/api/download-attachments.md +149 -0
- package/dist/skills/outlook-365/api/find-and-email-contact.md +185 -0
- package/dist/skills/outlook-365/api/manage-calendar-events.md +189 -0
- package/dist/skills/outlook-365/api/organize-with-folders.md +178 -0
- package/dist/skills/outlook-365/api/reply-to-conversation.md +68 -0
- package/dist/skills/outlook-365/api/schedule-meeting.md +73 -0
- package/dist/skills/outlook-365/api/search-and-read-email.md +93 -0
- package/dist/skills/outlook-365/api/send-email-with-attachments.md +94 -0
- package/dist/skills/outlook-365/api/send-email.md +396 -0
- package/dist/skills/outlook-365/api/set-out-of-office.md +196 -0
- package/dist/skills/outlook-365/macos/scripts/bulk-operations.applescript +429 -0
- package/dist/skills/outlook-365/macos/scripts/calendar.applescript +642 -0
- package/dist/skills/outlook-365/macos/scripts/contacts.applescript +635 -0
- package/dist/skills/outlook-365/macos/scripts/helpers.applescript +227 -0
- package/dist/skills/outlook-365/macos/scripts/read-emails.applescript +299 -0
- package/dist/skills/outlook-365/macos/scripts/search-emails.applescript +339 -0
- package/dist/skills/outlook-365/macos/scripts/send-email.applescript +245 -0
- package/dist/skills/outlook-365/uia/BASIC_OPERATIONS.md +278 -0
- package/dist/skills/outlook-365/uia/CALENDAR_OPERATIONS.md +386 -0
- package/dist/skills/outlook-365/uia/COMPOSE_EMAIL.md +426 -0
- package/dist/skills/outlook-365/uia/README.md +75 -0
- package/dist/skills/outlook-365/windows/com/bulk-operations.ps1 +241 -0
- package/dist/skills/outlook-365/windows/com/calendar.ps1 +227 -0
- package/dist/skills/outlook-365/windows/com/contacts.ps1 +270 -0
- package/dist/skills/outlook-365/windows/com/helpers.ps1 +158 -0
- package/dist/skills/outlook-365/windows/com/read-emails.ps1 +115 -0
- package/dist/skills/outlook-365/windows/com/search-emails.ps1 +141 -0
- package/dist/skills/outlook-365/windows/com/send-email.ps1 +121 -0
- package/dist/skills/pdf-architect/SKILL.md +640 -0
- package/dist/skills/powerpoint-architect/SKILL.macos.md +271 -0
- package/dist/skills/powerpoint-architect/SKILL.md +853 -0
- package/dist/skills/powerpoint-architect/SKILL.windows.md +458 -0
- package/dist/skills/powerpoint-architect/custom_themes.md +141 -0
- package/dist/skills/powerpoint-architect/editing-guide.md +424 -0
- package/dist/skills/powerpoint-architect/generator-reference.md +668 -0
- package/dist/skills/powerpoint-architect/images-guide.md +207 -0
- package/dist/skills/powerpoint-architect/issue-fix-mapping.md +768 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-html-to-slide.applescript +389 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-slide.applescript +255 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-speaker-notes.applescript +132 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-text.applescript +245 -0
- package/dist/skills/powerpoint-architect/macos/scripts/apply-slide-layout.applescript +80 -0
- package/dist/skills/powerpoint-architect/macos/scripts/apply-theme.applescript +122 -0
- package/dist/skills/powerpoint-architect/macos/scripts/autofit-placeholders.applescript +62 -0
- package/dist/skills/powerpoint-architect/macos/scripts/close-presentation.applescript +24 -0
- package/dist/skills/powerpoint-architect/macos/scripts/copy-slides.applescript +303 -0
- package/dist/skills/powerpoint-architect/macos/scripts/create-chart-with-data.applescript +305 -0
- package/dist/skills/powerpoint-architect/macos/scripts/create-with-theme.applescript +56 -0
- package/dist/skills/powerpoint-architect/macos/scripts/delete-slides.applescript +137 -0
- package/dist/skills/powerpoint-architect/macos/scripts/export-presentation.applescript +100 -0
- package/dist/skills/powerpoint-architect/macos/scripts/extract-slide-data.applescript +138 -0
- package/dist/skills/powerpoint-architect/macos/scripts/format-shape.applescript +192 -0
- package/dist/skills/powerpoint-architect/macos/scripts/format-slide-content.applescript +336 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-current-slide-number.applescript +38 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-file-path.applescript +94 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-layout-elements.applescript +141 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-layouts.applescript +58 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-opened-files.applescript +50 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-presentation-info.applescript +150 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-recent-files.applescript +68 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-slide-count.applescript +37 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-slide-info.applescript +105 -0
- package/dist/skills/powerpoint-architect/macos/scripts/health-check.applescript +690 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-shape.applescript +188 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-table.applescript +112 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-text-box.applescript +225 -0
- package/dist/skills/powerpoint-architect/macos/scripts/manage-image.applescript +486 -0
- package/dist/skills/powerpoint-architect/macos/scripts/maximize-window.applescript +48 -0
- package/dist/skills/powerpoint-architect/macos/scripts/navigate-to-slide.applescript +84 -0
- package/dist/skills/powerpoint-architect/macos/scripts/open-presentation.applescript +38 -0
- package/dist/skills/powerpoint-architect/macos/scripts/reorder-slides.applescript +106 -0
- package/dist/skills/powerpoint-architect/macos/scripts/replace-text.applescript +193 -0
- package/dist/skills/powerpoint-architect/macos/scripts/save-presentation.applescript +54 -0
- package/dist/skills/powerpoint-architect/macos/scripts/set-animation.applescript +203 -0
- package/dist/skills/powerpoint-architect/macos/scripts/set-transition.applescript +130 -0
- package/dist/skills/powerpoint-architect/visual-styling-guide.md +206 -0
- package/dist/skills/powerpoint-architect/windows/api/advanced.md +317 -0
- package/dist/skills/powerpoint-architect/windows/api/basic.md +392 -0
- package/dist/skills/powerpoint-architect/windows/examples/10-slide-presentation.md +140 -0
- package/dist/skills/powerpoint-architect/windows/examples/custom-theme-workflow.md +219 -0
- package/dist/skills/powerpoint-architect/windows/examples/level-1-workflows.md +531 -0
- package/dist/skills/powerpoint-architect/windows/examples/level-2-scripting.md +239 -0
- package/dist/skills/powerpoint-architect/windows/scripts/create-with-theme.ps1 +81 -0
- package/dist/skills/project-task-list/SKILL.md +174 -0
- package/dist/skills/slack-operation/SKILL.md +97 -0
- package/dist/skills/slack-operation/api/advanced-api/GUIDE.md +277 -0
- package/dist/skills/slack-operation/api/search-and-read/EXAMPLE.md +75 -0
- package/dist/skills/slack-operation/api/search-and-read/GUIDE.md +108 -0
- package/dist/skills/slack-operation/api/send-message/EXAMPLE.md +112 -0
- package/dist/skills/slack-operation/api/send-message/GUIDE.md +63 -0
- package/dist/skills/slack-operation/api/share-files/EXAMPLE.md +94 -0
- package/dist/skills/slack-operation/api/share-files/GUIDE.md +63 -0
- package/dist/skills/slack-operation/ui/desktop-automation/GUIDE.md +55 -0
- package/dist/skills/system-diagnostics/SKILL.md +263 -0
- package/dist/skills/teams-operation/SKILL.md +79 -0
- package/dist/skills/teams-operation/api/advanced-api/GUIDE.md +234 -0
- package/dist/skills/teams-operation/api/meetings/EXAMPLE.md +63 -0
- package/dist/skills/teams-operation/api/meetings/GUIDE.md +52 -0
- package/dist/skills/teams-operation/api/search-and-read/EXAMPLE.md +72 -0
- package/dist/skills/teams-operation/api/search-and-read/GUIDE.md +54 -0
- package/dist/skills/teams-operation/api/send-message/EXAMPLE.md +92 -0
- package/dist/skills/teams-operation/api/send-message/GUIDE.md +60 -0
- package/dist/skills/teams-operation/ui/desktop-automation/GUIDE.md +66 -0
- package/dist/skills/transcribe-media/SKILL.md +142 -0
- package/dist/skills/uipath-integrations/SKILL.md +370 -0
- package/dist/skills/uipath-integrations/reference/connectors.md +331 -0
- package/dist/skills/uipath-integrations/reference/endpoints.md +220 -0
- package/dist/skills/uipath-integrations/reference/errors.md +211 -0
- package/dist/skills/uipath-integrations/reference/metadata.md +317 -0
- package/dist/skills/uipath-integrations/reference/operations.md +297 -0
- package/dist/skills/uipath-orchestrator/SKILL.md +312 -0
- package/dist/skills/uipath-orchestrator/recipes/assets.md +282 -0
- package/dist/skills/uipath-orchestrator/recipes/audit-logs.md +215 -0
- package/dist/skills/uipath-orchestrator/recipes/buckets.md +205 -0
- package/dist/skills/uipath-orchestrator/recipes/jobs.md +286 -0
- package/dist/skills/uipath-orchestrator/recipes/list-folders.md +207 -0
- package/dist/skills/uipath-orchestrator/recipes/queue-items.md +292 -0
- package/dist/skills/uipath-orchestrator/recipes/queues.md +232 -0
- package/dist/skills/uipath-orchestrator/recipes/releases.md +212 -0
- package/dist/skills/uipath-orchestrator/recipes/robots-sessions.md +274 -0
- package/dist/skills/uipath-orchestrator/recipes/schedules.md +280 -0
- package/dist/skills/uipath-orchestrator/reference/endpoints.md +85 -0
- package/dist/skills/uipath-orchestrator/reference/schemas.md +153 -0
- package/dist/skills/uipath-taskautomation/SKILL.md +310 -0
- package/dist/skills/uipath-taskautomation/assets/CodedWorkflow.template.cs +98 -0
- package/dist/skills/uipath-taskautomation/assets/ExampleWorkflow.cs +146 -0
- package/dist/skills/uipath-taskautomation/references/action-activity-map.json +32 -0
- package/dist/skills/uipath-taskautomation/references/action-activity-map.md +44 -0
- package/dist/skills/uipath-taskautomation/references/app-profiles.md +63 -0
- package/dist/skills/uipath-taskautomation/references/automation-spec.md +88 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/before-after-hooks-template.md +115 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/codedworkflow-template.md +186 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/helper-utility-template.md +22 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/json-template.md +91 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/testcase-template.md +92 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/cli-reference.md +249 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/codedworkflow-reference.md +275 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/coding-guidelines.md +229 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/inspect-package-guide.md +81 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/integration-service-guide.md +507 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/operations-guide.md +410 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/third-party-packages-guide.md +67 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/data-manipulation-guide.md +110 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/environment-setup.md +194 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/error-handling-guide.md +195 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/powershell-interop-guide.md +57 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/project-structure-guide.md +114 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/project-structure.md +126 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/uia-elements-interaction-guide.md +109 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/validation-guide.md +147 -0
- package/dist/skills/uipath-taskautomation/references/coded-workflow-authoring.md +219 -0
- package/dist/skills/uipath-taskautomation/references/profiling-output.md +80 -0
- package/dist/skills/uipath-taskautomation/references/reliability-guide.md +83 -0
- package/dist/skills/uipath-taskautomation/references/task-automation-cheatsheet.md +272 -0
- package/dist/skills/uipath-taskautomation/references/template-preflight.md +17 -0
- package/dist/skills/uipath-workflow-documenter/SKILL.md +430 -0
- package/dist/skills/uipath-workflow-documenter/layouts/pdd-template.md +265 -0
- package/dist/skills/uipath-workflow-documenter/routines/from-orchestrator.md +11 -0
- package/dist/skills/uipath-workflow-documenter/routines/from-workflow.md +11 -0
- package/dist/skills/word-architect/SKILL.macos.md +147 -0
- package/dist/skills/word-architect/SKILL.md +502 -0
- package/dist/skills/word-architect/SKILL.windows.md +55 -0
- package/dist/skills/word-architect/api/advanced.md +522 -0
- package/dist/skills/word-architect/api/basic.md +378 -0
- package/dist/skills/word-architect/api/expert.md +302 -0
- package/dist/skills/word-architect/generation.md +308 -0
- package/dist/skills/word-architect/layouts/01-professional.md +168 -0
- package/dist/skills/word-architect/layouts/02-educational-kids.md +354 -0
- package/dist/skills/word-architect/layouts/03-academic.md +83 -0
- package/dist/skills/word-architect/layouts/04-creative.md +242 -0
- package/dist/skills/word-architect/layouts/05-operational.md +94 -0
- package/dist/skills/word-architect/macos/scripts/apply-heading-style.applescript +215 -0
- package/dist/skills/word-architect/macos/scripts/apply-style.applescript +272 -0
- package/dist/skills/word-architect/macos/scripts/autofit-tables.applescript +53 -0
- package/dist/skills/word-architect/macos/scripts/close-document.applescript +287 -0
- package/dist/skills/word-architect/macos/scripts/create-chart-with-data.applescript +379 -0
- package/dist/skills/word-architect/macos/scripts/create-chart.applescript +191 -0
- package/dist/skills/word-architect/macos/scripts/delete-selection.applescript +223 -0
- package/dist/skills/word-architect/macos/scripts/export-document.applescript +167 -0
- package/dist/skills/word-architect/macos/scripts/extract-table.applescript +168 -0
- package/dist/skills/word-architect/macos/scripts/find-by-style.applescript +173 -0
- package/dist/skills/word-architect/macos/scripts/find-text.applescript +199 -0
- package/dist/skills/word-architect/macos/scripts/format-table.applescript +234 -0
- package/dist/skills/word-architect/macos/scripts/format-text.applescript +431 -0
- package/dist/skills/word-architect/macos/scripts/get-document-properties.applescript +95 -0
- package/dist/skills/word-architect/macos/scripts/get-document-structure.applescript +371 -0
- package/dist/skills/word-architect/macos/scripts/get-header-footer-text.applescript +106 -0
- package/dist/skills/word-architect/macos/scripts/get-images.applescript +166 -0
- package/dist/skills/word-architect/macos/scripts/get-opened-files.applescript +103 -0
- package/dist/skills/word-architect/macos/scripts/get-paragraph-bounds.applescript +133 -0
- package/dist/skills/word-architect/macos/scripts/get-paragraph-format.applescript +134 -0
- package/dist/skills/word-architect/macos/scripts/get-recent-files.applescript +82 -0
- package/dist/skills/word-architect/macos/scripts/get-styled-text.applescript +256 -0
- package/dist/skills/word-architect/macos/scripts/get-tables.applescript +126 -0
- package/dist/skills/word-architect/macos/scripts/get-text-formatting.applescript +224 -0
- package/dist/skills/word-architect/macos/scripts/get-text.applescript +383 -0
- package/dist/skills/word-architect/macos/scripts/get-theme-colors.applescript +123 -0
- package/dist/skills/word-architect/macos/scripts/health-check.applescript +606 -0
- package/dist/skills/word-architect/macos/scripts/insert-cover-page.applescript +77 -0
- package/dist/skills/word-architect/macos/scripts/insert-header-footer.applescript +87 -0
- package/dist/skills/word-architect/macos/scripts/insert-horizontal-line.applescript +112 -0
- package/dist/skills/word-architect/macos/scripts/insert-html.applescript +440 -0
- package/dist/skills/word-architect/macos/scripts/insert-hyperlink.applescript +191 -0
- package/dist/skills/word-architect/macos/scripts/insert-image.applescript +320 -0
- package/dist/skills/word-architect/macos/scripts/insert-list.applescript +317 -0
- package/dist/skills/word-architect/macos/scripts/insert-pagebreak.applescript +181 -0
- package/dist/skills/word-architect/macos/scripts/insert-smartart.applescript +104 -0
- package/dist/skills/word-architect/macos/scripts/insert-table.applescript +238 -0
- package/dist/skills/word-architect/macos/scripts/insert-text.applescript +677 -0
- package/dist/skills/word-architect/macos/scripts/insert-textbox.applescript +261 -0
- package/dist/skills/word-architect/macos/scripts/maximize-window.applescript +67 -0
- package/dist/skills/word-architect/macos/scripts/normalize-formatting.applescript +56 -0
- package/dist/skills/word-architect/macos/scripts/open-document.applescript +222 -0
- package/dist/skills/word-architect/macos/scripts/replace-text.applescript +390 -0
- package/dist/skills/word-architect/macos/scripts/save-document.applescript +230 -0
- package/dist/skills/word-architect/macos/scripts/select-range.applescript +142 -0
- package/dist/skills/word-architect/macos/scripts/set-document-properties.applescript +195 -0
- package/dist/skills/word-architect/macos/scripts/set-page-layout.applescript +273 -0
- package/dist/skills/word-architect/macos/scripts/set-theme-colors.applescript +264 -0
- package/dist/skills/word-architect/macos/scripts/undo-redo.applescript +61 -0
- package/dist/skills/word-architect/macos/scripts/update-toc.applescript +112 -0
- package/dist/skills/word-architect/reference/formatting.md +119 -0
- package/dist/skills/word-architect/reference/html-layouts/01-executive-summary-box.md +36 -0
- package/dist/skills/word-architect/reference/html-layouts/02-kpi-summary-table.md +68 -0
- package/dist/skills/word-architect/reference/html-layouts/03-comparison-table.md +63 -0
- package/dist/skills/word-architect/reference/html-layouts/04-pros-cons-table.md +86 -0
- package/dist/skills/word-architect/reference/html-layouts/05-timeline-table.md +114 -0
- package/dist/skills/word-architect/reference/html-layouts/06-raci-matrix.md +95 -0
- package/dist/skills/word-architect/reference/html-layouts/07-data-table-alternating.md +84 -0
- package/dist/skills/word-architect/reference/html-layouts/08-callout-box.md +102 -0
- package/dist/skills/word-architect/reference/html-layouts/09-vertical-milestone.md +100 -0
- package/dist/skills/word-architect/reference/quality-assurance.md +102 -0
- package/dist/skills/word-architect/reference/tables.md +62 -0
- package/dist/skills/word-architect/reference/tracked-changes.md +34 -0
- package/dist/skills/word-architect/reference/uia-fallback.md +231 -0
- package/dist/skills/word-architect/reference/visual-elements.md +82 -0
- package/dist/skills/word-architect/windows/scripts/apply-heading-style.ps1 +190 -0
- package/dist/skills/word-architect/windows/scripts/autofit-tables.ps1 +64 -0
- package/dist/skills/word-architect/windows/scripts/create-chart-with-data.ps1 +133 -0
- package/dist/skills/word-architect/windows/scripts/create-chart.ps1 +73 -0
- package/dist/skills/word-architect/windows/scripts/export-document.ps1 +86 -0
- package/dist/skills/word-architect/windows/scripts/get-current-file.ps1 +27 -0
- package/dist/skills/word-architect/windows/scripts/insert-cover-page.ps1 +79 -0
- package/dist/skills/word-architect/windows/scripts/insert-horizontal-line.ps1 +74 -0
- package/dist/skills/word-architect/windows/scripts/insert-image.ps1 +98 -0
- package/dist/skills/word-architect/windows/scripts/insert-smartart.ps1 +118 -0
- package/dist/skills/word-architect/windows/scripts/insert-text-box.ps1 +90 -0
- package/dist/skills/word-architect/windows/scripts/normalize-formatting.ps1 +63 -0
- package/package.json +5 -4
|
@@ -0,0 +1,768 @@
|
|
|
1
|
+
# Issue → Fix Mapping Reference
|
|
2
|
+
|
|
3
|
+
**Load this document when you need to fix health check issues.** Each issue type has a specific fix pattern.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## STYLING ISSUES
|
|
8
|
+
|
|
9
|
+
### Double Bullets
|
|
10
|
+
**Message:** `"Double bullets detected (N lines) - text has bullet characters but shape already has bullet formatting"`
|
|
11
|
+
**Category:** `styling` | **Severity:** `warning`
|
|
12
|
+
|
|
13
|
+
**Fix:** Re-add text with bullet characters stripped.
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
// 1. Get current text from analyze
|
|
17
|
+
{ "endpoint": "/ppt/analyze-slide-content", "body": { "filePath": "C:/presentation.pptx", "slideNumbers": [2] } }
|
|
18
|
+
|
|
19
|
+
// 2. Strip bullet chars and re-add (remove leading "- ", "• ", "* ", "– ", "— ", "· ")
|
|
20
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
21
|
+
"filePath": "C:/presentation.pptx",
|
|
22
|
+
"slideNumber": 2,
|
|
23
|
+
"targetShapeName": "Content Placeholder 2",
|
|
24
|
+
"text": "First point\nSecond point\nThird point",
|
|
25
|
+
"clearExistingText": true
|
|
26
|
+
}}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Text transformation:** Before adding, strip these patterns from line starts:
|
|
30
|
+
- `"- "` → remove
|
|
31
|
+
- `"• "` → remove
|
|
32
|
+
- `"* "` → remove
|
|
33
|
+
- `"– "` → remove (en-dash)
|
|
34
|
+
- `"— "` → remove (em-dash)
|
|
35
|
+
- `"· "` → remove
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
### Underline Formatting
|
|
40
|
+
**Message:** `"Text has underline formatting - rarely appropriate in presentations"`
|
|
41
|
+
**Category:** `styling` | **Severity:** `warning`
|
|
42
|
+
|
|
43
|
+
**Fix:** Remove underline via format endpoint.
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
47
|
+
"filePath": "C:/presentation.pptx",
|
|
48
|
+
"slideNumbers": [2],
|
|
49
|
+
"shapeName": "Content Placeholder 2",
|
|
50
|
+
"underline": false
|
|
51
|
+
}}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
### Subtitle Has Bullets
|
|
57
|
+
**Message:** `"Subtitle has bullet formatting - subtitles should not have bullets"`
|
|
58
|
+
**Category:** `styling` | **Severity:** `warning`
|
|
59
|
+
|
|
60
|
+
**Fix:** Use C# script to remove bullet formatting from subtitle.
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
{ "endpoint": "/ppt/execute-script", "body": {
|
|
64
|
+
"filePath": "C:/presentation.pptx",
|
|
65
|
+
"slideNumber": 1,
|
|
66
|
+
"script": "foreach (dynamic shape in slide.Shapes) { if (shape.Name.ToLower().Contains(\"subtitle\") && shape.HasTextFrame == MsoTriState.msoTrue) { shape.TextFrame.TextRange.ParagraphFormat.Bullet.Type = 0; break; } } return \"Bullets removed from subtitle\";"
|
|
67
|
+
}}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
### Subtitle/Attribution Not Bold
|
|
73
|
+
**Message:** `"Subtitle/subheading should be bold for visual hierarchy"` or `"Subtitle/attribution text is not bold"`
|
|
74
|
+
**Category:** `styling` | **Severity:** `info`
|
|
75
|
+
|
|
76
|
+
**Fix:** Make subtitle(s) bold.
|
|
77
|
+
|
|
78
|
+
```json
|
|
79
|
+
// For single subtitle shape
|
|
80
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
81
|
+
"filePath": "C:/presentation.pptx",
|
|
82
|
+
"slideNumbers": [1],
|
|
83
|
+
"shapeName": "Subtitle 2",
|
|
84
|
+
"bold": true
|
|
85
|
+
}}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**For multiple section headers in body content:**
|
|
89
|
+
|
|
90
|
+
If the slide has content like:
|
|
91
|
+
```
|
|
92
|
+
Technical Excellence ← Should be bold
|
|
93
|
+
- Point 1
|
|
94
|
+
- Point 2
|
|
95
|
+
Drive for Results ← Should be bold
|
|
96
|
+
- Point 3
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
You need to re-add the content with proper formatting:
|
|
100
|
+
1. Note which lines are section headers
|
|
101
|
+
2. Add content with visual separation
|
|
102
|
+
3. Use format-slide-content to bold section headers OR
|
|
103
|
+
4. Re-structure using multiple shapes if the layout supports it
|
|
104
|
+
|
|
105
|
+
**Quick identification:** Section headers are typically short phrases (2-4 words) that introduce related bullet points below them.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
### Empty Lines Between Bullets
|
|
110
|
+
**Message:** `"Empty lines detected between bullet points"`
|
|
111
|
+
**Category:** `styling` | **Severity:** `info`
|
|
112
|
+
|
|
113
|
+
**🚨 STOP — CHECK BEFORE FIXING. Many empty lines are INTENTIONAL and MUST be kept:**
|
|
114
|
+
|
|
115
|
+
**DO NOT FIX (SKIP this issue entirely) when:**
|
|
116
|
+
- **Timeline slides** (`timeline` layout or slide title contains "timeline", "journey", "history", "milestones", "roadmap") — empty lines separate timeline entries. **SKIP. Do not touch.**
|
|
117
|
+
- **Feature/content blocks on custom-themed slides** — empty lines separate feature groups. **SKIP.**
|
|
118
|
+
- **Multi-section content** — empty lines between distinct content groups (e.g., different categories, different topics). **SKIP.**
|
|
119
|
+
- **Any slide where empty lines visually separate groups of related items** — these are section separators, not formatting errors. **SKIP.**
|
|
120
|
+
|
|
121
|
+
**✅ The ONLY time to fix:** Plain bullet lists within a SINGLE section where empty lines add no visual grouping (e.g., `"Point 1\n\nPoint 2\n\nPoint 3"` in a simple content slide with no logical grouping).
|
|
122
|
+
|
|
123
|
+
**If in doubt → SKIP. Removing intentional spacing is worse than leaving unintentional spacing.**
|
|
124
|
+
|
|
125
|
+
**Fix (ONLY for plain bullet lists with no logical grouping):**
|
|
126
|
+
|
|
127
|
+
```json
|
|
128
|
+
// Transform text: "Point 1\n\nPoint 2\n\nPoint 3" → "Point 1\nPoint 2\nPoint 3"
|
|
129
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
130
|
+
"filePath": "C:/presentation.pptx",
|
|
131
|
+
"slideNumber": 2,
|
|
132
|
+
"targetShapeName": "Content Placeholder 2",
|
|
133
|
+
"text": "Point 1\nPoint 2\nPoint 3",
|
|
134
|
+
"clearExistingText": true
|
|
135
|
+
}}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
### Too Many Bullets
|
|
141
|
+
**Message:** `"Too many bullet points (N) - maximum recommended is 7"`
|
|
142
|
+
**Category:** `styling` | **Severity:** `warning`
|
|
143
|
+
|
|
144
|
+
**Fix:** Split content across multiple slides.
|
|
145
|
+
|
|
146
|
+
```json
|
|
147
|
+
// 1. Keep first 5-7 points on current slide
|
|
148
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
149
|
+
"filePath": "C:/presentation.pptx",
|
|
150
|
+
"slideNumber": 2,
|
|
151
|
+
"targetShapeName": "Content Placeholder 2",
|
|
152
|
+
"text": "Point 1\nPoint 2\nPoint 3\nPoint 4\nPoint 5",
|
|
153
|
+
"clearExistingText": true
|
|
154
|
+
}}
|
|
155
|
+
|
|
156
|
+
// 2. Insert new slide for overflow
|
|
157
|
+
{ "endpoint": "/ppt/insert-slide", "body": {
|
|
158
|
+
"filePath": "C:/presentation.pptx",
|
|
159
|
+
"position": 3,
|
|
160
|
+
"slideLayout": "Title and Content"
|
|
161
|
+
}}
|
|
162
|
+
|
|
163
|
+
// 3. Add title to continuation slide
|
|
164
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
165
|
+
"filePath": "C:/presentation.pptx",
|
|
166
|
+
"slideNumber": 3,
|
|
167
|
+
"targetShapeName": "Title 1",
|
|
168
|
+
"text": "Key Points (continued)"
|
|
169
|
+
}}
|
|
170
|
+
|
|
171
|
+
// 4. Add remaining points
|
|
172
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
173
|
+
"filePath": "C:/presentation.pptx",
|
|
174
|
+
"slideNumber": 3,
|
|
175
|
+
"targetShapeName": "Content Placeholder 2",
|
|
176
|
+
"text": "Point 6\nPoint 7\nPoint 8"
|
|
177
|
+
}}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
### Long Bullet Points
|
|
183
|
+
**Message:** `"N bullet(s) exceed 10 words - may be hard to scan"`
|
|
184
|
+
**Category:** `styling` | **Severity:** `info`
|
|
185
|
+
|
|
186
|
+
**Fix:** Shorten bullet text to be more scannable. Extract details to speaker notes if needed.
|
|
187
|
+
|
|
188
|
+
```json
|
|
189
|
+
// Rewrite bullets to be concise (max 10 words each)
|
|
190
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
191
|
+
"filePath": "C:/presentation.pptx",
|
|
192
|
+
"slideNumber": 2,
|
|
193
|
+
"targetShapeName": "Content Placeholder 2",
|
|
194
|
+
"text": "Key insight one\nSecond important point\nThird takeaway",
|
|
195
|
+
"clearExistingText": true
|
|
196
|
+
}}
|
|
197
|
+
|
|
198
|
+
// Optionally move details to speaker notes
|
|
199
|
+
{ "endpoint": "/ppt/add-speaker-notes", "body": {
|
|
200
|
+
"filePath": "C:/presentation.pptx",
|
|
201
|
+
"slideNumber": 2,
|
|
202
|
+
"notes": "Detailed explanation for bullet 1...\nDetails for bullet 2..."
|
|
203
|
+
}}
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
### Too Much Text on Slide
|
|
209
|
+
**Message:** `"Slide has N words - may be too much content"`
|
|
210
|
+
**Category:** `text` | **Severity:** `info`
|
|
211
|
+
|
|
212
|
+
**Fix:** Split content across multiple slides or move details to speaker notes.
|
|
213
|
+
|
|
214
|
+
```json
|
|
215
|
+
// Option A: Reduce content on current slide
|
|
216
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
217
|
+
"filePath": "C:/presentation.pptx",
|
|
218
|
+
"slideNumber": 2,
|
|
219
|
+
"targetShapeName": "Content Placeholder 2",
|
|
220
|
+
"text": "Condensed point 1\nCondensed point 2\nCondensed point 3",
|
|
221
|
+
"clearExistingText": true
|
|
222
|
+
}}
|
|
223
|
+
|
|
224
|
+
// Option B: Move overflow to new slide (see "Too Many Bullets" pattern above)
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
**Context decision:**
|
|
228
|
+
- If content is essential → split across multiple slides
|
|
229
|
+
- If content is supplementary → move to speaker notes
|
|
230
|
+
- If content is redundant → remove entirely
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
### Font Hierarchy Issue
|
|
235
|
+
**Message:** `"Font hierarchy issue: body text (Npt) is same size or larger than title (Mpt)"`
|
|
236
|
+
**Category:** `styling` | **Severity:** `warning`
|
|
237
|
+
|
|
238
|
+
**Fix:** Either increase title size OR decrease body size. Choose based on context.
|
|
239
|
+
|
|
240
|
+
```json
|
|
241
|
+
// Option A: Increase title size (preferred if title looks small)
|
|
242
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
243
|
+
"filePath": "C:/presentation.pptx",
|
|
244
|
+
"slideNumbers": [2],
|
|
245
|
+
"shapeName": "Title 1",
|
|
246
|
+
"fontSize": 36
|
|
247
|
+
}}
|
|
248
|
+
|
|
249
|
+
// Option B: Decrease body size (if body is too large)
|
|
250
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
251
|
+
"filePath": "C:/presentation.pptx",
|
|
252
|
+
"slideNumbers": [2],
|
|
253
|
+
"shapeName": "Content Placeholder 2",
|
|
254
|
+
"fontSize": 18
|
|
255
|
+
}}
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
**Context decision:**
|
|
259
|
+
- If title < 28pt → increase title to 36-44pt
|
|
260
|
+
- If body > 24pt → decrease body to 18-20pt
|
|
261
|
+
- Goal: Title should be ~1.5-2x body font size
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
### Excessive White Space
|
|
266
|
+
**Message:** `"Excessive white space - content only fills N% of slide (recommended: at least 30%)"`
|
|
267
|
+
**Category:** `styling` | **Severity:** `warning`
|
|
268
|
+
|
|
269
|
+
**Fix:** Increase font sizes OR add more content OR resize shapes.
|
|
270
|
+
|
|
271
|
+
```json
|
|
272
|
+
// Option A: Increase font size to fill more space
|
|
273
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
274
|
+
"filePath": "C:/presentation.pptx",
|
|
275
|
+
"slideNumbers": [2],
|
|
276
|
+
"shapeName": "Content Placeholder 2",
|
|
277
|
+
"fontSize": 24
|
|
278
|
+
}}
|
|
279
|
+
|
|
280
|
+
// Option B: Resize shape to be larger (use format-shape)
|
|
281
|
+
{ "endpoint": "/ppt/format-shape", "body": {
|
|
282
|
+
"filePath": "C:/presentation.pptx",
|
|
283
|
+
"slideNumber": 2,
|
|
284
|
+
"shapeName": "Content Placeholder 2",
|
|
285
|
+
"width": 600,
|
|
286
|
+
"height": 400
|
|
287
|
+
}}
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## TEXT ISSUES
|
|
293
|
+
|
|
294
|
+
### Small Font Size
|
|
295
|
+
**Message:** `"Font size is very small (Npt) - may be hard to read"`
|
|
296
|
+
**Category:** `text` | **Severity:** `warning`
|
|
297
|
+
|
|
298
|
+
**Fix:** Increase font size to at least 14pt (18pt+ recommended for body).
|
|
299
|
+
|
|
300
|
+
```json
|
|
301
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
302
|
+
"filePath": "C:/presentation.pptx",
|
|
303
|
+
"slideNumbers": [2],
|
|
304
|
+
"shapeName": "Content Placeholder 2",
|
|
305
|
+
"fontSize": 18
|
|
306
|
+
}}
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
**Size guidelines:**
|
|
310
|
+
- Titles: 36-44pt
|
|
311
|
+
- Body text: 18-24pt (minimum 14pt)
|
|
312
|
+
- Captions: 12-14pt
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
### Empty Placeholder
|
|
317
|
+
**Message:** `"Empty placeholder - no content added"` or `"Empty placeholder text not replaced"` or `"Content placeholder is empty - content was not added"`
|
|
318
|
+
**Category:** `text` | **Severity:** `warning` or `info`
|
|
319
|
+
|
|
320
|
+
**Fix:** Either add content OR delete empty shapes via optimize-slide.
|
|
321
|
+
|
|
322
|
+
```json
|
|
323
|
+
// Option A: Add content (if you have content to add)
|
|
324
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
325
|
+
"filePath": "C:/presentation.pptx",
|
|
326
|
+
"slideNumber": 2,
|
|
327
|
+
"targetShapeName": "Content Placeholder 2",
|
|
328
|
+
"text": "Your content here"
|
|
329
|
+
}}
|
|
330
|
+
|
|
331
|
+
// Option B: Delete ALL empty shapes on the slide (preferred - uses API)
|
|
332
|
+
{ "endpoint": "/ppt/optimize-slide", "body": {
|
|
333
|
+
"filePath": "C:/presentation.pptx",
|
|
334
|
+
"slideNumber": 2,
|
|
335
|
+
"deleteEmpty": true,
|
|
336
|
+
"resizeShapes": false
|
|
337
|
+
}}
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
**Context decision:**
|
|
341
|
+
- If user provided content for this → add it
|
|
342
|
+
- If placeholder is truly unneeded → use optimize-slide to clean up
|
|
343
|
+
- If title placeholder → usually keep it (ask user)
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
### Empty Comparison Slide Content (CRITICAL)
|
|
348
|
+
**Message:** `"Content placeholder is empty - content was not added"` on comparison/two-column slides
|
|
349
|
+
**Category:** `text` | **Severity:** `warning`
|
|
350
|
+
|
|
351
|
+
**🚨 This is a HIGH PRIORITY issue.** When comparison slides have empty "Text Placeholder 2" or "Text Placeholder 3" shapes, it means the generator failed to populate the comparison content. **You MUST fix this by adding the comparison content that was intended for this slide.**
|
|
352
|
+
|
|
353
|
+
**Diagnosis:** Check if the slide was supposed to have comparison content by:
|
|
354
|
+
1. Looking at the original JSON/request for this slide
|
|
355
|
+
2. Checking if the slide layout is "Comparison" or has two content areas
|
|
356
|
+
3. If you generated this presentation, recall what content was supposed to go here
|
|
357
|
+
|
|
358
|
+
**Fix:** Add the missing comparison content to both placeholders.
|
|
359
|
+
|
|
360
|
+
```json
|
|
361
|
+
// 1. First, analyze the slide to get exact placeholder names
|
|
362
|
+
{ "endpoint": "/ppt/analyze-slide-content", "body": {
|
|
363
|
+
"filePath": "C:/presentation.pptx",
|
|
364
|
+
"slideNumbers": [3]
|
|
365
|
+
}}
|
|
366
|
+
// Returns shapes like: "Title 1", "Text Placeholder 2", "Text Placeholder 3"
|
|
367
|
+
|
|
368
|
+
// 2. Add content to LEFT side (usually "Text Placeholder 2")
|
|
369
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
370
|
+
"filePath": "C:/presentation.pptx",
|
|
371
|
+
"slideNumber": 3,
|
|
372
|
+
"targetShapeName": "Text Placeholder 2",
|
|
373
|
+
"text": "Option A\nFirst advantage\nSecond advantage\nThird advantage"
|
|
374
|
+
}}
|
|
375
|
+
|
|
376
|
+
// 3. Add content to RIGHT side (usually "Text Placeholder 3")
|
|
377
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
378
|
+
"filePath": "C:/presentation.pptx",
|
|
379
|
+
"slideNumber": 3,
|
|
380
|
+
"targetShapeName": "Text Placeholder 3",
|
|
381
|
+
"text": "Option B\nFirst advantage\nSecond advantage\nThird advantage"
|
|
382
|
+
}}
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
**Important:**
|
|
386
|
+
- **DO NOT delete empty comparison placeholders** - they need content, not deletion
|
|
387
|
+
- The placeholder names may vary by theme (e.g., "Content Placeholder 2" vs "Text Placeholder 2")
|
|
388
|
+
- If you can't find the original content, generate appropriate comparison content based on the slide title
|
|
389
|
+
- For themes like Ion Boardroom, placeholders may have different names - always use `/ppt/analyze-slide-content` first
|
|
390
|
+
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
### Empty Subtitle Placeholder
|
|
394
|
+
**Message:** `"Subtitle placeholder is empty"`
|
|
395
|
+
**Category:** `text` | **Severity:** `warning`
|
|
396
|
+
|
|
397
|
+
**Fix:** Add subtitle text OR use optimize-slide to delete empty shapes.
|
|
398
|
+
|
|
399
|
+
```json
|
|
400
|
+
// Option A: Add subtitle (usually preferred for title slides)
|
|
401
|
+
{ "endpoint": "/ppt/add-text-to-slide", "body": {
|
|
402
|
+
"filePath": "C:/presentation.pptx",
|
|
403
|
+
"slideNumber": 1,
|
|
404
|
+
"targetShapeName": "Subtitle 2",
|
|
405
|
+
"text": "Your Subtitle Here"
|
|
406
|
+
}}
|
|
407
|
+
|
|
408
|
+
// Option B: Delete all empty shapes including subtitle (uses API)
|
|
409
|
+
{ "endpoint": "/ppt/optimize-slide", "body": {
|
|
410
|
+
"filePath": "C:/presentation.pptx",
|
|
411
|
+
"slideNumber": 1,
|
|
412
|
+
"deleteEmpty": true,
|
|
413
|
+
"resizeShapes": false
|
|
414
|
+
}}
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
### Template Instructional Text
|
|
420
|
+
**Message:** `"Template instructional text should be removed"`
|
|
421
|
+
**Category:** `text` | **Severity:** `warning`
|
|
422
|
+
|
|
423
|
+
**Fix:** Use optimize-slide to delete empty/placeholder shapes (template instructions are detected as empty).
|
|
424
|
+
|
|
425
|
+
```json
|
|
426
|
+
// Delete all empty/placeholder shapes including template instructions
|
|
427
|
+
{ "endpoint": "/ppt/optimize-slide", "body": {
|
|
428
|
+
"filePath": "C:/presentation.pptx",
|
|
429
|
+
"slideNumber": 2,
|
|
430
|
+
"deleteEmpty": true,
|
|
431
|
+
"resizeShapes": false
|
|
432
|
+
}}
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
**Note:** Template instructional text is detected as empty placeholder content by the health checker, so optimize-slide with `deleteEmpty: true` will remove it.
|
|
436
|
+
|
|
437
|
+
---
|
|
438
|
+
|
|
439
|
+
## LAYOUT ISSUES
|
|
440
|
+
|
|
441
|
+
### Image Overlapping Title
|
|
442
|
+
**Message:** `"Image overlaps with title - must be fixed: ShapeName1 and ShapeName2"`
|
|
443
|
+
**Category:** `layout` | **Severity:** `warning`
|
|
444
|
+
|
|
445
|
+
**Note:** The health check may flag this even when the overlap is minimal or barely visible. In those cases, you're really **optimizing image placement** — repositioning/resizing the image to use available space better. Name your action accordingly (e.g., "Optimize Image Layout" or "Adjust Image Position"), not "Fix Overlapping Images" when nothing looks broken.
|
|
446
|
+
|
|
447
|
+
Follow the health check **recommendation** which provides calculated values:
|
|
448
|
+
|
|
449
|
+
**Example health check output:**
|
|
450
|
+
```json
|
|
451
|
+
{
|
|
452
|
+
"severity": "warning",
|
|
453
|
+
"category": "layout",
|
|
454
|
+
"message": "Image overlaps with title - must be fixed: Title 1 and Image_abc123",
|
|
455
|
+
"shapeName": "Title 1",
|
|
456
|
+
"recommendation": "Move image 'Image_abc123' to the RIGHT to avoid title. Set left: 642 (calculated: titleRight 622 + 20 margin). Also reduce width to 297 to stay within slide bounds. Alternative: move DOWN by setting top: 158.",
|
|
457
|
+
"positionLeft": 46,
|
|
458
|
+
"positionTop": 69,
|
|
459
|
+
"positionWidth": 576,
|
|
460
|
+
"positionHeight": 69,
|
|
461
|
+
"slideWidth": 960,
|
|
462
|
+
"slideHeight": 540,
|
|
463
|
+
"overlappingShapeName": "Image_abc123",
|
|
464
|
+
"overlappingShapeLeft": 517,
|
|
465
|
+
"overlappingShapeTop": 85,
|
|
466
|
+
"overlappingShapeWidth": 319,
|
|
467
|
+
"overlappingShapeHeight": 400
|
|
468
|
+
}
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
**🎯 THE RECOMMENDATION TELLS YOU EXACTLY WHAT TO DO:**
|
|
472
|
+
- **Direction:** "Move image to the RIGHT" or "Move image DOWN"
|
|
473
|
+
- **Position value:** "Set left: 642" or "Set top: 158"
|
|
474
|
+
- **Size adjustment:** "Also reduce width to 297" (if needed)
|
|
475
|
+
- **Alternative:** "Alternative: move DOWN by setting top: 158" (if primary fix doesn't work)
|
|
476
|
+
|
|
477
|
+
---
|
|
478
|
+
|
|
479
|
+
**FIX: Simply parse the recommendation and apply it**
|
|
480
|
+
|
|
481
|
+
```json
|
|
482
|
+
// Example: Recommendation says "Move to the RIGHT. Set left: 642. Also reduce width to 297."
|
|
483
|
+
{ "endpoint": "/ppt/format-shape", "body": {
|
|
484
|
+
"filePath": "C:/presentation.pptx",
|
|
485
|
+
"slideNumber": 5,
|
|
486
|
+
"shapeName": "Image_abc123",
|
|
487
|
+
"left": 642,
|
|
488
|
+
"width": 297
|
|
489
|
+
}}
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
```json
|
|
493
|
+
// Example: Recommendation says "Move DOWN below title. Set top: 158."
|
|
494
|
+
{ "endpoint": "/ppt/format-shape", "body": {
|
|
495
|
+
"filePath": "C:/presentation.pptx",
|
|
496
|
+
"slideNumber": 5,
|
|
497
|
+
"shapeName": "Picture 1",
|
|
498
|
+
"top": 158
|
|
499
|
+
}}
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
---
|
|
503
|
+
|
|
504
|
+
**🚨 CRITICAL RULES:**
|
|
505
|
+
1. **USE THE RECOMMENDATION VALUES** - the health check has already calculated the correct position
|
|
506
|
+
2. **Parse the recommendation text** - it contains "Set left: N" or "Set top: N" with the exact value
|
|
507
|
+
3. **Check for size adjustment** - if recommendation says "reduce width/height to N", include that too
|
|
508
|
+
4. **`ReadFile` the `.pptx`** to verify the fix worked (the deck is windowless, so there is nothing to screenshot)
|
|
509
|
+
5. **Try the alternative** if still overlapping - the recommendation includes an alternative direction
|
|
510
|
+
6. **Re-run health check** after fix to confirm the overlap is resolved
|
|
511
|
+
|
|
512
|
+
---
|
|
513
|
+
|
|
514
|
+
**Position data still available if you need to calculate manually:**
|
|
515
|
+
```
|
|
516
|
+
ShapeName: "Title 1" # The title shape name
|
|
517
|
+
PositionLeft/Top/Width/Height # Title's position (points)
|
|
518
|
+
OverlappingShapeName: "Image_..." # The image shape name
|
|
519
|
+
OverlappingShapeLeft/Top/Width/Height # Image's position (points)
|
|
520
|
+
SlideWidth/SlideHeight # Slide dimensions (points)
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
---
|
|
524
|
+
|
|
525
|
+
### Overlapping Shapes (General)
|
|
526
|
+
**Message:** `"Shapes overlap significantly: ShapeName1 and ShapeName2"`
|
|
527
|
+
**Category:** `layout` | **Severity:** `warning`
|
|
528
|
+
|
|
529
|
+
**Fix:** Reposition one shape to avoid overlap. The health check provides position data.
|
|
530
|
+
|
|
531
|
+
```json
|
|
532
|
+
// Use position data from health check to calculate new position
|
|
533
|
+
{ "endpoint": "/ppt/format-shape", "body": {
|
|
534
|
+
"filePath": "C:/presentation.pptx",
|
|
535
|
+
"slideNumber": 2,
|
|
536
|
+
"shapeName": "TextBox 1",
|
|
537
|
+
"left": 50,
|
|
538
|
+
"top": 300
|
|
539
|
+
}}
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
**Calculation strategy:**
|
|
543
|
+
- Get both shapes' positions from health check
|
|
544
|
+
- Move the smaller/less important shape
|
|
545
|
+
- New position = outside the other shape's bounds + 10pt margin
|
|
546
|
+
|
|
547
|
+
---
|
|
548
|
+
|
|
549
|
+
### Shape Out of Bounds
|
|
550
|
+
**Message:** `"Image extends outside slide boundaries"` or shape outside bounds
|
|
551
|
+
**Category:** `images` or `layout` | **Severity:** `warning`
|
|
552
|
+
|
|
553
|
+
**Fix:** Reposition and/or resize to fit within slide.
|
|
554
|
+
|
|
555
|
+
```json
|
|
556
|
+
// Reposition within slide bounds
|
|
557
|
+
{ "endpoint": "/ppt/format-shape", "body": {
|
|
558
|
+
"filePath": "C:/presentation.pptx",
|
|
559
|
+
"slideNumber": 2,
|
|
560
|
+
"shapeName": "Picture 1",
|
|
561
|
+
"left": 50,
|
|
562
|
+
"top": 100,
|
|
563
|
+
"width": 400,
|
|
564
|
+
"height": 300
|
|
565
|
+
}}
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
**Standard slide dimensions:**
|
|
569
|
+
- 16:9 slides: 960 x 540 points
|
|
570
|
+
- 4:3 slides: 720 x 540 points
|
|
571
|
+
- Keep all content within 10pt margin of edges
|
|
572
|
+
|
|
573
|
+
---
|
|
574
|
+
|
|
575
|
+
### Text Exceeds Shape Boundaries (Font Too Large)
|
|
576
|
+
**Message:** `"Text overflows shape boundaries"` or text visually extending beyond shape
|
|
577
|
+
**Category:** `layout` or `text` | **Severity:** `warning`
|
|
578
|
+
|
|
579
|
+
**Fix:** Reduce font size until text fits within shape boundaries.
|
|
580
|
+
|
|
581
|
+
```json
|
|
582
|
+
// Reduce font size (e.g., from 20pt to 16pt)
|
|
583
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
584
|
+
"filePath": "C:/presentation.pptx",
|
|
585
|
+
"slideNumbers": [5],
|
|
586
|
+
"shapeName": "Content Placeholder 2",
|
|
587
|
+
"fontSize": 16
|
|
588
|
+
}}
|
|
589
|
+
```
|
|
590
|
+
|
|
591
|
+
**Diagnosis steps:**
|
|
592
|
+
1. If text visually exceeds shape boundaries, the font is too large
|
|
593
|
+
2. Check current font size via analyze-slide-content
|
|
594
|
+
3. Reduce by 2-4pt increments until text fits
|
|
595
|
+
4. Screenshot to verify visually
|
|
596
|
+
|
|
597
|
+
**Size reduction guidelines:**
|
|
598
|
+
- If current font > 20pt → try 18pt
|
|
599
|
+
- If current font > 18pt → try 16pt
|
|
600
|
+
- If current font > 16pt → try 14pt (minimum for readability)
|
|
601
|
+
- If 14pt still overflows → split content across slides
|
|
602
|
+
|
|
603
|
+
---
|
|
604
|
+
|
|
605
|
+
### Content Fills Slide (No Bottom Margin)
|
|
606
|
+
**Message:** Visual - text reaches slide bottom with no margin
|
|
607
|
+
**Category:** `layout` | **Severity:** `warning`
|
|
608
|
+
|
|
609
|
+
**Visual check:** Screenshot → Is there bottom margin? If text reaches edge → font TOO LARGE.
|
|
610
|
+
|
|
611
|
+
**Fix:** Reduce font size to 14-16pt for dense content.
|
|
612
|
+
|
|
613
|
+
```json
|
|
614
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
615
|
+
"filePath": "C:/presentation.pptx",
|
|
616
|
+
"slideNumbers": [6],
|
|
617
|
+
"shapeName": "Content Placeholder 2",
|
|
618
|
+
"fontSize": 16
|
|
619
|
+
}}
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
**Guidelines:**
|
|
623
|
+
- Dense content (quotes, two-column): 14-16pt
|
|
624
|
+
- Normal bullets: 18-20pt
|
|
625
|
+
- MINIMUM: 12pt
|
|
626
|
+
- If 12pt still overflows → split content across slides
|
|
627
|
+
|
|
628
|
+
**Two-column:** Reduce BOTH columns to same font size.
|
|
629
|
+
|
|
630
|
+
---
|
|
631
|
+
|
|
632
|
+
### Empty Slide
|
|
633
|
+
**Message:** `"This slide is completely blank"` or `"This slide only contains empty placeholder shapes"`
|
|
634
|
+
**Category:** `layout` | **Severity:** `info`
|
|
635
|
+
|
|
636
|
+
**Fix:** Add content OR delete the slide.
|
|
637
|
+
|
|
638
|
+
```json
|
|
639
|
+
// Option A: Delete empty slide
|
|
640
|
+
{ "endpoint": "/ppt/delete-slide", "body": {
|
|
641
|
+
"filePath": "C:/presentation.pptx",
|
|
642
|
+
"slideNumber": 5
|
|
643
|
+
}}
|
|
644
|
+
|
|
645
|
+
// Option B: Add content to make it useful
|
|
646
|
+
// (Use add-text-to-slide, insert-image, etc.)
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
---
|
|
650
|
+
|
|
651
|
+
## CONTENT ISSUES
|
|
652
|
+
|
|
653
|
+
### Empty Table
|
|
654
|
+
**Message:** `"Table is empty (no data)"`
|
|
655
|
+
**Category:** `content` | **Severity:** `warning`
|
|
656
|
+
|
|
657
|
+
**Fix:** Delete empty table OR populate it with data.
|
|
658
|
+
|
|
659
|
+
```json
|
|
660
|
+
// Option A: Delete empty table
|
|
661
|
+
{ "endpoint": "/ppt/execute-script", "body": {
|
|
662
|
+
"filePath": "C:/presentation.pptx",
|
|
663
|
+
"slideNumber": 3,
|
|
664
|
+
"script": "foreach (dynamic shape in slide.Shapes) { if (shape.HasTable == MsoTriState.msoTrue) { shape.Delete(); break; } } return \"Empty table deleted\";"
|
|
665
|
+
}}
|
|
666
|
+
|
|
667
|
+
// Option B: Insert new table with data (delete old first, then insert)
|
|
668
|
+
{ "endpoint": "/ppt/insert-table", "body": {
|
|
669
|
+
"filePath": "C:/presentation.pptx",
|
|
670
|
+
"slideNumber": 3,
|
|
671
|
+
"table": [
|
|
672
|
+
["Header 1", "Header 2"],
|
|
673
|
+
["Data 1", "Data 2"],
|
|
674
|
+
["Data 3", "Data 4"]
|
|
675
|
+
]
|
|
676
|
+
}}
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
---
|
|
680
|
+
|
|
681
|
+
## FORMATTING ISSUES
|
|
682
|
+
|
|
683
|
+
### Too Many Fonts
|
|
684
|
+
**Message:** `"Slide uses N different fonts - may look inconsistent"`
|
|
685
|
+
**Category:** `formatting` | **Severity:** `info`
|
|
686
|
+
|
|
687
|
+
**Fix:** Standardize fonts across the slide.
|
|
688
|
+
|
|
689
|
+
```json
|
|
690
|
+
// Apply consistent font to all text shapes
|
|
691
|
+
{ "endpoint": "/ppt/format-slide-content", "body": {
|
|
692
|
+
"filePath": "C:/presentation.pptx",
|
|
693
|
+
"slideNumbers": [2],
|
|
694
|
+
"fontName": "Calibri"
|
|
695
|
+
}}
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
**Best practice:** Use 2 fonts max:
|
|
699
|
+
- One for titles (e.g., Calibri Light)
|
|
700
|
+
- One for body (e.g., Calibri)
|
|
701
|
+
|
|
702
|
+
---
|
|
703
|
+
|
|
704
|
+
## IMAGE ISSUES
|
|
705
|
+
|
|
706
|
+
### Broken Linked Image
|
|
707
|
+
**Message:** `"Image file not found: {path}"`
|
|
708
|
+
**Category:** `images` | **Severity:** `critical`
|
|
709
|
+
|
|
710
|
+
**Fix:** Replace with valid image OR delete the broken shape.
|
|
711
|
+
|
|
712
|
+
```json
|
|
713
|
+
// Replace broken image with new one
|
|
714
|
+
{ "endpoint": "/ppt/replace-image", "body": {
|
|
715
|
+
"filePath": "C:/presentation.pptx",
|
|
716
|
+
"slideNumber": 2,
|
|
717
|
+
"imagePath": "C:/valid/path/to/image.png",
|
|
718
|
+
"targetShapeName": "Picture 1"
|
|
719
|
+
}}
|
|
720
|
+
|
|
721
|
+
// OR delete broken image
|
|
722
|
+
{ "endpoint": "/ppt/execute-script", "body": {
|
|
723
|
+
"filePath": "C:/presentation.pptx",
|
|
724
|
+
"slideNumber": 2,
|
|
725
|
+
"script": "foreach (dynamic shape in slide.Shapes) { if (shape.Name == \"Picture 1\") { shape.Delete(); break; } } return \"Broken image deleted\";"
|
|
726
|
+
}}
|
|
727
|
+
```
|
|
728
|
+
|
|
729
|
+
---
|
|
730
|
+
|
|
731
|
+
## Known Dead-Ends
|
|
732
|
+
|
|
733
|
+
| Approach | Why it fails | Use instead |
|
|
734
|
+
|----------|-------------|-------------|
|
|
735
|
+
| SmartArt text via UIA | X button closes PowerPoint; text doesn't persist | `/ppt/execute-script` or regular shapes |
|
|
736
|
+
| Building diagrams shape-by-shape | Script timeout, COM errors, shapes don't persist | Generator `diagram` layout or `/diagram/render-mermaid` endpoint |
|
|
737
|
+
| PowerShell COM on OneDrive files | Sync conflicts prevent save | `/ppt/save-presentation` after scripts; save to local path if sync fails |
|
|
738
|
+
|
|
739
|
+
---
|
|
740
|
+
|
|
741
|
+
## Fix Workflow Pattern
|
|
742
|
+
|
|
743
|
+
**For EVERY health check issue, follow this pattern:**
|
|
744
|
+
|
|
745
|
+
```
|
|
746
|
+
1. IDENTIFY issue from health check response
|
|
747
|
+
- Note: category, severity, message, shapeName, position data
|
|
748
|
+
|
|
749
|
+
2. MATCH to fix pattern above
|
|
750
|
+
- Find the matching issue type in this reference
|
|
751
|
+
|
|
752
|
+
3. ADAPT the fix to context
|
|
753
|
+
- Consider user intent
|
|
754
|
+
- Consider visual balance
|
|
755
|
+
- Consider consistency with other slides
|
|
756
|
+
|
|
757
|
+
4. EXECUTE the fix
|
|
758
|
+
- Use the API call pattern from the mapping
|
|
759
|
+
|
|
760
|
+
5. VERIFY visually
|
|
761
|
+
- ReadFile the .pptx to get the rendered slides (the deck is windowless)
|
|
762
|
+
- Confirm fix looks correct
|
|
763
|
+
|
|
764
|
+
6. RE-RUN health check once
|
|
765
|
+
- Confirm issue is resolved
|
|
766
|
+
- Check for any new issues created by the fix
|
|
767
|
+
- Still there after this pass → report it, do not loop (SKILL.md Core Principle 4)
|
|
768
|
+
```
|