@hiai-gg/hiai-opencode 0.2.0 → 0.2.2
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/.env.example +4 -0
- package/AGENTS.md +40 -44
- package/ARCHITECTURE.md +4 -3
- package/LICENSE.md +14 -0
- package/README.md +61 -30
- package/assets/cli/hiai-opencode.mjs +4 -4
- package/config/hiai-opencode.schema.json +11 -13
- package/dist/agents/{bob.d.ts → bob/claude.d.ts} +6 -2
- package/dist/agents/bob/core.d.ts +6 -0
- package/dist/agents/bob/gpt.d.ts +11 -0
- package/dist/agents/bob/index.d.ts +3 -0
- package/dist/agents/coder/core.d.ts +4 -0
- package/dist/agents/coder/gpt.d.ts +1 -4
- package/dist/agents/coder/index.d.ts +1 -0
- package/dist/agents/manager/agent.d.ts +1 -1
- package/dist/agents/manager/default-prompt-sections.d.ts +4 -4
- package/dist/agents/manager/guard-integration.d.ts +1 -0
- package/dist/agents/prompt-library/index.d.ts +0 -1
- package/dist/agents/prompt-library/shared-execution.d.ts +9 -0
- package/dist/agents/strategist/behavioral-summary.d.ts +1 -1
- package/dist/agents/strategist/identity-constraints.d.ts +1 -1
- package/dist/agents/strategist/plan-generation.d.ts +1 -1
- package/dist/agents/types.d.ts +2 -1
- package/dist/config/defaults.d.ts +1 -0
- package/dist/config/platform-schema.d.ts +26 -26
- package/dist/config/schema/agent-names.d.ts +6 -6
- package/dist/config/schema/agent-overrides.d.ts +0 -128
- package/dist/config/schema/hiai-opencode-config.d.ts +0 -128
- package/dist/config/types.d.ts +2 -2
- package/dist/features/background-agent/error-classifier.d.ts +1 -0
- package/dist/features/background-agent/manager-notifier.d.ts +46 -0
- package/dist/features/background-agent/manager-types.d.ts +40 -0
- package/dist/features/background-agent/manager.d.ts +3 -19
- package/dist/features/background-agent/polling-manager.d.ts +51 -0
- package/dist/features/boulder-state/constants.d.ts +3 -0
- package/dist/features/boulder-state/storage.d.ts +95 -0
- package/dist/features/boulder-state/types.d.ts +17 -0
- package/dist/features/builtin-commands/templates/doctor.d.ts +1 -1
- package/dist/features/builtin-commands/templates/loop.d.ts +2 -0
- package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
- package/dist/features/builtin-skills/skills/interview-me.d.ts +2 -0
- package/dist/features/builtin-skills/skills/planning-and-task-breakdown.d.ts +2 -0
- package/dist/hooks/manager/resolve-active-boulder-session.d.ts +5 -0
- package/dist/hooks/manager/system-reminder-templates.d.ts +2 -2
- package/dist/hooks/reasoning-content-cache/hook.d.ts +11 -0
- package/dist/hooks/reasoning-content-cache/index.d.ts +1 -0
- package/dist/hooks/session-recovery/checkpoint.d.ts +48 -0
- package/dist/hooks/session-recovery/enhanced-hook.d.ts +30 -0
- package/dist/hooks/session-recovery/state-backup.d.ts +76 -0
- package/dist/hooks/shared/compaction-in-progress.d.ts +4 -0
- package/dist/hooks/start-work/context-info-builder.d.ts +2 -0
- package/dist/hooks/start-work/git-operations.d.ts +47 -0
- package/dist/hooks/start-work/worktree-block.d.ts +2 -1
- package/dist/hooks/start-work/worktree-detector.d.ts +45 -0
- package/dist/hooks/strategist-md-only/agent-resolution.d.ts +1 -1
- package/dist/hooks/strategist-md-only/constants.d.ts +6 -0
- package/dist/hooks/token-budget.d.ts +30 -0
- package/dist/index.js +1275 -1132
- package/dist/mcp/rate-limiter.d.ts +68 -0
- package/dist/plugin/chat-message.d.ts +8 -0
- package/dist/plugin/command-execute-before.d.ts +1 -1
- package/dist/plugin/event-handlers/message-updated.d.ts +2 -0
- package/dist/plugin/event-handlers/session-error.d.ts +2 -0
- package/dist/plugin/event-handlers/session-status.d.ts +2 -0
- package/dist/plugin/event-handlers/types.d.ts +62 -0
- package/dist/plugin/event-handlers/utils.d.ts +11 -0
- package/dist/plugin/event.d.ts +1 -1
- package/dist/shared/data-path.d.ts +1 -1
- package/dist/shared/errors.d.ts +70 -0
- package/dist/shared/extract-session-id.d.ts +8 -0
- package/dist/shared/git-worktree/get-git-state-summary.d.ts +14 -0
- package/dist/shared/index.d.ts +67 -68
- package/dist/shared/internal-initiator-marker.d.ts +1 -1
- package/dist/shared/logger.d.ts +5 -1
- package/dist/shared/reasoning-content-cache.d.ts +68 -0
- package/dist/shared/safe-create-hook.d.ts +4 -4
- package/dist/tools/call-hiai-agent/constants.d.ts +2 -2
- package/dist/tools/delegate-task/sub-agent.d.ts +1 -1
- package/dist/tools/look-at/constants.d.ts +1 -1
- package/docs/architecture/bob-manager-architecture.md +244 -0
- package/docs/hiai-opencode/adr/ADR-001-agent-identity-section-injection.md +66 -0
- package/docs/hiai-opencode/adr/ADR-002-anti-loop-guard-priority.md +63 -0
- package/docs/hiai-opencode/adr/ADR-003-compaction-mechanism.md +71 -0
- package/docs/hiai-opencode/adr/ADR-004-session-recovery.md +76 -0
- package/docs/hiai-opencode/api.md +305 -0
- package/docs/hiai-opencode/hooks-architecture.md +225 -0
- package/docs/hiai-opencode/migration.md +209 -0
- package/docs/quickstart.md +1 -1
- package/docs/skill-discovery.md +288 -0
- package/package.json +2 -2
- package/skills/agent-browser/SKILL.md +193 -0
- package/skills/apple-hig/SKILL.md +43 -0
- package/skills/article-magazine/SKILL.md +46 -0
- package/skills/article-magazine/example.html +81 -0
- package/skills/article-magazine/example.md +38 -0
- package/skills/canvas-design/SKILL.md +45 -0
- package/skills/design-templates/audio-jingle/SKILL.md +132 -0
- package/skills/design-templates/audio-jingle/example.html +128 -0
- package/skills/design-templates/blog-post/SKILL.md +80 -0
- package/skills/design-templates/blog-post/example.html +80 -0
- package/skills/design-templates/clinical-case-report/SKILL.md +209 -0
- package/skills/design-templates/clinical-case-report/example.html +698 -0
- package/skills/design-templates/clinical-case-report/examples/example-stemi.html +698 -0
- package/skills/design-templates/clinical-case-report/references/case-formats.md +94 -0
- package/skills/design-templates/clinical-case-report/references/checklist.md +41 -0
- package/skills/design-templates/critique/SKILL.md +258 -0
- package/skills/design-templates/critique/example.html +671 -0
- package/skills/design-templates/dashboard/SKILL.md +76 -0
- package/skills/design-templates/dashboard/example.html +118 -0
- package/skills/design-templates/dating-web/SKILL.md +92 -0
- package/skills/design-templates/dating-web/example.html +265 -0
- package/skills/design-templates/dcf-valuation/SKILL.md +140 -0
- package/skills/design-templates/dcf-valuation/references/sector-wacc.md +42 -0
- package/skills/design-templates/digital-eguide/SKILL.md +94 -0
- package/skills/design-templates/digital-eguide/example.html +204 -0
- package/skills/design-templates/docs-page/SKILL.md +80 -0
- package/skills/design-templates/docs-page/example.html +122 -0
- package/skills/design-templates/email-marketing/SKILL.md +84 -0
- package/skills/design-templates/email-marketing/example.html +159 -0
- package/skills/design-templates/eng-runbook/SKILL.md +51 -0
- package/skills/design-templates/eng-runbook/example.html +250 -0
- package/skills/design-templates/finance-report/SKILL.md +61 -0
- package/skills/design-templates/finance-report/example.html +242 -0
- package/skills/design-templates/flowai-live-dashboard-template/SKILL.md +87 -0
- package/skills/design-templates/flowai-live-dashboard-template/assets/template.html +387 -0
- package/skills/design-templates/flowai-live-dashboard-template/example.html +13 -0
- package/skills/design-templates/flowai-live-dashboard-template/references/checklist.md +35 -0
- package/skills/design-templates/gamified-app/SKILL.md +108 -0
- package/skills/design-templates/gamified-app/example.html +292 -0
- package/skills/design-templates/github-dashboard/SKILL.md +130 -0
- package/skills/design-templates/github-dashboard/example.html +473 -0
- package/skills/design-templates/github-dashboard/references/README.md +10 -0
- package/skills/design-templates/github-dashboard/references/artifact-example.json +15 -0
- package/skills/design-templates/github-dashboard/references/example-data.json +138 -0
- package/skills/design-templates/github-dashboard/references/provenance-example.json +92 -0
- package/skills/design-templates/github-dashboard/references/template.html +473 -0
- package/skills/design-templates/guizang-ppt/LICENSE +21 -0
- package/skills/design-templates/guizang-ppt/README.en.md +119 -0
- package/skills/design-templates/guizang-ppt/README.md +120 -0
- package/skills/design-templates/guizang-ppt/README.pt-BR.md +121 -0
- package/skills/design-templates/guizang-ppt/SKILL.md +313 -0
- package/skills/design-templates/guizang-ppt/assets/example-slides.html +318 -0
- package/skills/design-templates/guizang-ppt/assets/template.html +647 -0
- package/skills/design-templates/guizang-ppt/references/checklist.md +265 -0
- package/skills/design-templates/guizang-ppt/references/components.md +363 -0
- package/skills/design-templates/guizang-ppt/references/layouts.md +630 -0
- package/skills/design-templates/guizang-ppt/references/styles.md +195 -0
- package/skills/design-templates/guizang-ppt/references/themes.md +122 -0
- package/skills/design-templates/hr-onboarding/SKILL.md +52 -0
- package/skills/design-templates/hr-onboarding/example.html +219 -0
- package/skills/design-templates/html-ppt/.clawscan-allow +12 -0
- package/skills/design-templates/html-ppt/LICENSE +21 -0
- package/skills/design-templates/html-ppt/README.md +234 -0
- package/skills/design-templates/html-ppt/README.pt-BR.md +239 -0
- package/skills/design-templates/html-ppt/README.zh-CN.md +238 -0
- package/skills/design-templates/html-ppt/SKILL.md +250 -0
- package/skills/design-templates/html-ppt/assets/animations/animations.css +138 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/_util.js +63 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/chain-react.js +41 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/confetti-cannon.js +49 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/constellation.js +44 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/counter-explosion.js +58 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/data-stream.js +45 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/firework.js +51 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/galaxy-swirl.js +33 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/gradient-blob.js +39 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/knowledge-graph.js +69 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/letter-explode.js +50 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/magnetic-field.js +40 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/matrix-rain.js +33 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/neural-net.js +75 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/orbit-ring.js +38 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/particle-burst.js +42 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/shockwave.js +39 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/sparkle-trail.js +62 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/starfield.js +30 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/typewriter-multi.js +51 -0
- package/skills/design-templates/html-ppt/assets/animations/fx/word-cascade.js +47 -0
- package/skills/design-templates/html-ppt/assets/animations/fx-runtime.js +99 -0
- package/skills/design-templates/html-ppt/assets/base.css +150 -0
- package/skills/design-templates/html-ppt/assets/fonts.css +9 -0
- package/skills/design-templates/html-ppt/assets/runtime.js +960 -0
- package/skills/design-templates/html-ppt/assets/themes/academic-paper.css +23 -0
- package/skills/design-templates/html-ppt/assets/themes/arctic-cool.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/aurora.css +20 -0
- package/skills/design-templates/html-ppt/assets/themes/bauhaus.css +16 -0
- package/skills/design-templates/html-ppt/assets/themes/blueprint.css +19 -0
- package/skills/design-templates/html-ppt/assets/themes/catppuccin-latte.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/catppuccin-mocha.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/corporate-clean.css +19 -0
- package/skills/design-templates/html-ppt/assets/themes/cyberpunk-neon.css +23 -0
- package/skills/design-templates/html-ppt/assets/themes/dracula.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/editorial-serif.css +18 -0
- package/skills/design-templates/html-ppt/assets/themes/engineering-whiteprint.css +26 -0
- package/skills/design-templates/html-ppt/assets/themes/glassmorphism.css +21 -0
- package/skills/design-templates/html-ppt/assets/themes/gruvbox-dark.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/japanese-minimal.css +21 -0
- package/skills/design-templates/html-ppt/assets/themes/magazine-bold.css +21 -0
- package/skills/design-templates/html-ppt/assets/themes/memphis-pop.css +20 -0
- package/skills/design-templates/html-ppt/assets/themes/midcentury.css +19 -0
- package/skills/design-templates/html-ppt/assets/themes/minimal-white.css +16 -0
- package/skills/design-templates/html-ppt/assets/themes/neo-brutalism.css +17 -0
- package/skills/design-templates/html-ppt/assets/themes/news-broadcast.css +20 -0
- package/skills/design-templates/html-ppt/assets/themes/nord.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/pitch-deck-vc.css +21 -0
- package/skills/design-templates/html-ppt/assets/themes/rainbow-gradient.css +16 -0
- package/skills/design-templates/html-ppt/assets/themes/retro-tv.css +22 -0
- package/skills/design-templates/html-ppt/assets/themes/rose-pine.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/sharp-mono.css +17 -0
- package/skills/design-templates/html-ppt/assets/themes/soft-pastel.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/solarized-light.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/sunset-warm.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/swiss-grid.css +17 -0
- package/skills/design-templates/html-ppt/assets/themes/terminal-green.css +18 -0
- package/skills/design-templates/html-ppt/assets/themes/tokyo-night.css +14 -0
- package/skills/design-templates/html-ppt/assets/themes/vaporwave.css +21 -0
- package/skills/design-templates/html-ppt/assets/themes/xiaohongshu-white.css +16 -0
- package/skills/design-templates/html-ppt/assets/themes/y2k-chrome.css +20 -0
- package/skills/design-templates/html-ppt/docs/readme/_theme-cell.html +56 -0
- package/skills/design-templates/html-ppt/docs/readme/animations.png +0 -0
- package/skills/design-templates/html-ppt/docs/readme/hero.gif +0 -0
- package/skills/design-templates/html-ppt/docs/readme/layouts-live.gif +0 -0
- package/skills/design-templates/html-ppt/docs/readme/layouts.png +0 -0
- package/skills/design-templates/html-ppt/docs/readme/montage-animations.html +61 -0
- package/skills/design-templates/html-ppt/docs/readme/montage-layouts.html +72 -0
- package/skills/design-templates/html-ppt/docs/readme/montage-templates.html +72 -0
- package/skills/design-templates/html-ppt/docs/readme/montage-themes.html +38 -0
- package/skills/design-templates/html-ppt/docs/readme/presenter-mode.png +0 -0
- package/skills/design-templates/html-ppt/docs/readme/templates.png +0 -0
- package/skills/design-templates/html-ppt/docs/readme/themes.png +0 -0
- package/skills/design-templates/html-ppt/examples/demo-deck/index.html +161 -0
- package/skills/design-templates/html-ppt/references/animations.md +147 -0
- package/skills/design-templates/html-ppt/references/authoring-guide.md +141 -0
- package/skills/design-templates/html-ppt/references/full-decks.md +98 -0
- package/skills/design-templates/html-ppt/references/layouts.md +103 -0
- package/skills/design-templates/html-ppt/references/presenter-mode.md +240 -0
- package/skills/design-templates/html-ppt/references/themes.md +107 -0
- package/skills/design-templates/html-ppt/scripts/new-deck.sh +46 -0
- package/skills/design-templates/html-ppt/scripts/render.sh +71 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_01.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_02.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_03.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_04.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_05.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_06.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_07.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_08.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_09.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_10.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_11.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_12.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_13.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_14.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_15.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_16.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_17.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_18.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_19.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/animation-showcase/animation-showcase_20.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_01.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_02.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_03.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_04.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_05.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_06.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_07.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_08.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_09.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_10.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_11.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_12.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_13.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_14.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_15.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_16.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_17.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_18.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_19.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_20.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_21.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_22.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_23.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_24.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_25.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_26.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_27.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_28.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_29.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_30.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_31.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_32.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_33.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_34.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_35.png +0 -0
- package/skills/design-templates/html-ppt/scripts/verify-output/theme-showcase/theme-showcase_36.png +0 -0
- package/skills/design-templates/html-ppt/templates/animation-showcase.html +172 -0
- package/skills/design-templates/html-ppt/templates/deck.html +69 -0
- package/skills/design-templates/html-ppt/templates/full-decks/course-module/README.md +8 -0
- package/skills/design-templates/html-ppt/templates/full-decks/course-module/index.html +189 -0
- package/skills/design-templates/html-ppt/templates/full-decks/course-module/style.css +46 -0
- package/skills/design-templates/html-ppt/templates/full-decks/dir-key-nav-minimal/README.md +11 -0
- package/skills/design-templates/html-ppt/templates/full-decks/dir-key-nav-minimal/index.html +138 -0
- package/skills/design-templates/html-ppt/templates/full-decks/dir-key-nav-minimal/style.css +60 -0
- package/skills/design-templates/html-ppt/templates/full-decks/graphify-dark-graph/README.md +11 -0
- package/skills/design-templates/html-ppt/templates/full-decks/graphify-dark-graph/index.html +180 -0
- package/skills/design-templates/html-ppt/templates/full-decks/graphify-dark-graph/style.css +54 -0
- package/skills/design-templates/html-ppt/templates/full-decks/hermes-cyber-terminal/README.md +11 -0
- package/skills/design-templates/html-ppt/templates/full-decks/hermes-cyber-terminal/index.html +199 -0
- package/skills/design-templates/html-ppt/templates/full-decks/hermes-cyber-terminal/style.css +55 -0
- package/skills/design-templates/html-ppt/templates/full-decks/knowledge-arch-blueprint/README.md +11 -0
- package/skills/design-templates/html-ppt/templates/full-decks/knowledge-arch-blueprint/index.html +190 -0
- package/skills/design-templates/html-ppt/templates/full-decks/knowledge-arch-blueprint/style.css +49 -0
- package/skills/design-templates/html-ppt/templates/full-decks/obsidian-claude-gradient/README.md +11 -0
- package/skills/design-templates/html-ppt/templates/full-decks/obsidian-claude-gradient/index.html +144 -0
- package/skills/design-templates/html-ppt/templates/full-decks/obsidian-claude-gradient/style.css +59 -0
- package/skills/design-templates/html-ppt/templates/full-decks/pitch-deck/README.md +9 -0
- package/skills/design-templates/html-ppt/templates/full-decks/pitch-deck/index.html +148 -0
- package/skills/design-templates/html-ppt/templates/full-decks/pitch-deck/style.css +40 -0
- package/skills/design-templates/html-ppt/templates/full-decks/presenter-mode-reveal/README.md +102 -0
- package/skills/design-templates/html-ppt/templates/full-decks/presenter-mode-reveal/index.html +187 -0
- package/skills/design-templates/html-ppt/templates/full-decks/presenter-mode-reveal/style.css +216 -0
- package/skills/design-templates/html-ppt/templates/full-decks/product-launch/README.md +8 -0
- package/skills/design-templates/html-ppt/templates/full-decks/product-launch/index.html +121 -0
- package/skills/design-templates/html-ppt/templates/full-decks/product-launch/style.css +39 -0
- package/skills/design-templates/html-ppt/templates/full-decks/tech-sharing/README.md +8 -0
- package/skills/design-templates/html-ppt/templates/full-decks/tech-sharing/index.html +156 -0
- package/skills/design-templates/html-ppt/templates/full-decks/tech-sharing/style.css +49 -0
- package/skills/design-templates/html-ppt/templates/full-decks/testing-safety-alert/README.md +11 -0
- package/skills/design-templates/html-ppt/templates/full-decks/testing-safety-alert/index.html +183 -0
- package/skills/design-templates/html-ppt/templates/full-decks/testing-safety-alert/style.css +62 -0
- package/skills/design-templates/html-ppt/templates/full-decks/weekly-report/README.md +8 -0
- package/skills/design-templates/html-ppt/templates/full-decks/weekly-report/index.html +127 -0
- package/skills/design-templates/html-ppt/templates/full-decks/weekly-report/style.css +55 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-pastel-card/README.md +11 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-pastel-card/index.html +147 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-pastel-card/style.css +66 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-post/README.md +9 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-post/index.html +133 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-post/style.css +47 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-white-editorial/README.md +11 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-white-editorial/index.html +187 -0
- package/skills/design-templates/html-ppt/templates/full-decks/xhs-white-editorial/style.css +63 -0
- package/skills/design-templates/html-ppt/templates/full-decks-index.html +82 -0
- package/skills/design-templates/html-ppt/templates/layout-showcase.html +47 -0
- package/skills/design-templates/html-ppt/templates/single-page/arch-diagram.html +46 -0
- package/skills/design-templates/html-ppt/templates/single-page/big-quote.html +18 -0
- package/skills/design-templates/html-ppt/templates/single-page/bullets.html +19 -0
- package/skills/design-templates/html-ppt/templates/single-page/chart-bar.html +30 -0
- package/skills/design-templates/html-ppt/templates/single-page/chart-line.html +35 -0
- package/skills/design-templates/html-ppt/templates/single-page/chart-pie.html +36 -0
- package/skills/design-templates/html-ppt/templates/single-page/chart-radar.html +31 -0
- package/skills/design-templates/html-ppt/templates/single-page/code.html +33 -0
- package/skills/design-templates/html-ppt/templates/single-page/comparison.html +47 -0
- package/skills/design-templates/html-ppt/templates/single-page/cover.html +32 -0
- package/skills/design-templates/html-ppt/templates/single-page/cta.html +27 -0
- package/skills/design-templates/html-ppt/templates/single-page/diff.html +35 -0
- package/skills/design-templates/html-ppt/templates/single-page/flow-diagram.html +33 -0
- package/skills/design-templates/html-ppt/templates/single-page/gantt.html +29 -0
- package/skills/design-templates/html-ppt/templates/single-page/image-grid.html +34 -0
- package/skills/design-templates/html-ppt/templates/single-page/image-hero.html +33 -0
- package/skills/design-templates/html-ppt/templates/single-page/kpi-grid.html +19 -0
- package/skills/design-templates/html-ppt/templates/single-page/mindmap.html +38 -0
- package/skills/design-templates/html-ppt/templates/single-page/process-steps.html +27 -0
- package/skills/design-templates/html-ppt/templates/single-page/pros-cons.html +31 -0
- package/skills/design-templates/html-ppt/templates/single-page/roadmap.html +46 -0
- package/skills/design-templates/html-ppt/templates/single-page/section-divider.html +17 -0
- package/skills/design-templates/html-ppt/templates/single-page/stat-highlight.html +17 -0
- package/skills/design-templates/html-ppt/templates/single-page/table.html +33 -0
- package/skills/design-templates/html-ppt/templates/single-page/terminal.html +35 -0
- package/skills/design-templates/html-ppt/templates/single-page/thanks.html +21 -0
- package/skills/design-templates/html-ppt/templates/single-page/three-column.html +18 -0
- package/skills/design-templates/html-ppt/templates/single-page/timeline.html +32 -0
- package/skills/design-templates/html-ppt/templates/single-page/toc.html +26 -0
- package/skills/design-templates/html-ppt/templates/single-page/todo-checklist.html +33 -0
- package/skills/design-templates/html-ppt/templates/single-page/two-column.html +39 -0
- package/skills/design-templates/html-ppt/templates/theme-showcase.html +151 -0
- package/skills/design-templates/html-ppt-course-module/SKILL.md +78 -0
- package/skills/design-templates/html-ppt-course-module/example.html +542 -0
- package/skills/design-templates/html-ppt-dir-key-nav-minimal/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-dir-key-nav-minimal/example.html +366 -0
- package/skills/design-templates/html-ppt-graphify-dark-graph/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-graphify-dark-graph/example.html +402 -0
- package/skills/design-templates/html-ppt-hermes-cyber-terminal/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-hermes-cyber-terminal/example.html +422 -0
- package/skills/design-templates/html-ppt-knowledge-arch-blueprint/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-knowledge-arch-blueprint/example.html +407 -0
- package/skills/design-templates/html-ppt-obsidian-claude-gradient/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-obsidian-claude-gradient/example.html +371 -0
- package/skills/design-templates/html-ppt-pitch-deck/SKILL.md +78 -0
- package/skills/design-templates/html-ppt-pitch-deck/example.html +495 -0
- package/skills/design-templates/html-ppt-presenter-mode-reveal/SKILL.md +78 -0
- package/skills/design-templates/html-ppt-presenter-mode-reveal/example.html +725 -0
- package/skills/design-templates/html-ppt-product-launch/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-product-launch/example.html +467 -0
- package/skills/design-templates/html-ppt-taste-brutalist/SKILL.md +70 -0
- package/skills/design-templates/html-ppt-taste-brutalist/example.html +774 -0
- package/skills/design-templates/html-ppt-taste-editorial/SKILL.md +62 -0
- package/skills/design-templates/html-ppt-taste-editorial/example.html +689 -0
- package/skills/design-templates/html-ppt-tech-sharing/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-tech-sharing/example.html +512 -0
- package/skills/design-templates/html-ppt-testing-safety-alert/SKILL.md +78 -0
- package/skills/design-templates/html-ppt-testing-safety-alert/example.html +413 -0
- package/skills/design-templates/html-ppt-weekly-report/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-weekly-report/example.html +489 -0
- package/skills/design-templates/html-ppt-xhs-pastel-card/SKILL.md +78 -0
- package/skills/design-templates/html-ppt-xhs-pastel-card/example.html +381 -0
- package/skills/design-templates/html-ppt-xhs-post/SKILL.md +78 -0
- package/skills/design-templates/html-ppt-xhs-post/example.html +487 -0
- package/skills/design-templates/html-ppt-xhs-white-editorial/SKILL.md +77 -0
- package/skills/design-templates/html-ppt-xhs-white-editorial/example.html +418 -0
- package/skills/design-templates/html-ppt-zhangzara-8-bit-orbit/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-8-bit-orbit/SKILL.md +93 -0
- package/skills/design-templates/html-ppt-zhangzara-8-bit-orbit/example.html +1640 -0
- package/skills/design-templates/html-ppt-zhangzara-8-bit-orbit/template.json +48 -0
- package/skills/design-templates/html-ppt-zhangzara-biennale-yellow/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-biennale-yellow/SKILL.md +93 -0
- package/skills/design-templates/html-ppt-zhangzara-biennale-yellow/example.html +833 -0
- package/skills/design-templates/html-ppt-zhangzara-biennale-yellow/template.json +49 -0
- package/skills/design-templates/html-ppt-zhangzara-block-frame/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-block-frame/SKILL.md +93 -0
- package/skills/design-templates/html-ppt-zhangzara-block-frame/example.html +1453 -0
- package/skills/design-templates/html-ppt-zhangzara-block-frame/template.json +47 -0
- package/skills/design-templates/html-ppt-zhangzara-blue-professional/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-blue-professional/SKILL.md +93 -0
- package/skills/design-templates/html-ppt-zhangzara-blue-professional/example.html +1423 -0
- package/skills/design-templates/html-ppt-zhangzara-blue-professional/template.json +44 -0
- package/skills/design-templates/html-ppt-zhangzara-bold-poster/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-bold-poster/SKILL.md +93 -0
- package/skills/design-templates/html-ppt-zhangzara-bold-poster/example.html +876 -0
- package/skills/design-templates/html-ppt-zhangzara-bold-poster/template.json +45 -0
- package/skills/design-templates/html-ppt-zhangzara-broadside/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-broadside/SKILL.md +92 -0
- package/skills/design-templates/html-ppt-zhangzara-broadside/example.html +2144 -0
- package/skills/design-templates/html-ppt-zhangzara-broadside/template.json +49 -0
- package/skills/design-templates/html-ppt-zhangzara-capsule/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-capsule/SKILL.md +92 -0
- package/skills/design-templates/html-ppt-zhangzara-capsule/example.html +1413 -0
- package/skills/design-templates/html-ppt-zhangzara-capsule/template.json +51 -0
- package/skills/design-templates/html-ppt-zhangzara-cartesian/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-cartesian/SKILL.md +92 -0
- package/skills/design-templates/html-ppt-zhangzara-cartesian/example.html +1136 -0
- package/skills/design-templates/html-ppt-zhangzara-cartesian/template.json +47 -0
- package/skills/design-templates/html-ppt-zhangzara-cobalt-grid/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-cobalt-grid/SKILL.md +93 -0
- package/skills/design-templates/html-ppt-zhangzara-cobalt-grid/example.html +1205 -0
- package/skills/design-templates/html-ppt-zhangzara-cobalt-grid/template.json +49 -0
- package/skills/design-templates/html-ppt-zhangzara-coral/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-coral/SKILL.md +92 -0
- package/skills/design-templates/html-ppt-zhangzara-coral/example.html +1487 -0
- package/skills/design-templates/html-ppt-zhangzara-coral/template.json +45 -0
- package/skills/design-templates/html-ppt-zhangzara-creative-mode/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-creative-mode/SKILL.md +99 -0
- package/skills/design-templates/html-ppt-zhangzara-creative-mode/assets/deck-stage.js +619 -0
- package/skills/design-templates/html-ppt-zhangzara-creative-mode/example.html +636 -0
- package/skills/design-templates/html-ppt-zhangzara-creative-mode/template.json +47 -0
- package/skills/design-templates/html-ppt-zhangzara-daisy-days/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-daisy-days/SKILL.md +93 -0
- package/skills/design-templates/html-ppt-zhangzara-daisy-days/example.html +469 -0
- package/skills/design-templates/html-ppt-zhangzara-daisy-days/template.json +54 -0
- package/skills/design-templates/html-ppt-zhangzara-editorial-tri-tone/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-editorial-tri-tone/SKILL.md +98 -0
- package/skills/design-templates/html-ppt-zhangzara-editorial-tri-tone/assets/deck-stage.js +619 -0
- package/skills/design-templates/html-ppt-zhangzara-editorial-tri-tone/example.html +737 -0
- package/skills/design-templates/html-ppt-zhangzara-editorial-tri-tone/template.json +44 -0
- package/skills/design-templates/html-ppt-zhangzara-grove/LICENSE +21 -0
- package/skills/design-templates/html-ppt-zhangzara-grove/SKILL.md +92 -0
- package/skills/design-templates/html-ppt-zhangzara-grove/example.html +1676 -0
- package/skills/design-templates/html-ppt-zhangzara-grove/template.json +51 -0
- package/skills/figma-code-connect-components/SKILL.md +42 -0
- package/skills/figma-create-design-system-rules/SKILL.md +42 -0
- package/skills/figma-create-new-file/SKILL.md +41 -0
- package/skills/figma-generate-design/SKILL.md +42 -0
- package/skills/figma-generate-library/SKILL.md +42 -0
- package/skills/figma-implement-design/SKILL.md +42 -0
- package/skills/figma-use/SKILL.md +42 -0
- package/skills/full-page-screenshot/SKILL.md +42 -0
- package/skills/interview-me/SKILL.md +64 -0
- package/skills/planning-and-task-breakdown/SKILL.md +52 -0
- package/skills/sora/SKILL.md +43 -0
- package/skills/theme-factory/SKILL.md +43 -0
- package/skills/web-design-guidelines/SKILL.md +42 -0
- package/dist/agents/prompt-library/orchestration.d.ts +0 -4
- package/skills/brainstorming/SKILL.md +0 -164
- package/skills/brainstorming/scripts/frame-template.html +0 -214
- package/skills/brainstorming/scripts/helper.js +0 -88
- package/skills/brainstorming/scripts/server.cjs +0 -354
- package/skills/brainstorming/scripts/start-server.sh +0 -148
- package/skills/brainstorming/scripts/stop-server.sh +0 -56
- package/skills/brainstorming/spec-document-reviewer-prompt.md +0 -49
- package/skills/brainstorming/visual-companion.md +0 -287
|
@@ -0,0 +1,698 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Clinical Case Report — Inferior STEMI with Cardiogenic Shock</title>
|
|
7
|
+
<style>
|
|
8
|
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
font-family: Georgia, 'Times New Roman', serif;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
line-height: 1.7;
|
|
14
|
+
color: #111;
|
|
15
|
+
background: #fff;
|
|
16
|
+
max-width: 900px;
|
|
17
|
+
margin: 0 auto;
|
|
18
|
+
padding: 40px 48px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* ── Document Header ───────────────────────────────────────────── */
|
|
22
|
+
.doc-header {
|
|
23
|
+
border-top: 3px solid #111;
|
|
24
|
+
border-bottom: 1px solid #111;
|
|
25
|
+
padding: 16px 0 14px;
|
|
26
|
+
margin-bottom: 28px;
|
|
27
|
+
}
|
|
28
|
+
.doc-header h1 {
|
|
29
|
+
font-size: 18px;
|
|
30
|
+
font-weight: bold;
|
|
31
|
+
letter-spacing: 0.4px;
|
|
32
|
+
text-transform: uppercase;
|
|
33
|
+
}
|
|
34
|
+
.doc-header .meta-grid {
|
|
35
|
+
display: grid;
|
|
36
|
+
grid-template-columns: repeat(4, 1fr);
|
|
37
|
+
gap: 8px 16px;
|
|
38
|
+
margin-top: 10px;
|
|
39
|
+
}
|
|
40
|
+
.doc-header .meta-item {
|
|
41
|
+
font-size: 12.5px;
|
|
42
|
+
}
|
|
43
|
+
.doc-header .meta-item .label {
|
|
44
|
+
font-weight: bold;
|
|
45
|
+
text-transform: uppercase;
|
|
46
|
+
letter-spacing: 0.5px;
|
|
47
|
+
font-size: 10px;
|
|
48
|
+
color: #555;
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* ── Section Headings ──────────────────────────────────────────── */
|
|
53
|
+
h2 {
|
|
54
|
+
font-size: 11px;
|
|
55
|
+
font-weight: bold;
|
|
56
|
+
text-transform: uppercase;
|
|
57
|
+
letter-spacing: 1.2px;
|
|
58
|
+
color: #333;
|
|
59
|
+
border-bottom: 1px solid #ccc;
|
|
60
|
+
padding-bottom: 4px;
|
|
61
|
+
margin: 28px 0 12px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* ── Body Text ─────────────────────────────────────────────────── */
|
|
65
|
+
p { margin-bottom: 10px; }
|
|
66
|
+
ul, ol { padding-left: 22px; margin-bottom: 10px; }
|
|
67
|
+
li { margin-bottom: 5px; }
|
|
68
|
+
strong { font-weight: bold; }
|
|
69
|
+
|
|
70
|
+
/* ── Critical Alert Box ────────────────────────────────────────── */
|
|
71
|
+
.alert {
|
|
72
|
+
background: #fff8f8;
|
|
73
|
+
border-left: 4px solid #c00;
|
|
74
|
+
border: 1px solid #f5c6c6;
|
|
75
|
+
border-left: 4px solid #c00;
|
|
76
|
+
padding: 10px 14px;
|
|
77
|
+
margin: 12px 0;
|
|
78
|
+
font-size: 13px;
|
|
79
|
+
}
|
|
80
|
+
.alert .alert-label {
|
|
81
|
+
font-weight: bold;
|
|
82
|
+
color: #c00;
|
|
83
|
+
text-transform: uppercase;
|
|
84
|
+
font-size: 11px;
|
|
85
|
+
letter-spacing: 0.6px;
|
|
86
|
+
display: block;
|
|
87
|
+
margin-bottom: 4px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* ── Tables ────────────────────────────────────────────────────── */
|
|
91
|
+
table {
|
|
92
|
+
width: 100%;
|
|
93
|
+
border-collapse: collapse;
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
margin-bottom: 14px;
|
|
96
|
+
}
|
|
97
|
+
th {
|
|
98
|
+
background: #f4f4f4;
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
text-align: left;
|
|
101
|
+
padding: 7px 10px;
|
|
102
|
+
border: 1px solid #ccc;
|
|
103
|
+
font-size: 11.5px;
|
|
104
|
+
text-transform: uppercase;
|
|
105
|
+
letter-spacing: 0.3px;
|
|
106
|
+
}
|
|
107
|
+
td {
|
|
108
|
+
padding: 6px 10px;
|
|
109
|
+
border: 1px solid #ddd;
|
|
110
|
+
vertical-align: top;
|
|
111
|
+
}
|
|
112
|
+
tr:nth-child(even) td { background: #fafafa; }
|
|
113
|
+
.val-high { color: #c00; font-weight: bold; }
|
|
114
|
+
.val-low { color: #c00; font-weight: bold; }
|
|
115
|
+
.val-normal { color: #1a6b1a; }
|
|
116
|
+
|
|
117
|
+
/* ── Differential List ─────────────────────────────────────────── */
|
|
118
|
+
.differential-item {
|
|
119
|
+
margin-bottom: 12px;
|
|
120
|
+
padding-left: 14px;
|
|
121
|
+
border-left: 3px solid #e0e0e0;
|
|
122
|
+
}
|
|
123
|
+
.differential-item .dx-title {
|
|
124
|
+
font-weight: bold;
|
|
125
|
+
font-size: 13.5px;
|
|
126
|
+
}
|
|
127
|
+
.differential-item .dx-likelihood {
|
|
128
|
+
display: inline-block;
|
|
129
|
+
font-size: 10.5px;
|
|
130
|
+
font-weight: bold;
|
|
131
|
+
text-transform: uppercase;
|
|
132
|
+
letter-spacing: 0.4px;
|
|
133
|
+
padding: 1px 6px;
|
|
134
|
+
border-radius: 2px;
|
|
135
|
+
margin-left: 6px;
|
|
136
|
+
vertical-align: middle;
|
|
137
|
+
}
|
|
138
|
+
.likely { background: #fce8e8; color: #c00; }
|
|
139
|
+
.possible { background: #fff4e0; color: #a06000; }
|
|
140
|
+
.unlikely { background: #f0f0f0; color: #555; }
|
|
141
|
+
|
|
142
|
+
/* ── Plan Items ────────────────────────────────────────────────── */
|
|
143
|
+
.plan-block {
|
|
144
|
+
margin-bottom: 18px;
|
|
145
|
+
}
|
|
146
|
+
.plan-block .plan-title {
|
|
147
|
+
font-weight: bold;
|
|
148
|
+
font-size: 13.5px;
|
|
149
|
+
margin-bottom: 6px;
|
|
150
|
+
padding: 5px 10px;
|
|
151
|
+
background: #f4f4f4;
|
|
152
|
+
border-left: 3px solid #555;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* ── Risk Score ────────────────────────────────────────────────── */
|
|
156
|
+
.risk-score {
|
|
157
|
+
display: inline-block;
|
|
158
|
+
background: #fff3f3;
|
|
159
|
+
border: 1px solid #f5c6c6;
|
|
160
|
+
border-radius: 3px;
|
|
161
|
+
padding: 6px 12px;
|
|
162
|
+
font-size: 13px;
|
|
163
|
+
margin: 8px 0 12px;
|
|
164
|
+
}
|
|
165
|
+
.risk-score strong { color: #c00; }
|
|
166
|
+
|
|
167
|
+
/* ── Footer ────────────────────────────────────────────────────── */
|
|
168
|
+
.doc-footer {
|
|
169
|
+
margin-top: 40px;
|
|
170
|
+
padding-top: 12px;
|
|
171
|
+
border-top: 1px solid #ccc;
|
|
172
|
+
font-size: 11px;
|
|
173
|
+
color: #777;
|
|
174
|
+
display: flex;
|
|
175
|
+
justify-content: space-between;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* ── Print ─────────────────────────────────────────────────────── */
|
|
179
|
+
@media print {
|
|
180
|
+
body { padding: 16px 20px; font-size: 12px; }
|
|
181
|
+
.alert { border-left: 3px solid #c00; }
|
|
182
|
+
.plan-block .plan-title { background: none; border-left: 2px solid #333; }
|
|
183
|
+
h2 { margin-top: 20px; }
|
|
184
|
+
}
|
|
185
|
+
</style>
|
|
186
|
+
</head>
|
|
187
|
+
<body>
|
|
188
|
+
|
|
189
|
+
<!-- ── Document Header ─────────────────────────────────────── -->
|
|
190
|
+
<div class="doc-header" data-od-id="header">
|
|
191
|
+
<h1>Clinical Case Report</h1>
|
|
192
|
+
<div class="meta-grid">
|
|
193
|
+
<div class="meta-item">
|
|
194
|
+
<span class="label">Patient</span>
|
|
195
|
+
58-year-old Male
|
|
196
|
+
</div>
|
|
197
|
+
<div class="meta-item">
|
|
198
|
+
<span class="label">Setting</span>
|
|
199
|
+
Emergency Department
|
|
200
|
+
</div>
|
|
201
|
+
<div class="meta-item">
|
|
202
|
+
<span class="label">Specialty</span>
|
|
203
|
+
Emergency / Cardiology
|
|
204
|
+
</div>
|
|
205
|
+
<div class="meta-item">
|
|
206
|
+
<span class="label">Format</span>
|
|
207
|
+
SOAP
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
|
|
212
|
+
<!-- ── Chief Complaint ──────────────────────────────────────── -->
|
|
213
|
+
<section data-od-id="chief-complaint">
|
|
214
|
+
<h2>Chief Complaint</h2>
|
|
215
|
+
<p>
|
|
216
|
+
Severe substernal chest pain for 2 hours with radiation to the left arm
|
|
217
|
+
and jaw, associated with profuse diaphoresis and nausea.
|
|
218
|
+
</p>
|
|
219
|
+
</section>
|
|
220
|
+
|
|
221
|
+
<!-- ── History of Present Illness ──────────────────────────── -->
|
|
222
|
+
<section data-od-id="hpi">
|
|
223
|
+
<h2>History of Present Illness</h2>
|
|
224
|
+
<p>
|
|
225
|
+
This is a 58-year-old male with a background history of hypertension,
|
|
226
|
+
type 2 diabetes mellitus, and hyperlipidaemia who presents to the
|
|
227
|
+
emergency department with a 2-hour history of severe, 9/10 intensity,
|
|
228
|
+
pressure-like chest pain localised substernally. The pain began abruptly
|
|
229
|
+
at rest at approximately 14:30 and radiates to the left arm and jaw.
|
|
230
|
+
</p>
|
|
231
|
+
<p>
|
|
232
|
+
The pain is associated with profuse diaphoresis, nausea, and one episode
|
|
233
|
+
of non-bloody vomiting. The patient reports no dyspnoea, no palpitations,
|
|
234
|
+
and no pre-syncopal symptoms. There is no pleuritic component, no
|
|
235
|
+
positional variation, and no relief with antacids.
|
|
236
|
+
</p>
|
|
237
|
+
<p>
|
|
238
|
+
The patient has never experienced this type of pain before. He denies
|
|
239
|
+
recent travel, prolonged immobility, or lower limb swelling. He has not
|
|
240
|
+
taken any nitrates prior to arrival. His regular medications were taken
|
|
241
|
+
this morning. He has a 30 pack-year smoking history (10 cigarettes/day,
|
|
242
|
+
ongoing) and drinks alcohol occasionally. His father died of a myocardial
|
|
243
|
+
infarction at age 62.
|
|
244
|
+
</p>
|
|
245
|
+
</section>
|
|
246
|
+
|
|
247
|
+
<!-- ── PMH / Medications / Allergies ────────────────────────── -->
|
|
248
|
+
<section data-od-id="pmh">
|
|
249
|
+
<h2>Past Medical History</h2>
|
|
250
|
+
<ul>
|
|
251
|
+
<li>Hypertension — diagnosed 8 years ago, on treatment</li>
|
|
252
|
+
<li>Type 2 Diabetes Mellitus — diagnosed 5 years ago, on oral hypoglycaemics</li>
|
|
253
|
+
<li>Hyperlipidaemia — diagnosed 5 years ago, on statin therapy</li>
|
|
254
|
+
<li>No prior cardiac history. No previous myocardial infarction.</li>
|
|
255
|
+
<li>No history of stroke, peripheral vascular disease, or renal disease</li>
|
|
256
|
+
</ul>
|
|
257
|
+
|
|
258
|
+
<p style="margin-top:14px"><strong>Current Medications:</strong></p>
|
|
259
|
+
<ul>
|
|
260
|
+
<li>Metformin 1g PO twice daily</li>
|
|
261
|
+
<li>Amlodipine 5mg PO once daily</li>
|
|
262
|
+
<li>Atorvastatin 40mg PO at night</li>
|
|
263
|
+
</ul>
|
|
264
|
+
|
|
265
|
+
<p style="margin-top:14px"><strong>Allergies:</strong>
|
|
266
|
+
No known drug allergies. No known food allergies.
|
|
267
|
+
</p>
|
|
268
|
+
|
|
269
|
+
<p style="margin-top:14px"><strong>Social History:</strong>
|
|
270
|
+
Lives with family and has good home supports.
|
|
271
|
+
Current smoker — 10 cigarettes/day, 30 pack-years.
|
|
272
|
+
Alcohol: occasional, less than 14 units/week.
|
|
273
|
+
</p>
|
|
274
|
+
</section>
|
|
275
|
+
|
|
276
|
+
<!-- ── Vital Signs ───────────────────────────────────────────── -->
|
|
277
|
+
<section data-od-id="vitals">
|
|
278
|
+
<h2>Vital Signs</h2>
|
|
279
|
+
|
|
280
|
+
<div class="alert">
|
|
281
|
+
<span class="alert-label">⚠ Critical — Activate Cath Lab</span>
|
|
282
|
+
ST elevation ≥3mm in leads II, III, aVF with reciprocal changes in I and aVL.
|
|
283
|
+
Patient meets STEMI criteria. Door-to-balloon time target: <90 minutes.
|
|
284
|
+
</div>
|
|
285
|
+
|
|
286
|
+
<table>
|
|
287
|
+
<caption>Vital Signs</caption>
|
|
288
|
+
<thead>
|
|
289
|
+
<tr>
|
|
290
|
+
<th scope="col">Parameter</th>
|
|
291
|
+
<th scope="col">Value</th>
|
|
292
|
+
<th scope="col">Reference Range</th>
|
|
293
|
+
<th scope="col">Status</th>
|
|
294
|
+
</tr>
|
|
295
|
+
</thead>
|
|
296
|
+
<tbody>
|
|
297
|
+
<tr>
|
|
298
|
+
<td>Blood Pressure (Systolic/Diastolic)</td>
|
|
299
|
+
<td class="val-low">88 / 60 mmHg</td>
|
|
300
|
+
<td>90–140 / 60–90 mmHg</td>
|
|
301
|
+
<td class="val-low">⬇ Hypotensive</td>
|
|
302
|
+
</tr>
|
|
303
|
+
<tr>
|
|
304
|
+
<td>Heart Rate</td>
|
|
305
|
+
<td class="val-high">112 bpm</td>
|
|
306
|
+
<td>60–100 bpm</td>
|
|
307
|
+
<td class="val-high">⬆ Tachycardia</td>
|
|
308
|
+
</tr>
|
|
309
|
+
<tr>
|
|
310
|
+
<td>Respiratory Rate</td>
|
|
311
|
+
<td class="val-high">22 breaths/min</td>
|
|
312
|
+
<td>12–20 breaths/min</td>
|
|
313
|
+
<td class="val-high">⬆ Elevated</td>
|
|
314
|
+
</tr>
|
|
315
|
+
<tr>
|
|
316
|
+
<td>Oxygen Saturation (SpO₂) — room air</td>
|
|
317
|
+
<td class="val-low">94%</td>
|
|
318
|
+
<td>≥96%</td>
|
|
319
|
+
<td class="val-low">⬇ Low</td>
|
|
320
|
+
</tr>
|
|
321
|
+
<tr>
|
|
322
|
+
<td>Temperature</td>
|
|
323
|
+
<td class="val-normal">37.1°C</td>
|
|
324
|
+
<td>36.5–37.5°C</td>
|
|
325
|
+
<td class="val-normal">Normal</td>
|
|
326
|
+
</tr>
|
|
327
|
+
<tr>
|
|
328
|
+
<td>Glasgow Coma Scale</td>
|
|
329
|
+
<td class="val-normal">15 / 15</td>
|
|
330
|
+
<td>15</td>
|
|
331
|
+
<td class="val-normal">Normal</td>
|
|
332
|
+
</tr>
|
|
333
|
+
<tr>
|
|
334
|
+
<td>Capillary Refill Time</td>
|
|
335
|
+
<td class="val-high">3 seconds</td>
|
|
336
|
+
<td><2 seconds</td>
|
|
337
|
+
<td class="val-high">⬆ Prolonged</td>
|
|
338
|
+
</tr>
|
|
339
|
+
</tbody>
|
|
340
|
+
</table>
|
|
341
|
+
</section>
|
|
342
|
+
|
|
343
|
+
<!-- ── Physical Examination ──────────────────────────────────── -->
|
|
344
|
+
<section data-od-id="examination">
|
|
345
|
+
<h2>Physical Examination</h2>
|
|
346
|
+
|
|
347
|
+
<p><strong>General:</strong>
|
|
348
|
+
Diaphoretic, pale, and in obvious discomfort. Alert and oriented to
|
|
349
|
+
person, place, and time. Appears acutely unwell.
|
|
350
|
+
</p>
|
|
351
|
+
<p><strong>Cardiovascular:</strong>
|
|
352
|
+
Jugular venous pressure elevated at approximately 4cm above the sternal
|
|
353
|
+
angle. Heart sounds S1 + S2 present, no murmurs, no added sounds.
|
|
354
|
+
Peripheral pulses palpable but weak bilaterally. Capillary refill
|
|
355
|
+
3 seconds peripherally. No peripheral oedema.
|
|
356
|
+
</p>
|
|
357
|
+
<p><strong>Respiratory:</strong>
|
|
358
|
+
Respiratory rate 22/min. Air entry bilaterally. Fine bibasal
|
|
359
|
+
crepitations present, right greater than left. No wheeze. Dull to
|
|
360
|
+
percussion at right base. No use of accessory muscles.
|
|
361
|
+
</p>
|
|
362
|
+
<p><strong>Abdomen:</strong>
|
|
363
|
+
Soft, non-distended, non-tender. No organomegaly. Bowel sounds present
|
|
364
|
+
and normal. No renal angle tenderness.
|
|
365
|
+
</p>
|
|
366
|
+
<p><strong>Neurological:</strong>
|
|
367
|
+
GCS 15/15. Pupils equal and reactive 3mm bilaterally. No focal
|
|
368
|
+
neurological deficits. Cranial nerves grossly intact.
|
|
369
|
+
</p>
|
|
370
|
+
<p><strong>Skin / Peripheries:</strong>
|
|
371
|
+
Pallor and diaphoresis. No rash, no jaundice, no cyanosis.
|
|
372
|
+
</p>
|
|
373
|
+
</section>
|
|
374
|
+
|
|
375
|
+
<!-- ── Investigations ────────────────────────────────────────── -->
|
|
376
|
+
<section data-od-id="investigations">
|
|
377
|
+
<h2>Investigations</h2>
|
|
378
|
+
|
|
379
|
+
<p><strong>12-Lead ECG:</strong></p>
|
|
380
|
+
<div class="alert">
|
|
381
|
+
<span class="alert-label">ECG — STEMI Criteria Met</span>
|
|
382
|
+
Sinus tachycardia at 112 bpm. ST elevation 3mm in leads II, III, aVF.
|
|
383
|
+
Reciprocal ST depression in leads I and aVL. PR interval and QRS
|
|
384
|
+
morphology otherwise normal. No left bundle branch block.
|
|
385
|
+
Right-sided leads (V3R–V6R) ordered to exclude RV infarction.
|
|
386
|
+
</div>
|
|
387
|
+
|
|
388
|
+
<p style="margin-top:14px"><strong>Laboratory Results:</strong></p>
|
|
389
|
+
<table>
|
|
390
|
+
<caption>Laboratory Results</caption>
|
|
391
|
+
<thead>
|
|
392
|
+
<tr>
|
|
393
|
+
<th scope="col">Investigation</th>
|
|
394
|
+
<th scope="col">Result</th>
|
|
395
|
+
<th scope="col">Reference Range</th>
|
|
396
|
+
</tr>
|
|
397
|
+
</thead>
|
|
398
|
+
<tbody>
|
|
399
|
+
<tr>
|
|
400
|
+
<td>Troponin I (high-sensitivity)</td>
|
|
401
|
+
<td class="val-high">2400 ng/L ⬆</td>
|
|
402
|
+
<td><40 ng/L</td>
|
|
403
|
+
</tr>
|
|
404
|
+
<tr>
|
|
405
|
+
<td>CK-MB</td>
|
|
406
|
+
<td class="val-high">48 U/L ⬆</td>
|
|
407
|
+
<td><25 U/L</td>
|
|
408
|
+
</tr>
|
|
409
|
+
<tr>
|
|
410
|
+
<td>BNP (B-type Natriuretic Peptide)</td>
|
|
411
|
+
<td class="val-high">520 pg/mL ⬆</td>
|
|
412
|
+
<td><100 pg/mL</td>
|
|
413
|
+
</tr>
|
|
414
|
+
<tr>
|
|
415
|
+
<td>Haemoglobin</td>
|
|
416
|
+
<td class="val-normal">13.8 g/dL</td>
|
|
417
|
+
<td>13.5–17.5 g/dL</td>
|
|
418
|
+
</tr>
|
|
419
|
+
<tr>
|
|
420
|
+
<td>White Blood Cells</td>
|
|
421
|
+
<td>11.2 × 10⁹/L</td>
|
|
422
|
+
<td>4.0–11.0 × 10⁹/L</td>
|
|
423
|
+
</tr>
|
|
424
|
+
<tr>
|
|
425
|
+
<td>Platelets</td>
|
|
426
|
+
<td class="val-normal">224 × 10⁹/L</td>
|
|
427
|
+
<td>150–400 × 10⁹/L</td>
|
|
428
|
+
</tr>
|
|
429
|
+
<tr>
|
|
430
|
+
<td>Sodium</td>
|
|
431
|
+
<td class="val-normal">138 mmol/L</td>
|
|
432
|
+
<td>135–145 mmol/L</td>
|
|
433
|
+
</tr>
|
|
434
|
+
<tr>
|
|
435
|
+
<td>Potassium</td>
|
|
436
|
+
<td class="val-normal">4.1 mmol/L</td>
|
|
437
|
+
<td>3.5–5.0 mmol/L</td>
|
|
438
|
+
</tr>
|
|
439
|
+
<tr>
|
|
440
|
+
<td>Creatinine</td>
|
|
441
|
+
<td class="val-normal">98 µmol/L</td>
|
|
442
|
+
<td>62–106 µmol/L</td>
|
|
443
|
+
</tr>
|
|
444
|
+
<tr>
|
|
445
|
+
<td>eGFR</td>
|
|
446
|
+
<td class="val-normal">72 mL/min/1.73m²</td>
|
|
447
|
+
<td>≥60 mL/min/1.73m²</td>
|
|
448
|
+
</tr>
|
|
449
|
+
<tr>
|
|
450
|
+
<td>Glucose (random)</td>
|
|
451
|
+
<td class="val-high">9.4 mmol/L ⬆</td>
|
|
452
|
+
<td>4.0–7.8 mmol/L</td>
|
|
453
|
+
</tr>
|
|
454
|
+
<tr>
|
|
455
|
+
<td>HbA1c</td>
|
|
456
|
+
<td class="val-high">7.8% ⬆</td>
|
|
457
|
+
<td><7.0% (diabetic target)</td>
|
|
458
|
+
</tr>
|
|
459
|
+
<tr>
|
|
460
|
+
<td>Total Cholesterol</td>
|
|
461
|
+
<td class="val-high">5.9 mmol/L ⬆</td>
|
|
462
|
+
<td><5.2 mmol/L</td>
|
|
463
|
+
</tr>
|
|
464
|
+
<tr>
|
|
465
|
+
<td>LDL Cholesterol</td>
|
|
466
|
+
<td class="val-high">3.8 mmol/L ⬆</td>
|
|
467
|
+
<td><2.0 mmol/L (high-risk target)</td>
|
|
468
|
+
</tr>
|
|
469
|
+
<tr>
|
|
470
|
+
<td>INR</td>
|
|
471
|
+
<td class="val-normal">1.1</td>
|
|
472
|
+
<td>0.8–1.2</td>
|
|
473
|
+
</tr>
|
|
474
|
+
<tr>
|
|
475
|
+
<td>Lactate</td>
|
|
476
|
+
<td class="val-high">2.8 mmol/L ⬆</td>
|
|
477
|
+
<td><2.0 mmol/L</td>
|
|
478
|
+
</tr>
|
|
479
|
+
<tr>
|
|
480
|
+
<td>Arterial pH</td>
|
|
481
|
+
<td class="val-low">7.31 ⬇</td>
|
|
482
|
+
<td>7.35–7.45</td>
|
|
483
|
+
</tr>
|
|
484
|
+
</tbody>
|
|
485
|
+
</table>
|
|
486
|
+
|
|
487
|
+
<p><strong>Chest X-Ray (Portable AP):</strong>
|
|
488
|
+
Mild cardiomegaly. Pulmonary vascular congestion with upper lobe
|
|
489
|
+
diversion. Small right pleural effusion. No pneumothorax.
|
|
490
|
+
No mediastinal widening.
|
|
491
|
+
</p>
|
|
492
|
+
<p><strong>Bedside Echocardiogram (Emergency):</strong>
|
|
493
|
+
Inferior and inferolateral wall hypokinesia. Estimated ejection fraction
|
|
494
|
+
40%. No pericardial effusion. No obvious valvular pathology on this
|
|
495
|
+
limited study. Right ventricle appears mildly dilated — formal
|
|
496
|
+
right-sided assessment pending.
|
|
497
|
+
</p>
|
|
498
|
+
</section>
|
|
499
|
+
|
|
500
|
+
<!-- ── Assessment ────────────────────────────────────────────── -->
|
|
501
|
+
<section data-od-id="assessment">
|
|
502
|
+
<h2>Assessment</h2>
|
|
503
|
+
|
|
504
|
+
<p>
|
|
505
|
+
<strong>Primary Diagnosis:</strong>
|
|
506
|
+
Inferior ST-Elevation Myocardial Infarction (STEMI) complicated by
|
|
507
|
+
cardiogenic shock. Most likely culprit vessel: Right Coronary Artery
|
|
508
|
+
(RCA) based on inferior lead involvement.
|
|
509
|
+
</p>
|
|
510
|
+
|
|
511
|
+
<div class="risk-score">
|
|
512
|
+
<strong>Killip Class: IV</strong> — Cardiogenic shock (hypotension + end-organ hypoperfusion).
|
|
513
|
+
|
|
|
514
|
+
<strong>Shock Index: 1.27</strong> (HR/SBP — normal <0.7)
|
|
515
|
+
</div>
|
|
516
|
+
|
|
517
|
+
<p style="margin-top:4px"><strong>Differential Diagnosis:</strong></p>
|
|
518
|
+
|
|
519
|
+
<div class="differential-item">
|
|
520
|
+
<span class="dx-title">1. Inferior STEMI — RCA Territory</span>
|
|
521
|
+
<span class="dx-likelihood likely">Most Likely</span>
|
|
522
|
+
<p style="margin-top:6px; font-size:13px;">
|
|
523
|
+
ST elevation in leads II, III, aVF with reciprocal depression in I
|
|
524
|
+
and aVL is the hallmark ECG pattern of inferior STEMI. Elevated
|
|
525
|
+
troponin I (60× upper limit of normal) and inferior wall hypokinesia
|
|
526
|
+
on bedside echo confirm ongoing myocardial injury. Cardiogenic shock
|
|
527
|
+
(SBP 88, elevated lactate 2.8, BNP 520) indicates significant
|
|
528
|
+
haemodynamic compromise. Right ventricular involvement must be
|
|
529
|
+
excluded with right-sided leads before initiating fluid therapy.
|
|
530
|
+
</p>
|
|
531
|
+
</div>
|
|
532
|
+
|
|
533
|
+
<div class="differential-item">
|
|
534
|
+
<span class="dx-title">2. Type A Aortic Dissection</span>
|
|
535
|
+
<span class="dx-likelihood possible">Considered, Less Likely</span>
|
|
536
|
+
<p style="margin-top:6px; font-size:13px;">
|
|
537
|
+
Severe chest pain with radiation to the jaw raises dissection in the
|
|
538
|
+
differential. However, the pain character is pressure-like rather
|
|
539
|
+
than tearing, there is no pulse deficit, no limb ischaemia, and no
|
|
540
|
+
mediastinal widening on CXR. The ECG and troponin pattern is more
|
|
541
|
+
consistent with primary ACS. Dissection is lower probability but
|
|
542
|
+
cannot be fully excluded without CT aortogram if clinical doubt
|
|
543
|
+
persists after ECG correlation.
|
|
544
|
+
</p>
|
|
545
|
+
</div>
|
|
546
|
+
|
|
547
|
+
<div class="differential-item">
|
|
548
|
+
<span class="dx-title">3. Massive Pulmonary Embolism</span>
|
|
549
|
+
<span class="dx-likelihood unlikely">Unlikely</span>
|
|
550
|
+
<p style="margin-top:6px; font-size:13px;">
|
|
551
|
+
Haemodynamic instability and low SpO₂ are consistent with massive PE.
|
|
552
|
+
However, the patient has no PE risk factors (no recent travel,
|
|
553
|
+
immobility, or DVT history), the ECG shows inferior ST elevation
|
|
554
|
+
rather than right heart strain or S1Q3T3 pattern, and the troponin
|
|
555
|
+
rise matches ACS kinetics. Bedside echo shows inferior wall
|
|
556
|
+
hypokinesia rather than RV dilation as the dominant finding.
|
|
557
|
+
PE is considered unlikely.
|
|
558
|
+
</p>
|
|
559
|
+
</div>
|
|
560
|
+
|
|
561
|
+
<div class="differential-item">
|
|
562
|
+
<span class="dx-title">4. NSTEMI / Unstable Angina</span>
|
|
563
|
+
<span class="dx-likelihood unlikely">Excluded</span>
|
|
564
|
+
<p style="margin-top:6px; font-size:13px;">
|
|
565
|
+
The presence of ≥1mm ST elevation in two contiguous inferior leads,
|
|
566
|
+
combined with the degree of troponin elevation, meets full STEMI
|
|
567
|
+
criteria. NSTEMI is excluded by the ECG findings.
|
|
568
|
+
</p>
|
|
569
|
+
</div>
|
|
570
|
+
</section>
|
|
571
|
+
|
|
572
|
+
<!-- ── Management Plan ───────────────────────────────────────── -->
|
|
573
|
+
<section data-od-id="plan">
|
|
574
|
+
<h2>Management Plan</h2>
|
|
575
|
+
|
|
576
|
+
<div class="plan-block">
|
|
577
|
+
<div class="plan-title">1. Immediate — Revascularisation (Priority)</div>
|
|
578
|
+
<ul>
|
|
579
|
+
<li>Activate cardiac catheterisation laboratory — target
|
|
580
|
+
door-to-balloon time <90 minutes</li>
|
|
581
|
+
<li>Primary Percutaneous Coronary Intervention (PCI) of culprit
|
|
582
|
+
lesion (RCA) — preferred strategy over thrombolysis</li>
|
|
583
|
+
<li>Urgent cardiology consult — notify interventional cardiologist
|
|
584
|
+
immediately</li>
|
|
585
|
+
<li>Obtain right-sided leads (V3R–V6R) before any fluid
|
|
586
|
+
administration to exclude RV MI</li>
|
|
587
|
+
</ul>
|
|
588
|
+
</div>
|
|
589
|
+
|
|
590
|
+
<div class="plan-block" style="border-left:3px solid #e6a817;padding-left:12px;">
|
|
591
|
+
<div class="plan-title" style="color:#b07a00;">⚠ Medication Safety Checks — confirm before prescribing</div>
|
|
592
|
+
<ul>
|
|
593
|
+
<li><strong>Known (from this case):</strong> No documented drug allergies; eGFR 72 mL/min/1.73m² (renal function currently preserved — monitor closely around contrast and acute illness); no current anticoagulants documented; patient is male, age 58</li>
|
|
594
|
+
<li><strong>Weight not provided</strong> — weight-based dosing (e.g. heparin bolus) should follow <em>local formulary/protocol</em> once weight is confirmed</li>
|
|
595
|
+
<li><strong>Bleeding risk not assessed</strong> — confirm no active bleeding, recent surgery, or prior intracranial haemorrhage before dual antiplatelet therapy</li>
|
|
596
|
+
<li><strong>Hepatic function not documented</strong> — review prior to high-dose statin and ACE inhibitor initiation</li>
|
|
597
|
+
<li><strong>Pregnancy status not applicable</strong> (patient is male, age 58)</li>
|
|
598
|
+
<li><em>All doses below are educational/simulated. Verify against your local formulary, current guidelines, and full patient context before administering.</em></li>
|
|
599
|
+
</ul>
|
|
600
|
+
</div>
|
|
601
|
+
|
|
602
|
+
<div class="plan-block">
|
|
603
|
+
<div class="plan-title">2. Antiplatelet and Anticoagulation</div>
|
|
604
|
+
<ul>
|
|
605
|
+
<li>Aspirin 300mg PO loading dose — stat, then 75mg PO once daily</li>
|
|
606
|
+
<li>Ticagrelor 180mg PO loading dose — stat, then 90mg PO twice daily
|
|
607
|
+
(preferred over clopidogrel for STEMI per ESC guidelines)</li>
|
|
608
|
+
<li>Unfractionated heparin — IV bolus per cath lab protocol prior to PCI</li>
|
|
609
|
+
<li>Do not administer GPIIb/IIIa inhibitor pre-PCI; consider
|
|
610
|
+
intra-procedure per operator discretion</li>
|
|
611
|
+
</ul>
|
|
612
|
+
</div>
|
|
613
|
+
|
|
614
|
+
<div class="plan-block">
|
|
615
|
+
<div class="plan-title">3. Cardiogenic Shock</div>
|
|
616
|
+
<ul>
|
|
617
|
+
<li>Hold IV fluids until right-sided leads reviewed — if RV infarct
|
|
618
|
+
present, cautious fluid challenge 250mL normal saline</li>
|
|
619
|
+
<li>If MAP <65mmHg despite fluids: commence norepinephrine infusion
|
|
620
|
+
per local vasoactive-infusion protocol once weight and concentration
|
|
621
|
+
are confirmed; titrate to MAP ≥65mmHg</li>
|
|
622
|
+
<li>ICU/CCU bed request — post-PCI high-dependency monitoring</li>
|
|
623
|
+
<li>Consider intra-aortic balloon pump or Impella device if shock
|
|
624
|
+
refractory post-PCI — per cardiology discretion</li>
|
|
625
|
+
</ul>
|
|
626
|
+
</div>
|
|
627
|
+
|
|
628
|
+
<div class="plan-block">
|
|
629
|
+
<div class="plan-title">4. Respiratory / Oxygenation</div>
|
|
630
|
+
<ul>
|
|
631
|
+
<li>Supplemental O₂ only if hypoxaemic (SpO₂ <94%) or in
|
|
632
|
+
respiratory distress — use the lowest-flow device (nasal cannula
|
|
633
|
+
or simple face mask) needed to maintain SpO₂ 94–98%; do not give
|
|
634
|
+
routine high-flow oxygen in normoxic STEMI (may worsen
|
|
635
|
+
ischaemia)</li>
|
|
636
|
+
<li>If pulmonary oedema worsens and haemodynamics permit:
|
|
637
|
+
Furosemide 40mg IV once</li>
|
|
638
|
+
<li>Escalate to non-rebreather mask, CPAP, or intubation per local
|
|
639
|
+
protocol if SpO₂ falls below 90% or respiratory distress
|
|
640
|
+
worsens despite initial measures</li>
|
|
641
|
+
</ul>
|
|
642
|
+
</div>
|
|
643
|
+
|
|
644
|
+
<div class="plan-block">
|
|
645
|
+
<div class="plan-title">5. Monitoring</div>
|
|
646
|
+
<ul>
|
|
647
|
+
<li>Continuous 12-lead ECG monitoring and pulse oximetry</li>
|
|
648
|
+
<li>Arterial line for continuous BP monitoring given haemodynamic
|
|
649
|
+
instability</li>
|
|
650
|
+
<li>Repeat troponin at 3 hours and 6 hours post-admission</li>
|
|
651
|
+
<li>Repeat ECG immediately post-PCI and at 1 hour</li>
|
|
652
|
+
<li>Hourly urine output via urinary catheter — target ≥0.5mL/kg/hr</li>
|
|
653
|
+
<li>Strict fluid balance chart</li>
|
|
654
|
+
<li>Blood glucose monitoring q2h — target 6–10 mmol/L</li>
|
|
655
|
+
</ul>
|
|
656
|
+
</div>
|
|
657
|
+
|
|
658
|
+
<div class="plan-block">
|
|
659
|
+
<div class="plan-title">6. Secondary Prevention (commence post-stabilisation)</div>
|
|
660
|
+
<ul>
|
|
661
|
+
<li>Beta-blocker: Bisoprolol — <strong>defer until fully stabilised</strong>:
|
|
662
|
+
shock resolved, off vasopressors/inotropes, euvolaemic, no
|
|
663
|
+
bradycardia or heart block, SBP >100mmHg and HR <110bpm;
|
|
664
|
+
early beta-blockade in cardiogenic shock/Killip IV can worsen
|
|
665
|
+
haemodynamics. Initiate at 1.25mg PO once daily per cardiology
|
|
666
|
+
review post-stabilisation.</li>
|
|
667
|
+
<li>ACE inhibitor: Ramipril 1.25mg PO once daily — commence within
|
|
668
|
+
24 hours if tolerated; uptitrate over weeks</li>
|
|
669
|
+
<li>Statin: Atorvastatin 80mg PO at night — high-intensity statin
|
|
670
|
+
regardless of baseline cholesterol</li>
|
|
671
|
+
<li>Diabetes: Hold Metformin — renal function and contrast exposure
|
|
672
|
+
risk. Resume 48 hours post-procedure if creatinine stable</li>
|
|
673
|
+
<li>Dual antiplatelet therapy: Aspirin 75mg + Ticagrelor 90mg BD
|
|
674
|
+
for minimum 12 months post-PCI</li>
|
|
675
|
+
<li>Cardiac rehabilitation referral before discharge</li>
|
|
676
|
+
<li>Smoking cessation counselling and pharmacotherapy referral</li>
|
|
677
|
+
<li>Repeat echocardiogram at 6–8 weeks to reassess ejection fraction</li>
|
|
678
|
+
</ul>
|
|
679
|
+
</div>
|
|
680
|
+
|
|
681
|
+
<div class="plan-block">
|
|
682
|
+
<div class="plan-title">7. Disposition</div>
|
|
683
|
+
<ul>
|
|
684
|
+
<li>Admit to Coronary Care Unit (CCU) post-PCI</li>
|
|
685
|
+
<li>Expected length of stay: 3–5 days if uncomplicated post-PCI course</li>
|
|
686
|
+
<li>Notify next of kin — serious illness discussion</li>
|
|
687
|
+
</ul>
|
|
688
|
+
</div>
|
|
689
|
+
</section>
|
|
690
|
+
|
|
691
|
+
<!-- ── Footer ────────────────────────────────────────────────── -->
|
|
692
|
+
<div class="doc-footer">
|
|
693
|
+
<span>Generated using Open Design — clinical-case-report skill</span>
|
|
694
|
+
<span>For educational and documentation purposes only</span>
|
|
695
|
+
</div>
|
|
696
|
+
|
|
697
|
+
</body>
|
|
698
|
+
</html>
|