@mohanscodex/spectra-code 0.4.9 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -2
- package/dist/package.json +8 -5
- package/dist/src/agents/definitions/build.d.ts +3 -0
- package/dist/src/agents/definitions/build.d.ts.map +1 -0
- package/dist/src/agents/definitions/build.js +51 -0
- package/dist/src/agents/definitions/build.js.map +1 -0
- package/dist/src/agents/definitions/debug.d.ts +3 -0
- package/dist/src/agents/definitions/debug.d.ts.map +1 -0
- package/dist/src/agents/definitions/debug.js +45 -0
- package/dist/src/agents/definitions/debug.js.map +1 -0
- package/dist/src/agents/definitions/explore.d.ts +3 -0
- package/dist/src/agents/definitions/explore.d.ts.map +1 -0
- package/dist/src/agents/definitions/explore.js +34 -0
- package/dist/src/agents/definitions/explore.js.map +1 -0
- package/dist/src/agents/definitions/index.d.ts +5 -0
- package/dist/src/agents/definitions/index.d.ts.map +1 -0
- package/dist/src/agents/definitions/index.js +19 -0
- package/dist/src/agents/definitions/index.js.map +1 -0
- package/dist/src/agents/definitions/plan.d.ts +3 -0
- package/dist/src/agents/definitions/plan.d.ts.map +1 -0
- package/dist/src/agents/definitions/plan.js +44 -0
- package/dist/src/agents/definitions/plan.js.map +1 -0
- package/dist/src/agents/definitions/title.d.ts +3 -0
- package/dist/src/agents/definitions/title.d.ts.map +1 -0
- package/dist/src/agents/definitions/title.js +34 -0
- package/dist/src/agents/definitions/title.js.map +1 -0
- package/dist/src/agents/index.d.ts +6 -0
- package/dist/src/agents/index.d.ts.map +1 -0
- package/dist/src/agents/index.js +10 -0
- package/dist/src/agents/index.js.map +1 -0
- package/dist/src/agents/types.d.ts +15 -0
- package/dist/src/agents/types.d.ts.map +1 -0
- package/dist/src/agents/types.js +2 -0
- package/dist/src/agents/types.js.map +1 -0
- package/dist/src/cli.js +2 -2
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/session.js +1 -1
- package/dist/src/commands/session.js.map +1 -1
- package/dist/src/integrations/acp/server.js +1 -1
- package/dist/src/integrations/acp/server.js.map +1 -1
- package/dist/src/services/prompt-history.d.ts +32 -0
- package/dist/src/services/prompt-history.d.ts.map +1 -0
- package/dist/src/services/prompt-history.js +144 -0
- package/dist/src/services/prompt-history.js.map +1 -0
- package/dist/src/services/snapshot-manager.d.ts +32 -32
- package/dist/src/services/snapshot-manager.d.ts.map +1 -1
- package/dist/src/services/snapshot-manager.js +308 -155
- package/dist/src/services/snapshot-manager.js.map +1 -1
- package/dist/src/tools/edit.d.ts.map +1 -1
- package/dist/src/tools/edit.js +5 -22
- package/dist/src/tools/edit.js.map +1 -1
- package/dist/src/tools/glob.d.ts.map +1 -1
- package/dist/src/tools/glob.js +2 -1
- package/dist/src/tools/glob.js.map +1 -1
- package/dist/src/tools/grep.js +2 -2
- package/dist/src/tools/grep.js.map +1 -1
- package/dist/src/tools/index.d.ts +5 -0
- package/dist/src/tools/index.d.ts.map +1 -1
- package/dist/src/tools/index.js +30 -1
- package/dist/src/tools/index.js.map +1 -1
- package/dist/src/tools/task.js +1 -1
- package/dist/src/tools/task.js.map +1 -1
- package/dist/src/tools/write.d.ts.map +1 -1
- package/dist/src/tools/write.js +7 -4
- package/dist/src/tools/write.js.map +1 -1
- package/dist/src/tui/app-constants.js +1 -1
- package/dist/src/tui/app-constants.js.map +1 -1
- package/dist/src/tui/app.d.ts.map +1 -1
- package/dist/src/tui/app.js +35 -15
- package/dist/src/tui/app.js.map +1 -1
- package/dist/src/tui/commands.d.ts +15 -0
- package/dist/src/tui/commands.d.ts.map +1 -1
- package/dist/src/tui/commands.js +252 -1
- package/dist/src/tui/commands.js.map +1 -1
- package/dist/src/tui/components/chat-area.d.ts.map +1 -1
- package/dist/src/tui/components/chat-area.js +1 -1
- package/dist/src/tui/components/chat-area.js.map +1 -1
- package/dist/src/tui/components/message.d.ts.map +1 -1
- package/dist/src/tui/components/message.js +79 -4
- package/dist/src/tui/components/message.js.map +1 -1
- package/dist/src/tui/hooks/use-agent.d.ts.map +1 -1
- package/dist/src/tui/hooks/use-agent.js +17 -4
- package/dist/src/tui/hooks/use-agent.js.map +1 -1
- package/dist/src/tui/hooks/use-app-keyboard.d.ts +4 -5
- package/dist/src/tui/hooks/use-app-keyboard.d.ts.map +1 -1
- package/dist/src/tui/hooks/use-app-keyboard.js +23 -24
- package/dist/src/tui/hooks/use-app-keyboard.js.map +1 -1
- package/dist/src/tui/hooks/use-chat-submit.d.ts +2 -2
- package/dist/src/tui/hooks/use-chat-submit.d.ts.map +1 -1
- package/dist/src/tui/hooks/use-chat-submit.js +143 -20
- package/dist/src/tui/hooks/use-chat-submit.js.map +1 -1
- package/dist/src/tui/hooks/use-revert.d.ts +3 -5
- package/dist/src/tui/hooks/use-revert.d.ts.map +1 -1
- package/dist/src/tui/hooks/use-revert.js +83 -34
- package/dist/src/tui/hooks/use-revert.js.map +1 -1
- package/dist/src/tui/hooks/use-title-agent.d.ts +13 -0
- package/dist/src/tui/hooks/use-title-agent.d.ts.map +1 -0
- package/dist/src/tui/hooks/use-title-agent.js +50 -0
- package/dist/src/tui/hooks/use-title-agent.js.map +1 -0
- package/dist/src/tui/prompt-bar.d.ts.map +1 -1
- package/dist/src/tui/prompt-bar.js +27 -33
- package/dist/src/tui/prompt-bar.js.map +1 -1
- package/dist/src/tui/theme.d.ts +2 -0
- package/dist/src/tui/theme.d.ts.map +1 -1
- package/dist/src/tui/theme.js +2 -0
- package/dist/src/tui/theme.js.map +1 -1
- package/dist/src/tui/types.d.ts +5 -0
- package/dist/src/tui/types.d.ts.map +1 -1
- package/dist/src/tui/ui/agent-switcher.js +1 -1
- package/dist/src/tui/ui/agent-switcher.js.map +1 -1
- package/dist/src/tui/ui/cost-dialog.d.ts +14 -0
- package/dist/src/tui/ui/cost-dialog.d.ts.map +1 -0
- package/dist/src/tui/ui/cost-dialog.js +28 -0
- package/dist/src/tui/ui/cost-dialog.js.map +1 -0
- package/dist/src/tui/ui/debug-dialog.js +1 -1
- package/dist/src/tui/ui/debug-dialog.js.map +1 -1
- package/dist/src/tui/ui/session-list.js +1 -1
- package/dist/src/tui/ui/session-list.js.map +1 -1
- package/dist/src/tui/utils/terminal-title.d.ts +3 -0
- package/dist/src/tui/utils/terminal-title.d.ts.map +1 -0
- package/dist/src/tui/utils/terminal-title.js +14 -0
- package/dist/src/tui/utils/terminal-title.js.map +1 -0
- package/dist/src/tui/utils/version.d.ts +1 -1
- package/dist/src/tui/utils/version.d.ts.map +1 -1
- package/dist/src/tui/utils/version.js +4 -22
- package/dist/src/tui/utils/version.js.map +1 -1
- package/dist/src/utils/paths.d.ts +1 -0
- package/dist/src/utils/paths.d.ts.map +1 -1
- package/dist/src/utils/paths.js +13 -0
- package/dist/src/utils/paths.js.map +1 -1
- package/package.json +9 -6
- package/skills/REQUESTS.md +36 -0
- package/skills/architecture/ABOUT.md +20 -0
- package/skills/architecture/preserving-productive-tensions/SKILL.md +152 -0
- package/skills/aspnet-core/LICENSE.txt +202 -0
- package/skills/aspnet-core/SKILL.md +61 -0
- package/skills/aspnet-core/agents/openai.yaml +5 -0
- package/skills/aspnet-core/assets/dotnet-logo.png +0 -0
- package/skills/aspnet-core/references/_sections.md +40 -0
- package/skills/aspnet-core/references/apis-minimal-and-controllers.md +81 -0
- package/skills/aspnet-core/references/data-state-and-services.md +69 -0
- package/skills/aspnet-core/references/program-and-pipeline.md +103 -0
- package/skills/aspnet-core/references/realtime-grpc-and-background-work.md +58 -0
- package/skills/aspnet-core/references/security-and-identity.md +75 -0
- package/skills/aspnet-core/references/source-map.md +43 -0
- package/skills/aspnet-core/references/stack-selection.md +63 -0
- package/skills/aspnet-core/references/testing-performance-and-operations.md +92 -0
- package/skills/aspnet-core/references/ui-blazor.md +53 -0
- package/skills/aspnet-core/references/ui-mvc.md +56 -0
- package/skills/aspnet-core/references/ui-razor-pages.md +55 -0
- package/skills/aspnet-core/references/versioning-and-upgrades.md +51 -0
- package/skills/chatgpt-apps/LICENSE.txt +201 -0
- package/skills/chatgpt-apps/SKILL.md +320 -0
- package/skills/chatgpt-apps/agents/openai.yaml +13 -0
- package/skills/chatgpt-apps/references/app-archetypes.md +132 -0
- package/skills/chatgpt-apps/references/apps-sdk-docs-workflow.md +135 -0
- package/skills/chatgpt-apps/references/interactive-state-sync-patterns.md +113 -0
- package/skills/chatgpt-apps/references/repo-contract-and-validation.md +93 -0
- package/skills/chatgpt-apps/references/search-fetch-standard.md +67 -0
- package/skills/chatgpt-apps/references/upstream-example-workflow.md +79 -0
- package/skills/chatgpt-apps/references/window-openai-patterns.md +70 -0
- package/skills/chatgpt-apps/scripts/scaffold_node_ext_apps.mjs +606 -0
- package/skills/cloudflare-deploy/LICENSE.txt +201 -0
- package/skills/cloudflare-deploy/SKILL.md +224 -0
- package/skills/cloudflare-deploy/agents/openai.yaml +6 -0
- package/skills/cloudflare-deploy/assets/cloudflare-small.svg +3 -0
- package/skills/cloudflare-deploy/assets/cloudflare.png +0 -0
- package/skills/cloudflare-deploy/references/agents-sdk/README.md +89 -0
- package/skills/cloudflare-deploy/references/agents-sdk/api.md +190 -0
- package/skills/cloudflare-deploy/references/agents-sdk/configuration.md +182 -0
- package/skills/cloudflare-deploy/references/agents-sdk/gotchas.md +158 -0
- package/skills/cloudflare-deploy/references/agents-sdk/patterns.md +192 -0
- package/skills/cloudflare-deploy/references/ai-gateway/README.md +175 -0
- package/skills/cloudflare-deploy/references/ai-gateway/configuration.md +111 -0
- package/skills/cloudflare-deploy/references/ai-gateway/dynamic-routing.md +82 -0
- package/skills/cloudflare-deploy/references/ai-gateway/features.md +96 -0
- package/skills/cloudflare-deploy/references/ai-gateway/sdk-integration.md +114 -0
- package/skills/cloudflare-deploy/references/ai-gateway/troubleshooting.md +88 -0
- package/skills/cloudflare-deploy/references/ai-search/README.md +138 -0
- package/skills/cloudflare-deploy/references/ai-search/api.md +87 -0
- package/skills/cloudflare-deploy/references/ai-search/configuration.md +88 -0
- package/skills/cloudflare-deploy/references/ai-search/gotchas.md +81 -0
- package/skills/cloudflare-deploy/references/ai-search/patterns.md +85 -0
- package/skills/cloudflare-deploy/references/analytics-engine/README.md +92 -0
- package/skills/cloudflare-deploy/references/analytics-engine/api.md +112 -0
- package/skills/cloudflare-deploy/references/analytics-engine/configuration.md +112 -0
- package/skills/cloudflare-deploy/references/analytics-engine/gotchas.md +85 -0
- package/skills/cloudflare-deploy/references/analytics-engine/patterns.md +83 -0
- package/skills/cloudflare-deploy/references/api/README.md +65 -0
- package/skills/cloudflare-deploy/references/api/api.md +204 -0
- package/skills/cloudflare-deploy/references/api/configuration.md +160 -0
- package/skills/cloudflare-deploy/references/api/gotchas.md +225 -0
- package/skills/cloudflare-deploy/references/api/patterns.md +204 -0
- package/skills/cloudflare-deploy/references/api-shield/README.md +44 -0
- package/skills/cloudflare-deploy/references/api-shield/api.md +141 -0
- package/skills/cloudflare-deploy/references/api-shield/configuration.md +192 -0
- package/skills/cloudflare-deploy/references/api-shield/gotchas.md +125 -0
- package/skills/cloudflare-deploy/references/api-shield/patterns.md +180 -0
- package/skills/cloudflare-deploy/references/argo-smart-routing/README.md +90 -0
- package/skills/cloudflare-deploy/references/argo-smart-routing/api.md +240 -0
- package/skills/cloudflare-deploy/references/argo-smart-routing/configuration.md +197 -0
- package/skills/cloudflare-deploy/references/argo-smart-routing/gotchas.md +111 -0
- package/skills/cloudflare-deploy/references/argo-smart-routing/patterns.md +104 -0
- package/skills/cloudflare-deploy/references/bindings/README.md +122 -0
- package/skills/cloudflare-deploy/references/bindings/api.md +203 -0
- package/skills/cloudflare-deploy/references/bindings/configuration.md +188 -0
- package/skills/cloudflare-deploy/references/bindings/gotchas.md +208 -0
- package/skills/cloudflare-deploy/references/bindings/patterns.md +200 -0
- package/skills/cloudflare-deploy/references/bot-management/README.md +94 -0
- package/skills/cloudflare-deploy/references/bot-management/api.md +169 -0
- package/skills/cloudflare-deploy/references/bot-management/configuration.md +163 -0
- package/skills/cloudflare-deploy/references/bot-management/gotchas.md +114 -0
- package/skills/cloudflare-deploy/references/bot-management/patterns.md +182 -0
- package/skills/cloudflare-deploy/references/browser-rendering/README.md +78 -0
- package/skills/cloudflare-deploy/references/browser-rendering/api.md +108 -0
- package/skills/cloudflare-deploy/references/browser-rendering/configuration.md +78 -0
- package/skills/cloudflare-deploy/references/browser-rendering/gotchas.md +88 -0
- package/skills/cloudflare-deploy/references/browser-rendering/patterns.md +91 -0
- package/skills/cloudflare-deploy/references/c3/README.md +111 -0
- package/skills/cloudflare-deploy/references/c3/api.md +71 -0
- package/skills/cloudflare-deploy/references/c3/configuration.md +81 -0
- package/skills/cloudflare-deploy/references/c3/gotchas.md +92 -0
- package/skills/cloudflare-deploy/references/c3/patterns.md +82 -0
- package/skills/cloudflare-deploy/references/cache-reserve/README.md +147 -0
- package/skills/cloudflare-deploy/references/cache-reserve/api.md +194 -0
- package/skills/cloudflare-deploy/references/cache-reserve/configuration.md +169 -0
- package/skills/cloudflare-deploy/references/cache-reserve/gotchas.md +132 -0
- package/skills/cloudflare-deploy/references/cache-reserve/patterns.md +197 -0
- package/skills/cloudflare-deploy/references/containers/README.md +85 -0
- package/skills/cloudflare-deploy/references/containers/api.md +187 -0
- package/skills/cloudflare-deploy/references/containers/configuration.md +188 -0
- package/skills/cloudflare-deploy/references/containers/gotchas.md +178 -0
- package/skills/cloudflare-deploy/references/containers/patterns.md +202 -0
- package/skills/cloudflare-deploy/references/cron-triggers/README.md +99 -0
- package/skills/cloudflare-deploy/references/cron-triggers/api.md +196 -0
- package/skills/cloudflare-deploy/references/cron-triggers/configuration.md +180 -0
- package/skills/cloudflare-deploy/references/cron-triggers/gotchas.md +199 -0
- package/skills/cloudflare-deploy/references/cron-triggers/patterns.md +190 -0
- package/skills/cloudflare-deploy/references/d1/README.md +133 -0
- package/skills/cloudflare-deploy/references/d1/api.md +196 -0
- package/skills/cloudflare-deploy/references/d1/configuration.md +188 -0
- package/skills/cloudflare-deploy/references/d1/gotchas.md +98 -0
- package/skills/cloudflare-deploy/references/d1/patterns.md +189 -0
- package/skills/cloudflare-deploy/references/ddos/README.md +41 -0
- package/skills/cloudflare-deploy/references/ddos/api.md +164 -0
- package/skills/cloudflare-deploy/references/ddos/configuration.md +93 -0
- package/skills/cloudflare-deploy/references/ddos/gotchas.md +107 -0
- package/skills/cloudflare-deploy/references/ddos/patterns.md +174 -0
- package/skills/cloudflare-deploy/references/do-storage/README.md +75 -0
- package/skills/cloudflare-deploy/references/do-storage/api.md +102 -0
- package/skills/cloudflare-deploy/references/do-storage/configuration.md +112 -0
- package/skills/cloudflare-deploy/references/do-storage/gotchas.md +150 -0
- package/skills/cloudflare-deploy/references/do-storage/patterns.md +182 -0
- package/skills/cloudflare-deploy/references/do-storage/testing.md +183 -0
- package/skills/cloudflare-deploy/references/durable-objects/README.md +185 -0
- package/skills/cloudflare-deploy/references/durable-objects/api.md +187 -0
- package/skills/cloudflare-deploy/references/durable-objects/configuration.md +160 -0
- package/skills/cloudflare-deploy/references/durable-objects/gotchas.md +197 -0
- package/skills/cloudflare-deploy/references/durable-objects/patterns.md +201 -0
- package/skills/cloudflare-deploy/references/email-routing/README.md +89 -0
- package/skills/cloudflare-deploy/references/email-routing/api.md +195 -0
- package/skills/cloudflare-deploy/references/email-routing/configuration.md +186 -0
- package/skills/cloudflare-deploy/references/email-routing/gotchas.md +196 -0
- package/skills/cloudflare-deploy/references/email-routing/patterns.md +229 -0
- package/skills/cloudflare-deploy/references/email-workers/README.md +151 -0
- package/skills/cloudflare-deploy/references/email-workers/api.md +237 -0
- package/skills/cloudflare-deploy/references/email-workers/configuration.md +112 -0
- package/skills/cloudflare-deploy/references/email-workers/gotchas.md +125 -0
- package/skills/cloudflare-deploy/references/email-workers/patterns.md +102 -0
- package/skills/cloudflare-deploy/references/hyperdrive/README.md +82 -0
- package/skills/cloudflare-deploy/references/hyperdrive/api.md +143 -0
- package/skills/cloudflare-deploy/references/hyperdrive/configuration.md +159 -0
- package/skills/cloudflare-deploy/references/hyperdrive/gotchas.md +77 -0
- package/skills/cloudflare-deploy/references/hyperdrive/patterns.md +190 -0
- package/skills/cloudflare-deploy/references/images/README.md +61 -0
- package/skills/cloudflare-deploy/references/images/api.md +96 -0
- package/skills/cloudflare-deploy/references/images/configuration.md +211 -0
- package/skills/cloudflare-deploy/references/images/gotchas.md +99 -0
- package/skills/cloudflare-deploy/references/images/patterns.md +115 -0
- package/skills/cloudflare-deploy/references/kv/README.md +89 -0
- package/skills/cloudflare-deploy/references/kv/api.md +160 -0
- package/skills/cloudflare-deploy/references/kv/configuration.md +144 -0
- package/skills/cloudflare-deploy/references/kv/gotchas.md +131 -0
- package/skills/cloudflare-deploy/references/kv/patterns.md +196 -0
- package/skills/cloudflare-deploy/references/miniflare/README.md +105 -0
- package/skills/cloudflare-deploy/references/miniflare/api.md +187 -0
- package/skills/cloudflare-deploy/references/miniflare/configuration.md +173 -0
- package/skills/cloudflare-deploy/references/miniflare/gotchas.md +160 -0
- package/skills/cloudflare-deploy/references/miniflare/patterns.md +181 -0
- package/skills/cloudflare-deploy/references/network-interconnect/README.md +99 -0
- package/skills/cloudflare-deploy/references/network-interconnect/api.md +199 -0
- package/skills/cloudflare-deploy/references/network-interconnect/configuration.md +114 -0
- package/skills/cloudflare-deploy/references/network-interconnect/gotchas.md +165 -0
- package/skills/cloudflare-deploy/references/network-interconnect/patterns.md +166 -0
- package/skills/cloudflare-deploy/references/observability/README.md +87 -0
- package/skills/cloudflare-deploy/references/observability/api.md +164 -0
- package/skills/cloudflare-deploy/references/observability/configuration.md +169 -0
- package/skills/cloudflare-deploy/references/observability/gotchas.md +115 -0
- package/skills/cloudflare-deploy/references/observability/patterns.md +105 -0
- package/skills/cloudflare-deploy/references/pages/README.md +88 -0
- package/skills/cloudflare-deploy/references/pages/api.md +204 -0
- package/skills/cloudflare-deploy/references/pages/configuration.md +201 -0
- package/skills/cloudflare-deploy/references/pages/gotchas.md +203 -0
- package/skills/cloudflare-deploy/references/pages/patterns.md +204 -0
- package/skills/cloudflare-deploy/references/pages-functions/README.md +98 -0
- package/skills/cloudflare-deploy/references/pages-functions/api.md +143 -0
- package/skills/cloudflare-deploy/references/pages-functions/configuration.md +122 -0
- package/skills/cloudflare-deploy/references/pages-functions/gotchas.md +94 -0
- package/skills/cloudflare-deploy/references/pages-functions/patterns.md +137 -0
- package/skills/cloudflare-deploy/references/pipelines/README.md +105 -0
- package/skills/cloudflare-deploy/references/pipelines/api.md +208 -0
- package/skills/cloudflare-deploy/references/pipelines/configuration.md +98 -0
- package/skills/cloudflare-deploy/references/pipelines/gotchas.md +80 -0
- package/skills/cloudflare-deploy/references/pipelines/patterns.md +87 -0
- package/skills/cloudflare-deploy/references/pulumi/README.md +100 -0
- package/skills/cloudflare-deploy/references/pulumi/api.md +200 -0
- package/skills/cloudflare-deploy/references/pulumi/configuration.md +198 -0
- package/skills/cloudflare-deploy/references/pulumi/gotchas.md +181 -0
- package/skills/cloudflare-deploy/references/pulumi/patterns.md +191 -0
- package/skills/cloudflare-deploy/references/queues/README.md +96 -0
- package/skills/cloudflare-deploy/references/queues/api.md +206 -0
- package/skills/cloudflare-deploy/references/queues/configuration.md +144 -0
- package/skills/cloudflare-deploy/references/queues/gotchas.md +206 -0
- package/skills/cloudflare-deploy/references/queues/patterns.md +220 -0
- package/skills/cloudflare-deploy/references/r2/README.md +95 -0
- package/skills/cloudflare-deploy/references/r2/api.md +200 -0
- package/skills/cloudflare-deploy/references/r2/configuration.md +165 -0
- package/skills/cloudflare-deploy/references/r2/gotchas.md +190 -0
- package/skills/cloudflare-deploy/references/r2/patterns.md +193 -0
- package/skills/cloudflare-deploy/references/r2-data-catalog/README.md +149 -0
- package/skills/cloudflare-deploy/references/r2-data-catalog/api.md +199 -0
- package/skills/cloudflare-deploy/references/r2-data-catalog/configuration.md +198 -0
- package/skills/cloudflare-deploy/references/r2-data-catalog/gotchas.md +170 -0
- package/skills/cloudflare-deploy/references/r2-data-catalog/patterns.md +191 -0
- package/skills/cloudflare-deploy/references/r2-sql/README.md +128 -0
- package/skills/cloudflare-deploy/references/r2-sql/api.md +158 -0
- package/skills/cloudflare-deploy/references/r2-sql/configuration.md +147 -0
- package/skills/cloudflare-deploy/references/r2-sql/gotchas.md +212 -0
- package/skills/cloudflare-deploy/references/r2-sql/patterns.md +222 -0
- package/skills/cloudflare-deploy/references/realtime-sfu/README.md +65 -0
- package/skills/cloudflare-deploy/references/realtime-sfu/api.md +158 -0
- package/skills/cloudflare-deploy/references/realtime-sfu/configuration.md +137 -0
- package/skills/cloudflare-deploy/references/realtime-sfu/gotchas.md +133 -0
- package/skills/cloudflare-deploy/references/realtime-sfu/patterns.md +174 -0
- package/skills/cloudflare-deploy/references/realtimekit/README.md +113 -0
- package/skills/cloudflare-deploy/references/realtimekit/api.md +212 -0
- package/skills/cloudflare-deploy/references/realtimekit/configuration.md +203 -0
- package/skills/cloudflare-deploy/references/realtimekit/gotchas.md +169 -0
- package/skills/cloudflare-deploy/references/realtimekit/patterns.md +223 -0
- package/skills/cloudflare-deploy/references/sandbox/README.md +96 -0
- package/skills/cloudflare-deploy/references/sandbox/api.md +198 -0
- package/skills/cloudflare-deploy/references/sandbox/configuration.md +143 -0
- package/skills/cloudflare-deploy/references/sandbox/gotchas.md +194 -0
- package/skills/cloudflare-deploy/references/sandbox/patterns.md +201 -0
- package/skills/cloudflare-deploy/references/secrets-store/README.md +74 -0
- package/skills/cloudflare-deploy/references/secrets-store/api.md +200 -0
- package/skills/cloudflare-deploy/references/secrets-store/configuration.md +185 -0
- package/skills/cloudflare-deploy/references/secrets-store/gotchas.md +97 -0
- package/skills/cloudflare-deploy/references/secrets-store/patterns.md +207 -0
- package/skills/cloudflare-deploy/references/smart-placement/README.md +138 -0
- package/skills/cloudflare-deploy/references/smart-placement/api.md +183 -0
- package/skills/cloudflare-deploy/references/smart-placement/configuration.md +196 -0
- package/skills/cloudflare-deploy/references/smart-placement/gotchas.md +174 -0
- package/skills/cloudflare-deploy/references/smart-placement/patterns.md +183 -0
- package/skills/cloudflare-deploy/references/snippets/README.md +68 -0
- package/skills/cloudflare-deploy/references/snippets/api.md +198 -0
- package/skills/cloudflare-deploy/references/snippets/configuration.md +227 -0
- package/skills/cloudflare-deploy/references/snippets/gotchas.md +86 -0
- package/skills/cloudflare-deploy/references/snippets/patterns.md +135 -0
- package/skills/cloudflare-deploy/references/spectrum/README.md +52 -0
- package/skills/cloudflare-deploy/references/spectrum/api.md +181 -0
- package/skills/cloudflare-deploy/references/spectrum/configuration.md +194 -0
- package/skills/cloudflare-deploy/references/spectrum/gotchas.md +145 -0
- package/skills/cloudflare-deploy/references/spectrum/patterns.md +196 -0
- package/skills/cloudflare-deploy/references/static-assets/README.md +65 -0
- package/skills/cloudflare-deploy/references/static-assets/api.md +199 -0
- package/skills/cloudflare-deploy/references/static-assets/configuration.md +186 -0
- package/skills/cloudflare-deploy/references/static-assets/gotchas.md +162 -0
- package/skills/cloudflare-deploy/references/static-assets/patterns.md +189 -0
- package/skills/cloudflare-deploy/references/stream/README.md +114 -0
- package/skills/cloudflare-deploy/references/stream/api-live.md +195 -0
- package/skills/cloudflare-deploy/references/stream/api.md +199 -0
- package/skills/cloudflare-deploy/references/stream/configuration.md +141 -0
- package/skills/cloudflare-deploy/references/stream/gotchas.md +130 -0
- package/skills/cloudflare-deploy/references/stream/patterns.md +184 -0
- package/skills/cloudflare-deploy/references/tail-workers/README.md +89 -0
- package/skills/cloudflare-deploy/references/tail-workers/api.md +200 -0
- package/skills/cloudflare-deploy/references/tail-workers/configuration.md +176 -0
- package/skills/cloudflare-deploy/references/tail-workers/gotchas.md +192 -0
- package/skills/cloudflare-deploy/references/tail-workers/patterns.md +180 -0
- package/skills/cloudflare-deploy/references/terraform/README.md +102 -0
- package/skills/cloudflare-deploy/references/terraform/api.md +178 -0
- package/skills/cloudflare-deploy/references/terraform/configuration.md +197 -0
- package/skills/cloudflare-deploy/references/terraform/gotchas.md +150 -0
- package/skills/cloudflare-deploy/references/terraform/patterns.md +174 -0
- package/skills/cloudflare-deploy/references/tunnel/README.md +129 -0
- package/skills/cloudflare-deploy/references/tunnel/api.md +193 -0
- package/skills/cloudflare-deploy/references/tunnel/configuration.md +157 -0
- package/skills/cloudflare-deploy/references/tunnel/gotchas.md +147 -0
- package/skills/cloudflare-deploy/references/tunnel/networking.md +168 -0
- package/skills/cloudflare-deploy/references/tunnel/patterns.md +192 -0
- package/skills/cloudflare-deploy/references/turn/README.md +82 -0
- package/skills/cloudflare-deploy/references/turn/api.md +239 -0
- package/skills/cloudflare-deploy/references/turn/configuration.md +179 -0
- package/skills/cloudflare-deploy/references/turn/gotchas.md +231 -0
- package/skills/cloudflare-deploy/references/turn/patterns.md +213 -0
- package/skills/cloudflare-deploy/references/turnstile/README.md +99 -0
- package/skills/cloudflare-deploy/references/turnstile/api.md +240 -0
- package/skills/cloudflare-deploy/references/turnstile/configuration.md +222 -0
- package/skills/cloudflare-deploy/references/turnstile/gotchas.md +218 -0
- package/skills/cloudflare-deploy/references/turnstile/patterns.md +193 -0
- package/skills/cloudflare-deploy/references/vectorize/README.md +133 -0
- package/skills/cloudflare-deploy/references/vectorize/api.md +88 -0
- package/skills/cloudflare-deploy/references/vectorize/configuration.md +88 -0
- package/skills/cloudflare-deploy/references/vectorize/gotchas.md +76 -0
- package/skills/cloudflare-deploy/references/vectorize/patterns.md +90 -0
- package/skills/cloudflare-deploy/references/waf/README.md +113 -0
- package/skills/cloudflare-deploy/references/waf/api.md +202 -0
- package/skills/cloudflare-deploy/references/waf/configuration.md +203 -0
- package/skills/cloudflare-deploy/references/waf/gotchas.md +204 -0
- package/skills/cloudflare-deploy/references/waf/patterns.md +197 -0
- package/skills/cloudflare-deploy/references/web-analytics/README.md +140 -0
- package/skills/cloudflare-deploy/references/web-analytics/configuration.md +76 -0
- package/skills/cloudflare-deploy/references/web-analytics/gotchas.md +82 -0
- package/skills/cloudflare-deploy/references/web-analytics/integration.md +60 -0
- package/skills/cloudflare-deploy/references/web-analytics/patterns.md +91 -0
- package/skills/cloudflare-deploy/references/workerd/README.md +78 -0
- package/skills/cloudflare-deploy/references/workerd/api.md +185 -0
- package/skills/cloudflare-deploy/references/workerd/configuration.md +183 -0
- package/skills/cloudflare-deploy/references/workerd/gotchas.md +139 -0
- package/skills/cloudflare-deploy/references/workerd/patterns.md +192 -0
- package/skills/cloudflare-deploy/references/workers/README.md +108 -0
- package/skills/cloudflare-deploy/references/workers/api.md +195 -0
- package/skills/cloudflare-deploy/references/workers/configuration.md +185 -0
- package/skills/cloudflare-deploy/references/workers/frameworks.md +197 -0
- package/skills/cloudflare-deploy/references/workers/gotchas.md +136 -0
- package/skills/cloudflare-deploy/references/workers/patterns.md +198 -0
- package/skills/cloudflare-deploy/references/workers-ai/README.md +197 -0
- package/skills/cloudflare-deploy/references/workers-ai/api.md +112 -0
- package/skills/cloudflare-deploy/references/workers-ai/configuration.md +97 -0
- package/skills/cloudflare-deploy/references/workers-ai/gotchas.md +114 -0
- package/skills/cloudflare-deploy/references/workers-ai/patterns.md +120 -0
- package/skills/cloudflare-deploy/references/workers-for-platforms/README.md +89 -0
- package/skills/cloudflare-deploy/references/workers-for-platforms/api.md +196 -0
- package/skills/cloudflare-deploy/references/workers-for-platforms/configuration.md +167 -0
- package/skills/cloudflare-deploy/references/workers-for-platforms/gotchas.md +134 -0
- package/skills/cloudflare-deploy/references/workers-for-platforms/patterns.md +188 -0
- package/skills/cloudflare-deploy/references/workers-playground/README.md +127 -0
- package/skills/cloudflare-deploy/references/workers-playground/api.md +101 -0
- package/skills/cloudflare-deploy/references/workers-playground/configuration.md +163 -0
- package/skills/cloudflare-deploy/references/workers-playground/gotchas.md +88 -0
- package/skills/cloudflare-deploy/references/workers-playground/patterns.md +132 -0
- package/skills/cloudflare-deploy/references/workers-vpc/README.md +127 -0
- package/skills/cloudflare-deploy/references/workers-vpc/api.md +202 -0
- package/skills/cloudflare-deploy/references/workers-vpc/configuration.md +147 -0
- package/skills/cloudflare-deploy/references/workers-vpc/gotchas.md +167 -0
- package/skills/cloudflare-deploy/references/workers-vpc/patterns.md +209 -0
- package/skills/cloudflare-deploy/references/workflows/README.md +69 -0
- package/skills/cloudflare-deploy/references/workflows/api.md +185 -0
- package/skills/cloudflare-deploy/references/workflows/configuration.md +151 -0
- package/skills/cloudflare-deploy/references/workflows/gotchas.md +97 -0
- package/skills/cloudflare-deploy/references/workflows/patterns.md +175 -0
- package/skills/cloudflare-deploy/references/wrangler/README.md +141 -0
- package/skills/cloudflare-deploy/references/wrangler/api.md +188 -0
- package/skills/cloudflare-deploy/references/wrangler/auth.md +73 -0
- package/skills/cloudflare-deploy/references/wrangler/configuration.md +197 -0
- package/skills/cloudflare-deploy/references/wrangler/gotchas.md +197 -0
- package/skills/cloudflare-deploy/references/wrangler/patterns.md +209 -0
- package/skills/cloudflare-deploy/references/zaraz/IMPLEMENTATION_SUMMARY.md +121 -0
- package/skills/cloudflare-deploy/references/zaraz/README.md +111 -0
- package/skills/cloudflare-deploy/references/zaraz/api.md +112 -0
- package/skills/cloudflare-deploy/references/zaraz/configuration.md +90 -0
- package/skills/cloudflare-deploy/references/zaraz/gotchas.md +81 -0
- package/skills/cloudflare-deploy/references/zaraz/patterns.md +74 -0
- package/skills/collaboration/brainstorming/SKILL.md +75 -0
- package/skills/collaboration/dispatching-parallel-agents/SKILL.md +184 -0
- package/skills/collaboration/executing-plans/SKILL.md +78 -0
- package/skills/collaboration/finishing-a-development-branch/SKILL.md +202 -0
- package/skills/collaboration/phase-prompting/SKILL.md +292 -0
- package/skills/collaboration/receiving-code-review/SKILL.md +211 -0
- package/skills/collaboration/requesting-code-review/SKILL.md +107 -0
- package/skills/collaboration/requesting-code-review/code-reviewer.md +146 -0
- package/skills/collaboration/subagent-driven-development/SKILL.md +188 -0
- package/skills/collaboration/using-git-worktrees/SKILL.md +215 -0
- package/skills/collaboration/writing-plans/SKILL.md +118 -0
- package/skills/debugging/defense-in-depth/SKILL.md +130 -0
- package/skills/debugging/root-cause-tracing/SKILL.md +177 -0
- package/skills/debugging/root-cause-tracing/find-polluter.sh +63 -0
- package/skills/debugging/systematic-debugging/SKILL.md +295 -0
- package/skills/debugging/systematic-debugging/test-academic.md +14 -0
- package/skills/debugging/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/debugging/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/debugging/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/debugging/verification-before-completion/SKILL.md +142 -0
- package/skills/develop-web-game/LICENSE.txt +201 -0
- package/skills/develop-web-game/SKILL.md +149 -0
- package/skills/develop-web-game/agents/openai.yaml +6 -0
- package/skills/develop-web-game/assets/game-small.svg +4 -0
- package/skills/develop-web-game/assets/game.png +0 -0
- package/skills/develop-web-game/references/action_payloads.json +7 -0
- package/skills/develop-web-game/scripts/web_game_playwright_client.js +356 -0
- package/skills/doc/LICENSE.txt +201 -0
- package/skills/doc/SKILL.md +80 -0
- package/skills/doc/agents/openai.yaml +6 -0
- package/skills/doc/assets/doc-small.svg +3 -0
- package/skills/doc/assets/doc.png +0 -0
- package/skills/doc/scripts/render_docx.py +296 -0
- package/skills/figma/LICENSE.txt +202 -0
- package/skills/figma/SKILL.md +42 -0
- package/skills/figma/agents/openai.yaml +14 -0
- package/skills/figma/assets/figma-small.svg +3 -0
- package/skills/figma/assets/figma.png +0 -0
- package/skills/figma/assets/icon.svg +28 -0
- package/skills/figma/references/figma-mcp-config.md +35 -0
- package/skills/figma/references/figma-tools-and-prompts.md +34 -0
- package/skills/figma-implement-design/LICENSE.txt +202 -0
- package/skills/figma-implement-design/SKILL.md +264 -0
- package/skills/figma-implement-design/agents/openai.yaml +14 -0
- package/skills/figma-implement-design/assets/figma-small.svg +3 -0
- package/skills/figma-implement-design/assets/figma.png +0 -0
- package/skills/figma-implement-design/assets/icon.svg +28 -0
- package/skills/gh-address-comments/LICENSE.txt +202 -0
- package/skills/gh-address-comments/SKILL.md +25 -0
- package/skills/gh-address-comments/agents/openai.yaml +6 -0
- package/skills/gh-address-comments/assets/github-small.svg +3 -0
- package/skills/gh-address-comments/assets/github.png +0 -0
- package/skills/gh-address-comments/scripts/fetch_comments.py +237 -0
- package/skills/gh-fix-ci/LICENSE.txt +201 -0
- package/skills/gh-fix-ci/SKILL.md +69 -0
- package/skills/gh-fix-ci/agents/openai.yaml +6 -0
- package/skills/gh-fix-ci/assets/github-small.svg +3 -0
- package/skills/gh-fix-ci/assets/github.png +0 -0
- package/skills/gh-fix-ci/scripts/inspect_pr_checks.py +509 -0
- package/skills/goal-driven-project-loop/SKILL.md +217 -0
- package/skills/goal-driven-project-loop/references/goal-contract-template.md +42 -0
- package/skills/imagegen/LICENSE.txt +201 -0
- package/skills/imagegen/SKILL.md +174 -0
- package/skills/imagegen/agents/openai.yaml +6 -0
- package/skills/imagegen/assets/imagegen-small.svg +5 -0
- package/skills/imagegen/assets/imagegen.png +0 -0
- package/skills/imagegen/references/cli.md +132 -0
- package/skills/imagegen/references/codex-network.md +28 -0
- package/skills/imagegen/references/image-api.md +36 -0
- package/skills/imagegen/references/prompting.md +81 -0
- package/skills/imagegen/references/sample-prompts.md +384 -0
- package/skills/imagegen/scripts/image_gen.py +876 -0
- package/skills/jupyter-notebook/LICENSE.txt +201 -0
- package/skills/jupyter-notebook/SKILL.md +107 -0
- package/skills/jupyter-notebook/agents/openai.yaml +6 -0
- package/skills/jupyter-notebook/assets/experiment-template.ipynb +110 -0
- package/skills/jupyter-notebook/assets/jupyter-small.svg +3 -0
- package/skills/jupyter-notebook/assets/jupyter.png +0 -0
- package/skills/jupyter-notebook/assets/tutorial-template.ipynb +107 -0
- package/skills/jupyter-notebook/references/experiment-patterns.md +10 -0
- package/skills/jupyter-notebook/references/notebook-structure.md +17 -0
- package/skills/jupyter-notebook/references/quality-checklist.md +11 -0
- package/skills/jupyter-notebook/references/tutorial-patterns.md +9 -0
- package/skills/jupyter-notebook/scripts/new_notebook.py +130 -0
- package/skills/linear/LICENSE.txt +202 -0
- package/skills/linear/SKILL.md +87 -0
- package/skills/linear/agents/openai.yaml +14 -0
- package/skills/linear/assets/linear-small.svg +5 -0
- package/skills/linear/assets/linear.png +0 -0
- package/skills/netlify-deploy/LICENSE.txt +201 -0
- package/skills/netlify-deploy/SKILL.md +247 -0
- package/skills/netlify-deploy/agents/openai.yaml +6 -0
- package/skills/netlify-deploy/assets/netlify-small.svg +11 -0
- package/skills/netlify-deploy/assets/netlify.png +0 -0
- package/skills/netlify-deploy/references/cli-commands.md +162 -0
- package/skills/netlify-deploy/references/deployment-patterns.md +303 -0
- package/skills/netlify-deploy/references/netlify-toml.md +259 -0
- package/skills/notion-knowledge-capture/LICENSE.txt +7 -0
- package/skills/notion-knowledge-capture/SKILL.md +56 -0
- package/skills/notion-knowledge-capture/agents/openai.yaml +14 -0
- package/skills/notion-knowledge-capture/assets/notion-small.svg +11 -0
- package/skills/notion-knowledge-capture/assets/notion.png +0 -0
- package/skills/notion-knowledge-capture/evaluations/README.md +95 -0
- package/skills/notion-knowledge-capture/evaluations/conversation-to-wiki.json +31 -0
- package/skills/notion-knowledge-capture/evaluations/decision-record.json +31 -0
- package/skills/notion-knowledge-capture/examples/conversation-to-faq.md +226 -0
- package/skills/notion-knowledge-capture/examples/decision-capture.md +126 -0
- package/skills/notion-knowledge-capture/examples/how-to-guide.md +118 -0
- package/skills/notion-knowledge-capture/reference/database-best-practices.md +112 -0
- package/skills/notion-knowledge-capture/reference/decision-log-database.md +58 -0
- package/skills/notion-knowledge-capture/reference/documentation-database.md +93 -0
- package/skills/notion-knowledge-capture/reference/faq-database.md +57 -0
- package/skills/notion-knowledge-capture/reference/how-to-guide-database.md +38 -0
- package/skills/notion-knowledge-capture/reference/learning-database.md +35 -0
- package/skills/notion-knowledge-capture/reference/team-wiki-database.md +27 -0
- package/skills/notion-meeting-intelligence/LICENSE.txt +7 -0
- package/skills/notion-meeting-intelligence/SKILL.md +60 -0
- package/skills/notion-meeting-intelligence/agents/openai.yaml +14 -0
- package/skills/notion-meeting-intelligence/assets/notion-small.svg +11 -0
- package/skills/notion-meeting-intelligence/assets/notion.png +0 -0
- package/skills/notion-meeting-intelligence/evaluations/README.md +101 -0
- package/skills/notion-meeting-intelligence/evaluations/decision-meeting-prep.json +35 -0
- package/skills/notion-meeting-intelligence/evaluations/status-meeting-prep.json +35 -0
- package/skills/notion-meeting-intelligence/examples/customer-meeting.md +125 -0
- package/skills/notion-meeting-intelligence/examples/executive-review.md +78 -0
- package/skills/notion-meeting-intelligence/examples/project-decision.md +431 -0
- package/skills/notion-meeting-intelligence/examples/sprint-planning.md +80 -0
- package/skills/notion-meeting-intelligence/reference/brainstorming-template.md +81 -0
- package/skills/notion-meeting-intelligence/reference/decision-meeting-template.md +94 -0
- package/skills/notion-meeting-intelligence/reference/one-on-one-template.md +58 -0
- package/skills/notion-meeting-intelligence/reference/retrospective-template.md +58 -0
- package/skills/notion-meeting-intelligence/reference/sprint-planning-template.md +68 -0
- package/skills/notion-meeting-intelligence/reference/status-update-template.md +74 -0
- package/skills/notion-meeting-intelligence/reference/template-selection-guide.md +56 -0
- package/skills/notion-research-documentation/LICENSE.txt +7 -0
- package/skills/notion-research-documentation/SKILL.md +59 -0
- package/skills/notion-research-documentation/agents/openai.yaml +14 -0
- package/skills/notion-research-documentation/assets/notion-small.svg +11 -0
- package/skills/notion-research-documentation/assets/notion.png +0 -0
- package/skills/notion-research-documentation/evaluations/README.md +109 -0
- package/skills/notion-research-documentation/evaluations/basic-research.json +28 -0
- package/skills/notion-research-documentation/evaluations/research-to-database.json +29 -0
- package/skills/notion-research-documentation/examples/competitor-analysis.md +283 -0
- package/skills/notion-research-documentation/examples/market-research.md +62 -0
- package/skills/notion-research-documentation/examples/technical-investigation.md +233 -0
- package/skills/notion-research-documentation/examples/trip-planning.md +128 -0
- package/skills/notion-research-documentation/reference/advanced-search.md +212 -0
- package/skills/notion-research-documentation/reference/citations.md +190 -0
- package/skills/notion-research-documentation/reference/comparison-format.md +37 -0
- package/skills/notion-research-documentation/reference/comparison-template.md +44 -0
- package/skills/notion-research-documentation/reference/comprehensive-report-format.md +41 -0
- package/skills/notion-research-documentation/reference/comprehensive-report-template.md +64 -0
- package/skills/notion-research-documentation/reference/format-selection-guide.md +95 -0
- package/skills/notion-research-documentation/reference/quick-brief-format.md +37 -0
- package/skills/notion-research-documentation/reference/quick-brief-template.md +25 -0
- package/skills/notion-research-documentation/reference/research-summary-format.md +33 -0
- package/skills/notion-research-documentation/reference/research-summary-template.md +49 -0
- package/skills/notion-spec-to-implementation/LICENSE.txt +7 -0
- package/skills/notion-spec-to-implementation/SKILL.md +58 -0
- package/skills/notion-spec-to-implementation/agents/openai.yaml +14 -0
- package/skills/notion-spec-to-implementation/assets/notion-small.svg +11 -0
- package/skills/notion-spec-to-implementation/assets/notion.png +0 -0
- package/skills/notion-spec-to-implementation/evaluations/README.md +120 -0
- package/skills/notion-spec-to-implementation/evaluations/basic-spec-implementation.json +32 -0
- package/skills/notion-spec-to-implementation/evaluations/spec-to-tasks.json +35 -0
- package/skills/notion-spec-to-implementation/examples/api-feature.md +461 -0
- package/skills/notion-spec-to-implementation/examples/database-migration.md +81 -0
- package/skills/notion-spec-to-implementation/examples/ui-component.md +68 -0
- package/skills/notion-spec-to-implementation/reference/milestone-summary-template.md +27 -0
- package/skills/notion-spec-to-implementation/reference/progress-tracking.md +458 -0
- package/skills/notion-spec-to-implementation/reference/progress-update-template.md +25 -0
- package/skills/notion-spec-to-implementation/reference/quick-implementation-plan.md +26 -0
- package/skills/notion-spec-to-implementation/reference/spec-parsing.md +383 -0
- package/skills/notion-spec-to-implementation/reference/standard-implementation-plan.md +146 -0
- package/skills/notion-spec-to-implementation/reference/task-creation-template.md +34 -0
- package/skills/notion-spec-to-implementation/reference/task-creation.md +441 -0
- package/skills/openai-docs/LICENSE.txt +201 -0
- package/skills/openai-docs/SKILL.md +68 -0
- package/skills/openai-docs/agents/openai.yaml +14 -0
- package/skills/openai-docs/assets/openai-small.svg +3 -0
- package/skills/openai-docs/assets/openai.png +0 -0
- package/skills/openai-docs/references/gpt-5p4-prompting-guide.md +433 -0
- package/skills/openai-docs/references/latest-model.md +35 -0
- package/skills/openai-docs/references/upgrading-to-gpt-5p4.md +164 -0
- package/skills/pdf/LICENSE.txt +201 -0
- package/skills/pdf/SKILL.md +67 -0
- package/skills/pdf/agents/openai.yaml +5 -0
- package/skills/pdf/assets/pdf.png +0 -0
- package/skills/phase-prompting/SKILL.md +162 -0
- package/skills/playwright/LICENSE.txt +201 -0
- package/skills/playwright/NOTICE.txt +14 -0
- package/skills/playwright/SKILL.md +147 -0
- package/skills/playwright/agents/openai.yaml +6 -0
- package/skills/playwright/assets/playwright-small.svg +3 -0
- package/skills/playwright/assets/playwright.png +0 -0
- package/skills/playwright/references/cli.md +116 -0
- package/skills/playwright/references/workflows.md +95 -0
- package/skills/playwright/scripts/playwright_cli.sh +25 -0
- package/skills/playwright-interactive/LICENSE.txt +201 -0
- package/skills/playwright-interactive/NOTICE.txt +13 -0
- package/skills/playwright-interactive/SKILL.md +693 -0
- package/skills/playwright-interactive/agents/openai.yaml +6 -0
- package/skills/playwright-interactive/assets/playwright-small.svg +3 -0
- package/skills/playwright-interactive/assets/playwright.png +0 -0
- package/skills/problem-solving/ABOUT.md +40 -0
- package/skills/problem-solving/collision-zone-thinking/SKILL.md +62 -0
- package/skills/problem-solving/inversion-exercise/SKILL.md +58 -0
- package/skills/problem-solving/meta-pattern-recognition/SKILL.md +54 -0
- package/skills/problem-solving/scale-game/SKILL.md +63 -0
- package/skills/problem-solving/simplification-cascades/SKILL.md +76 -0
- package/skills/problem-solving/when-stuck/SKILL.md +88 -0
- package/skills/render-deploy/LICENSE.txt +201 -0
- package/skills/render-deploy/SKILL.md +479 -0
- package/skills/render-deploy/agents/openai.yaml +14 -0
- package/skills/render-deploy/assets/docker.yaml +62 -0
- package/skills/render-deploy/assets/go-api.yaml +35 -0
- package/skills/render-deploy/assets/nextjs-postgres.yaml +35 -0
- package/skills/render-deploy/assets/node-express.yaml +25 -0
- package/skills/render-deploy/assets/python-django.yaml +89 -0
- package/skills/render-deploy/assets/render-small.svg +3 -0
- package/skills/render-deploy/assets/render.png +0 -0
- package/skills/render-deploy/assets/static-site.yaml +54 -0
- package/skills/render-deploy/references/blueprint-spec.md +718 -0
- package/skills/render-deploy/references/codebase-analysis.md +49 -0
- package/skills/render-deploy/references/configuration-guide.md +603 -0
- package/skills/render-deploy/references/deployment-details.md +224 -0
- package/skills/render-deploy/references/direct-creation.md +113 -0
- package/skills/render-deploy/references/error-patterns.md +13 -0
- package/skills/render-deploy/references/post-deploy-checks.md +36 -0
- package/skills/render-deploy/references/runtimes.md +473 -0
- package/skills/render-deploy/references/service-types.md +450 -0
- package/skills/render-deploy/references/troubleshooting-basics.md +36 -0
- package/skills/research/ABOUT.md +20 -0
- package/skills/research/tracing-knowledge-lineages/SKILL.md +203 -0
- package/skills/round-prompting/SKILL.md +148 -0
- package/skills/screenshot/LICENSE.txt +201 -0
- package/skills/screenshot/SKILL.md +267 -0
- package/skills/screenshot/agents/openai.yaml +6 -0
- package/skills/screenshot/assets/screenshot-small.svg +5 -0
- package/skills/screenshot/assets/screenshot.png +0 -0
- package/skills/screenshot/scripts/ensure_macos_permissions.sh +54 -0
- package/skills/screenshot/scripts/macos_display_info.swift +22 -0
- package/skills/screenshot/scripts/macos_permissions.swift +40 -0
- package/skills/screenshot/scripts/macos_window_info.swift +126 -0
- package/skills/screenshot/scripts/take_screenshot.ps1 +163 -0
- package/skills/screenshot/scripts/take_screenshot.py +585 -0
- package/skills/security-best-practices/LICENSE.txt +201 -0
- package/skills/security-best-practices/SKILL.md +86 -0
- package/skills/security-best-practices/agents/openai.yaml +4 -0
- package/skills/security-best-practices/references/golang-general-backend-security.md +826 -0
- package/skills/security-best-practices/references/javascript-express-web-server-security.md +1158 -0
- package/skills/security-best-practices/references/javascript-general-web-frontend-security.md +747 -0
- package/skills/security-best-practices/references/javascript-jquery-web-frontend-security.md +678 -0
- package/skills/security-best-practices/references/javascript-typescript-nextjs-web-server-security.md +1144 -0
- package/skills/security-best-practices/references/javascript-typescript-react-web-frontend-security.md +990 -0
- package/skills/security-best-practices/references/javascript-typescript-vue-web-frontend-security.md +791 -0
- package/skills/security-best-practices/references/python-django-web-server-security.md +882 -0
- package/skills/security-best-practices/references/python-fastapi-web-server-security.md +1036 -0
- package/skills/security-best-practices/references/python-flask-web-server-security.md +705 -0
- package/skills/security-ownership-map/LICENSE.txt +201 -0
- package/skills/security-ownership-map/SKILL.md +206 -0
- package/skills/security-ownership-map/agents/openai.yaml +4 -0
- package/skills/security-ownership-map/references/neo4j-import.md +60 -0
- package/skills/security-ownership-map/scripts/build_ownership_map.py +956 -0
- package/skills/security-ownership-map/scripts/community_maintainers.py +544 -0
- package/skills/security-ownership-map/scripts/query_ownership.py +483 -0
- package/skills/security-ownership-map/scripts/run_ownership_map.py +200 -0
- package/skills/security-threat-model/LICENSE.txt +201 -0
- package/skills/security-threat-model/SKILL.md +81 -0
- package/skills/security-threat-model/agents/openai.yaml +4 -0
- package/skills/security-threat-model/references/prompt-template.md +255 -0
- package/skills/security-threat-model/references/security-controls-and-assets.md +32 -0
- package/skills/sentry/LICENSE.txt +201 -0
- package/skills/sentry/SKILL.md +123 -0
- package/skills/sentry/agents/openai.yaml +6 -0
- package/skills/sentry/assets/sentry-small.svg +3 -0
- package/skills/sentry/assets/sentry.png +0 -0
- package/skills/sentry/scripts/sentry_api.py +238 -0
- package/skills/slides/LICENSE.txt +201 -0
- package/skills/slides/SKILL.md +71 -0
- package/skills/slides/agents/openai.yaml +6 -0
- package/skills/slides/assets/pptxgenjs_helpers/code.js +104 -0
- package/skills/slides/assets/pptxgenjs_helpers/image.js +333 -0
- package/skills/slides/assets/pptxgenjs_helpers/index.js +33 -0
- package/skills/slides/assets/pptxgenjs_helpers/latex.js +51 -0
- package/skills/slides/assets/pptxgenjs_helpers/layout.js +643 -0
- package/skills/slides/assets/pptxgenjs_helpers/layout_builders.js +358 -0
- package/skills/slides/assets/pptxgenjs_helpers/svg.js +36 -0
- package/skills/slides/assets/pptxgenjs_helpers/text.js +789 -0
- package/skills/slides/assets/pptxgenjs_helpers/util.js +24 -0
- package/skills/slides/assets/slides-small.svg +3 -0
- package/skills/slides/assets/slides.png +0 -0
- package/skills/slides/references/pptxgenjs-helpers.md +61 -0
- package/skills/slides/scripts/create_montage.py +300 -0
- package/skills/slides/scripts/detect_font.py +873 -0
- package/skills/slides/scripts/ensure_raster_image.py +202 -0
- package/skills/slides/scripts/render_slides.py +273 -0
- package/skills/slides/scripts/slides_test.py +201 -0
- package/skills/sora/LICENSE.txt +201 -0
- package/skills/sora/SKILL.md +153 -0
- package/skills/sora/agents/openai.yaml +6 -0
- package/skills/sora/assets/sora-small.svg +4 -0
- package/skills/sora/assets/sora.png +0 -0
- package/skills/sora/references/cinematic-shots.md +53 -0
- package/skills/sora/references/cli.md +248 -0
- package/skills/sora/references/codex-network.md +28 -0
- package/skills/sora/references/prompting.md +137 -0
- package/skills/sora/references/sample-prompts.md +95 -0
- package/skills/sora/references/social-ads.md +42 -0
- package/skills/sora/references/troubleshooting.md +58 -0
- package/skills/sora/references/video-api.md +45 -0
- package/skills/sora/scripts/sora.py +970 -0
- package/skills/speech/LICENSE.txt +201 -0
- package/skills/speech/SKILL.md +144 -0
- package/skills/speech/agents/openai.yaml +6 -0
- package/skills/speech/assets/speech-small.svg +3 -0
- package/skills/speech/assets/speech.png +0 -0
- package/skills/speech/references/accessibility.md +32 -0
- package/skills/speech/references/audio-api.md +31 -0
- package/skills/speech/references/cli.md +99 -0
- package/skills/speech/references/codex-network.md +28 -0
- package/skills/speech/references/ivr.md +32 -0
- package/skills/speech/references/narration.md +31 -0
- package/skills/speech/references/prompting.md +38 -0
- package/skills/speech/references/sample-prompts.md +44 -0
- package/skills/speech/references/voice-directions.md +80 -0
- package/skills/speech/references/voiceover.md +31 -0
- package/skills/speech/scripts/text_to_speech.py +528 -0
- package/skills/spreadsheet/LICENSE.txt +201 -0
- package/skills/spreadsheet/SKILL.md +145 -0
- package/skills/spreadsheet/agents/openai.yaml +6 -0
- package/skills/spreadsheet/assets/spreadsheet-small.svg +3 -0
- package/skills/spreadsheet/assets/spreadsheet.png +0 -0
- package/skills/spreadsheet/references/examples/openpyxl/create_basic_spreadsheet.py +51 -0
- package/skills/spreadsheet/references/examples/openpyxl/create_spreadsheet_with_styling.py +96 -0
- package/skills/spreadsheet/references/examples/openpyxl/read_existing_spreadsheet.py +59 -0
- package/skills/spreadsheet/references/examples/openpyxl/styling_spreadsheet.py +79 -0
- package/skills/testing/condition-based-waiting/SKILL.md +123 -0
- package/skills/testing/condition-based-waiting/example.ts +158 -0
- package/skills/testing/test-driven-development/SKILL.md +367 -0
- package/skills/testing/testing-anti-patterns/SKILL.md +304 -0
- package/skills/transcribe/LICENSE.txt +201 -0
- package/skills/transcribe/SKILL.md +81 -0
- package/skills/transcribe/agents/openai.yaml +6 -0
- package/skills/transcribe/assets/transcribe-small.svg +3 -0
- package/skills/transcribe/assets/transcribe.png +0 -0
- package/skills/transcribe/references/api.md +8 -0
- package/skills/transcribe/scripts/transcribe_diarize.py +276 -0
- package/skills/using-skills/SKILL.md +102 -0
- package/skills/using-skills/find-skills +107 -0
- package/skills/using-skills/skill-run +44 -0
- package/skills/vercel-deploy/LICENSE.txt +21 -0
- package/skills/vercel-deploy/SKILL.md +77 -0
- package/skills/vercel-deploy/agents/openai.yaml +6 -0
- package/skills/vercel-deploy/assets/vercel-small.svg +5 -0
- package/skills/vercel-deploy/assets/vercel.png +0 -0
- package/skills/vercel-deploy/scripts/deploy.sh +301 -0
- package/skills/winui-app/LICENSE.txt +202 -0
- package/skills/winui-app/SKILL.md +94 -0
- package/skills/winui-app/agents/openai.yaml +5 -0
- package/skills/winui-app/assets/winui.png +0 -0
- package/skills/winui-app/config.yaml +50 -0
- package/skills/winui-app/references/_sections.md +96 -0
- package/skills/winui-app/references/accessibility-input-and-localization.md +51 -0
- package/skills/winui-app/references/build-run-and-launch-verification.md +72 -0
- package/skills/winui-app/references/community-toolkit-controls-and-helpers.md +57 -0
- package/skills/winui-app/references/controls-layout-and-adaptive-ui.md +84 -0
- package/skills/winui-app/references/foundation-environment-audit-and-remediation.md +82 -0
- package/skills/winui-app/references/foundation-setup-and-project-selection.md +67 -0
- package/skills/winui-app/references/foundation-template-first-recovery.md +62 -0
- package/skills/winui-app/references/foundation-winui-app-structure.md +62 -0
- package/skills/winui-app/references/motion-animations-and-polish.md +45 -0
- package/skills/winui-app/references/performance-diagnostics-and-responsiveness.md +46 -0
- package/skills/winui-app/references/sample-source-map.md +37 -0
- package/skills/winui-app/references/shell-navigation-and-windowing.md +67 -0
- package/skills/winui-app/references/styling-theming-materials-and-icons.md +71 -0
- package/skills/winui-app/references/testing-debugging-and-review-checklists.md +77 -0
- package/skills/winui-app/references/windows-app-sdk-lifecycle-notifications-and-deployment.md +52 -0
- package/skills/yeet/LICENSE.txt +201 -0
- package/skills/yeet/SKILL.md +28 -0
- package/skills/yeet/agents/openai.yaml +6 -0
- package/skills/yeet/assets/yeet-small.svg +3 -0
- package/skills/yeet/assets/yeet.png +0 -0
- package/dist/src/agents/definitions.d.ts +0 -16
- package/dist/src/agents/definitions.d.ts.map +0 -1
- package/dist/src/agents/definitions.js +0 -148
- package/dist/src/agents/definitions.js.map +0 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Reference Sections
|
|
2
|
+
|
|
3
|
+
Use this index to choose the narrowest reference file that fits the current task.
|
|
4
|
+
|
|
5
|
+
## 1. Foundations
|
|
6
|
+
|
|
7
|
+
- `foundation-setup-and-project-selection.md`
|
|
8
|
+
- Priority: CRITICAL
|
|
9
|
+
- Use for first-project setup, packaged vs unpackaged decisions, and core WinUI prerequisites.
|
|
10
|
+
- Authority: Microsoft Learn WinUI and Windows App SDK setup docs.
|
|
11
|
+
|
|
12
|
+
- `foundation-environment-audit-and-remediation.md`
|
|
13
|
+
- Priority: CRITICAL
|
|
14
|
+
- Use for machine readiness checks, missing prerequisites, and guided remediation.
|
|
15
|
+
- Authority: Microsoft Learn setup and system requirements docs, plus the bundled bootstrap workflow.
|
|
16
|
+
|
|
17
|
+
- `foundation-winui-app-structure.md`
|
|
18
|
+
- Priority: HIGH
|
|
19
|
+
- Use for solution layout, shell composition, resources, bindings, and C#-first project structure.
|
|
20
|
+
- Authority: WinUI Gallery source plus Learn XAML guidance.
|
|
21
|
+
|
|
22
|
+
- `foundation-template-first-recovery.md`
|
|
23
|
+
- Priority: CRITICAL
|
|
24
|
+
- Use for opaque `MSB3073`, `XamlCompiler.exe`, and startup failures that should be recovered by comparing against a fresh `dotnet new winui` scaffold instead of applying alternate baseline files.
|
|
25
|
+
- Authority: Learn packaged and unpackaged deployment guidance plus recurring template-first recovery patterns.
|
|
26
|
+
|
|
27
|
+
- `build-run-and-launch-verification.md`
|
|
28
|
+
- Priority: CRITICAL
|
|
29
|
+
- Use for build/run workflows, actual launch verification, startup crashes, and packaged-vs-unpackaged local execution choices.
|
|
30
|
+
- Authority: Learn setup and deployment guidance plus recurring WinUI troubleshooting patterns.
|
|
31
|
+
|
|
32
|
+
## 2. Shell, Navigation, and Windowing
|
|
33
|
+
|
|
34
|
+
- `shell-navigation-and-windowing.md`
|
|
35
|
+
- Priority: HIGH
|
|
36
|
+
- Use for `NavigationView`, page shells, title bars, `AppWindow`, and multi-window design.
|
|
37
|
+
- Authority: Learn design guidance, WinUI Gallery samples, Windows App SDK Windowing samples.
|
|
38
|
+
|
|
39
|
+
## 3. Controls, Layout, and Adaptive UI
|
|
40
|
+
|
|
41
|
+
- `controls-layout-and-adaptive-ui.md`
|
|
42
|
+
- Priority: HIGH
|
|
43
|
+
- Use for control selection, command surfaces, responsive layout, and page composition.
|
|
44
|
+
- Authority: Learn design guidance and WinUI Gallery control pages.
|
|
45
|
+
|
|
46
|
+
## 4. Styling, Theming, Materials, and Icons
|
|
47
|
+
|
|
48
|
+
- `styling-theming-materials-and-icons.md`
|
|
49
|
+
- Priority: HIGH
|
|
50
|
+
- Use for Fluent styling, theme resources, Mica, Acrylic, typography, and iconography.
|
|
51
|
+
- Authority: Learn design/material docs, WinUI Gallery backdrop samples, Windows App SDK Mica samples.
|
|
52
|
+
|
|
53
|
+
- `motion-animations-and-polish.md`
|
|
54
|
+
- Priority: MEDIUM
|
|
55
|
+
- Use for transitions, connected animation, subtle polish, and animation discipline.
|
|
56
|
+
- Authority: Learn motion guidance, WinUI Gallery transition samples, CommunityToolkit animations.
|
|
57
|
+
|
|
58
|
+
## 5. Accessibility, Input, and Localization
|
|
59
|
+
|
|
60
|
+
- `accessibility-input-and-localization.md`
|
|
61
|
+
- Priority: HIGH
|
|
62
|
+
- Use for keyboarding, Narrator, high contrast, automation properties, and localization concerns.
|
|
63
|
+
- Authority: Learn accessibility and globalization guidance, WinUI Gallery automation patterns.
|
|
64
|
+
|
|
65
|
+
## 6. Performance and Diagnostics
|
|
66
|
+
|
|
67
|
+
- `performance-diagnostics-and-responsiveness.md`
|
|
68
|
+
- Priority: HIGH
|
|
69
|
+
- Use for UI-thread responsiveness, large item collections, rendering cost, and diagnostic tooling.
|
|
70
|
+
- Authority: Learn WinUI performance docs and XAML frame analysis guidance.
|
|
71
|
+
|
|
72
|
+
## 7. Windows App SDK Scenarios
|
|
73
|
+
|
|
74
|
+
- `windows-app-sdk-lifecycle-notifications-and-deployment.md`
|
|
75
|
+
- Priority: HIGH
|
|
76
|
+
- Use for lifecycle, activation, notifications, packaged vs unpackaged deployment, and runtime initialization.
|
|
77
|
+
- Authority: Microsoft Learn Windows App SDK docs and WindowsAppSDK-Samples.
|
|
78
|
+
|
|
79
|
+
## 8. CommunityToolkit Extensions
|
|
80
|
+
|
|
81
|
+
- `community-toolkit-controls-and-helpers.md`
|
|
82
|
+
- Priority: MEDIUM
|
|
83
|
+
- Use when built-in WinUI controls are not enough and Toolkit packages might close the gap cleanly.
|
|
84
|
+
- Authority: CommunityToolkit/Windows packages and samples.
|
|
85
|
+
|
|
86
|
+
## 9. Testing, Debugging, and Review
|
|
87
|
+
|
|
88
|
+
- `testing-debugging-and-review-checklists.md`
|
|
89
|
+
- Priority: HIGH
|
|
90
|
+
- Use for final review passes, debugging workflows, and validation checklists.
|
|
91
|
+
- Authority: Learn tooling docs plus recurring WinUI review patterns.
|
|
92
|
+
|
|
93
|
+
- `sample-source-map.md`
|
|
94
|
+
- Priority: MEDIUM
|
|
95
|
+
- Use when you need to know which canonical repo or doc to inspect first for a given task.
|
|
96
|
+
- Authority: Curated map across Learn, WinUI Gallery, WindowsAppSDK-Samples, and CommunityToolkit.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Accessibility, Input, and Localization
|
|
3
|
+
priority: HIGH
|
|
4
|
+
tags: accessibility, keyboard, narrator, automation, localization, high-contrast
|
|
5
|
+
sources:
|
|
6
|
+
- https://learn.microsoft.com/windows/apps/design/accessibility/accessibility
|
|
7
|
+
- https://learn.microsoft.com/windows/apps/design/accessibility/keyboard-accessibility
|
|
8
|
+
- https://learn.microsoft.com/windows/apps/design/accessibility/high-contrast-themes
|
|
9
|
+
- https://learn.microsoft.com/windows/apps/design/globalizing/globalizing-portal
|
|
10
|
+
- https://github.com/microsoft/WinUI-Gallery
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## What This Reference Is For
|
|
14
|
+
|
|
15
|
+
Use this file for keyboard accessibility, Narrator support, automation properties, input parity, high contrast, and localization-ready UI.
|
|
16
|
+
|
|
17
|
+
## Prefer
|
|
18
|
+
|
|
19
|
+
- Accessible names, help text, and landmarks for meaningful UI elements.
|
|
20
|
+
- Full keyboard reachability for the main workflow.
|
|
21
|
+
- High-contrast-safe visuals.
|
|
22
|
+
- Localizable strings and layouts that tolerate growth.
|
|
23
|
+
- Equal support for mouse, touch, pen, and keyboard where the platform expects it.
|
|
24
|
+
|
|
25
|
+
## Avoid
|
|
26
|
+
|
|
27
|
+
- Icon-only interactions without accessible naming.
|
|
28
|
+
- Focus traps, hidden tab stops, or keyboard-only dead ends.
|
|
29
|
+
- Hard-coded strings in XAML or code-behind that block localization.
|
|
30
|
+
- Text layouts that collapse when strings expand.
|
|
31
|
+
|
|
32
|
+
## Guidance
|
|
33
|
+
|
|
34
|
+
- Use automation properties intentionally.
|
|
35
|
+
- Preserve visible focus and logical tab order.
|
|
36
|
+
- Verify context menus, flyouts, and dialogs by keyboard as well as mouse.
|
|
37
|
+
- Respect text scaling, contrast changes, and RTL where relevant.
|
|
38
|
+
- Keep touch targets and spacing usable on both mouse and touch hardware.
|
|
39
|
+
|
|
40
|
+
## WinUI Gallery Anchors
|
|
41
|
+
|
|
42
|
+
- Accessibility-related control samples
|
|
43
|
+
- Automation helper patterns in shell code
|
|
44
|
+
- Standard WinUI controls that already expose useful accessibility behavior
|
|
45
|
+
|
|
46
|
+
## Review Checklist
|
|
47
|
+
|
|
48
|
+
- Can a keyboard-only user complete the task?
|
|
49
|
+
- Does Narrator have enough information to describe the important UI?
|
|
50
|
+
- Does the experience stay legible in high contrast?
|
|
51
|
+
- Are strings and layout ready for localization and RTL growth?
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Build, Run, and Launch Verification
|
|
3
|
+
priority: CRITICAL
|
|
4
|
+
tags: build, run, launch, verification, packaged, unpackaged, debugging
|
|
5
|
+
sources:
|
|
6
|
+
- https://learn.microsoft.com/windows/apps/get-started/start-here
|
|
7
|
+
- https://learn.microsoft.com/windows/apps/windows-app-sdk/deploy-packaged-apps
|
|
8
|
+
- https://learn.microsoft.com/windows/apps/windows-app-sdk/deploy-unpackaged-apps
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## What This Reference Is For
|
|
12
|
+
|
|
13
|
+
Use this file when the task involves building, running, launch failures, startup crashes, or final verification that a WinUI app actually opens on the current machine.
|
|
14
|
+
|
|
15
|
+
## Required Workflow
|
|
16
|
+
|
|
17
|
+
1. Identify the real build target:
|
|
18
|
+
- solution or project file
|
|
19
|
+
- configuration
|
|
20
|
+
- platform
|
|
21
|
+
- packaged or unpackaged model
|
|
22
|
+
2. Build after each meaningful code edit and again at task completion.
|
|
23
|
+
3. Run the app after changes when feasible. Always do it when the user asked for it or when startup, navigation, resources, or packaging changed.
|
|
24
|
+
4. Use the launch path that matches the deployment model:
|
|
25
|
+
- packaged local dev: normally Visual Studio deploy or another package-aware flow
|
|
26
|
+
- unpackaged local dev: normally the built executable the user will actually run
|
|
27
|
+
5. Verify real launch with objective evidence such as:
|
|
28
|
+
- non-zero main window handle
|
|
29
|
+
- expected window title
|
|
30
|
+
- responsive process with visible shell
|
|
31
|
+
- no immediate startup exception or crash
|
|
32
|
+
6. After completing app work, including a first scaffold or a later build-and-fix cycle, leave a successfully verified final app instance running so the user can see that it worked unless they explicitly asked you not to.
|
|
33
|
+
7. If launch fails or verification is ambiguous, debug the failure before saying the app is ready.
|
|
34
|
+
|
|
35
|
+
## Packaged vs Unpackaged Rules
|
|
36
|
+
|
|
37
|
+
- Choose one model intentionally before wiring startup, persistence, and launch instructions.
|
|
38
|
+
- Packaged apps can rely on package identity and package-backed storage.
|
|
39
|
+
- Unpackaged apps must not assume package identity. Guard or replace APIs that require it.
|
|
40
|
+
- APIs such as `Windows.Storage.ApplicationData.Current` can fail in unpackaged runs even when the build succeeds.
|
|
41
|
+
- Do not mix packaged-only assumptions into an unpackaged startup path.
|
|
42
|
+
|
|
43
|
+
## Build and Launch Guidance
|
|
44
|
+
|
|
45
|
+
- Prefer explicit platform targets when WinUI output is sensitive to architecture defaults. If `AnyCPU` creates ambiguity, use `x64` for local verification.
|
|
46
|
+
- For unpackaged verification, prefer launching the built `.exe` from `bin\Debug\...\win-x64\` or the project-specific output path.
|
|
47
|
+
- After a successful final launch verification, do not immediately tear the app down just because verification succeeded; keep it open for the user unless it blocks the next required action.
|
|
48
|
+
- If `dotnet run` throws bootstrapper, deployment, or COM activation errors, treat that as a signal that the chosen launch path or packaging setup is wrong for the current app.
|
|
49
|
+
- Stop old app instances before rebuilding if they can lock output files.
|
|
50
|
+
|
|
51
|
+
## Debugging Startup Failures
|
|
52
|
+
|
|
53
|
+
- Separate environment problems from app-code startup crashes.
|
|
54
|
+
- If the app exits before showing a window, inspect the startup path first:
|
|
55
|
+
- `App.xaml`
|
|
56
|
+
- merged resource dictionaries
|
|
57
|
+
- converters
|
|
58
|
+
- `MainWindow`
|
|
59
|
+
- services used during startup
|
|
60
|
+
- For startup or manifest issues, compare the current app against a fresh `dotnet new winui` scaffold for the same packaging model before broader surgery.
|
|
61
|
+
- For opaque `MSB3073` and `XamlCompiler.exe` failures, simplify back toward the template-generated startup and shared-resource shape before making further structural changes.
|
|
62
|
+
- Restore complex startup pieces incrementally when the failure point is unclear. A minimal `App.xaml` plus minimal `MainWindow` is a valid isolation step.
|
|
63
|
+
- If the diagnostics look stale or inconsistent with the current files, run a clean build once before deeper surgery.
|
|
64
|
+
- Prefer restoring the last known-good template-based shared-resource state over moving styles inline as the long-term fix.
|
|
65
|
+
- When using unpackaged startup, review persistence, notifications, storage, and activation code for hidden package-identity assumptions.
|
|
66
|
+
|
|
67
|
+
## Exit Criteria
|
|
68
|
+
|
|
69
|
+
- Build succeeds from the intended local workflow.
|
|
70
|
+
- The app launches from the intended local workflow.
|
|
71
|
+
- A real top-level window or equivalent expected UI is confirmed.
|
|
72
|
+
- No unresolved startup exception remains.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: CommunityToolkit Controls and Helpers
|
|
3
|
+
priority: MEDIUM
|
|
4
|
+
tags: communitytoolkit, controls, helpers, animations, settingscontrols
|
|
5
|
+
sources:
|
|
6
|
+
- https://github.com/CommunityToolkit/Windows
|
|
7
|
+
- https://learn.microsoft.com/dotnet/communitytoolkit/windows/getting-started
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## What This Reference Is For
|
|
11
|
+
|
|
12
|
+
Use this file when deciding whether the Windows Community Toolkit should be added to a WinUI 3 app.
|
|
13
|
+
|
|
14
|
+
## Prefer
|
|
15
|
+
|
|
16
|
+
- Platform controls first.
|
|
17
|
+
- Targeted Toolkit package additions for clear gaps such as richer settings surfaces, segmented controls, or focused animation helpers.
|
|
18
|
+
- The smallest package set that solves the problem.
|
|
19
|
+
|
|
20
|
+
## Avoid
|
|
21
|
+
|
|
22
|
+
- Adding Toolkit packages because they look convenient without checking whether WinUI already covers the need.
|
|
23
|
+
- Pulling in multiple Toolkit packages for a minor visual difference.
|
|
24
|
+
- Hiding fundamental UX problems behind a new dependency.
|
|
25
|
+
|
|
26
|
+
## Good Candidate Areas
|
|
27
|
+
|
|
28
|
+
- `SettingsControls`
|
|
29
|
+
- useful for settings surfaces and cards
|
|
30
|
+
- `Segmented`
|
|
31
|
+
- useful when segmented selection is clearer than a tab or radio cluster
|
|
32
|
+
- `HeaderedControls`
|
|
33
|
+
- useful for labeled control groupings
|
|
34
|
+
- `Animations`
|
|
35
|
+
- useful when built-in transitions are not enough
|
|
36
|
+
- helpers and extensions
|
|
37
|
+
- useful when they reduce repetitive WinUI plumbing cleanly
|
|
38
|
+
|
|
39
|
+
## Package Guidance
|
|
40
|
+
|
|
41
|
+
- Prefer WinUI 3 compatible Toolkit packages.
|
|
42
|
+
- Add only what the app will actually use.
|
|
43
|
+
- Document why a Toolkit dependency was added and what built-in alternative was rejected.
|
|
44
|
+
|
|
45
|
+
## Sample and Source Anchors
|
|
46
|
+
|
|
47
|
+
- CommunityToolkit `components/SettingsControls`
|
|
48
|
+
- CommunityToolkit `components/Segmented`
|
|
49
|
+
- CommunityToolkit `components/HeaderedControls`
|
|
50
|
+
- Toolkit animations and helper packages
|
|
51
|
+
|
|
52
|
+
## Review Checklist
|
|
53
|
+
|
|
54
|
+
- Does built-in WinUI already solve the problem?
|
|
55
|
+
- Is the dependency narrowly scoped and justified?
|
|
56
|
+
- Does the new control match the rest of the app’s design language?
|
|
57
|
+
- Will the package meaningfully reduce custom code or improve UX?
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Controls, Layout, and Adaptive UI
|
|
3
|
+
priority: HIGH
|
|
4
|
+
tags: controls, layout, adaptive-ui, responsive, forms, lists
|
|
5
|
+
sources:
|
|
6
|
+
- https://learn.microsoft.com/windows/apps/design/layout/responsive-design
|
|
7
|
+
- https://learn.microsoft.com/windows/apps/design/basics/navigation-basics
|
|
8
|
+
- https://github.com/microsoft/WinUI-Gallery
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## What This Reference Is For
|
|
12
|
+
|
|
13
|
+
Use this file when choosing controls, composing pages, or making a WinUI layout adapt well to different window sizes and input modes.
|
|
14
|
+
|
|
15
|
+
## Prefer
|
|
16
|
+
|
|
17
|
+
- Built-in WinUI controls first.
|
|
18
|
+
- Native command surfaces such as `CommandBar` when the UI is grouping actions, toggles, and lightweight tool controls.
|
|
19
|
+
- Standard controls for common tasks: `TextBox`, `NumberBox`, `ComboBox`, `ListView`, `GridView`, `ContentDialog`, `InfoBar`, `TeachingTip`, `TabView`, `NavigationView`.
|
|
20
|
+
- Explicit scroll ownership for collection layouts. If the page already scrolls vertically, prefer giving a media shelf its own horizontal `ScrollViewer` and a simple horizontal panel.
|
|
21
|
+
- Responsive techniques such as reposition, resize, reflow, and show/hide.
|
|
22
|
+
- Layouts that remain usable when the window becomes narrow.
|
|
23
|
+
- A real phone-width plan when the app may be resized that far: fewer columns, reduced padding, simplified controls, and stacked content instead of compressed desktop rails.
|
|
24
|
+
|
|
25
|
+
## Avoid
|
|
26
|
+
|
|
27
|
+
- Replacing standard WinUI controls with custom controls just to change appearance.
|
|
28
|
+
- Building custom toolbar rows out of generic layout panels when a stock `CommandBar` would cover the grouping cleanly.
|
|
29
|
+
- Hard-coded sizes that only look correct at one window width.
|
|
30
|
+
- Dense desktop-only layouts that break touch or keyboard workflows.
|
|
31
|
+
- Adding extra controls for local filtering or sorting when live updates and a simpler layout would better match the workflow.
|
|
32
|
+
- Nesting a scroll-owning `GridView` inside an outer page `ScrollViewer` without deciding which control owns scrolling; this often produces a single vertical column or awkward scroll conflicts instead of a horizontal media shelf.
|
|
33
|
+
- Wrapping list sections or card groups in an extra `Border` when the section header, spacing, and child surfaces already establish grouping.
|
|
34
|
+
|
|
35
|
+
## Control Selection Guidance
|
|
36
|
+
|
|
37
|
+
- Forms and settings:
|
|
38
|
+
- Prefer native controls first; add Toolkit settings controls only if the experience clearly benefits.
|
|
39
|
+
- Command surfaces:
|
|
40
|
+
- Prefer `CommandBar` for grouped document, formatting, view, and page-level actions before composing a custom bar from `Grid`, `StackPanel`, `Border`, and loose buttons.
|
|
41
|
+
- Prefer the `CommandBar` overflow model for secondary actions before splitting the command surface into multiple custom rows.
|
|
42
|
+
- Fall back to a custom command layout only when a verified `CommandBar` limitation, an explicit product design requirement, or unusual content composition makes the native surface a poor fit.
|
|
43
|
+
- Large collections:
|
|
44
|
+
- Prefer controls with virtualization-friendly behavior.
|
|
45
|
+
- Use `GridView` when it owns the collection surface and its scrolling behavior is part of the intended experience.
|
|
46
|
+
- For poster rails or other horizontal shelves inside a vertically scrolling page, prefer a horizontal `ScrollViewer` containing an `ItemsControl` or `ItemsRepeater` with a horizontal panel instead of a nested `GridView`.
|
|
47
|
+
- Consider `ItemsRepeater` when the layout is custom and performance matters.
|
|
48
|
+
- Search and filtering:
|
|
49
|
+
- Prefer a single search field with live updates for local or otherwise inexpensive filtering.
|
|
50
|
+
- Add explicit apply, refresh, or mode-selection controls only when the underlying operation is expensive, remote, asynchronous, or semantically different.
|
|
51
|
+
- Dialogs and transient guidance:
|
|
52
|
+
- Use `ContentDialog` for modal decisions.
|
|
53
|
+
- Use `InfoBar` for persistent status.
|
|
54
|
+
- Use `TeachingTip` for contextual onboarding.
|
|
55
|
+
|
|
56
|
+
## Adaptive Layout Guidance
|
|
57
|
+
|
|
58
|
+
- Design with effective pixels, not fixed device assumptions.
|
|
59
|
+
- Make the smallest supported layout fully usable.
|
|
60
|
+
- Add density or multi-column views only when width allows.
|
|
61
|
+
- Use visual states, adaptive triggers, or layout state changes intentionally.
|
|
62
|
+
- Keep commands and primary content reachable after resize.
|
|
63
|
+
- Verify collection orientation and scrolling behavior at runtime. A shelf that looks horizontal in XAML can still render as a vertical stack once nested scroll regions are involved.
|
|
64
|
+
- When simplifying a dense section, remove redundant outer surfaces before adding more adaptive layout rules; fewer layers usually adapt more cleanly across breakpoints.
|
|
65
|
+
- Define breakpoint intent explicitly. Typical questions: when does a shelf become a stacked list, when does a footer drop nonessential controls, and when does the page stop behaving like a desktop canvas and become a single-column phone layout?
|
|
66
|
+
- Simplify as width shrinks. Prefer dropping secondary controls or moving them behind shell affordances over preserving every control at every breakpoint.
|
|
67
|
+
- When a page contains desktop-oriented horizontal shelves, add a phone-width alternative that stacks items vertically instead of relying on clipped rails and horizontal scrolling everywhere.
|
|
68
|
+
|
|
69
|
+
## WinUI Gallery Anchors
|
|
70
|
+
|
|
71
|
+
- Control pages for built-in WinUI control usage
|
|
72
|
+
- Gallery home and shell pages for adaptive layout ideas
|
|
73
|
+
- Sample pages for title bar and system backdrop interactions with content layout
|
|
74
|
+
|
|
75
|
+
## Review Checklist
|
|
76
|
+
|
|
77
|
+
- Did you choose the simplest built-in control that fits?
|
|
78
|
+
- Are search and filter controls no more complex than the data flow requires?
|
|
79
|
+
- Does the page remain usable when narrow?
|
|
80
|
+
- Can keyboard, mouse, and touch all reach the same core actions?
|
|
81
|
+
- Are spacing and hierarchy consistent across breakpoints?
|
|
82
|
+
- If the page mixes page scrolling with collection scrolling, is it obvious which control owns vertical scrolling and which one, if any, owns horizontal shelf scrolling?
|
|
83
|
+
- Are section containers doing real layout or surface work, or are some outer borders now redundant?
|
|
84
|
+
- At phone width, does the page read as a coherent single-column flow instead of a squeezed desktop layout?
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Environment Audit and Remediation
|
|
3
|
+
priority: CRITICAL
|
|
4
|
+
tags: setup, audit, install, dotnet, visual-studio, windows-sdk, developer-mode
|
|
5
|
+
sources:
|
|
6
|
+
- https://learn.microsoft.com/windows/apps/get-started/start-here
|
|
7
|
+
- https://learn.microsoft.com/windows/apps/windows-app-sdk/system-requirements
|
|
8
|
+
- https://learn.microsoft.com/windows/apps/get-started/developer-mode-features-and-debugging
|
|
9
|
+
- https://learn.microsoft.com/dotnet/core/install/windows
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## What This Reference Is For
|
|
13
|
+
|
|
14
|
+
Use this file for machine-readiness checks, build failures caused by missing tools, and any request to install WinUI prerequisites.
|
|
15
|
+
|
|
16
|
+
## Required Workflow
|
|
17
|
+
|
|
18
|
+
1. Use the setup-and-scaffold flow in [../SKILL.md](../SKILL.md) for environment readiness, remediation, and initial verification.
|
|
19
|
+
2. If the user asked only for an audit and not for setup, explain that the bundled bootstrap may change the machine and get confirmation before running it.
|
|
20
|
+
3. If the user declines machine changes, run a manual non-mutating audit instead and summarize the result under four headings:
|
|
21
|
+
- present
|
|
22
|
+
- missing
|
|
23
|
+
- uncertain
|
|
24
|
+
- recommended optional tools
|
|
25
|
+
4. Manual non-mutating audit coverage should focus on:
|
|
26
|
+
- OS version and build floor
|
|
27
|
+
- Developer Mode state when relevant to the task
|
|
28
|
+
- `dotnet --list-sdks`
|
|
29
|
+
- `dotnet new list winui`
|
|
30
|
+
- Visual Studio presence and edition
|
|
31
|
+
- Windows SDK presence
|
|
32
|
+
- MSBuild availability for XAML compilation
|
|
33
|
+
5. If prerequisites are still missing after the bundled setup flow, stop and report the blocker clearly instead of inventing alternate install recipes.
|
|
34
|
+
|
|
35
|
+
## Required vs Optional
|
|
36
|
+
|
|
37
|
+
Required for normal C# WinUI 3 development:
|
|
38
|
+
|
|
39
|
+
- Supported Windows build
|
|
40
|
+
- Visual Studio with WinUI C# support
|
|
41
|
+
- Windows SDK 10.0.19041.0 or later
|
|
42
|
+
- MSBuild available for XAML compilation
|
|
43
|
+
- .NET SDK 6 or later
|
|
44
|
+
|
|
45
|
+
Usually optional, but often recommended:
|
|
46
|
+
|
|
47
|
+
- Developer Mode for local deploy and debug
|
|
48
|
+
- WinGet for one-command remediation
|
|
49
|
+
- Visual Studio debugging features such as Hot Reload and Live Visual Tree
|
|
50
|
+
|
|
51
|
+
## Prefer
|
|
52
|
+
|
|
53
|
+
- The setup-and-scaffold flow in `SKILL.md` over ad hoc manual checks or duplicated setup instructions in this reference.
|
|
54
|
+
- A short manual audit only when the user wants a non-mutating readiness check.
|
|
55
|
+
|
|
56
|
+
## Avoid
|
|
57
|
+
|
|
58
|
+
- Rewriting or paraphrasing the bundled setup workflow here when `SKILL.md` already covers the user's goal.
|
|
59
|
+
- Marking workload detection as present when the bootstrap or manual audit leaves uncertainty.
|
|
60
|
+
- Branching into custom per-component install steps unless the user explicitly asks for them.
|
|
61
|
+
- Treating Developer Mode as a hard requirement for every task.
|
|
62
|
+
|
|
63
|
+
## Remediation Strategy
|
|
64
|
+
|
|
65
|
+
- Missing any required WinUI prerequisite:
|
|
66
|
+
- Use the setup-and-scaffold flow in `SKILL.md` after confirmation when the request is audit-only.
|
|
67
|
+
- The bundled setup flow reports a partial failure but the toolchain appears usable:
|
|
68
|
+
- Note the partial failure and continue when the user's task can proceed.
|
|
69
|
+
- The bundled setup flow fails and prerequisites still appear to be missing:
|
|
70
|
+
- Use the manual audit checks above for detail if needed, then stop and report the blocker clearly.
|
|
71
|
+
- Windows build unsupported:
|
|
72
|
+
- Upgrade Windows first. The WinUI bootstrap command does not replace the OS requirement.
|
|
73
|
+
- Developer Mode disabled:
|
|
74
|
+
- Explain whether the current task needs it.
|
|
75
|
+
- If it does, prefer the bundled setup flow or let the user enable it manually.
|
|
76
|
+
|
|
77
|
+
## Review Checklist
|
|
78
|
+
|
|
79
|
+
- Was the setup-and-scaffold flow in `SKILL.md` used before advice was given?
|
|
80
|
+
- Are missing items clearly separated from uncertain signals?
|
|
81
|
+
- Is the remediation plan the minimum needed for the user's goal?
|
|
82
|
+
- Was post-install verification handled by the bundled setup flow or by a clearly justified fallback?
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Setup and Project Selection
|
|
3
|
+
priority: CRITICAL
|
|
4
|
+
tags: setup, prerequisites, packaged, unpackaged, visual-studio, dotnet
|
|
5
|
+
sources:
|
|
6
|
+
- https://learn.microsoft.com/windows/apps/get-started/start-here
|
|
7
|
+
- https://learn.microsoft.com/windows/apps/winui/winui3/
|
|
8
|
+
- https://learn.microsoft.com/windows/apps/windows-app-sdk/
|
|
9
|
+
- https://learn.microsoft.com/windows/apps/windows-app-sdk/system-requirements
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## What This Reference Is For
|
|
13
|
+
|
|
14
|
+
Use this file when the user is starting from scratch, choosing a project template, or asking what a WinUI machine needs before code work begins.
|
|
15
|
+
|
|
16
|
+
## Prefer
|
|
17
|
+
|
|
18
|
+
- The setup-and-scaffold flow in [../SKILL.md](../SKILL.md) for prerequisite setup, template verification, and the first scaffold.
|
|
19
|
+
- A C# WinUI 3 desktop app on the Windows App SDK unless the user has a clear reason to prefer C++ or an existing non-WinUI stack.
|
|
20
|
+
- Official project templates and default packaging choices first.
|
|
21
|
+
- The current supported LTS .NET SDK for new C# work instead of only meeting the bare minimum.
|
|
22
|
+
- A packaged app by default for the smoothest first-project, deployment, and Store-compatible path.
|
|
23
|
+
- An unpackaged app when the user explicitly needs repeatable CLI build-and-run verification or direct executable launches as the normal local workflow.
|
|
24
|
+
|
|
25
|
+
## Avoid
|
|
26
|
+
|
|
27
|
+
- Starting project setup before the setup-and-scaffold flow in this skill has finished.
|
|
28
|
+
- Starting with unpackaged deployment unless the user needs repeatable CLI launch, an installer, existing desktop app integration, or a deliberate runtime strategy.
|
|
29
|
+
- Giving machine-readiness advice without verification.
|
|
30
|
+
- Treating old Windows builds, missing SDKs, or partial Visual Studio installs as "probably fine."
|
|
31
|
+
- Deferring the packaging choice until after startup, storage, and launch code are already written.
|
|
32
|
+
|
|
33
|
+
## Setup Baseline
|
|
34
|
+
|
|
35
|
+
- Use the setup-and-scaffold flow in [../SKILL.md](../SKILL.md) for prerequisite setup, template verification, and the first scaffold.
|
|
36
|
+
- Treat [../config.yaml](../config.yaml) as the bundled WinGet bootstrap source for setup and remediation.
|
|
37
|
+
- Return to this reference only after that workflow completes or when the task moves beyond initial project creation.
|
|
38
|
+
- Windows 10 version 1809 (build 17763) or later is the floor.
|
|
39
|
+
- Windows SDK 10.0.19041.0 or later is the practical baseline.
|
|
40
|
+
- Visual Studio with the WinUI application development workload is the supported primary IDE path.
|
|
41
|
+
- For C# apps, a supported .NET SDK must be installed.
|
|
42
|
+
- Developer Mode matters for common local deploy and debug flows.
|
|
43
|
+
|
|
44
|
+
## Project Selection Guidance
|
|
45
|
+
|
|
46
|
+
- Choose packaged when the user wants the default WinUI 3 path, easy local F5 workflows, or Store-friendly deployment. Keep the scaffold at its default unless the user explicitly asks for unpackaged behavior.
|
|
47
|
+
- Choose packaged when the app needs package identity or package-backed APIs during normal operation.
|
|
48
|
+
- Choose unpackaged when the user expects direct `.exe` launches, agent-driven local verification after each change, or integration with an existing installer or external location. Request that option through the setup flow instead of converting the initial project afterward.
|
|
49
|
+
- For either packaging model, scaffold first through the setup flow in `SKILL.md` and continue from the generated project instead of copying in prebuilt baseline files.
|
|
50
|
+
- If startup or shared resources later become suspect, create a fresh comparison app with the same packaging model and diff against that `dotnet new winui` output before broader restructuring.
|
|
51
|
+
- Once the model is chosen, keep startup and service code consistent with that model.
|
|
52
|
+
- Choose the standard blank app template first, then layer in navigation, title bar, or windowing patterns as the app matures.
|
|
53
|
+
|
|
54
|
+
## Sample and Source Anchors
|
|
55
|
+
|
|
56
|
+
- Learn `start-here.md` for the current official setup path.
|
|
57
|
+
- Learn `winui/winui3/index.md` for the framework position and platform benefits.
|
|
58
|
+
- Learn `windows-app-sdk/index.md` for the Windows App SDK feature surface.
|
|
59
|
+
- Learn `system-requirements.md` for tool and OS baselines.
|
|
60
|
+
|
|
61
|
+
## Review Checklist
|
|
62
|
+
|
|
63
|
+
- Is the machine baseline actually verified through the setup-and-scaffold flow in `SKILL.md`?
|
|
64
|
+
- Is the chosen packaging model intentional?
|
|
65
|
+
- Does the launch workflow match the chosen packaging model?
|
|
66
|
+
- Is the app still rooted in the standard WinUI template unless there is a real reason not to?
|
|
67
|
+
- Is the recommendation aligned with a C#-first WinUI 3 workflow?
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Template-First Recovery for Startup and XAML Failures
|
|
3
|
+
priority: CRITICAL
|
|
4
|
+
tags: template, recovery, xaml-compiler, msb3073, startup
|
|
5
|
+
sources:
|
|
6
|
+
- https://learn.microsoft.com/windows/apps/get-started/start-here
|
|
7
|
+
- https://learn.microsoft.com/windows/apps/windows-app-sdk/deploy-packaged-apps
|
|
8
|
+
- https://learn.microsoft.com/windows/apps/windows-app-sdk/deploy-unpackaged-apps
|
|
9
|
+
- https://github.com/microsoft/WinUI-Gallery
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## What This Reference Is For
|
|
13
|
+
|
|
14
|
+
Use this file when a new app should stay close to the `dotnet new winui` scaffold, or when opaque `MSB3073`, `XamlCompiler.exe`, and startup failures make it unclear whether the problem is in app code, shared resources, or the surrounding project structure.
|
|
15
|
+
|
|
16
|
+
## Prefer
|
|
17
|
+
|
|
18
|
+
- Scaffold with the standard `dotnet new winui` template first and keep the generated project file, manifests, assets, and startup shape unless the task explicitly requires broader changes.
|
|
19
|
+
- Match any comparison scaffold to the app's actual packaging model.
|
|
20
|
+
- Keep `App.xaml` minimal while isolating startup problems.
|
|
21
|
+
- Prefer explicit `new Window()` and avoid `Window.Current` when customizing WinUI 3 startup.
|
|
22
|
+
- Reintroduce shell, resources, bindings, and services incrementally after a clean build and launch.
|
|
23
|
+
|
|
24
|
+
## Avoid
|
|
25
|
+
|
|
26
|
+
- Swapping in alternate baseline files or helper scripts as the first recovery move.
|
|
27
|
+
- Replacing the template-generated `.csproj` or manifests during initial isolation.
|
|
28
|
+
- Flattening all styles into page-local markup as the permanent fix for opaque compiler failures.
|
|
29
|
+
- Treating `MSB3073` as proof that the most recently edited XAML line is the only fault.
|
|
30
|
+
|
|
31
|
+
## Template-First Recovery Loop
|
|
32
|
+
|
|
33
|
+
1. Confirm the intended packaging model and launch path.
|
|
34
|
+
2. If the current startup shape is unclear, scaffold a temporary comparison app with the same packaging choice. Example:
|
|
35
|
+
- `dotnet new winui -n RecoveryReference -o RecoveryReference --use-slnx false --no-solution-file false`
|
|
36
|
+
- Add `--unpackaged true` when the target app is unpackaged.
|
|
37
|
+
3. Diff only the startup and shared-resource areas against that comparison scaffold:
|
|
38
|
+
- `App.xaml`
|
|
39
|
+
- `App.xaml.cs`
|
|
40
|
+
- `MainWindow.xaml` / `MainWindow.xaml.cs` or the app's actual shell entry point
|
|
41
|
+
- merged resource dictionaries
|
|
42
|
+
- startup-related project properties
|
|
43
|
+
4. Revert the suspect area toward the template-generated shape until the app builds cleanly again.
|
|
44
|
+
5. Build explicitly for a concrete architecture. Example:
|
|
45
|
+
- `dotnet build MyApp.sln -c Debug -p:Platform=x64`
|
|
46
|
+
6. Launch using the correct packaged or unpackaged path and confirm objective startup signals.
|
|
47
|
+
7. Reapply custom changes in small slices, building and running after each meaningful edit.
|
|
48
|
+
|
|
49
|
+
## Common Recovery Checks
|
|
50
|
+
|
|
51
|
+
- Confirm `Window.Current` is not used in WinUI 3 startup code.
|
|
52
|
+
- Confirm `x:Class`, namespaces, and code-behind names still match.
|
|
53
|
+
- Confirm merged resource dictionaries load cleanly before adding more layers.
|
|
54
|
+
- Confirm project content items still match any local data or asset files the app expects at runtime.
|
|
55
|
+
- Run one clean build if diagnostics appear stale.
|
|
56
|
+
|
|
57
|
+
## Exit Criteria
|
|
58
|
+
|
|
59
|
+
- The current app is still rooted in the generated `dotnet new winui` scaffold rather than an alternate baseline shell.
|
|
60
|
+
- Build succeeds from the intended local workflow.
|
|
61
|
+
- The app launches from the intended local workflow.
|
|
62
|
+
- A real top-level window or equivalent expected UI is confirmed.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: WinUI App Structure
|
|
3
|
+
priority: HIGH
|
|
4
|
+
tags: app-structure, xaml, resources, pages, bindings, csharp
|
|
5
|
+
sources:
|
|
6
|
+
- https://github.com/microsoft/WinUI-Gallery
|
|
7
|
+
- https://learn.microsoft.com/windows/apps/winui/
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## What This Reference Is For
|
|
11
|
+
|
|
12
|
+
Use this file when structuring a WinUI 3 app, reviewing project layout, or deciding where shell, pages, controls, resources, and view models should live.
|
|
13
|
+
|
|
14
|
+
## Prefer
|
|
15
|
+
|
|
16
|
+
- A clear C#-first folder split such as `Pages`, `Controls`, `ViewModels`, `Services`, `Styles`, and `Assets`.
|
|
17
|
+
- `App.xaml` and shared resource dictionaries for app-wide theme resources and styles.
|
|
18
|
+
- A single main shell window that owns navigation and common chrome.
|
|
19
|
+
- Native command surfaces such as `CommandBar` for grouped window or page actions before inventing a custom toolbar composition.
|
|
20
|
+
- Strongly typed `x:Bind` where it improves compile-time safety and performance.
|
|
21
|
+
|
|
22
|
+
## Avoid
|
|
23
|
+
|
|
24
|
+
- Putting shell logic, page logic, and resource definitions into one large window file.
|
|
25
|
+
- Scattering theme brushes and styles across many page-local dictionaries.
|
|
26
|
+
- Introducing MVVM ceremony that the project will not actually maintain.
|
|
27
|
+
|
|
28
|
+
## Recommended Shape
|
|
29
|
+
|
|
30
|
+
- `App.xaml` / `App.xaml.cs`
|
|
31
|
+
- global resources, startup, window creation, app-level exceptions
|
|
32
|
+
- `MainWindow.xaml` / `MainWindow.xaml.cs`
|
|
33
|
+
- shell, title bar, top-level navigation host
|
|
34
|
+
- `Pages/`
|
|
35
|
+
- page views and page-specific logic
|
|
36
|
+
- `Controls/`
|
|
37
|
+
- reusable WinUI user controls
|
|
38
|
+
- `ViewModels/`
|
|
39
|
+
- state and commands when the app benefits from separation
|
|
40
|
+
- `Styles/`
|
|
41
|
+
- resource dictionaries, theme tokens, shared control styles
|
|
42
|
+
- `Helpers/` or `Services/`
|
|
43
|
+
- windowing, navigation, persistence, OS integration helpers
|
|
44
|
+
|
|
45
|
+
## Binding Guidance
|
|
46
|
+
|
|
47
|
+
- Prefer `x:Bind` for page-local properties, event handlers, and strongly typed view model access.
|
|
48
|
+
- Use `Binding` where the data context is dynamic or a template must stay flexible.
|
|
49
|
+
- Avoid binding patterns that depend on unclear page lifetime or implicit data contexts.
|
|
50
|
+
|
|
51
|
+
## WinUI Gallery Anchors
|
|
52
|
+
|
|
53
|
+
- `App.xaml.cs` shows app-level startup and integration points.
|
|
54
|
+
- `MainWindow.xaml` shows shell composition, title bar usage, and search integration.
|
|
55
|
+
- `Pages/` and `Samples/` show how Microsoft organizes pages, helpers, and styles in a real WinUI companion app.
|
|
56
|
+
|
|
57
|
+
## Review Checklist
|
|
58
|
+
|
|
59
|
+
- Are app resources centralized?
|
|
60
|
+
- Is shell logic separated from content pages?
|
|
61
|
+
- Are bindings explicit and maintainable?
|
|
62
|
+
- Is the structure consistent with the scale of the app?
|