@hiai-gg/hiai-opencode 0.2.1 → 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 +34 -38
- package/ARCHITECTURE.md +4 -3
- package/LICENSE.md +14 -0
- package/README.md +52 -21
- 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 +3 -3
- 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/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/storage.d.ts +1 -0
- 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/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/git-operations.d.ts +47 -0
- package/dist/hooks/token-budget.d.ts +30 -0
- package/dist/index.js +1185 -1078
- 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/skill-discovery.md +288 -0
- package/package.json +1 -1
- 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,94 @@
|
|
|
1
|
+
# Case Presentation Formats
|
|
2
|
+
|
|
3
|
+
Use this reference to choose the correct format for the user's context.
|
|
4
|
+
Read the brief carefully — the format should match the clinical setting.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Format 1: SOAP (Default)
|
|
9
|
+
|
|
10
|
+
Use for: emergency presentations, ward documentation, clinic letters.
|
|
11
|
+
|
|
12
|
+
**S — Subjective**
|
|
13
|
+
Chief complaint, HPI (chronological narrative), past medical history,
|
|
14
|
+
medications, allergies, family history, social history.
|
|
15
|
+
|
|
16
|
+
**O — Objective**
|
|
17
|
+
Vital signs (table), physical examination (by system), investigations
|
|
18
|
+
(labs table, imaging findings, ECG).
|
|
19
|
+
|
|
20
|
+
**A — Assessment**
|
|
21
|
+
Primary diagnosis with reasoning, differential diagnosis list (3–5 items)
|
|
22
|
+
each with one sentence of supporting or excluding evidence, risk score.
|
|
23
|
+
|
|
24
|
+
**P — Plan**
|
|
25
|
+
Management steps organised by problem number. Each problem gets:
|
|
26
|
+
investigations ordered, treatments started, consults requested,
|
|
27
|
+
monitoring parameters, and disposition.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Format 2: Conference / Grand Rounds
|
|
32
|
+
|
|
33
|
+
Use for: teaching cases, grand rounds, case conferences, interesting
|
|
34
|
+
or rare presentations.
|
|
35
|
+
|
|
36
|
+
Structure:
|
|
37
|
+
|
|
38
|
+
1. **Opening statement**
|
|
39
|
+
"We present a [age]-year-old [sex] with [chief complaint]."
|
|
40
|
+
|
|
41
|
+
2. **Clinical summary**
|
|
42
|
+
Condensed narrative HPI, 2–4 sentences.
|
|
43
|
+
|
|
44
|
+
3. **Key findings**
|
|
45
|
+
Bulleted list of critical exam and investigation abnormalities.
|
|
46
|
+
|
|
47
|
+
4. **Diagnostic challenge**
|
|
48
|
+
One paragraph explaining what made this case educationally valuable
|
|
49
|
+
(unusual presentation, diagnostic difficulty, rare diagnosis, etc.)
|
|
50
|
+
|
|
51
|
+
5. **Differential discussion**
|
|
52
|
+
Walk through 3–5 diagnoses in order of likelihood with reasoning.
|
|
53
|
+
|
|
54
|
+
6. **Final diagnosis**
|
|
55
|
+
State the confirmed diagnosis with supporting evidence.
|
|
56
|
+
|
|
57
|
+
7. **Management**
|
|
58
|
+
Summary of what was done, in chronological order.
|
|
59
|
+
|
|
60
|
+
8. **Outcome**
|
|
61
|
+
Patient's course and disposition.
|
|
62
|
+
|
|
63
|
+
9. **Learning points**
|
|
64
|
+
2–3 bullet points summarising what clinicians should take from this case.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Format 3: Brief Ward Rounds
|
|
69
|
+
|
|
70
|
+
Use for: daily ward rounds, post-call handover, ICU reviews.
|
|
71
|
+
This format is short. One screen, fast to read.
|
|
72
|
+
|
|
73
|
+
Structure:
|
|
74
|
+
|
|
75
|
+
- **ID line**: [Age][sex] | Day [N] of admission | Admitted for [diagnosis]
|
|
76
|
+
- **Overnight/interval events**: Bulleted. New results, procedures, changes.
|
|
77
|
+
- **Current vitals**: Trend arrow (↑ ↓ →). Flag abnormals.
|
|
78
|
+
- **Active problem list**: Numbered.
|
|
79
|
+
- **Plan by problem**: One line per problem.
|
|
80
|
+
|
|
81
|
+
Do not include full HPI or examination in this format.
|
|
82
|
+
The reader knows the patient. They need the delta.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Format Selection Guide
|
|
87
|
+
|
|
88
|
+
| User says | Use format |
|
|
89
|
+
|---|---|
|
|
90
|
+
| "case presentation", "formal rounds", "clinic" | SOAP |
|
|
91
|
+
| "conference", "grand rounds", "teaching case", "interesting case", "rare case" | Conference |
|
|
92
|
+
| "daily review", "ward round", "ward rounds", "handover", "ICU", "post-call" | Brief Rounds |
|
|
93
|
+
| "discharge summary", "clinic letter" | SOAP (narrative variant) |
|
|
94
|
+
| No format specified | SOAP |
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Clinical Case Report — Quality Checklist
|
|
2
|
+
|
|
3
|
+
## P0 — Must Pass Before Emitting Artifact
|
|
4
|
+
|
|
5
|
+
- [ ] Chief complaint or ID line is clearly stated in the opening line
|
|
6
|
+
- [ ] **SOAP / Conference format only:** HPI is written as a chronological prose narrative with at least one timeline marker (e.g. "2 hours prior to presentation"); skip for Brief Rounds
|
|
7
|
+
- [ ] **Brief Rounds format only:** ID line present; interval events / current status documented; active problems listed; plan-by-problem present; full HPI and examination sections are not required
|
|
8
|
+
- [ ] Vital signs are present and physiologically plausible
|
|
9
|
+
- [ ] Vital signs are internally consistent with the diagnosis (allowing for clinical variability — bradycardic shock, medication-blunted tachycardia, afebrile pneumonia, early STEMI with normal troponin, etc.)
|
|
10
|
+
- [ ] Assessment contains a clearly stated primary diagnosis
|
|
11
|
+
- [ ] Plan is present and directly addresses the primary diagnosis
|
|
12
|
+
- [ ] If the plan includes medications: a prescribing-safety block is present before drug recommendations, confirming known inputs (allergies, renal/hepatic function, anticoagulants) and calling out unknowns (weight, bleeding risk, pregnancy); doses defer to "per local formulary/protocol" when key variables are missing
|
|
13
|
+
- [ ] Medication plan is labelled as educational/simulated — not a substitute for clinician judgment
|
|
14
|
+
- [ ] No real patient identifiers (direct or indirect): no names, MRNs, exact dates, locations, images, rare condition combos, occupation details, or verbatim stories from real cases
|
|
15
|
+
- [ ] All data is synthetic, de-identified, or clearly fictional
|
|
16
|
+
- [ ] If based on a real case, apply formal de-identification before use
|
|
17
|
+
- [ ] HTML renders without errors in a browser
|
|
18
|
+
- [ ] All major sections tagged with `data-od-id`
|
|
19
|
+
|
|
20
|
+
## P1 — Should Pass
|
|
21
|
+
|
|
22
|
+
- [ ] Past medical history includes conditions relevant to the presentation
|
|
23
|
+
- [ ] Medications list is present
|
|
24
|
+
- [ ] Physical examination findings are organised by system
|
|
25
|
+
- [ ] Differential diagnosis contains 3 to 5 items
|
|
26
|
+
- [ ] Each differential item includes one sentence of supporting or refuting evidence
|
|
27
|
+
- [ ] Lab values use correct units and are within realistic ranges for the diagnosis
|
|
28
|
+
- [ ] Plan is specific — drug names, doses, routes, and frequencies are written out where safety inputs are known; unknown variables defer to "per local formulary/protocol"
|
|
29
|
+
- [ ] Plan is organised by problem using numbered headers
|
|
30
|
+
- [ ] Critical findings are visually highlighted (red callout box)
|
|
31
|
+
- [ ] Document is print-friendly (white background, `@media print` rules present)
|
|
32
|
+
- [ ] A validated risk score is included where applicable (TIMI, GRACE, Killip class + Shock Index for STEMI/cardiogenic shock, CURB-65, qSOFA, Wells)
|
|
33
|
+
|
|
34
|
+
## P2 — Nice to Have
|
|
35
|
+
|
|
36
|
+
- [ ] Pertinent negatives documented in HPI and Review of Systems
|
|
37
|
+
- [ ] Imaging findings described in investigations section
|
|
38
|
+
- [ ] Specialist consult noted where clinically indicated
|
|
39
|
+
- [ ] Disposition or follow-up plan included
|
|
40
|
+
- [ ] Monitoring parameters specified (e.g. repeat troponin at 3h and 6h)
|
|
41
|
+
- [ ] Secondary prevention addressed for chronic disease presentations
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: critique
|
|
3
|
+
description: |
|
|
4
|
+
Run a 5-dimension expert design review on any HTML artifact in the
|
|
5
|
+
project — Philosophy / Visual hierarchy / Detail / Functionality /
|
|
6
|
+
Innovation, each scored 0–10. Outputs a single self-contained HTML
|
|
7
|
+
report with a radar chart, evidence-backed scores, and three lists:
|
|
8
|
+
Keep / Fix / Quick-wins. Use when the brief asks for a "design
|
|
9
|
+
review", "design critique", "5 维度评审", "design audit", or "what's
|
|
10
|
+
wrong with my design".
|
|
11
|
+
triggers:
|
|
12
|
+
- "critique"
|
|
13
|
+
- "design review"
|
|
14
|
+
- "design audit"
|
|
15
|
+
- "5 维度评审"
|
|
16
|
+
- "5-dim review"
|
|
17
|
+
- "audit my design"
|
|
18
|
+
- "review my deck"
|
|
19
|
+
- "review my landing page"
|
|
20
|
+
- "评审"
|
|
21
|
+
- "复盘"
|
|
22
|
+
od:
|
|
23
|
+
mode: prototype
|
|
24
|
+
platform: desktop
|
|
25
|
+
scenario: design
|
|
26
|
+
upstream: "https://github.com/alchaincyf/huashu-design"
|
|
27
|
+
preview:
|
|
28
|
+
type: html
|
|
29
|
+
entry: index.html
|
|
30
|
+
design_system:
|
|
31
|
+
requires: false
|
|
32
|
+
example_prompt: "Run a 5-dimension critique on the magazine-web-ppt deck I just generated — score philosophy / hierarchy / detail / function / innovation, give me Keep / Fix / Quick-wins."
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
# Critique Skill · 5 维度专家评审
|
|
36
|
+
|
|
37
|
+
Produce a single-file HTML "design review report" that scores any
|
|
38
|
+
artifact across 5 dimensions and proposes actionable fixes. Inspired by
|
|
39
|
+
the *huashu-design* expert-critique flow.
|
|
40
|
+
|
|
41
|
+
## When to use
|
|
42
|
+
|
|
43
|
+
- After the agent (or user) generates an artifact (deck / prototype /
|
|
44
|
+
landing page) and the user asks "what's wrong with this?" or
|
|
45
|
+
"review this"
|
|
46
|
+
- As a self-check loop the agent can run on its own output **before**
|
|
47
|
+
emitting it
|
|
48
|
+
- For comparing two variants of the same design
|
|
49
|
+
|
|
50
|
+
## What you produce
|
|
51
|
+
|
|
52
|
+
A single self-contained `<artifact type="text/html">` review report
|
|
53
|
+
including:
|
|
54
|
+
|
|
55
|
+
1. **Header** — what artifact was reviewed, date, reviewer ("OD ·
|
|
56
|
+
Critique skill"), 1-line verdict
|
|
57
|
+
2. **Radar chart** (inline SVG, no library) showing the 5 scores
|
|
58
|
+
3. **Five dimension cards**, each with:
|
|
59
|
+
- Score 0–10 (with band: 0–4 *Broken* · 5–6 *Functional* · 7–8 *Strong*
|
|
60
|
+
· 9–10 *Exceptional*)
|
|
61
|
+
- 1-paragraph evidence (cite specific elements / files / lines)
|
|
62
|
+
- One Keep / Fix / Quick-win bullet
|
|
63
|
+
4. **Combined action lists** at the bottom:
|
|
64
|
+
- **Keep** — what's working, don't touch
|
|
65
|
+
- **Fix** — P0 / P1 issues that are visually expensive
|
|
66
|
+
- **Quick wins** — 5–15 minute tweaks with disproportionate impact
|
|
67
|
+
|
|
68
|
+
## The 5 dimensions
|
|
69
|
+
|
|
70
|
+
> Each dimension is independent — a deck can be 9/10 on Innovation but
|
|
71
|
+
> 4/10 on Hierarchy and the report should say so plainly. Don't average
|
|
72
|
+
> away interesting failures.
|
|
73
|
+
|
|
74
|
+
### 1. Philosophy consistency · 哲学一致性
|
|
75
|
+
|
|
76
|
+
> Does the artifact pick a clear *direction* and stick to it through
|
|
77
|
+
> every micro-decision (chrome / kicker / spacing / accent)?
|
|
78
|
+
|
|
79
|
+
**Evidence to look for:**
|
|
80
|
+
- Is there one declared design direction (e.g. Monocle / WIRED /
|
|
81
|
+
Kinfolk) or is it three styles in a trench coat?
|
|
82
|
+
- Does the chrome / kicker vocabulary stay in one register, or does
|
|
83
|
+
page 3 say "Vol.04 · Spring" and page 7 say "BUT WAIT 🔥"?
|
|
84
|
+
- Are accent / serif / mono used by the same rule throughout?
|
|
85
|
+
|
|
86
|
+
**0–4** Three styles fighting each other. **5–6** One direction but
|
|
87
|
+
half the elements drift. **7–8** Coherent, occasional drift on edge
|
|
88
|
+
pages. **9–10** Every element argues for the same thesis.
|
|
89
|
+
|
|
90
|
+
### 2. Visual hierarchy · 视觉层级
|
|
91
|
+
|
|
92
|
+
> Can a stranger figure out what to read first, second, third — without
|
|
93
|
+
> being told?
|
|
94
|
+
|
|
95
|
+
**Evidence to look for:**
|
|
96
|
+
- Is the largest type clearly the most important thing on each page?
|
|
97
|
+
- Do mono / serif / sans roles match the information's *role* (meta /
|
|
98
|
+
body / display)?
|
|
99
|
+
- Lots of "loud" elements competing? Or a clear primary + secondary +
|
|
100
|
+
tertiary tier?
|
|
101
|
+
|
|
102
|
+
**0–4** Everything shouts. **5–6** Hierarchy works on hero pages but
|
|
103
|
+
breaks on body. **7–8** Clear tiers, occasional collision. **9–10** Eye
|
|
104
|
+
moves with zero friction.
|
|
105
|
+
|
|
106
|
+
### 3. Detail execution · 细节执行
|
|
107
|
+
|
|
108
|
+
> The 90/10 stuff — alignment, leading, kerning at large sizes, image
|
|
109
|
+
> framing, foot/chrome polish, edge-case spacing.
|
|
110
|
+
|
|
111
|
+
**Evidence to look for:**
|
|
112
|
+
- Big-stat pages: does the number sit on a baseline, or float?
|
|
113
|
+
- Left/right column tops aligned in `grid-2-7-5`?
|
|
114
|
+
- `frame-img` + caption proportions consistent across pages?
|
|
115
|
+
- Mono labels: same letter-spacing? same uppercase rule?
|
|
116
|
+
- Any orphaned `<br>` causing 1-character lines?
|
|
117
|
+
|
|
118
|
+
**0–4** Visible tape and string. **5–6** Most pages clean, 1–2
|
|
119
|
+
ragged. **7–8** Polished, expert eye finds 2–3 misses. **9–10**
|
|
120
|
+
Magazine-grade — the kind of detail that makes printed-by-hand
|
|
121
|
+
typographers nod.
|
|
122
|
+
|
|
123
|
+
### 4. Functionality · 功能性
|
|
124
|
+
|
|
125
|
+
> Does the artifact *work* for its intended use? Click targets, nav,
|
|
126
|
+
> readability at presentation distance, copy-paste-ability for code
|
|
127
|
+
> blocks, mobile fallback if relevant.
|
|
128
|
+
|
|
129
|
+
**Evidence to look for:**
|
|
130
|
+
- Deck: keyboard / wheel / touch nav all working? Iframe scroll
|
|
131
|
+
fallback?
|
|
132
|
+
- Landing: CTA above the fold? Phone number tappable on mobile?
|
|
133
|
+
- Runbook: code blocks copyable, mono font, no smart quotes?
|
|
134
|
+
- Critical info readable from 4m away (large screen presentation)?
|
|
135
|
+
|
|
136
|
+
**0–4** Visually fine but doesn't accomplish its job. **5–6** Core
|
|
137
|
+
flow works, edge cases broken. **7–8** Robust through normal use.
|
|
138
|
+
**9–10** Defensively engineered — handles iframe / fullscreen / paste
|
|
139
|
+
/ print without flinching.
|
|
140
|
+
|
|
141
|
+
### 5. Innovation · 创新性
|
|
142
|
+
|
|
143
|
+
> Does this push past the median? Is there one element that makes
|
|
144
|
+
> people lean in?
|
|
145
|
+
|
|
146
|
+
**Evidence to look for:**
|
|
147
|
+
- One *unexpected* layout / motion / typographic move that wasn't
|
|
148
|
+
required?
|
|
149
|
+
- Or 100% safe — could be any deck/landing from any agency?
|
|
150
|
+
- Is the innovation *earned* (matches direction) or grafted on
|
|
151
|
+
(random WebGL on a Kinfolk slow-living deck)?
|
|
152
|
+
|
|
153
|
+
**0–4** Generic AI-slop median. **5–6** Competent and unmemorable.
|
|
154
|
+
**7–8** One memorable moment, the rest solid. **9–10** Multiple
|
|
155
|
+
moves you'd steal — but each one obviously serves the thesis.
|
|
156
|
+
|
|
157
|
+
## Scoring discipline (read before you score)
|
|
158
|
+
|
|
159
|
+
- **Always cite evidence** — "scored 4 because hero page mixes
|
|
160
|
+
Playfair display with Inter sans on the same line" beats "feels
|
|
161
|
+
inconsistent". Numbers without evidence get rejected.
|
|
162
|
+
- **Don't average up** — if Hierarchy is 5 because page 3 is broken,
|
|
163
|
+
don't bump to 7 because pages 1 and 2 are fine. The score is the
|
|
164
|
+
*worst sustained band*.
|
|
165
|
+
- **Don't grade-inflate** — a 7 means *strong*, not *acceptable*. If
|
|
166
|
+
every score is 7+, you're not reviewing critically.
|
|
167
|
+
- **Innovation is allowed to be low** — 5/10 is fine for production
|
|
168
|
+
deliverables. Don't punish *appropriate* conservatism.
|
|
169
|
+
|
|
170
|
+
## Workflow
|
|
171
|
+
|
|
172
|
+
### Step 1 — Acquire the artifact
|
|
173
|
+
|
|
174
|
+
Three modes:
|
|
175
|
+
|
|
176
|
+
1. **Project file** — user said "review the index.html I just made":
|
|
177
|
+
open it from the project folder.
|
|
178
|
+
2. **Pasted HTML** — user pasted code in the chat: read it from the
|
|
179
|
+
message.
|
|
180
|
+
3. **Generated by you in this turn** — you just emitted an artifact
|
|
181
|
+
above and want to self-critique: re-read your own `<artifact>`.
|
|
182
|
+
|
|
183
|
+
If multiple HTML files exist, ask which one (don't review all).
|
|
184
|
+
|
|
185
|
+
### Step 2 — Read enough to score
|
|
186
|
+
|
|
187
|
+
Skim the entire `<style>`, then read 6–8 representative content
|
|
188
|
+
blocks. **Do not score from frontmatter alone.** The score depends on
|
|
189
|
+
*executed* design, not declared intent.
|
|
190
|
+
|
|
191
|
+
### Step 3 — Score with evidence
|
|
192
|
+
|
|
193
|
+
For each of the 5 dimensions, write the score and a 30–80 word
|
|
194
|
+
evidence paragraph that names specific elements. Use line numbers,
|
|
195
|
+
class names, page numbers.
|
|
196
|
+
|
|
197
|
+
Example:
|
|
198
|
+
```
|
|
199
|
+
Dimension: Detail execution
|
|
200
|
+
Score: 6 / 10
|
|
201
|
+
Evidence: Stat-cards on page 3 align cleanly (grid-6, 3×2), but on
|
|
202
|
+
page 8 the right column foot sits 2vh higher than the left because
|
|
203
|
+
.callout has 3vh top margin while the figure doesn't. Image captions
|
|
204
|
+
use mono on page 5 but sans on page 7 — pick one.
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### Step 4 — Build the action lists
|
|
208
|
+
|
|
209
|
+
Aggregate the 5 evidence paragraphs into:
|
|
210
|
+
|
|
211
|
+
- **Keep** (3–5 bullets) — concrete things working that the user must
|
|
212
|
+
not break in the next iteration. Cite by class / page / element.
|
|
213
|
+
- **Fix** (3–6 bullets) — must-do, ordered by *visual cost saved per
|
|
214
|
+
minute spent*. Each bullet ≤ 1 sentence.
|
|
215
|
+
- **Quick wins** (3–5 bullets) — 5–15 minutes each, high
|
|
216
|
+
signal-to-noise (e.g. "swap `display:flex` for `grid` on page 4 to
|
|
217
|
+
fix the column drift").
|
|
218
|
+
|
|
219
|
+
### Step 5 — Emit the report HTML
|
|
220
|
+
|
|
221
|
+
Build a single file:
|
|
222
|
+
|
|
223
|
+
- Header: artifact name + reviewer credit + date
|
|
224
|
+
- Big radar chart (SVG)
|
|
225
|
+
- 5 dimension cards in a 1-column or 2-column grid
|
|
226
|
+
- Three action lists at the bottom with checkbox affordance
|
|
227
|
+
|
|
228
|
+
Use the active DESIGN.md tokens if one exists; otherwise default to a
|
|
229
|
+
neutral light theme (off-white background, near-black text, one accent
|
|
230
|
+
for radar fill).
|
|
231
|
+
|
|
232
|
+
## Output contract
|
|
233
|
+
|
|
234
|
+
```
|
|
235
|
+
<artifact identifier="critique-<artifact-slug>" type="text/html" title="Critique · <Artifact Title>">
|
|
236
|
+
<!doctype html>
|
|
237
|
+
<html>...</html>
|
|
238
|
+
</artifact>
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
One sentence before the artifact ("Reviewed X across 5 dimensions, see
|
|
242
|
+
report below.") and **stop after `</artifact>`** — do not paraphrase
|
|
243
|
+
the report in chat; the user will read the artifact.
|
|
244
|
+
|
|
245
|
+
## Hard rules
|
|
246
|
+
|
|
247
|
+
- **5 scores, every time** — partial reports (e.g. only 3 dimensions)
|
|
248
|
+
are not allowed.
|
|
249
|
+
- **Evidence per score** — no "feels off" / "needs work". If you
|
|
250
|
+
can't cite an element, the score is not justified.
|
|
251
|
+
- **Don't grade-inflate** — overall mean above 8 is suspicious; check
|
|
252
|
+
yourself.
|
|
253
|
+
- **Don't review your own artifact in the same turn** — the user
|
|
254
|
+
needs to see it first. Self-critique only on explicit request
|
|
255
|
+
("now critique what you just made").
|
|
256
|
+
- **Single-file HTML only** — no external CSS/JS. Inline everything.
|
|
257
|
+
- **Radar chart is mandatory** — gives the report a recognizable
|
|
258
|
+
silhouette and lets the user spot weak axes at a glance.
|