agent-skill-kit 3.9.135
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/.agent/global.d.ts +80 -0
- package/.agent/rules/GEMINI.md +210 -0
- package/.agent/rules/autopilot.md +287 -0
- package/.agent/rules/code-rules.md +227 -0
- package/.agent/scripts/audit_workflows.ts +23 -0
- package/.agent/scripts/auto_preview.ts +170 -0
- package/.agent/scripts/checklist.ts +180 -0
- package/.agent/scripts/compile-agents.ts +237 -0
- package/.agent/scripts/fix_skills.ts +49 -0
- package/.agent/scripts/session_manager.ts +222 -0
- package/.agent/scripts/skill-audit.ts +255 -0
- package/.agent/scripts/sync_workflows.ts +54 -0
- package/.agent/scripts/utils/colors.ts +58 -0
- package/.agent/scripts/utils/process-manager.ts +131 -0
- package/.agent/scripts/utils/reporter.ts +192 -0
- package/.agent/scripts/utils/runner.ts +128 -0
- package/.agent/scripts/verify_all.ts +243 -0
- package/.agent/scripts/version-sync.ts +256 -0
- package/.agent/skills/SKILL_INDEX.md +129 -0
- package/.agent/skills/agent-browser/AGENTS.md +728 -0
- package/.agent/skills/agent-browser/SKILL.md +193 -0
- package/.agent/skills/agent-browser/rules/_sections.md +15 -0
- package/.agent/skills/agent-browser/rules/_template.md +32 -0
- package/.agent/skills/agent-browser/rules/engineering-spec.md +528 -0
- package/.agent/skills/agent-browser/scripts/browser_cli.ts +52 -0
- package/.agent/skills/agent-browser/scripts/session_manager.ts +166 -0
- package/.agent/skills/ai-artist/AGENTS.md +1082 -0
- package/.agent/skills/ai-artist/SKILL.md +186 -0
- package/.agent/skills/ai-artist/rules/_sections.md +30 -0
- package/.agent/skills/ai-artist/rules/_template.md +32 -0
- package/.agent/skills/ai-artist/rules/domain-code.md +118 -0
- package/.agent/skills/ai-artist/rules/domain-marketing.md +105 -0
- package/.agent/skills/ai-artist/rules/engineering-spec.md +519 -0
- package/.agent/skills/ai-artist/rules/image-prompts.md +195 -0
- package/.agent/skills/ai-artist/rules/model-syntax.md +115 -0
- package/.agent/skills/ai-artist/scripts/prompt_compiler.ts +72 -0
- package/.agent/skills/ai-artist/templates/image-core.txt +1 -0
- package/.agent/skills/ai-artist/templates/llm-core.txt +6 -0
- package/.agent/skills/api-architect/AGENTS.md +1896 -0
- package/.agent/skills/api-architect/SKILL.md +173 -0
- package/.agent/skills/api-architect/rules/_sections.md +35 -0
- package/.agent/skills/api-architect/rules/_template.md +32 -0
- package/.agent/skills/api-architect/rules/api-style.md +115 -0
- package/.agent/skills/api-architect/rules/auth.md +134 -0
- package/.agent/skills/api-architect/rules/documentation.md +131 -0
- package/.agent/skills/api-architect/rules/engineering-spec.md +505 -0
- package/.agent/skills/api-architect/rules/graphql.md +154 -0
- package/.agent/skills/api-architect/rules/rate-limiting.md +76 -0
- package/.agent/skills/api-architect/rules/response.md +138 -0
- package/.agent/skills/api-architect/rules/rest.md +113 -0
- package/.agent/skills/api-architect/rules/security-testing.md +146 -0
- package/.agent/skills/api-architect/rules/trpc.md +129 -0
- package/.agent/skills/api-architect/rules/versioning.md +100 -0
- package/.agent/skills/api-architect/scripts/api_validator.ts +413 -0
- package/.agent/skills/auth-patterns/AGENTS.md +1830 -0
- package/.agent/skills/auth-patterns/SKILL.md +163 -0
- package/.agent/skills/auth-patterns/rules/_sections.md +30 -0
- package/.agent/skills/auth-patterns/rules/_template.md +32 -0
- package/.agent/skills/auth-patterns/rules/engineering-spec.md +515 -0
- package/.agent/skills/auth-patterns/rules/jwt-deep.md +196 -0
- package/.agent/skills/auth-patterns/rules/mfa.md +174 -0
- package/.agent/skills/auth-patterns/rules/oauth2.md +134 -0
- package/.agent/skills/auth-patterns/rules/passkey.md +243 -0
- package/.agent/skills/auth-patterns/rules/rbac-abac.md +206 -0
- package/.agent/skills/auth-patterns/rules/session.md +183 -0
- package/.agent/skills/auth-patterns/scripts/auth_validator.ts +121 -0
- package/.agent/skills/chrome-devtools/AGENTS.md +952 -0
- package/.agent/skills/chrome-devtools/SKILL.md +160 -0
- package/.agent/skills/chrome-devtools/rules/_sections.md +25 -0
- package/.agent/skills/chrome-devtools/rules/_template.md +32 -0
- package/.agent/skills/chrome-devtools/rules/aria-snapshot.md +95 -0
- package/.agent/skills/chrome-devtools/rules/engineering-spec.md +510 -0
- package/.agent/skills/chrome-devtools/rules/scripts-guide.md +174 -0
- package/.agent/skills/chrome-devtools/scripts/aria-snapshot.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/click.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/console.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/core_cli.ts +79 -0
- package/.agent/skills/chrome-devtools/scripts/evaluate.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/fill.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/navigate.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/network.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/performance.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/screenshot.ts +3 -0
- package/.agent/skills/chrome-devtools/scripts/select-ref.ts +3 -0
- package/.agent/skills/cicd-pipeline/AGENTS.md +809 -0
- package/.agent/skills/cicd-pipeline/SKILL.md +164 -0
- package/.agent/skills/cicd-pipeline/rules/_sections.md +15 -0
- package/.agent/skills/cicd-pipeline/rules/_template.md +32 -0
- package/.agent/skills/cicd-pipeline/rules/engineering-spec.md +477 -0
- package/.agent/skills/cicd-pipeline/scripts/flag-manager.ts +253 -0
- package/.agent/skills/cicd-pipeline/scripts/pipeline_validator.ts +133 -0
- package/.agent/skills/code-constitution/AGENTS.md +597 -0
- package/.agent/skills/code-constitution/CHANGELOG.md +216 -0
- package/.agent/skills/code-constitution/SKILL.md +191 -0
- package/.agent/skills/code-constitution/VERSION +3 -0
- package/.agent/skills/code-constitution/examples/violation-backend-mutation/after.tsx +59 -0
- package/.agent/skills/code-constitution/examples/violation-backend-mutation/before.tsx +42 -0
- package/.agent/skills/code-constitution/examples/violation-backend-mutation/explanation.md +91 -0
- package/.agent/skills/code-constitution/examples/violation-chart-injection/after.tsx +99 -0
- package/.agent/skills/code-constitution/examples/violation-chart-injection/before.tsx +57 -0
- package/.agent/skills/code-constitution/examples/violation-chart-injection/explanation.md +120 -0
- package/.agent/skills/code-constitution/knowledge/lessons-learned.yaml +3 -0
- package/.agent/skills/code-constitution/metadata/precedence.yaml +117 -0
- package/.agent/skills/code-constitution/metadata/scope-map.yaml +156 -0
- package/.agent/skills/code-constitution/proposals/v1.1-change-proposal-template.md +201 -0
- package/.agent/skills/code-constitution/resources/AUTHORITY_MODEL.md +115 -0
- package/.agent/skills/code-constitution/resources/ENFORCEMENT_GUIDE.md +246 -0
- package/.agent/skills/code-constitution/resources/LOAD_ORDER.md +86 -0
- package/.agent/skills/code-constitution/rules/_sections.md +15 -0
- package/.agent/skills/code-constitution/rules/_template.md +32 -0
- package/.agent/skills/code-constitution/rules/constitution/master-constitution.md +210 -0
- package/.agent/skills/code-constitution/rules/doctrines/architecture/architecture-doctrine.md +188 -0
- package/.agent/skills/code-constitution/rules/doctrines/backend/backend-data-engine-doctrine.md +218 -0
- package/.agent/skills/code-constitution/rules/doctrines/commercial/commercial-guardrails-doctrine.md +196 -0
- package/.agent/skills/code-constitution/rules/doctrines/data/data-integrity-doctrine.md +202 -0
- package/.agent/skills/code-constitution/rules/doctrines/frontend/frontend-mobile-doctrine.md +169 -0
- package/.agent/skills/code-constitution/rules/doctrines/frontend/interaction-patterns-doctrine.md +176 -0
- package/.agent/skills/code-constitution/rules/doctrines/learning/learning-engine-doctrine.md +192 -0
- package/.agent/skills/code-constitution/rules/doctrines/performance/performance-doctrine.md +180 -0
- package/.agent/skills/code-constitution/rules/doctrines/review/code-review-doctrine.md +174 -0
- package/.agent/skills/code-constitution/rules/enforcement/agents/agent-enforcement-protocol.md +218 -0
- package/.agent/skills/code-constitution/rules/enforcement/agents/agent-system-prompt.md +196 -0
- package/.agent/skills/code-constitution/rules/enforcement/checklists/backend-api-review-checklist.md +131 -0
- package/.agent/skills/code-constitution/rules/enforcement/checklists/chart-component-review-checklist.md +147 -0
- package/.agent/skills/code-constitution/rules/enforcement/checklists/frontend-review-checklist.md +194 -0
- package/.agent/skills/code-constitution/rules/enforcement/playbooks/doctrine-violation-playbook.md +236 -0
- package/.agent/skills/code-constitution/rules/engineering-spec.md +561 -0
- package/.agent/skills/code-constitution/scripts/audit_pr.ts +219 -0
- package/.agent/skills/code-constitution/scripts/check_boundaries.ts +134 -0
- package/.agent/skills/code-constitution/scripts/learn.ts +202 -0
- package/.agent/skills/code-constitution/scripts/validate_doctrine.ts +287 -0
- package/.agent/skills/code-craft/AGENTS.md +803 -0
- package/.agent/skills/code-craft/SKILL.md +170 -0
- package/.agent/skills/code-craft/rules/_sections.md +20 -0
- package/.agent/skills/code-craft/rules/_template.md +32 -0
- package/.agent/skills/code-craft/rules/engineering-spec.md +447 -0
- package/.agent/skills/code-craft/rules/verification-scripts.md +83 -0
- package/.agent/skills/code-craft/scripts/code_quality_checker.ts +193 -0
- package/.agent/skills/code-review/AGENTS.md +1664 -0
- package/.agent/skills/code-review/SKILL.md +152 -0
- package/.agent/skills/code-review/rules/_sections.md +15 -0
- package/.agent/skills/code-review/rules/_template.md +32 -0
- package/.agent/skills/code-review/rules/engineering-spec.md +466 -0
- package/.agent/skills/code-review/scripts/lint_runner.ts +213 -0
- package/.agent/skills/code-review/scripts/type_coverage.ts +118 -0
- package/.agent/skills/context-engineering/AGENTS.md +499 -0
- package/.agent/skills/context-engineering/SKILL.md +147 -0
- package/.agent/skills/context-engineering/rules/_sections.md +15 -0
- package/.agent/skills/context-engineering/rules/_template.md +32 -0
- package/.agent/skills/context-engineering/rules/engineering-spec.md +463 -0
- package/.agent/skills/context-engineering/scripts/context_analyzer.ts +127 -0
- package/.agent/skills/copywriting/AGENTS.md +501 -0
- package/.agent/skills/copywriting/SKILL.md +188 -0
- package/.agent/skills/copywriting/rules/_sections.md +15 -0
- package/.agent/skills/copywriting/rules/_template.md +32 -0
- package/.agent/skills/copywriting/rules/engineering-spec.md +465 -0
- package/.agent/skills/copywriting/scripts/copy_validator.ts +185 -0
- package/.agent/skills/data-modeler/AGENTS.md +814 -0
- package/.agent/skills/data-modeler/SKILL.md +195 -0
- package/.agent/skills/data-modeler/rules/_sections.md +15 -0
- package/.agent/skills/data-modeler/rules/_template.md +32 -0
- package/.agent/skills/data-modeler/rules/database-selection.md +124 -0
- package/.agent/skills/data-modeler/rules/engineering-spec.md +479 -0
- package/.agent/skills/data-modeler/rules/indexing.md +166 -0
- package/.agent/skills/data-modeler/rules/migrations.md +176 -0
- package/.agent/skills/data-modeler/rules/optimization.md +161 -0
- package/.agent/skills/data-modeler/rules/orm-selection.md +155 -0
- package/.agent/skills/data-modeler/rules/schema-design.md +162 -0
- package/.agent/skills/data-modeler/scripts/schema_validator.ts +357 -0
- package/.agent/skills/debug-pro/AGENTS.md +798 -0
- package/.agent/skills/debug-pro/SKILL.md +193 -0
- package/.agent/skills/debug-pro/defense-in-depth/SKILL.md +148 -0
- package/.agent/skills/debug-pro/root-cause-tracing/SKILL.md +196 -0
- package/.agent/skills/debug-pro/root-cause-tracing/find-polluter.sh +63 -0
- package/.agent/skills/debug-pro/rules/_sections.md +15 -0
- package/.agent/skills/debug-pro/rules/_template.md +32 -0
- package/.agent/skills/debug-pro/rules/engineering-spec.md +491 -0
- package/.agent/skills/debug-pro/scripts/debug_verifier.ts +148 -0
- package/.agent/skills/debug-pro/verification-before-completion/SKILL.md +160 -0
- package/.agent/skills/design-system/AGENTS.md +4216 -0
- package/.agent/skills/design-system/SKILL.md +186 -0
- package/.agent/skills/design-system/rules/_sections.md +65 -0
- package/.agent/skills/design-system/rules/_template.md +32 -0
- package/.agent/skills/design-system/rules/animation-guide.md +355 -0
- package/.agent/skills/design-system/rules/color-system.md +335 -0
- package/.agent/skills/design-system/rules/color-systems.md +133 -0
- package/.agent/skills/design-system/rules/decision-trees.md +442 -0
- package/.agent/skills/design-system/rules/design-extraction.md +152 -0
- package/.agent/skills/design-system/rules/engineering-spec.md +484 -0
- package/.agent/skills/design-system/rules/motion-design.md +161 -0
- package/.agent/skills/design-system/rules/motion-graphics.md +330 -0
- package/.agent/skills/design-system/rules/spatial-composition.md +184 -0
- package/.agent/skills/design-system/rules/typography-system.md +369 -0
- package/.agent/skills/design-system/rules/typography.md +124 -0
- package/.agent/skills/design-system/rules/ux-psychology.md +565 -0
- package/.agent/skills/design-system/rules/visual-effects.md +407 -0
- package/.agent/skills/design-system/scripts/accessibility_checker.ts +292 -0
- package/.agent/skills/design-system/scripts/ux_audit.ts +356 -0
- package/.agent/skills/doc-templates/AGENTS.md +820 -0
- package/.agent/skills/doc-templates/SKILL.md +260 -0
- package/.agent/skills/doc-templates/rules/_sections.md +20 -0
- package/.agent/skills/doc-templates/rules/_template.md +32 -0
- package/.agent/skills/doc-templates/rules/doc.md +355 -0
- package/.agent/skills/doc-templates/rules/engineering-spec.md +422 -0
- package/.agent/skills/doc-templates/scripts/editor-server.ts +162 -0
- package/.agent/skills/doc-templates/scripts/inject_otel.ts +22 -0
- package/.agent/skills/doc-templates/scripts/kanban-server.ts +171 -0
- package/.agent/skills/doc-templates/scripts/markdown-server.ts +185 -0
- package/.agent/skills/e2e-automation/AGENTS.md +882 -0
- package/.agent/skills/e2e-automation/SKILL.md +175 -0
- package/.agent/skills/e2e-automation/rules/_sections.md +20 -0
- package/.agent/skills/e2e-automation/rules/_template.md +32 -0
- package/.agent/skills/e2e-automation/rules/aria-snapshot.md +185 -0
- package/.agent/skills/e2e-automation/rules/engineering-spec.md +501 -0
- package/.agent/skills/e2e-automation/scripts/playwright_runner.ts +208 -0
- package/.agent/skills/execution-reporter/AGENTS.md +419 -0
- package/.agent/skills/execution-reporter/SKILL.md +152 -0
- package/.agent/skills/execution-reporter/rules/_sections.md +15 -0
- package/.agent/skills/execution-reporter/rules/_template.md +32 -0
- package/.agent/skills/execution-reporter/rules/engineering-spec.md +389 -0
- package/.agent/skills/game-development/2d-games/SKILL.md +140 -0
- package/.agent/skills/game-development/3d-games/SKILL.md +156 -0
- package/.agent/skills/game-development/AGENTS.md +783 -0
- package/.agent/skills/game-development/SKILL.md +178 -0
- package/.agent/skills/game-development/game-art/SKILL.md +207 -0
- package/.agent/skills/game-development/game-audio/SKILL.md +211 -0
- package/.agent/skills/game-development/game-design/SKILL.md +151 -0
- package/.agent/skills/game-development/mobile-games/SKILL.md +130 -0
- package/.agent/skills/game-development/multiplayer/SKILL.md +154 -0
- package/.agent/skills/game-development/pc-games/SKILL.md +167 -0
- package/.agent/skills/game-development/rules/_sections.md +15 -0
- package/.agent/skills/game-development/rules/_template.md +32 -0
- package/.agent/skills/game-development/rules/engineering-spec.md +480 -0
- package/.agent/skills/game-development/vr-ar/SKILL.md +144 -0
- package/.agent/skills/game-development/web-games/SKILL.md +173 -0
- package/.agent/skills/git-workflow/AGENTS.md +554 -0
- package/.agent/skills/git-workflow/SKILL.md +181 -0
- package/.agent/skills/git-workflow/rules/_sections.md +15 -0
- package/.agent/skills/git-workflow/rules/_template.md +32 -0
- package/.agent/skills/git-workflow/rules/engineering-spec.md +518 -0
- package/.agent/skills/gitops/AGENTS.md +921 -0
- package/.agent/skills/gitops/SKILL.md +163 -0
- package/.agent/skills/gitops/rules/_sections.md +25 -0
- package/.agent/skills/gitops/rules/_template.md +32 -0
- package/.agent/skills/gitops/rules/argocd-setup.md +148 -0
- package/.agent/skills/gitops/rules/engineering-spec.md +450 -0
- package/.agent/skills/gitops/rules/sync-policies.md +145 -0
- package/.agent/skills/google-adk-python/AGENTS.md +1054 -0
- package/.agent/skills/google-adk-python/SKILL.md +168 -0
- package/.agent/skills/google-adk-python/rules/_sections.md +25 -0
- package/.agent/skills/google-adk-python/rules/_template.md +32 -0
- package/.agent/skills/google-adk-python/rules/deployment.md +138 -0
- package/.agent/skills/google-adk-python/rules/engineering-spec.md +451 -0
- package/.agent/skills/google-adk-python/rules/multi-agent.md +146 -0
- package/.agent/skills/google-adk-python/rules/tools.md +131 -0
- package/.agent/skills/idea-storm/AGENTS.md +995 -0
- package/.agent/skills/idea-storm/SKILL.md +160 -0
- package/.agent/skills/idea-storm/rules/_sections.md +25 -0
- package/.agent/skills/idea-storm/rules/_template.md +32 -0
- package/.agent/skills/idea-storm/rules/architecture-debate.md +122 -0
- package/.agent/skills/idea-storm/rules/dynamic-questioning.md +374 -0
- package/.agent/skills/idea-storm/rules/engineering-spec.md +466 -0
- package/.agent/skills/knowledge-compiler/SKILL.md +320 -0
- package/.agent/skills/knowledge-graph/AGENTS.md +762 -0
- package/.agent/skills/knowledge-graph/SKILL.md +157 -0
- package/.agent/skills/knowledge-graph/rules/_sections.md +15 -0
- package/.agent/skills/knowledge-graph/rules/_template.md +32 -0
- package/.agent/skills/knowledge-graph/rules/engineering-spec.md +439 -0
- package/.agent/skills/knowledge-linter/SKILL.md +217 -0
- package/.agent/skills/lifecycle-orchestrator/AGENTS.md +989 -0
- package/.agent/skills/lifecycle-orchestrator/SKILL.md +169 -0
- package/.agent/skills/lifecycle-orchestrator/rules/_sections.md +15 -0
- package/.agent/skills/lifecycle-orchestrator/rules/_template.md +32 -0
- package/.agent/skills/lifecycle-orchestrator/rules/engineering-spec.md +525 -0
- package/.agent/skills/lifecycle-orchestrator/scripts/state_manager.ts +189 -0
- package/.agent/skills/mcp-builder/AGENTS.md +1653 -0
- package/.agent/skills/mcp-builder/SKILL.md +166 -0
- package/.agent/skills/mcp-builder/rules/_sections.md +40 -0
- package/.agent/skills/mcp-builder/rules/_template.md +32 -0
- package/.agent/skills/mcp-builder/rules/best-practices.md +157 -0
- package/.agent/skills/mcp-builder/rules/design-principles.md +105 -0
- package/.agent/skills/mcp-builder/rules/engineering-spec.md +473 -0
- package/.agent/skills/mcp-builder/rules/evaluation.md +103 -0
- package/.agent/skills/mcp-builder/rules/python-implementation.md +249 -0
- package/.agent/skills/mcp-builder/rules/quickstart.md +111 -0
- package/.agent/skills/mcp-builder/rules/typescript-implementation.md +280 -0
- package/.agent/skills/mcp-management/AGENTS.md +837 -0
- package/.agent/skills/mcp-management/SKILL.md +164 -0
- package/.agent/skills/mcp-management/rules/_sections.md +25 -0
- package/.agent/skills/mcp-management/rules/_template.md +32 -0
- package/.agent/skills/mcp-management/rules/cli-usage.md +146 -0
- package/.agent/skills/mcp-management/rules/engineering-spec.md +501 -0
- package/.agent/skills/mcp-management/rules/protocol.md +159 -0
- package/.agent/skills/media-processing/AGENTS.md +479 -0
- package/.agent/skills/media-processing/SKILL.md +176 -0
- package/.agent/skills/media-processing/rules/_sections.md +15 -0
- package/.agent/skills/media-processing/rules/_template.md +32 -0
- package/.agent/skills/media-processing/rules/engineering-spec.md +452 -0
- package/.agent/skills/media-processing/scripts/convert-video.ts +155 -0
- package/.agent/skills/media-processing/scripts/optimize-image.ts +127 -0
- package/.agent/skills/mobile-design/AGENTS.md +6531 -0
- package/.agent/skills/mobile-design/SKILL.md +165 -0
- package/.agent/skills/mobile-design/rules/_sections.md +45 -0
- package/.agent/skills/mobile-design/rules/_template.md +32 -0
- package/.agent/skills/mobile-design/rules/decision-trees.md +540 -0
- package/.agent/skills/mobile-design/rules/engineering-spec.md +467 -0
- package/.agent/skills/mobile-design/rules/mobile-backend.md +516 -0
- package/.agent/skills/mobile-design/rules/mobile-color-system.md +436 -0
- package/.agent/skills/mobile-design/rules/mobile-debugging.md +146 -0
- package/.agent/skills/mobile-design/rules/mobile-design-thinking.md +381 -0
- package/.agent/skills/mobile-design/rules/mobile-navigation.md +474 -0
- package/.agent/skills/mobile-design/rules/mobile-performance.md +783 -0
- package/.agent/skills/mobile-design/rules/mobile-testing.md +380 -0
- package/.agent/skills/mobile-design/rules/mobile-typography.md +449 -0
- package/.agent/skills/mobile-design/rules/platform-android.md +682 -0
- package/.agent/skills/mobile-design/rules/platform-ios.md +577 -0
- package/.agent/skills/mobile-design/rules/touch-psychology.md +553 -0
- package/.agent/skills/mobile-design/scripts/mobile_audit.ts +309 -0
- package/.agent/skills/mobile-developer/AGENTS.md +904 -0
- package/.agent/skills/mobile-developer/SKILL.md +194 -0
- package/.agent/skills/mobile-developer/rules/_sections.md +75 -0
- package/.agent/skills/mobile-developer/rules/_template.md +32 -0
- package/.agent/skills/mobile-developer/rules/anti-patterns.md +70 -0
- package/.agent/skills/mobile-developer/rules/app-store-optimization.md +319 -0
- package/.agent/skills/mobile-developer/rules/decision-trees.md +545 -0
- package/.agent/skills/mobile-developer/rules/deep-linking.md +441 -0
- package/.agent/skills/mobile-developer/rules/engineering-spec.md +477 -0
- package/.agent/skills/mobile-developer/rules/flutter.md +475 -0
- package/.agent/skills/mobile-developer/rules/mobile-backend.md +516 -0
- package/.agent/skills/mobile-developer/rules/mobile-color-system.md +444 -0
- package/.agent/skills/mobile-developer/rules/mobile-debugging.md +428 -0
- package/.agent/skills/mobile-developer/rules/mobile-design-thinking.md +367 -0
- package/.agent/skills/mobile-developer/rules/mobile-navigation.md +483 -0
- package/.agent/skills/mobile-developer/rules/mobile-performance.md +778 -0
- package/.agent/skills/mobile-developer/rules/mobile-testing.md +382 -0
- package/.agent/skills/mobile-developer/rules/mobile-typography.md +457 -0
- package/.agent/skills/mobile-developer/rules/native.md +572 -0
- package/.agent/skills/mobile-developer/rules/platform-android.md +676 -0
- package/.agent/skills/mobile-developer/rules/platform-ios.md +571 -0
- package/.agent/skills/mobile-developer/rules/push-notifications.md +599 -0
- package/.agent/skills/mobile-developer/rules/react-native.md +422 -0
- package/.agent/skills/mobile-developer/rules/touch-psychology.md +547 -0
- package/.agent/skills/mobile-developer/scripts/mobile_audit.ts +701 -0
- package/.agent/skills/nextjs-pro/AGENTS.md +3932 -0
- package/.agent/skills/nextjs-pro/SKILL.md +171 -0
- package/.agent/skills/nextjs-pro/rules/_sections.md +50 -0
- package/.agent/skills/nextjs-pro/rules/_template.md +32 -0
- package/.agent/skills/nextjs-pro/rules/advanced-event-handler-refs.md +59 -0
- package/.agent/skills/nextjs-pro/rules/advanced-init-once.md +46 -0
- package/.agent/skills/nextjs-pro/rules/advanced-use-latest.md +43 -0
- package/.agent/skills/nextjs-pro/rules/async-api-routes.md +42 -0
- package/.agent/skills/nextjs-pro/rules/async-defer-await.md +84 -0
- package/.agent/skills/nextjs-pro/rules/async-dependencies.md +55 -0
- package/.agent/skills/nextjs-pro/rules/async-parallel.md +32 -0
- package/.agent/skills/nextjs-pro/rules/async-suspense-boundaries.md +103 -0
- package/.agent/skills/nextjs-pro/rules/bundle-barrel-imports.md +63 -0
- package/.agent/skills/nextjs-pro/rules/bundle-conditional.md +35 -0
- package/.agent/skills/nextjs-pro/rules/bundle-defer-third-party.md +53 -0
- package/.agent/skills/nextjs-pro/rules/bundle-dynamic-imports.md +39 -0
- package/.agent/skills/nextjs-pro/rules/bundle-preload.md +54 -0
- package/.agent/skills/nextjs-pro/rules/client-event-listeners.md +78 -0
- package/.agent/skills/nextjs-pro/rules/client-localstorage-schema.md +75 -0
- package/.agent/skills/nextjs-pro/rules/client-passive-event-listeners.md +52 -0
- package/.agent/skills/nextjs-pro/rules/client-swr-dedup.md +60 -0
- package/.agent/skills/nextjs-pro/rules/engineering-spec.md +440 -0
- package/.agent/skills/nextjs-pro/rules/js-batch-dom-css.md +111 -0
- package/.agent/skills/nextjs-pro/rules/js-cache-function-results.md +84 -0
- package/.agent/skills/nextjs-pro/rules/js-cache-property-access.md +32 -0
- package/.agent/skills/nextjs-pro/rules/js-cache-storage.md +74 -0
- package/.agent/skills/nextjs-pro/rules/js-combine-iterations.md +36 -0
- package/.agent/skills/nextjs-pro/rules/js-early-exit.md +54 -0
- package/.agent/skills/nextjs-pro/rules/js-hoist-regexp.md +49 -0
- package/.agent/skills/nextjs-pro/rules/js-index-maps.md +41 -0
- package/.agent/skills/nextjs-pro/rules/js-length-check-first.md +53 -0
- package/.agent/skills/nextjs-pro/rules/js-min-max-loop.md +86 -0
- package/.agent/skills/nextjs-pro/rules/js-set-map-lookups.md +28 -0
- package/.agent/skills/nextjs-pro/rules/js-tosorted-immutable.md +61 -0
- package/.agent/skills/nextjs-pro/rules/rendering-activity.md +30 -0
- package/.agent/skills/nextjs-pro/rules/rendering-animate-svg-wrapper.md +51 -0
- package/.agent/skills/nextjs-pro/rules/rendering-conditional-render.md +44 -0
- package/.agent/skills/nextjs-pro/rules/rendering-content-visibility.md +42 -0
- package/.agent/skills/nextjs-pro/rules/rendering-hoist-jsx.md +50 -0
- package/.agent/skills/nextjs-pro/rules/rendering-hydration-no-flicker.md +86 -0
- package/.agent/skills/nextjs-pro/rules/rendering-hydration-suppress-warning.md +34 -0
- package/.agent/skills/nextjs-pro/rules/rendering-svg-precision.md +32 -0
- package/.agent/skills/nextjs-pro/rules/rendering-usetransition-loading.md +79 -0
- package/.agent/skills/nextjs-pro/rules/rerender-defer-reads.md +43 -0
- package/.agent/skills/nextjs-pro/rules/rerender-dependencies.md +49 -0
- package/.agent/skills/nextjs-pro/rules/rerender-derived-state-no-effect.md +44 -0
- package/.agent/skills/nextjs-pro/rules/rerender-derived-state.md +33 -0
- package/.agent/skills/nextjs-pro/rules/rerender-functional-setstate.md +78 -0
- package/.agent/skills/nextjs-pro/rules/rerender-lazy-state-init.md +62 -0
- package/.agent/skills/nextjs-pro/rules/rerender-memo-with-default-value.md +42 -0
- package/.agent/skills/nextjs-pro/rules/rerender-memo.md +48 -0
- package/.agent/skills/nextjs-pro/rules/rerender-move-effect-to-event.md +49 -0
- package/.agent/skills/nextjs-pro/rules/rerender-simple-expression-in-memo.md +39 -0
- package/.agent/skills/nextjs-pro/rules/rerender-transitions.md +44 -0
- package/.agent/skills/nextjs-pro/rules/rerender-use-ref-transient-values.md +77 -0
- package/.agent/skills/nextjs-pro/rules/schema.json +34 -0
- package/.agent/skills/nextjs-pro/rules/server-after-nonblocking.md +77 -0
- package/.agent/skills/nextjs-pro/rules/server-auth-actions.md +100 -0
- package/.agent/skills/nextjs-pro/rules/server-cache-lru.md +45 -0
- package/.agent/skills/nextjs-pro/rules/server-cache-react.md +80 -0
- package/.agent/skills/nextjs-pro/rules/server-dedup-props.md +69 -0
- package/.agent/skills/nextjs-pro/rules/server-parallel-fetching.md +87 -0
- package/.agent/skills/nextjs-pro/rules/server-serialization.md +42 -0
- package/.agent/skills/nodejs-pro/AGENTS.md +866 -0
- package/.agent/skills/nodejs-pro/SKILL.md +172 -0
- package/.agent/skills/nodejs-pro/rules/_sections.md +50 -0
- package/.agent/skills/nodejs-pro/rules/_template.md +32 -0
- package/.agent/skills/nodejs-pro/rules/architecture-patterns.md +229 -0
- package/.agent/skills/nodejs-pro/rules/async-patterns.md +246 -0
- package/.agent/skills/nodejs-pro/rules/engineering-spec.md +438 -0
- package/.agent/skills/nodejs-pro/rules/error-handling.md +257 -0
- package/.agent/skills/nodejs-pro/rules/framework-selection.md +220 -0
- package/.agent/skills/nodejs-pro/rules/runtime-modules.md +176 -0
- package/.agent/skills/nodejs-pro/rules/testing-strategy.md +266 -0
- package/.agent/skills/nodejs-pro/rules/validation-security.md +205 -0
- package/.agent/skills/observability/AGENTS.md +607 -0
- package/.agent/skills/observability/SKILL.md +178 -0
- package/.agent/skills/observability/rules/_sections.md +15 -0
- package/.agent/skills/observability/rules/_template.md +32 -0
- package/.agent/skills/observability/rules/engineering-spec.md +440 -0
- package/.agent/skills/offensive-sec/AGENTS.md +849 -0
- package/.agent/skills/offensive-sec/SKILL.md +191 -0
- package/.agent/skills/offensive-sec/rules/_sections.md +15 -0
- package/.agent/skills/offensive-sec/rules/_template.md +32 -0
- package/.agent/skills/offensive-sec/rules/engineering-spec.md +470 -0
- package/.agent/skills/perf-optimizer/AGENTS.md +870 -0
- package/.agent/skills/perf-optimizer/SKILL.md +189 -0
- package/.agent/skills/perf-optimizer/rules/_sections.md +15 -0
- package/.agent/skills/perf-optimizer/rules/_template.md +32 -0
- package/.agent/skills/perf-optimizer/rules/backend-patterns.md +312 -0
- package/.agent/skills/perf-optimizer/rules/engineering-spec.md +428 -0
- package/.agent/skills/perf-optimizer/scripts/lighthouse_audit.ts +201 -0
- package/.agent/skills/problem-checker/AGENTS.md +519 -0
- package/.agent/skills/problem-checker/SKILL.md +189 -0
- package/.agent/skills/problem-checker/rules/_sections.md +15 -0
- package/.agent/skills/problem-checker/rules/_template.md +32 -0
- package/.agent/skills/problem-checker/rules/engineering-spec.md +483 -0
- package/.agent/skills/problem-checker/scripts/check_problems.ts +396 -0
- package/.agent/skills/project-planner/AGENTS.md +2698 -0
- package/.agent/skills/project-planner/SKILL.md +166 -0
- package/.agent/skills/project-planner/rules/_sections.md +15 -0
- package/.agent/skills/project-planner/rules/_template.md +32 -0
- package/.agent/skills/project-planner/rules/engineering-spec.md +420 -0
- package/.agent/skills/python-pro/AGENTS.md +1871 -0
- package/.agent/skills/python-pro/SKILL.md +182 -0
- package/.agent/skills/python-pro/rules/_sections.md +50 -0
- package/.agent/skills/python-pro/rules/_template.md +32 -0
- package/.agent/skills/python-pro/rules/async-patterns.md +168 -0
- package/.agent/skills/python-pro/rules/django-patterns.md +194 -0
- package/.agent/skills/python-pro/rules/engineering-spec.md +442 -0
- package/.agent/skills/python-pro/rules/fastapi-patterns.md +179 -0
- package/.agent/skills/python-pro/rules/framework-selection.md +167 -0
- package/.agent/skills/python-pro/rules/project-structure.md +181 -0
- package/.agent/skills/python-pro/rules/testing-patterns.md +212 -0
- package/.agent/skills/python-pro/rules/type-hints.md +159 -0
- package/.agent/skills/react-pro/AGENTS.md +963 -0
- package/.agent/skills/react-pro/SKILL.md +232 -0
- package/.agent/skills/react-pro/rules/_sections.md +40 -0
- package/.agent/skills/react-pro/rules/_template.md +32 -0
- package/.agent/skills/react-pro/rules/component-patterns.md +145 -0
- package/.agent/skills/react-pro/rules/composition-compound.md +82 -0
- package/.agent/skills/react-pro/rules/data-fetching.md +133 -0
- package/.agent/skills/react-pro/rules/engineering-spec.md +453 -0
- package/.agent/skills/react-pro/rules/error-boundary.md +61 -0
- package/.agent/skills/react-pro/rules/file-organization.md +158 -0
- package/.agent/skills/react-pro/rules/hooks-custom.md +61 -0
- package/.agent/skills/react-pro/rules/mui-styling.md +138 -0
- package/.agent/skills/react-pro/rules/patterns.md +24 -0
- package/.agent/skills/react-pro/rules/performance-optimization.md +65 -0
- package/.agent/skills/react-pro/rules/performance.md +137 -0
- package/.agent/skills/react-pro/rules/react19-hooks.md +85 -0
- package/.agent/skills/react-pro/rules/state-management.md +90 -0
- package/.agent/skills/react-pro/rules/testing-patterns.md +52 -0
- package/.agent/skills/registry.json +1251 -0
- package/.agent/skills/security-scanner/AGENTS.md +851 -0
- package/.agent/skills/security-scanner/SKILL.md +182 -0
- package/.agent/skills/security-scanner/rules/_sections.md +15 -0
- package/.agent/skills/security-scanner/rules/_template.md +32 -0
- package/.agent/skills/security-scanner/rules/auth-patterns.md +281 -0
- package/.agent/skills/security-scanner/rules/checklists.md +186 -0
- package/.agent/skills/security-scanner/rules/engineering-spec.md +440 -0
- package/.agent/skills/security-scanner/scripts/security_scan.ts +513 -0
- package/.agent/skills/seo-optimizer/AGENTS.md +839 -0
- package/.agent/skills/seo-optimizer/SKILL.md +180 -0
- package/.agent/skills/seo-optimizer/rules/_sections.md +15 -0
- package/.agent/skills/seo-optimizer/rules/_template.md +32 -0
- package/.agent/skills/seo-optimizer/rules/engineering-spec.md +433 -0
- package/.agent/skills/seo-optimizer/scripts/geo_checker.ts +109 -0
- package/.agent/skills/seo-optimizer/scripts/seo_checker.ts +308 -0
- package/.agent/skills/server-ops/AGENTS.md +643 -0
- package/.agent/skills/server-ops/SKILL.md +194 -0
- package/.agent/skills/server-ops/rules/_sections.md +15 -0
- package/.agent/skills/server-ops/rules/_template.md +32 -0
- package/.agent/skills/server-ops/rules/engineering-spec.md +450 -0
- package/.agent/skills/shell-script/AGENTS.md +499 -0
- package/.agent/skills/shell-script/SKILL.md +205 -0
- package/.agent/skills/shell-script/rules/_sections.md +15 -0
- package/.agent/skills/shell-script/rules/_template.md +32 -0
- package/.agent/skills/shell-script/rules/engineering-spec.md +463 -0
- package/.agent/skills/skill-generator/SKILL.md +147 -0
- package/.agent/skills/smart-router/SKILL.md +95 -0
- package/.agent/skills/studio/AGENTS.md +636 -0
- package/.agent/skills/studio/SKILL.md +178 -0
- package/.agent/skills/studio/data/charts.csv +26 -0
- package/.agent/skills/studio/data/colors.csv +97 -0
- package/.agent/skills/studio/data/icons.csv +101 -0
- package/.agent/skills/studio/data/landing.csv +31 -0
- package/.agent/skills/studio/data/products.csv +97 -0
- package/.agent/skills/studio/data/prompts.csv +24 -0
- package/.agent/skills/studio/data/react-performance.csv +45 -0
- package/.agent/skills/studio/data/stacks/flutter.csv +52 -0
- package/.agent/skills/studio/data/stacks/html-tailwind.csv +56 -0
- package/.agent/skills/studio/data/stacks/jetpack-compose.csv +53 -0
- package/.agent/skills/studio/data/stacks/nextjs.csv +53 -0
- package/.agent/skills/studio/data/stacks/nuxt-ui.csv +51 -0
- package/.agent/skills/studio/data/stacks/nuxtjs.csv +59 -0
- package/.agent/skills/studio/data/stacks/react-native.csv +52 -0
- package/.agent/skills/studio/data/stacks/react.csv +54 -0
- package/.agent/skills/studio/data/stacks/shadcn.csv +61 -0
- package/.agent/skills/studio/data/stacks/svelte.csv +54 -0
- package/.agent/skills/studio/data/stacks/swiftui.csv +51 -0
- package/.agent/skills/studio/data/stacks/vue.csv +50 -0
- package/.agent/skills/studio/data/styles.csv +59 -0
- package/.agent/skills/studio/data/typography.csv +58 -0
- package/.agent/skills/studio/data/ui-reasoning.csv +101 -0
- package/.agent/skills/studio/data/ux-guidelines.csv +100 -0
- package/.agent/skills/studio/data/web-interface.csv +31 -0
- package/.agent/skills/studio/rules/_sections.md +15 -0
- package/.agent/skills/studio/rules/_template.md +32 -0
- package/.agent/skills/studio/rules/engineering-spec.md +455 -0
- package/.agent/skills/studio/scripts/core.ts +345 -0
- package/.agent/skills/studio/scripts/design_system.ts +953 -0
- package/.agent/skills/studio/scripts/search.ts +197 -0
- package/.agent/skills/studio/scripts/types.ts +147 -0
- package/.agent/skills/studio/scripts/utils/component-specs.ts +154 -0
- package/.agent/skills/studio/scripts/utils/config-loader.ts +165 -0
- package/.agent/skills/studio/scripts/utils/css-templates.ts +169 -0
- package/.agent/skills/studio/scripts/utils/css-validator.ts +95 -0
- package/.agent/skills/studio/scripts/utils/csv-loader.ts +52 -0
- package/.agent/skills/studio/scripts/utils/intelligent-overrides.ts +129 -0
- package/.agent/skills/studio/scripts/utils/page-override-formatter.ts +143 -0
- package/.agent/skills/studio/scripts/utils/page-type-detector.ts +124 -0
- package/.agent/skills/studio/scripts/utils/search-cache.ts +165 -0
- package/.agent/skills/studio/scripts/utils/text-utils.ts +44 -0
- package/.agent/skills/system-design/AGENTS.md +597 -0
- package/.agent/skills/system-design/SKILL.md +153 -0
- package/.agent/skills/system-design/rules/_sections.md +15 -0
- package/.agent/skills/system-design/rules/_template.md +32 -0
- package/.agent/skills/system-design/rules/context-discovery.md +117 -0
- package/.agent/skills/system-design/rules/engineering-spec.md +437 -0
- package/.agent/skills/system-design/rules/examples.md +180 -0
- package/.agent/skills/system-design/rules/pattern-selection.md +130 -0
- package/.agent/skills/system-design/rules/patterns-reference.md +110 -0
- package/.agent/skills/system-design/rules/trade-off-analysis.md +169 -0
- package/.agent/skills/tailwind-kit/AGENTS.md +1135 -0
- package/.agent/skills/tailwind-kit/SKILL.md +171 -0
- package/.agent/skills/tailwind-kit/rules/_sections.md +20 -0
- package/.agent/skills/tailwind-kit/rules/_template.md +32 -0
- package/.agent/skills/tailwind-kit/rules/components.md +232 -0
- package/.agent/skills/tailwind-kit/rules/engineering-spec.md +435 -0
- package/.agent/skills/tailwind-kit/rules/responsive.md +221 -0
- package/.agent/skills/tailwind-kit/rules/v4-config.md +72 -0
- package/.agent/skills/test-architect/AGENTS.md +851 -0
- package/.agent/skills/test-architect/SKILL.md +176 -0
- package/.agent/skills/test-architect/rules/_sections.md +15 -0
- package/.agent/skills/test-architect/rules/_template.md +32 -0
- package/.agent/skills/test-architect/rules/engineering-spec.md +434 -0
- package/.agent/skills/test-architect/scripts/test_runner.ts +265 -0
- package/.agent/skills/typescript-expert/AGENTS.md +1045 -0
- package/.agent/skills/typescript-expert/SKILL.md +200 -0
- package/.agent/skills/typescript-expert/rules/_sections.md +20 -0
- package/.agent/skills/typescript-expert/rules/_template.md +32 -0
- package/.agent/skills/typescript-expert/rules/engineering-spec.md +433 -0
- package/.agent/skills/typescript-expert/rules/tsconfig-strict.json +92 -0
- package/.agent/skills/typescript-expert/rules/typescript-cheatsheet.md +407 -0
- package/.agent/skills/typescript-expert/rules/utility-types.ts +264 -0
- package/.agent/skills/typescript-expert/scripts/ts_diagnostic.ts +321 -0
- package/.agent/skills/vercel-deploy/AGENTS.md +490 -0
- package/.agent/skills/vercel-deploy/SKILL.md +175 -0
- package/.agent/skills/vercel-deploy/rules/_sections.md +15 -0
- package/.agent/skills/vercel-deploy/rules/_template.md +32 -0
- package/.agent/skills/vercel-deploy/rules/engineering-spec.md +463 -0
- package/.agent/skills/vercel-deploy/scripts/deploy.sh +310 -0
- package/.agent/workflows/api.md +377 -0
- package/.agent/workflows/autopilot.md +344 -0
- package/.agent/workflows/build.md +338 -0
- package/.agent/workflows/chronicle.md +279 -0
- package/.agent/workflows/cook.md +217 -0
- package/.agent/workflows/diagnose.md +302 -0
- package/.agent/workflows/fix.md +253 -0
- package/.agent/workflows/game.md +329 -0
- package/.agent/workflows/inspect.md +276 -0
- package/.agent/workflows/knowledge.md +212 -0
- package/.agent/workflows/launch.md +345 -0
- package/.agent/workflows/mobile.md +354 -0
- package/.agent/workflows/monitor.md +239 -0
- package/.agent/workflows/optimize.md +269 -0
- package/.agent/workflows/plan.md +278 -0
- package/.agent/workflows/stage.md +286 -0
- package/.agent/workflows/studio.md +276 -0
- package/.agent/workflows/think.md +262 -0
- package/.agent/workflows/validate.md +289 -0
- package/.agentignore +161 -0
- package/.gitattributes +16 -0
- package/CHANGELOG.md +198 -0
- package/LICENSE +40 -0
- package/README.md +173 -0
- package/docs/SKILL_DESIGN_GUIDE.md +561 -0
- package/docs/The-Complete-Guide-to-Building-Skills-for-Claude.md +1207 -0
- package/docs/WORKFLOW_DESIGN_GUIDE.md +325 -0
- package/package.json +33 -0
- package/tsconfig.json +28 -0
|
@@ -0,0 +1,995 @@
|
|
|
1
|
+
# Idea Storm
|
|
2
|
+
|
|
3
|
+
**Version 3.9.121**
|
|
4
|
+
Engineering
|
|
5
|
+
April 2026
|
|
6
|
+
|
|
7
|
+
> **Note:**
|
|
8
|
+
> This document is for agents and LLMs to follow when working on idea-storm tasks.
|
|
9
|
+
> Optimized for automation and consistency by AI-assisted workflows.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Abstract
|
|
14
|
+
|
|
15
|
+
This document compiles 3 rules across 3 categories for the Idea Storm skill. Socratic questioning protocol for complex requirements and unclear user requests.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Table of Contents
|
|
20
|
+
|
|
21
|
+
1. [Architecture](#1-architecture) — **LOW**
|
|
22
|
+
- 1.1 [Architecture Debate](#11-architecture-debate)
|
|
23
|
+
2. [Dynamic](#2-dynamic) — **LOW**
|
|
24
|
+
- 2.1 [Dynamic Questioning](#21-dynamic-questioning)
|
|
25
|
+
3. [Engineering](#3-engineering) — **MEDIUM**
|
|
26
|
+
- 3.1 [Engineering Spec](#31-engineering-spec)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 1. Architecture
|
|
31
|
+
|
|
32
|
+
**Impact: LOW**
|
|
33
|
+
|
|
34
|
+
Architecture patterns and best practices.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# Architecture Debate Process
|
|
38
|
+
|
|
39
|
+
> 8-phase process for technical decisions. YAGNI + KISS + DRY = holy trinity.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Phase Overview
|
|
44
|
+
|
|
45
|
+
| Phase | Purpose | Output |
|
|
46
|
+
|-------|---------|--------|
|
|
47
|
+
| **1. Scout** | Understand project state | Project context |
|
|
48
|
+
| **2. Discovery** | Clarify requirements | Requirements list |
|
|
49
|
+
| **3. Research** | Gather information | Technical options |
|
|
50
|
+
| **4. Analysis** | Evaluate approaches | Pros/cons matrix |
|
|
51
|
+
| **5. Debate** | Challenge assumptions | Refined options |
|
|
52
|
+
| **6. Consensus** | Align on solution | Decision made |
|
|
53
|
+
| **7. Documentation** | Create summary | Decision report |
|
|
54
|
+
| **8. Finalize** | Handoff to planner | Implementation plan |
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Holy Trinity Principles
|
|
59
|
+
|
|
60
|
+
| Principle | Question | Apply When |
|
|
61
|
+
|-----------|----------|------------|
|
|
62
|
+
| **YAGNI** | Do we need this now? | Adding features |
|
|
63
|
+
| **KISS** | Is there a simpler way? | Choosing approach |
|
|
64
|
+
| **DRY** | Are we repeating ourselves? | Code structure |
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Analysis Template
|
|
69
|
+
|
|
70
|
+
```markdown
|
|
71
|
+
## Problem Statement
|
|
72
|
+
[Clear 1-2 sentence description]
|
|
73
|
+
|
|
74
|
+
## Constraints
|
|
75
|
+
- Budget: [time/resources]
|
|
76
|
+
- Scale: [users/data size]
|
|
77
|
+
- Integration: [existing systems]
|
|
78
|
+
|
|
79
|
+
## Options Evaluated
|
|
80
|
+
|
|
81
|
+
### Option A: [Name]
|
|
82
|
+
**Approach:** [Brief description]
|
|
83
|
+
| Pros | Cons |
|
|
84
|
+
|------|------|
|
|
85
|
+
| + Fast to implement | - Limited scalability |
|
|
86
|
+
| + Team familiar | - Vendor lock-in |
|
|
87
|
+
|
|
88
|
+
**YAGNI:** ✅ / ❌
|
|
89
|
+
**KISS:** ✅ / ❌
|
|
90
|
+
**DRY:** ✅ / ❌
|
|
91
|
+
|
|
92
|
+
### Option B: [Name]
|
|
93
|
+
...
|
|
94
|
+
|
|
95
|
+
## Recommendation
|
|
96
|
+
**Selected:** Option A
|
|
97
|
+
**Rationale:** [1-2 sentences]
|
|
98
|
+
**Trade-offs Accepted:** [what we're giving up]
|
|
99
|
+
|
|
100
|
+
## Next Steps
|
|
101
|
+
1. [Immediate action]
|
|
102
|
+
2. [Follow-up task]
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Debate Tactics
|
|
108
|
+
|
|
109
|
+
### Challenge Assumptions
|
|
110
|
+
|
|
111
|
+
```markdown
|
|
112
|
+
❓ "Why do we need [X]?"
|
|
113
|
+
❓ "What if we don't do [Y]?"
|
|
114
|
+
❓ "Is the complexity worth it?"
|
|
115
|
+
❓ "Who asked for this feature?"
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Brutally Honest Questions
|
|
119
|
+
|
|
120
|
+
| If They Say | Ask |
|
|
121
|
+
|-------------|-----|
|
|
122
|
+
| "We might need..." | "Do we need it NOW?" |
|
|
123
|
+
| "It would be nice..." | "Is it must-have or nice-to-have?" |
|
|
124
|
+
| "Everyone does it..." | "Does it solve OUR problem?" |
|
|
125
|
+
| "Future-proof..." | "YAGNI - real requirement or speculation?" |
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Example Prompts
|
|
130
|
+
|
|
131
|
+
- "Should we use microservices or modular monolith?"
|
|
132
|
+
- "Help me evaluate these 3 database options"
|
|
133
|
+
- "Is adding this feature worth the complexity?"
|
|
134
|
+
- "What's the best approach for real-time notifications?"
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 🔗 Related
|
|
139
|
+
|
|
140
|
+
| File | When to Read |
|
|
141
|
+
|------|-------------|
|
|
142
|
+
| [../SKILL.md](../SKILL.md) | Socratic gate protocol, question format |
|
|
143
|
+
| [dynamic-questioning.md](dynamic-questioning.md) | Domain-specific question banks, algorithm |
|
|
144
|
+
| [engineering-spec.md](engineering-spec.md) | Full engineering spec, contracts |
|
|
145
|
+
| `system-design` | Architecture decision frameworks |
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
⚡ PikaKit v3.9.134
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## 2. Dynamic
|
|
154
|
+
|
|
155
|
+
**Impact: LOW**
|
|
156
|
+
|
|
157
|
+
Dynamic patterns and best practices.
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
# Dynamic Question Generation
|
|
161
|
+
|
|
162
|
+
> **PRINCIPLE:** Questions are not about gathering data—they are about **revealing architectural consequences**.
|
|
163
|
+
>
|
|
164
|
+
> Every question must connect to a concrete implementation decision that affects cost, complexity, or timeline.
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 🧠 Core Principles
|
|
169
|
+
|
|
170
|
+
### 1. Questions Reveal Consequences
|
|
171
|
+
|
|
172
|
+
A good question is not "What color do you want?" but:
|
|
173
|
+
|
|
174
|
+
```markdown
|
|
175
|
+
❌ BAD: "What authentication method?"
|
|
176
|
+
✅ GOOD: "Should users sign up with email/password or social login?
|
|
177
|
+
|
|
178
|
+
Impact:
|
|
179
|
+
- Email/Pass → Need password reset, hashing, 2FA infrastructure
|
|
180
|
+
- Social → OAuth providers, user profile mapping, less control
|
|
181
|
+
|
|
182
|
+
Trade-off: Security vs. Development time vs. User friction"
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### 2. Context Before Content
|
|
186
|
+
|
|
187
|
+
First understand **where** this request fits:
|
|
188
|
+
|
|
189
|
+
| Context | Question Focus |
|
|
190
|
+
|---------|----------------|
|
|
191
|
+
| **Greenfield** (new project) | Foundation decisions: stack, hosting, scale |
|
|
192
|
+
| **Feature Addition** | Integration points, existing patterns, breaking changes |
|
|
193
|
+
| **Refactor** | Why refactor? Performance? Maintainability? What's broken? |
|
|
194
|
+
| **Debug** | Symptoms → Root cause → Reproduction path |
|
|
195
|
+
|
|
196
|
+
### 3. Minimum Viable Questions
|
|
197
|
+
|
|
198
|
+
**PRINCIPLE:** Each question must eliminate a fork in the implementation road.
|
|
199
|
+
|
|
200
|
+
```
|
|
201
|
+
Before Question:
|
|
202
|
+
├── Path A: Do X (5 min)
|
|
203
|
+
├── Path B: Do Y (15 min)
|
|
204
|
+
└── Path C: Do Z (1 hour)
|
|
205
|
+
|
|
206
|
+
After Question:
|
|
207
|
+
└── Path Confirmed: Do X (5 min)
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
If a question doesn't reduce implementation paths → **DELETE IT**.
|
|
211
|
+
|
|
212
|
+
### 4. Questions Generate Data, Not Assumptions
|
|
213
|
+
|
|
214
|
+
```markdown
|
|
215
|
+
❌ ASSUMPTION: "User probably wants Stripe for payments"
|
|
216
|
+
✅ QUESTION: "Which payment provider fits your needs?
|
|
217
|
+
|
|
218
|
+
Stripe → Best documentation, 2.9% + $0.30, US-centric
|
|
219
|
+
LemonSqueezy → Merchant of Record, 5% + $0.50, global taxes
|
|
220
|
+
Paddle → Complex pricing, handles EU VAT, enterprise focus"
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## 📋 Question Generation Algorithm
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
INPUT: User request + Context (greenfield/feature/refactor/debug)
|
|
229
|
+
│
|
|
230
|
+
├── STEP 1: Parse Request
|
|
231
|
+
│ ├── Extract domain (ecommerce, auth, realtime, cms, etc.)
|
|
232
|
+
│ ├── Extract features (explicit and implied)
|
|
233
|
+
│ └── Extract scale indicators (users, data volume, frequency)
|
|
234
|
+
│
|
|
235
|
+
├── STEP 2: Identify Decision Points
|
|
236
|
+
│ ├── What MUST be decided before coding? (blocking)
|
|
237
|
+
│ ├── What COULD be decided later? (deferable)
|
|
238
|
+
│ └── What has ARCHITECTURAL impact? (high-leverage)
|
|
239
|
+
│
|
|
240
|
+
├── STEP 3: Generate Questions (Priority Order)
|
|
241
|
+
│ ├── P0: Blocking decisions (cannot proceed without answer)
|
|
242
|
+
│ ├── P1: High-leverage (affects >30% of implementation)
|
|
243
|
+
│ ├── P2: Medium-leverage (affects specific features)
|
|
244
|
+
│ └── P3: Nice-to-have (edge cases, optimization)
|
|
245
|
+
│
|
|
246
|
+
└── STEP 4: Format Each Question
|
|
247
|
+
├── What: Clear question
|
|
248
|
+
├── Why: Impact on implementation
|
|
249
|
+
├── Options: Trade-offs (not just A vs B)
|
|
250
|
+
└── Default: What happens if user doesn't answer
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## 🎯 Domain-Specific Question Banks
|
|
256
|
+
|
|
257
|
+
### E-Commerce
|
|
258
|
+
|
|
259
|
+
| Question | Why It Matters | Trade-offs |
|
|
260
|
+
|----------|----------------|------------|
|
|
261
|
+
| **Single or Multi-vendor?** | Multi-vendor → Commission logic, vendor dashboards, split payments | +Revenue, -Complexity |
|
|
262
|
+
| **Inventory Tracking?** | Needs stock tables, reservation logic, low-stock alerts | +Accuracy, -Development time |
|
|
263
|
+
| **Digital or Physical Products?** | Digital → Download links, no shipping | Physical → Shipping APIs, tracking |
|
|
264
|
+
| **Subscription or One-time?** | Subscription → Recurring billing, dunning, proration | +Revenue, -Complexity |
|
|
265
|
+
|
|
266
|
+
### Authentication
|
|
267
|
+
|
|
268
|
+
| Question | Why It Matters | Trade-offs |
|
|
269
|
+
|----------|----------------|------------|
|
|
270
|
+
| **Social Login Needed?** | OAuth providers vs. password reset infrastructure | +UX, -Control |
|
|
271
|
+
| **Role-Based Permissions?** | RBAC tables, policy enforcement, admin UI | +Security, -Development time |
|
|
272
|
+
| **2FA Required?** | TOTP/SMI infrastructure, backup codes, recovery flow | +Security, -UX friction |
|
|
273
|
+
| **Email Verification?** | Verification tokens, email service, resend logic | +Security, -Sign-up friction |
|
|
274
|
+
|
|
275
|
+
### Real-time
|
|
276
|
+
|
|
277
|
+
| Question | Why It Matters | Trade-offs |
|
|
278
|
+
|----------|----------------|------------|
|
|
279
|
+
| **WebSocket or Polling?** | WS → Server scaling, connection management | Polling → Simpler, higher latency |
|
|
280
|
+
| **Expected Concurrent Users?** | <100 → Single server, >1000 → Redis pub/sub, >10k → specialized infra | +Scale, -Complexity |
|
|
281
|
+
| **Message Persistence?** | History tables, storage costs, pagination | +UX, -Storage |
|
|
282
|
+
| **Ephemeral or Durable?** | Ephemeral → In-memory, Durable → Database write before emit | +Reliability, -Latency |
|
|
283
|
+
|
|
284
|
+
### Content/CMS
|
|
285
|
+
|
|
286
|
+
| Question | Why It Matters | Trade-offs |
|
|
287
|
+
|----------|----------------|------------|
|
|
288
|
+
| **Rich Text or Markdown?** | Rich Text → Sanitization, XSS risks | Markdown → Simple, no WYSIWYG |
|
|
289
|
+
| **Draft/Publish Workflow?** | Status field, scheduled jobs, versioning | +Control, -Complexity |
|
|
290
|
+
| **Media Handling?** | Upload endpoints, storage, optimization | +Features, -Development time |
|
|
291
|
+
| **Multi-language?** | i18n tables, translation UI, fallback logic | +Reach, -Complexity |
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
## 📐 Dynamic Question Template
|
|
296
|
+
|
|
297
|
+
```markdown
|
|
298
|
+
Based on your request for [DOMAIN] [FEATURE]:
|
|
299
|
+
|
|
300
|
+
## 🔴 CRITICAL (Blocking Decisions)
|
|
301
|
+
|
|
302
|
+
### 1. **[DECISION POINT]**
|
|
303
|
+
|
|
304
|
+
**Question:** [Clear, specific question]
|
|
305
|
+
|
|
306
|
+
**Why This Matters:**
|
|
307
|
+
- [Explain architectural consequence]
|
|
308
|
+
- [Affects: cost / complexity / timeline / scale]
|
|
309
|
+
|
|
310
|
+
**Options:**
|
|
311
|
+
| Option | Pros | Cons | Best For |
|
|
312
|
+
|--------|------|------|----------|
|
|
313
|
+
| A | [Advantage] | [Disadvantage] | [Use case] |
|
|
314
|
+
| B | [Advantage] | [Disadvantage] | [Use case] |
|
|
315
|
+
|
|
316
|
+
**If Not Specified:** [Default choice + rationale]
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## 🟡 HIGH-LEVERAGE (Affects Implementation)
|
|
321
|
+
|
|
322
|
+
### 2. **[DECISION POINT]**
|
|
323
|
+
[Same format]
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## 🟢 NICE-TO-HAVE (Edge Cases)
|
|
328
|
+
|
|
329
|
+
### 3. **[DECISION POINT]**
|
|
330
|
+
[Same format]
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
## 🔄 Iterative Questioning
|
|
336
|
+
|
|
337
|
+
### First Pass (3-5 Questions)
|
|
338
|
+
Focus on **blocking decisions**. Don't proceed without answers.
|
|
339
|
+
|
|
340
|
+
### Second Pass (After Initial Implementation)
|
|
341
|
+
As patterns emerge, ask:
|
|
342
|
+
- "This feature implies [X]. Should we handle [edge case] now or defer?"
|
|
343
|
+
- "We're using [Pattern A]. Should [Feature B] follow the same pattern?"
|
|
344
|
+
|
|
345
|
+
### Third Pass (Optimization)
|
|
346
|
+
When functionality works:
|
|
347
|
+
- "Performance bottleneck at [X]. Optimize now or acceptable for now?"
|
|
348
|
+
- "Refactor [Y] for maintainability or ship as-is?"
|
|
349
|
+
|
|
350
|
+
---
|
|
351
|
+
|
|
352
|
+
## 🎭 Example: Full Question Generation
|
|
353
|
+
|
|
354
|
+
```
|
|
355
|
+
USER REQUEST: "Build an Instagram clone"
|
|
356
|
+
|
|
357
|
+
STEP 1: Parse
|
|
358
|
+
├── Domain: Social Media
|
|
359
|
+
├── Features: Photo sharing, engagement (likes/comments), user profiles
|
|
360
|
+
├── Implied: Feed, following, authentication
|
|
361
|
+
└── Scale: Potentially high (social apps go viral)
|
|
362
|
+
|
|
363
|
+
STEP 2: Decision Points
|
|
364
|
+
├── Blocking: Storage strategy, authentication method, feed type
|
|
365
|
+
├── High-leverage: Real-time notifications, data model complexity
|
|
366
|
+
└── Deferable: Analytics, advanced search, reels/video
|
|
367
|
+
|
|
368
|
+
STEP 3: Generate Questions (Priority)
|
|
369
|
+
|
|
370
|
+
P0 (Blocking):
|
|
371
|
+
1. Storage Strategy → Affects architecture, cost, speed
|
|
372
|
+
2. Feed Algorithm → Affects database queries, complexity
|
|
373
|
+
3. Auth Method → Affects dev time, UX, security
|
|
374
|
+
|
|
375
|
+
P1 (High-leverage):
|
|
376
|
+
4. Real-time Notifications → WebSocket vs polling
|
|
377
|
+
5. Media Processing → Client-side vs server-side optimization
|
|
378
|
+
|
|
379
|
+
P2 (Deferable):
|
|
380
|
+
6. Story/Reels → Major feature creep, defer to v2
|
|
381
|
+
7. DM/Chat → Separate subsystem, defer to v2
|
|
382
|
+
|
|
383
|
+
STEP 4: Format Output
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
---
|
|
387
|
+
|
|
388
|
+
## 📊 Generated Output (Example)
|
|
389
|
+
|
|
390
|
+
```
|
|
391
|
+
Based on your Instagram clone request:
|
|
392
|
+
|
|
393
|
+
## 🔴 CRITICAL DECISIONS (Cannot Proceed Without Answers)
|
|
394
|
+
|
|
395
|
+
### 1. **Photo Storage Strategy**
|
|
396
|
+
|
|
397
|
+
**Question:** Where will user photos be stored and served?
|
|
398
|
+
|
|
399
|
+
**Why This Matters:**
|
|
400
|
+
- Affects: Monthly hosting costs, page load speed, CDN complexity
|
|
401
|
+
- High-volume social apps: 1000 users × 10 photos × 2MB = 20GB storage
|
|
402
|
+
|
|
403
|
+
**Options:**
|
|
404
|
+
| Option | Cost | Speed | Complexity | Best For |
|
|
405
|
+
|--------|------|-------|------------|----------|
|
|
406
|
+
| **Cloudinary** | $89/mo (25GB) | Fast (CDN) | Low | MVP, rapid launch |
|
|
407
|
+
| **AWS S3 + CloudFront** | $0.023/GB | Fast (CDN) | Medium | Production, cost-optimized |
|
|
408
|
+
| **Supabase Storage** | Free tier 1GB | Medium | Low | Small scale, simple |
|
|
409
|
+
| **Local Storage** | Server cost | Slow | Low | Development only |
|
|
410
|
+
|
|
411
|
+
**If Not Specified:** Cloudinary (balanced for MVP)
|
|
412
|
+
|
|
413
|
+
---
|
|
414
|
+
|
|
415
|
+
### 2. **Feed Algorithm Choice**
|
|
416
|
+
|
|
417
|
+
**Question:** How should the main feed work?
|
|
418
|
+
|
|
419
|
+
**Why This Matters:**
|
|
420
|
+
- Affects: Database query complexity, caching strategy, development time
|
|
421
|
+
- Algorithmic feeds require ML infrastructure, ranking signals
|
|
422
|
+
|
|
423
|
+
**Options:**
|
|
424
|
+
| Option | Complexity | Database Impact | Best For |
|
|
425
|
+
|--------|------------|-----------------|----------|
|
|
426
|
+
| **Chronological** | Low | Simple query | Early stage, transparency |
|
|
427
|
+
| **Follow-Only** | Medium | JOIN with pagination | Most social apps |
|
|
428
|
+
| **Algorithmic** | High | Pre-computed feed tables | Instagram competitor |
|
|
429
|
+
|
|
430
|
+
**If Not Specified:** Follow-Only (balanced for social app)
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
### 3. **Authentication Approach**
|
|
435
|
+
|
|
436
|
+
**Question:** How do users sign up and login?
|
|
437
|
+
|
|
438
|
+
**Why This Matters:**
|
|
439
|
+
- Affects: Development time (2-5 hours), security posture, UX friction
|
|
440
|
+
|
|
441
|
+
**Options:**
|
|
442
|
+
| Option | Dev Time | Security | UX | Best For |
|
|
443
|
+
|--------|----------|----------|-----|----------|
|
|
444
|
+
| **Email/Password** | 4-5 hrs | High (if 2FA) | Medium | Full control needed |
|
|
445
|
+
| **Social Only** | 1-2 hrs | Provider-dependent | Smooth | B2C, rapid launch |
|
|
446
|
+
| **Magic Link** | 2-3 hrs | Medium | Very smooth | Security-focused |
|
|
447
|
+
| **Clerk/Auth0** | 1 hr | High | Smooth | Fastest to market |
|
|
448
|
+
|
|
449
|
+
**If Not Specified:** Clerk (fastest for MVP)
|
|
450
|
+
|
|
451
|
+
---
|
|
452
|
+
|
|
453
|
+
## 🟡 HIGH-LEVERAGE (Affects Architecture)
|
|
454
|
+
|
|
455
|
+
### 4. **Real-time Notifications**
|
|
456
|
+
|
|
457
|
+
**Question:** Do users need instant notifications for likes/comments?
|
|
458
|
+
|
|
459
|
+
**Why This Matters:**
|
|
460
|
+
- WebSocket adds infrastructure complexity (Redis pub/sub for scaling)
|
|
461
|
+
- Polling is simpler but higher latency
|
|
462
|
+
|
|
463
|
+
**Options:**
|
|
464
|
+
| Option | Complexity | Scale Cost | Best For |
|
|
465
|
+
|--------|------------|------------|----------|
|
|
466
|
+
| **WebSocket + Redis** | High | $10+/mo | >1000 concurrent users |
|
|
467
|
+
| **Polling (30s)** | Low | DB queries | <1000 users |
|
|
468
|
+
| **No Real-time** | None | None | MVP, validate first |
|
|
469
|
+
|
|
470
|
+
**If Not Specified:** Polling for MVP (defer WebSocket until validated)
|
|
471
|
+
|
|
472
|
+
---
|
|
473
|
+
|
|
474
|
+
## 🟢 NICE-TO-HAVE (Defer to v2)
|
|
475
|
+
|
|
476
|
+
### 5. **Video/Reels Support**
|
|
477
|
+
- Major complexity (video processing, streaming infrastructure)
|
|
478
|
+
- Recommendation: Launch with photos only, add video after validation
|
|
479
|
+
|
|
480
|
+
### 6. **Direct Messaging**
|
|
481
|
+
- Separate subsystem (chat infrastructure different from feed)
|
|
482
|
+
- Recommendation: Use Pusher/Stream for real-time or defer entirely
|
|
483
|
+
|
|
484
|
+
---
|
|
485
|
+
|
|
486
|
+
## 📋 Summary
|
|
487
|
+
|
|
488
|
+
| Decision | Recommendation | If Changed |
|
|
489
|
+
|----------|----------------|------------|
|
|
490
|
+
| Storage | Cloudinary | +3 hrs setup |
|
|
491
|
+
| Feed | Follow-only | +2 hrs query optimization |
|
|
492
|
+
| Auth | Clerk | -3 hrs dev time |
|
|
493
|
+
| Real-time | Polling | +5 hrs WebSocket setup |
|
|
494
|
+
| Video | Defer to v2 | N/A |
|
|
495
|
+
| DM | Defer to v2 | N/A |
|
|
496
|
+
|
|
497
|
+
**Total Estimated MVP Time:** 15-20 hours with recommendations above
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
---
|
|
501
|
+
|
|
502
|
+
## 🎯 Principles Recap
|
|
503
|
+
|
|
504
|
+
1. **Every question = Architectural decision** → Not data gathering
|
|
505
|
+
2. **Show trade-offs** → User understands consequences
|
|
506
|
+
3. **Prioritize blocking decisions** → Cannot proceed without
|
|
507
|
+
4. **Provide defaults** → If user doesn't answer, we proceed anyway
|
|
508
|
+
5. **Domain-aware** → Ecommerce questions ≠ Auth questions ≠ Real-time questions
|
|
509
|
+
6. **Iterative** → More questions as patterns emerge during implementation
|
|
510
|
+
|
|
511
|
+
---
|
|
512
|
+
|
|
513
|
+
## 🔗 Related
|
|
514
|
+
|
|
515
|
+
| File | When to Read |
|
|
516
|
+
|------|-------------|
|
|
517
|
+
| [../SKILL.md](../SKILL.md) | Socratic gate protocol, progress icons |
|
|
518
|
+
| [architecture-debate.md](architecture-debate.md) | 8-phase debate, YAGNI/KISS/DRY |
|
|
519
|
+
| [engineering-spec.md](engineering-spec.md) | Full engineering spec, contracts |
|
|
520
|
+
| `project-planner` | Post-gate task planning |
|
|
521
|
+
|
|
522
|
+
---
|
|
523
|
+
|
|
524
|
+
⚡ PikaKit v3.9.134
|
|
525
|
+
|
|
526
|
+
---
|
|
527
|
+
|
|
528
|
+
## 3. Engineering
|
|
529
|
+
|
|
530
|
+
**Impact: MEDIUM**
|
|
531
|
+
|
|
532
|
+
Full engineering specification covering contracts, security, and scalability.
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
# Idea Storm — Engineering Specification
|
|
536
|
+
|
|
537
|
+
> Production-grade specification for Socratic requirement clarification before implementation at FAANG scale.
|
|
538
|
+
|
|
539
|
+
---
|
|
540
|
+
|
|
541
|
+
## 1. Overview
|
|
542
|
+
|
|
543
|
+
Idea Storm provides a structured Socratic questioning protocol for requirement clarification: mandatory 3-question gate before implementation, structured question format with options and defaults, progress reporting with fixed icons, and error handling with trade-off presentation. The skill operates as an expert pure function — it produces structured questions, not answers. It does not implement features, create files, or make architecture decisions.
|
|
544
|
+
|
|
545
|
+
**Contract Version:** 2.0.0
|
|
546
|
+
**Backward Compatibility:** breaking (first hardened version)
|
|
547
|
+
**Breaking Changes:** None — new spec for first hardening
|
|
548
|
+
|
|
549
|
+
---
|
|
550
|
+
|
|
551
|
+
## 2. Problem Statement
|
|
552
|
+
|
|
553
|
+
Requirement clarification at scale faces four quantified problems:
|
|
554
|
+
|
|
555
|
+
| Problem | Measurement | Impact |
|
|
556
|
+
|---------|-------------|--------|
|
|
557
|
+
| Premature implementation | 60% of complex features start without requirements clarification | Wasted work, rework |
|
|
558
|
+
| Assumed requirements | 45% of developers assume scope instead of asking | Wrong features built |
|
|
559
|
+
| Over-engineered v1 | 35% of first versions include unnecessary complexity | Delayed delivery |
|
|
560
|
+
| Vague error communication | 50% of error reports lack trade-off options | User cannot decide |
|
|
561
|
+
|
|
562
|
+
Idea Storm eliminates these with a mandatory 3-question gate (STOP → ASK → WAIT), structured question format with options table and defaults, and error communication with explicit trade-offs.
|
|
563
|
+
|
|
564
|
+
---
|
|
565
|
+
|
|
566
|
+
## 3. Design Goals
|
|
567
|
+
|
|
568
|
+
| ID | Goal | Measurable Constraint |
|
|
569
|
+
|----|------|-----------------------|
|
|
570
|
+
| G1 | Mandatory questioning gate | Minimum 3 questions before any implementation |
|
|
571
|
+
| G2 | Structured question format | Each question has: priority, decision point, options table, default |
|
|
572
|
+
| G3 | Three core dimensions | Purpose (why), Users (who), Scope (what — must-have vs nice-to-have) |
|
|
573
|
+
| G4 | Options with trade-offs | Every question provides ≥ 2 options with pros/cons |
|
|
574
|
+
| G5 | Default when unspecified | Every question has a "If Not Specified" default with rationale |
|
|
575
|
+
| G6 | Progress icons | 5 fixed icons for status reporting |
|
|
576
|
+
|
|
577
|
+
---
|
|
578
|
+
|
|
579
|
+
## 4. Non-Goals
|
|
580
|
+
|
|
581
|
+
| ID | Excluded | Rationale |
|
|
582
|
+
|----|----------|-----------|
|
|
583
|
+
| NG1 | Task planning and breakdown | Owned by `project-planner` skill |
|
|
584
|
+
| NG2 | Architecture decisions | Owned by `system-design` skill |
|
|
585
|
+
| NG3 | Project scaffolding | Owned by `app-scaffold` skill |
|
|
586
|
+
| NG4 | Implementation code | Post-clarification concern |
|
|
587
|
+
| NG5 | User research | Business concern |
|
|
588
|
+
| NG6 | Creative ideation (divergent brainstorming) | Different cognitive mode |
|
|
589
|
+
|
|
590
|
+
---
|
|
591
|
+
|
|
592
|
+
## 5. System Boundaries
|
|
593
|
+
|
|
594
|
+
| Boundary | Owned | Not Owned |
|
|
595
|
+
|----------|-------|-----------|
|
|
596
|
+
| 3-question gate protocol (STOP → ASK → WAIT) | Gate enforcement | Implementation start |
|
|
597
|
+
| Structured question format | Template generation | Answer processing |
|
|
598
|
+
| Options with trade-offs | Trade-off table generation | Option recommendation |
|
|
599
|
+
| Progress reporting (5 icons) | Icon assignment | Task execution |
|
|
600
|
+
| Error communication pattern | 4-step error format | Error resolution |
|
|
601
|
+
| Architecture debate process | 8-phase debate (reference file) | Architecture implementation |
|
|
602
|
+
|
|
603
|
+
**Side-effect boundary:** Idea Storm produces structured questions and progress reports. It does not create files, start implementations, or make decisions on behalf of the user.
|
|
604
|
+
|
|
605
|
+
---
|
|
606
|
+
|
|
607
|
+
## 6. Integration Model
|
|
608
|
+
|
|
609
|
+
### 6.1 Agent Contract
|
|
610
|
+
|
|
611
|
+
#### Input Schema
|
|
612
|
+
|
|
613
|
+
```
|
|
614
|
+
Request_Type: string # "socratic-gate" | "question-format" | "progress-report" |
|
|
615
|
+
# "error-report" | "architecture-debate"
|
|
616
|
+
Context: {
|
|
617
|
+
user_request: string # The original user request text
|
|
618
|
+
request_complexity: string # "simple" | "complex" | "vague"
|
|
619
|
+
domain: string | null # "frontend" | "backend" | "full-stack" | "mobile" | "infra"
|
|
620
|
+
existing_answers: Array<{
|
|
621
|
+
dimension: string # "purpose" | "users" | "scope"
|
|
622
|
+
answer: string
|
|
623
|
+
}> | null
|
|
624
|
+
error_context: {
|
|
625
|
+
error_type: string
|
|
626
|
+
error_message: string
|
|
627
|
+
} | null
|
|
628
|
+
}
|
|
629
|
+
contract_version: string # "2.0.0"
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
#### Output Schema
|
|
633
|
+
|
|
634
|
+
```
|
|
635
|
+
Status: "gate-active" | "gate-passed" | "error-report" | "error"
|
|
636
|
+
Data: {
|
|
637
|
+
gate: {
|
|
638
|
+
questions_required: number # Always ≥ 3
|
|
639
|
+
questions: Array<{
|
|
640
|
+
priority: string # "P0" | "P1" | "P2"
|
|
641
|
+
dimension: string # "purpose" | "users" | "scope" | custom
|
|
642
|
+
question: string
|
|
643
|
+
why_it_matters: string
|
|
644
|
+
options: Array<{
|
|
645
|
+
name: string
|
|
646
|
+
pros: Array<string>
|
|
647
|
+
cons: Array<string>
|
|
648
|
+
}>
|
|
649
|
+
default: string # "If Not Specified" value
|
|
650
|
+
default_rationale: string
|
|
651
|
+
}>
|
|
652
|
+
answers_received: number
|
|
653
|
+
} | null
|
|
654
|
+
progress: {
|
|
655
|
+
icon: string # "✅" | "🔄" | "⏳" | "❌" | "⚠️"
|
|
656
|
+
status: string
|
|
657
|
+
detail: string
|
|
658
|
+
} | null
|
|
659
|
+
error_report: {
|
|
660
|
+
acknowledgment: string
|
|
661
|
+
explanation: string # User-friendly
|
|
662
|
+
solutions: Array<{
|
|
663
|
+
option: string
|
|
664
|
+
trade_off: string
|
|
665
|
+
}>
|
|
666
|
+
recommended: string | null
|
|
667
|
+
} | null
|
|
668
|
+
reference_file: string | null
|
|
669
|
+
metadata: {
|
|
670
|
+
contract_version: string
|
|
671
|
+
backward_compatibility: string
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
Error: ErrorSchema | null
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
#### Error Schema
|
|
678
|
+
|
|
679
|
+
```
|
|
680
|
+
Code: string # From Error Taxonomy (Section 11)
|
|
681
|
+
Message: string
|
|
682
|
+
Request_Type: string
|
|
683
|
+
Recoverable: boolean
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
#### Deterministic Guarantees
|
|
687
|
+
|
|
688
|
+
- Gate always requires minimum 3 questions.
|
|
689
|
+
- First 3 questions always cover: Purpose (P0), Users (P0), Scope (P1).
|
|
690
|
+
- Every question includes options table with ≥ 2 options.
|
|
691
|
+
- Every question includes "If Not Specified" default with rationale.
|
|
692
|
+
- Progress icons are fixed: ✅ completed, 🔄 running, ⏳ waiting, ❌ error, ⚠️ warning.
|
|
693
|
+
- Error reports always follow 4-step format: acknowledge, explain, offer solutions, ask.
|
|
694
|
+
- Question format is fixed markdown template.
|
|
695
|
+
|
|
696
|
+
#### What Agents May Assume
|
|
697
|
+
|
|
698
|
+
- Gate blocks implementation until ≥ 3 answers received.
|
|
699
|
+
- Questions cover the 3 core dimensions (purpose, users, scope).
|
|
700
|
+
- Options table provides decision support for the user.
|
|
701
|
+
- Progress icons are consistent across all PikaKit skills.
|
|
702
|
+
|
|
703
|
+
#### What Agents Must NOT Assume
|
|
704
|
+
|
|
705
|
+
- The skill answers questions on behalf of the user.
|
|
706
|
+
- The skill makes architecture or implementation decisions.
|
|
707
|
+
- Fewer than 3 questions are acceptable for complex requests.
|
|
708
|
+
- The user's first answer is always complete (follow-up may be needed).
|
|
709
|
+
|
|
710
|
+
#### Side-Effect Boundaries
|
|
711
|
+
|
|
712
|
+
| Operation | Side Effects |
|
|
713
|
+
|-----------|-------------|
|
|
714
|
+
| Socratic gate | None; questions generated |
|
|
715
|
+
| Question format | None; template output |
|
|
716
|
+
| Progress report | None; icon + status |
|
|
717
|
+
| Error report | None; 4-step communication |
|
|
718
|
+
| Architecture debate | None; 8-phase process reference |
|
|
719
|
+
|
|
720
|
+
### 6.2 Workflow Contract
|
|
721
|
+
|
|
722
|
+
#### Invocation Pattern
|
|
723
|
+
|
|
724
|
+
```
|
|
725
|
+
1. Receive user request
|
|
726
|
+
2. Evaluate complexity (simple/complex/vague)
|
|
727
|
+
3. If complex or vague → invoke socratic-gate
|
|
728
|
+
4. Present ≥ 3 structured questions to user
|
|
729
|
+
5. Wait for user responses
|
|
730
|
+
6. If all 3 dimensions answered → gate-passed
|
|
731
|
+
7. Hand off to project-planner or app-scaffold
|
|
732
|
+
```
|
|
733
|
+
|
|
734
|
+
#### Execution Guarantees
|
|
735
|
+
|
|
736
|
+
- Gate always produces ≥ 3 questions.
|
|
737
|
+
- Questions are ordered by priority (P0 first).
|
|
738
|
+
- Gate does not pass until minimum 3 answers received.
|
|
739
|
+
|
|
740
|
+
#### Failure Propagation Model
|
|
741
|
+
|
|
742
|
+
| Failure Severity | Propagation | Workflow Action |
|
|
743
|
+
|-----------------|-------------|-----------------|
|
|
744
|
+
| Invalid request type | Return error to caller | Use supported type |
|
|
745
|
+
| Missing user request | Return error to caller | Supply request text |
|
|
746
|
+
| Insufficient answers | Gate remains active | Continue asking |
|
|
747
|
+
|
|
748
|
+
#### Retry Boundaries
|
|
749
|
+
|
|
750
|
+
- Zero internal retries. Questions are deterministic.
|
|
751
|
+
|
|
752
|
+
#### Isolation Model
|
|
753
|
+
|
|
754
|
+
- Each invocation is stateless and independent.
|
|
755
|
+
|
|
756
|
+
#### Idempotency Expectations
|
|
757
|
+
|
|
758
|
+
| Operation | Idempotent | Notes |
|
|
759
|
+
|-----------|-----------|-------|
|
|
760
|
+
| Socratic gate | Yes | Same request = same questions |
|
|
761
|
+
| Question format | Yes | Fixed template |
|
|
762
|
+
| Progress report | Yes | Same status = same icon |
|
|
763
|
+
| Error report | Yes | Same error = same 4-step format |
|
|
764
|
+
|
|
765
|
+
---
|
|
766
|
+
|
|
767
|
+
## 7. Execution Model
|
|
768
|
+
|
|
769
|
+
### 2-Phase Lifecycle
|
|
770
|
+
|
|
771
|
+
| Phase | Action | Output |
|
|
772
|
+
|-------|--------|--------|
|
|
773
|
+
| **Classify** | Evaluate request complexity (simple/complex/vague) | Classification |
|
|
774
|
+
| **Generate** | Produce structured questions or reports | Complete output |
|
|
775
|
+
|
|
776
|
+
All phases synchronous. No async pipeline.
|
|
777
|
+
|
|
778
|
+
---
|
|
779
|
+
|
|
780
|
+
## 8. Deterministic Design Principles
|
|
781
|
+
|
|
782
|
+
| Principle | Enforcement |
|
|
783
|
+
|-----------|-------------|
|
|
784
|
+
| Fixed gate size | Minimum 3 questions; never fewer |
|
|
785
|
+
| Fixed dimensions | Purpose (P0), Users (P0), Scope (P1) — always first 3 |
|
|
786
|
+
| Fixed question template | Priority, decision point, question, why, options, default |
|
|
787
|
+
| Fixed option minimum | ≥ 2 options per question with pros/cons |
|
|
788
|
+
| Fixed default | Every question has "If Not Specified" + rationale |
|
|
789
|
+
| Fixed progress icons | 5 icons: ✅ 🔄 ⏳ ❌ ⚠️ |
|
|
790
|
+
| Fixed error format | 4 steps: acknowledge, explain, offer solutions, ask |
|
|
791
|
+
| No implementation | Questions only; never code or architecture |
|
|
792
|
+
|
|
793
|
+
---
|
|
794
|
+
|
|
795
|
+
## 9. State & Idempotency Model
|
|
796
|
+
|
|
797
|
+
Stateless. Fully idempotent. No persistent state.
|
|
798
|
+
|
|
799
|
+
Gate tracking (how many answers received) is the caller's responsibility.
|
|
800
|
+
|
|
801
|
+
---
|
|
802
|
+
|
|
803
|
+
## 10. Failure Handling Strategy
|
|
804
|
+
|
|
805
|
+
| Failure Class | Behavior | Caller Recovery |
|
|
806
|
+
|---------------|----------|-----------------|
|
|
807
|
+
| Unknown request type | Return `ERR_INVALID_REQUEST_TYPE` | Use supported type |
|
|
808
|
+
| Missing user request | Return `ERR_MISSING_REQUEST` | Supply request text |
|
|
809
|
+
| Invalid complexity | Return `ERR_INVALID_COMPLEXITY` | Use simple/complex/vague |
|
|
810
|
+
| Reference file missing | Return `ERR_REFERENCE_NOT_FOUND` | Verify installation |
|
|
811
|
+
|
|
812
|
+
**Invariant:** Every failure returns a structured error. No partial question sets.
|
|
813
|
+
|
|
814
|
+
---
|
|
815
|
+
|
|
816
|
+
## 11. Error Taxonomy
|
|
817
|
+
|
|
818
|
+
| Code | Category | Recoverable | Description |
|
|
819
|
+
|------|----------|-------------|-------------|
|
|
820
|
+
| `ERR_INVALID_REQUEST_TYPE` | Validation | No | Request type not supported |
|
|
821
|
+
| `ERR_MISSING_REQUEST` | Validation | Yes | User request text not provided |
|
|
822
|
+
| `ERR_INVALID_COMPLEXITY` | Validation | Yes | Complexity not simple/complex/vague |
|
|
823
|
+
| `ERR_REFERENCE_NOT_FOUND` | Infrastructure | No | Reference file missing |
|
|
824
|
+
|
|
825
|
+
---
|
|
826
|
+
|
|
827
|
+
## 12. Timeout & Retry Policy
|
|
828
|
+
|
|
829
|
+
| Parameter | Default | Maximum | Rationale |
|
|
830
|
+
|-----------|---------|---------|-----------|
|
|
831
|
+
| Question generation | N/A | N/A | Synchronous; < 50ms |
|
|
832
|
+
| Internal retries | Zero | Zero | Deterministic output |
|
|
833
|
+
|
|
834
|
+
---
|
|
835
|
+
|
|
836
|
+
## 13. Observability & Logging Schema
|
|
837
|
+
|
|
838
|
+
### OpenTelemetry Observability (MANDATORY)
|
|
839
|
+
|
|
840
|
+
- **Socratic Gate Telemetry**: The agent MUST emit an OpenTelemetry Span (`socratic_gate_duration`) encompassing the entire interaction from intercepting the vague request to receiving all mandatory answers.
|
|
841
|
+
- **Clarification Events**: Each time the agent asks a structured question (Purpose, Users, Scope), it MUST emit an OTel Event (`QUESTION_GENERATED`) containing the dimension and priority.
|
|
842
|
+
|
|
843
|
+
### Log Entry Format
|
|
844
|
+
|
|
845
|
+
```json
|
|
846
|
+
{
|
|
847
|
+
"trace_id": "uuid",
|
|
848
|
+
"skill_name": "idea-storm",
|
|
849
|
+
"contract_version": "2.0.0",
|
|
850
|
+
"execution_id": "uuid",
|
|
851
|
+
"timestamp": "ISO-8601",
|
|
852
|
+
"request_type": "string",
|
|
853
|
+
"request_complexity": "string",
|
|
854
|
+
"questions_generated": "number",
|
|
855
|
+
"dimensions_covered": "Array<string>",
|
|
856
|
+
"status": "gate-active|gate-passed|error",
|
|
857
|
+
"error_code": "string|null",
|
|
858
|
+
"duration_ms": "number"
|
|
859
|
+
}
|
|
860
|
+
```
|
|
861
|
+
|
|
862
|
+
### Required Log Points
|
|
863
|
+
|
|
864
|
+
| Event | Log Level | Fields |
|
|
865
|
+
|-------|-----------|--------|
|
|
866
|
+
| Gate activated | INFO | questions_generated, dimensions_covered |
|
|
867
|
+
| Gate passed | INFO | answers_received |
|
|
868
|
+
| Error reported | INFO | error_type, solutions_count |
|
|
869
|
+
| Decision failed | ERROR | error_code, message |
|
|
870
|
+
|
|
871
|
+
### Metrics
|
|
872
|
+
|
|
873
|
+
| Metric | Type | Unit |
|
|
874
|
+
|--------|------|------|
|
|
875
|
+
| `ideastorm.gate.duration` | Histogram | ms |
|
|
876
|
+
| `ideastorm.questions.generated` | Histogram | count |
|
|
877
|
+
| `ideastorm.complexity.distribution` | Counter | per level |
|
|
878
|
+
| `ideastorm.gate.pass_rate` | Gauge | 0.0-1.0 |
|
|
879
|
+
|
|
880
|
+
---
|
|
881
|
+
|
|
882
|
+
## 14. Security & Trust Model
|
|
883
|
+
|
|
884
|
+
### Data Handling
|
|
885
|
+
|
|
886
|
+
- User request text is treated as input data; no persistence.
|
|
887
|
+
- Questions contain no secrets, credentials, or PII.
|
|
888
|
+
- Options and trade-offs are generic architectural guidance.
|
|
889
|
+
|
|
890
|
+
---
|
|
891
|
+
|
|
892
|
+
## 15. Scalability Model
|
|
893
|
+
|
|
894
|
+
| Dimension | Constraint | Mitigation |
|
|
895
|
+
|-----------|-----------|------------|
|
|
896
|
+
| Throughput | CPU-bound template generation | < 50ms; scales linearly |
|
|
897
|
+
| Concurrency | Stateless invocations | Unlimited parallel |
|
|
898
|
+
| Reference storage | 1 file (~12 KB) | Static; no growth |
|
|
899
|
+
| Memory per invocation | < 1 MB | No accumulation |
|
|
900
|
+
| Network | Zero network calls | No external dependency |
|
|
901
|
+
|
|
902
|
+
---
|
|
903
|
+
|
|
904
|
+
## 16. Concurrency Model
|
|
905
|
+
|
|
906
|
+
Fully parallel. No shared state. No coordination required.
|
|
907
|
+
|
|
908
|
+
---
|
|
909
|
+
|
|
910
|
+
## 17. Resource Lifecycle Management
|
|
911
|
+
|
|
912
|
+
All resources scoped to invocation. No persistent handles.
|
|
913
|
+
|
|
914
|
+
---
|
|
915
|
+
|
|
916
|
+
## 18. Performance Constraints
|
|
917
|
+
|
|
918
|
+
| Operation | P50 Target | P99 Target | Hard Limit |
|
|
919
|
+
|-----------|-----------|-----------|------------|
|
|
920
|
+
| Question generation | < 5 ms | < 15 ms | 50 ms |
|
|
921
|
+
| Error report | < 3 ms | < 10 ms | 30 ms |
|
|
922
|
+
| Output size (questions) | ≤ 1,500 chars | ≤ 3,000 chars | 5,000 chars |
|
|
923
|
+
|
|
924
|
+
---
|
|
925
|
+
|
|
926
|
+
## 19. Operational Risks
|
|
927
|
+
|
|
928
|
+
| Risk | Likelihood | Impact | Mitigation |
|
|
929
|
+
|------|-----------|--------|------------|
|
|
930
|
+
| Gate skipped for "urgent" requests | Medium | Wrong features built | Gate is mandatory; no bypass |
|
|
931
|
+
| Too many questions overwhelm user | Low | User disengages | Minimum 3, maximum 5 per round |
|
|
932
|
+
| Questions too generic | Medium | No useful clarification | Fixed dimensions: purpose, users, scope |
|
|
933
|
+
| User answers incompletely | Medium | Partial requirements | Follow-up questions on missing dimensions |
|
|
934
|
+
| Gate treated as formality | Medium | Rubber-stamped answers | Options table forces meaningful choices |
|
|
935
|
+
|
|
936
|
+
---
|
|
937
|
+
|
|
938
|
+
## 20. Compliance with skill-design-guide.md
|
|
939
|
+
|
|
940
|
+
| Requirement | Status | Evidence |
|
|
941
|
+
|-------------|--------|----------|
|
|
942
|
+
| YAML frontmatter complete | ✅ | name, description, metadata with category, version, triggers, coordinates_with, success_metrics |
|
|
943
|
+
| SKILL.md < 200 lines | ✅ | Entry point under 200 lines |
|
|
944
|
+
| Prerequisites documented | ✅ | No external dependencies |
|
|
945
|
+
| When to Use section | ✅ | Situation-based routing table |
|
|
946
|
+
| Core content matches skill type | ✅ | Expert type: questioning protocol, fixed templates |
|
|
947
|
+
| Troubleshooting section | ✅ | Anti-patterns table |
|
|
948
|
+
| Related section | ✅ | Cross-links to /think, project-planner, app-scaffold |
|
|
949
|
+
| Content Map for multi-file | ✅ | Links to reference file + engineering-spec.md |
|
|
950
|
+
| Contract versioning | ✅ | contract_version, backward_compatibility, breaking_changes |
|
|
951
|
+
| Compliance matrix structured | ✅ | This table with ✅/❌ + evidence |
|
|
952
|
+
|
|
953
|
+
---
|
|
954
|
+
|
|
955
|
+
## 21. Production Readiness Checklist
|
|
956
|
+
|
|
957
|
+
| Category | Check | Status |
|
|
958
|
+
|----------|-------|--------|
|
|
959
|
+
| **Functionality** | 3-question gate (purpose, users, scope) | ✅ |
|
|
960
|
+
| **Functionality** | Structured question format with options/defaults | ✅ |
|
|
961
|
+
| **Functionality** | Progress reporting (5 fixed icons) | ✅ |
|
|
962
|
+
| **Functionality** | Error communication (4-step format) | ✅ |
|
|
963
|
+
| **Functionality** | Architecture debate reference | ✅ |
|
|
964
|
+
| **Contracts** | Input/output/error schemas in pseudo-schema format | ✅ |
|
|
965
|
+
| **Contracts** | Contract versioning with semver | ✅ |
|
|
966
|
+
| **Failure** | Error taxonomy with 4 categorized codes | ✅ |
|
|
967
|
+
| **Failure** | No partial question sets on error | ✅ |
|
|
968
|
+
| **Failure** | Zero internal retries | ✅ |
|
|
969
|
+
| **Determinism** | Fixed gate size, fixed dimensions, fixed template | ✅ |
|
|
970
|
+
| **Security** | No PII, no credentials | ✅ |
|
|
971
|
+
| **Observability** | Structured log schema with 5 mandatory fields | ✅ |
|
|
972
|
+
| **Observability** | 4 metrics defined | ✅ |
|
|
973
|
+
| **Performance** | P50/P99 targets for all operations | ✅ |
|
|
974
|
+
| **Scalability** | Stateless; unlimited parallel | ✅ |
|
|
975
|
+
| **Compliance** | All skill-design-guide.md sections mapped with evidence | ✅ |
|
|
976
|
+
|
|
977
|
+
---
|
|
978
|
+
|
|
979
|
+
## 🔗 Related
|
|
980
|
+
|
|
981
|
+
| File | When to Read |
|
|
982
|
+
|------|-------------|
|
|
983
|
+
| [../SKILL.md](../SKILL.md) | Quick reference, gate protocol, anti-patterns |
|
|
984
|
+
| [architecture-debate.md](architecture-debate.md) | 8-phase debate process |
|
|
985
|
+
| [dynamic-questioning.md](dynamic-questioning.md) | Domain question banks, algorithm |
|
|
986
|
+
| `project-planner` | Post-gate task planning |
|
|
987
|
+
| `app-scaffold` | Post-gate project scaffolding |
|
|
988
|
+
|
|
989
|
+
---
|
|
990
|
+
|
|
991
|
+
⚡ PikaKit v3.9.134
|
|
992
|
+
|
|
993
|
+
---
|
|
994
|
+
|
|
995
|
+
⚡ PikaKit v3.9.134
|