@ccoalm/ccl-skills 0.1.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.
Files changed (561) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +49 -0
  3. package/dist/assets/marketplace/.agents/plugins/marketplace.json +12 -0
  4. package/dist/assets/marketplace/.claude-plugin/marketplace.json +13 -0
  5. package/dist/assets/marketplace/marketplace-manifest.json +12 -0
  6. package/dist/assets/marketplace/plugins/ccl-skills/.claude-plugin/marketplace.json +16 -0
  7. package/dist/assets/marketplace/plugins/ccl-skills/.claude-plugin/plugin.json +5 -0
  8. package/dist/assets/marketplace/plugins/ccl-skills/.codex-plugin/plugin.json +5 -0
  9. package/dist/assets/marketplace/plugins/ccl-skills/.worktree-only +3 -0
  10. package/dist/assets/marketplace/plugins/ccl-skills/agent-context/session-start.md +45 -0
  11. package/dist/assets/marketplace/plugins/ccl-skills/agent-context/subagent-start.md +12 -0
  12. package/dist/assets/marketplace/plugins/ccl-skills/hooks/AGENTS.md +19 -0
  13. package/dist/assets/marketplace/plugins/ccl-skills/hooks/guard-delegation-owner.sh +125 -0
  14. package/dist/assets/marketplace/plugins/ccl-skills/hooks/guard-edit-isolation.sh +102 -0
  15. package/dist/assets/marketplace/plugins/ccl-skills/hooks/guard-merge-authorization.sh +1156 -0
  16. package/dist/assets/marketplace/plugins/ccl-skills/hooks/hooks.json +131 -0
  17. package/dist/assets/marketplace/plugins/ccl-skills/hooks/merge-authorization-prompt.sh +142 -0
  18. package/dist/assets/marketplace/plugins/ccl-skills/hooks/owner-dispatch-guard.sh +12 -0
  19. package/dist/assets/marketplace/plugins/ccl-skills/hooks/owner-dispatch-stop.sh +13 -0
  20. package/dist/assets/marketplace/plugins/ccl-skills/hooks/remind-post-merge-cleanup.sh +144 -0
  21. package/dist/assets/marketplace/plugins/ccl-skills/hooks/session-context.sh +87 -0
  22. package/dist/assets/marketplace/plugins/ccl-skills/hooks/session-start.sh +86 -0
  23. package/dist/assets/marketplace/plugins/ccl-skills/hooks/skill-extraction-gate-stop.sh +69 -0
  24. package/dist/assets/marketplace/plugins/ccl-skills/hooks/subagent-start.sh +26 -0
  25. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_guard_delegation_owner.sh +329 -0
  26. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_guard_edit_isolation.sh +322 -0
  27. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_guard_merge_authorization.sh +902 -0
  28. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_merge_authorization_prompt.sh +178 -0
  29. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_remind_post_merge_cleanup.sh +121 -0
  30. package/dist/assets/marketplace/plugins/ccl-skills/hooks/test_session_start.sh +170 -0
  31. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/AGENTS.md +17 -0
  32. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/ccl-skills.ts +564 -0
  33. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/commands/ccl-install-skills.md +14 -0
  34. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/commands/ccl-update-skills.md +44 -0
  35. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/commands/ccl-verify-skills.md +109 -0
  36. package/dist/assets/marketplace/plugins/ccl-skills/packages/opencode-plugin/commands/ccl-worktree-check.md +36 -0
  37. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/AGENTS.md +28 -0
  38. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/README.md +276 -0
  39. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/owner-dispatch.example.json +10 -0
  40. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/owner-dispatch.sh +1307 -0
  41. package/dist/assets/marketplace/plugins/ccl-skills/scripts/owner-dispatch/test.sh +941 -0
  42. package/dist/assets/marketplace/plugins/ccl-skills/skills/agents-file-coverage-gate/SKILL.md +45 -0
  43. package/dist/assets/marketplace/plugins/ccl-skills/skills/agents-file-coverage-gate/agents/openai.yaml +4 -0
  44. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/SKILL.md +188 -0
  45. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/agents/openai.yaml +4 -0
  46. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/android-dev.md +92 -0
  47. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/flutter-dev.md +80 -0
  48. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/ios-dev.md +72 -0
  49. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/kotlin-multiplatform.md +93 -0
  50. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/mobile-platform-boundaries.md +77 -0
  51. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/mobile-quality-release.md +77 -0
  52. package/dist/assets/marketplace/plugins/ccl-skills/skills/app-cross-platform-dev/references/source-evidence-map.md +64 -0
  53. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/SKILL.md +353 -0
  54. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/agents/openai.yaml +4 -0
  55. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/references/client-routing.md +419 -0
  56. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/references/manual-invocation-and-prompts.md +126 -0
  57. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/references/staged-review-contract.md +197 -0
  58. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/references/timeout-auth-and-capabilities.md +179 -0
  59. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/AGENTS.md +98 -0
  60. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/classify_envelope.py +93 -0
  61. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/classify_timeout_exit.sh +15 -0
  62. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/claude_review.sh +1438 -0
  63. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/codex_review.sh +324 -0
  64. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/concern_excerpt.py +295 -0
  65. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/egress_schema.py +214 -0
  66. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/init_policy_matrix.py +642 -0
  67. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/kimi_packet_mcp.py +181 -0
  68. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/kimi_review.sh +1165 -0
  69. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/opencode_review.sh +1190 -0
  70. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/parse_cli_review.py +946 -0
  71. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/parse_opencode_review.py +474 -0
  72. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/parse_probe_result.py +1899 -0
  73. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/parse_review_json.py +200 -0
  74. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/review_gate.py +2845 -0
  75. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/review_gate.sh +6 -0
  76. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/run_claude_capture.py +71 -0
  77. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/runtime-surface-verification-design.md +53 -0
  78. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_classify_envelope.sh +68 -0
  79. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_claude_review_probe.sh +2311 -0
  80. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_cli_review_wrappers.sh +1832 -0
  81. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_code_review_identity.sh +73 -0
  82. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_concern_excerpt.sh +245 -0
  83. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_egress_schema.sh +177 -0
  84. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_init_policy_matrix.sh +272 -0
  85. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_kimi_packet_mcp.py +195 -0
  86. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_opencode_review_concurrency.sh +120 -0
  87. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_opencode_review_retry.sh +1005 -0
  88. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_parse_opencode_review.sh +258 -0
  89. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_parse_probe_result.sh +574 -0
  90. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_parse_review_json.sh +349 -0
  91. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_review_client_compat.py +434 -0
  92. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_review_client_order.sh +264 -0
  93. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/test_review_gate.sh +2412 -0
  94. package/dist/assets/marketplace/plugins/ccl-skills/skills/code-review/scripts/verify_native_skill_binding.py +123 -0
  95. package/dist/assets/marketplace/plugins/ccl-skills/skills/defect-diagnosis/SKILL.md +153 -0
  96. package/dist/assets/marketplace/plugins/ccl-skills/skills/defect-diagnosis/agents/openai.yaml +4 -0
  97. package/dist/assets/marketplace/plugins/ccl-skills/skills/defect-diagnosis/references/diagnosis-playbook.md +54 -0
  98. package/dist/assets/marketplace/plugins/ccl-skills/skills/defect-diagnosis/references/prevention-routing.md +36 -0
  99. package/dist/assets/marketplace/plugins/ccl-skills/skills/feature-risk-router/SKILL.md +69 -0
  100. package/dist/assets/marketplace/plugins/ccl-skills/skills/feature-risk-router/agents/openai.yaml +4 -0
  101. package/dist/assets/marketplace/plugins/ccl-skills/skills/feature-risk-router/references/security-review-gate.md +41 -0
  102. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/SKILL.md +165 -0
  103. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/agents/openai.yaml +4 -0
  104. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/api-security-boundaries.md +47 -0
  105. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/architecture-playbook.md +160 -0
  106. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/artifact-generation-architecture.md +37 -0
  107. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/audit-history-architecture.md +29 -0
  108. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/bulk-workflow-architecture.md +33 -0
  109. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/config-rule-routing-architecture.md +34 -0
  110. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/cross-cutting-concerns.md +72 -0
  111. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/data-modeling-and-migrations.md +79 -0
  112. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/data-platform-architecture.md +210 -0
  113. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/dependency-platform.md +105 -0
  114. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/developer-tooling-architecture.md +38 -0
  115. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/error-contract-architecture.md +36 -0
  116. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/event-driven-architecture.md +260 -0
  117. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/http-gateway-architecture.md +74 -0
  118. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/mq-consumer-architecture.md +38 -0
  119. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/multi-tenant-isolation.md +275 -0
  120. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/notification-architecture.md +25 -0
  121. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/ops-checklist.md +57 -0
  122. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/performance-capacity-architecture.md +38 -0
  123. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/protobuf-contract-architecture.md +119 -0
  124. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/redis-cache-coordination.md +93 -0
  125. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/release-runtime-readiness.md +65 -0
  126. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/replay-comparison-architecture.md +26 -0
  127. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/runtime-observability.md +94 -0
  128. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/service-scaffold.md +76 -0
  129. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/source-evidence-map.md +55 -0
  130. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-architecture/references/workflow-state-architecture.md +38 -0
  131. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/SKILL.md +159 -0
  132. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/agents/openai.yaml +4 -0
  133. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/artifact-generation-patterns.md +37 -0
  134. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/audit-history-patterns.md +28 -0
  135. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/bulk-import-export-patterns.md +56 -0
  136. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/config-rule-routing-patterns.md +38 -0
  137. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/data-access-patterns.md +55 -0
  138. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/db-schema-and-dal-patterns.md +109 -0
  139. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/dependency-client-patterns.md +130 -0
  140. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/developer-tooling-patterns.md +70 -0
  141. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/domain-feature-patterns.md +78 -0
  142. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/engineering-patterns.md +119 -0
  143. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/error-contract-patterns.md +55 -0
  144. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/feature-playbook.md +61 -0
  145. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/http-gateway-client-patterns.md +76 -0
  146. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/mq-consumer-patterns.md +55 -0
  147. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/notification-patterns.md +42 -0
  148. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/observability-implementation-patterns.md +101 -0
  149. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/performance-capacity-patterns.md +44 -0
  150. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/protobuf-contract-patterns.md +72 -0
  151. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/public-api-integration-patterns.md +56 -0
  152. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/quality-and-testing-patterns.md +91 -0
  153. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/redis-cache-lock-patterns.md +123 -0
  154. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/release-ops-patterns.md +112 -0
  155. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/reliability-patterns.md +83 -0
  156. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/replay-comparison-patterns.md +32 -0
  157. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/scaffold-and-codegen.md +86 -0
  158. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/source-evidence-map.md +54 -0
  159. package/dist/assets/marketplace/plugins/ccl-skills/skills/go-microservice-dev/references/state-machine-task-patterns.md +45 -0
  160. package/dist/assets/marketplace/plugins/ccl-skills/skills/grill-me/SKILL.md +80 -0
  161. package/dist/assets/marketplace/plugins/ccl-skills/skills/grill-me/agents/openai.yaml +4 -0
  162. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/SKILL.md +117 -0
  163. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/agents/openai.yaml +4 -0
  164. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-approval-auto-reviewer.md +106 -0
  165. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-command-sandbox.md +441 -0
  166. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-context-freshness.md +47 -0
  167. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-credentials-auth.md +13 -0
  168. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-extensions-skills.md +13 -0
  169. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-file-edit-protocol.md +129 -0
  170. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-ide-integration.md +5 -0
  171. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-input-ingestion.md +13 -0
  172. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-instruction-composition.md +13 -0
  173. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-lifecycle-hooks.md +92 -0
  174. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-messaging.md +5 -0
  175. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-runtime-bootstrap.md +5 -0
  176. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-session-persistence.md +448 -0
  177. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-task-orchestration.md +13 -0
  178. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-tool-dispatch.md +123 -0
  179. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/agent-turn-lifecycle.md +131 -0
  180. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/inference-capacity-operations.md +162 -0
  181. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/llm-client-gateway.md +156 -0
  182. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/model-prompt-evaluation.md +146 -0
  183. package/dist/assets/marketplace/plugins/ccl-skills/skills/llm-inference-integration/references/retrieval-agent-safety.md +273 -0
  184. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/SKILL.md +202 -0
  185. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/agents/openai.yaml +4 -0
  186. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/contracts-and-state.md +62 -0
  187. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/cross-stack-alignment.md +94 -0
  188. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/framework-choice.md +76 -0
  189. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/online-practice-uptake.md +56 -0
  190. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/platform-capabilities.md +91 -0
  191. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/product-page-checklist.md +40 -0
  192. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/qa-release.md +72 -0
  193. package/dist/assets/marketplace/plugins/ccl-skills/skills/miniapp-product-dev/references/source-evidence-map.md +82 -0
  194. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-agent-delegation/SKILL.md +103 -0
  195. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-agent-delegation/agents/openai.yaml +5 -0
  196. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-agent-delegation/references/multi-agent-delegation-playbook.md +100 -0
  197. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/SKILL.md +70 -0
  198. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/agents/openai.yaml +4 -0
  199. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/references/public-data-acquisition.md +549 -0
  200. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/references/public-disclosure-channels.md +97 -0
  201. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/references/research-prompts.md +66 -0
  202. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/scripts/AGENTS.md +32 -0
  203. package/dist/assets/marketplace/plugins/ccl-skills/skills/multi-perspective-research/scripts/test-public-data-acquisition-recipes.sh +379 -0
  204. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/SKILL.md +244 -0
  205. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/agents/openai.yaml +4 -0
  206. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/alerting-and-on-call.md +76 -0
  207. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/framework-middleware-checklist.md +142 -0
  208. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/infra-component-deployment.md +268 -0
  209. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/log-correlation-recipe.md +124 -0
  210. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/log-schema-canonical.md +208 -0
  211. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/metrics-conventions.md +105 -0
  212. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/obs-stack-architecture.md +107 -0
  213. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/sli-slo-design.md +95 -0
  214. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-observability/references/source-register.md +11 -0
  215. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/SKILL.md +303 -0
  216. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/agents/openai.yaml +4 -0
  217. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/canary-and-rollout-strategy.md +163 -0
  218. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/config-center-via-etcd.md +245 -0
  219. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/custom-control-plane-boundary.md +298 -0
  220. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/deploy-cli-concrete-recipe.md +312 -0
  221. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/deploy-pipeline.md +165 -0
  222. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/env-and-lane-matrix.md +126 -0
  223. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/lane-orchestration-control-plane.md +383 -0
  224. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/multi-region-and-cluster.md +135 -0
  225. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/promotion-gate-and-review.md +149 -0
  226. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/python-package-registry-release.md +462 -0
  227. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/rollback-playbook.md +123 -0
  228. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/secret-and-config-management.md +231 -0
  229. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-release-engineering/references/version-authority-and-deprecation.md +21 -0
  230. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/SKILL.md +276 -0
  231. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/agents/openai.yaml +4 -0
  232. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/dual-sidecar-and-traffic-config-center.md +127 -0
  233. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/framework-middleware.md +143 -0
  234. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/grpc-authority-workaround.md +90 -0
  235. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/http-response-envelope-contract.md +24 -0
  236. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/mesh-architecture.md +127 -0
  237. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/multi-env-routing.md +192 -0
  238. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/protobuf-http-contract-signals.md +64 -0
  239. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/retry-timeout-circuit-breaker.md +124 -0
  240. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/rpc-framework-recipe.md +494 -0
  241. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/service-discovery-choice.md +113 -0
  242. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/service-discovery-migration-playbook.md +231 -0
  243. package/dist/assets/marketplace/plugins/ccl-skills/skills/platform-service-connectivity/references/service-discovery-recipe.md +131 -0
  244. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/SKILL.md +235 -0
  245. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/agents/openai.yaml +4 -0
  246. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/adr-convention.md +146 -0
  247. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-checklist.md +30 -0
  248. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-evaluation-report-template.md +25 -0
  249. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-execution-spec.md +108 -0
  250. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-sop.md +457 -0
  251. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/algorithm-launch-templates.md +24 -0
  252. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/artifact-egress-confidentiality.md +58 -0
  253. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/code-review-checklist.md +86 -0
  254. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/cross-repo-coordination.md +46 -0
  255. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/delivery-lifecycle.md +192 -0
  256. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/design-review-gate-mechanics.md +62 -0
  257. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/design-routing-and-readiness.md +45 -0
  258. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/diagnostic-spec-match-gate.md +36 -0
  259. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/dispatch-owner-skills.md +35 -0
  260. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/dormant-code-activation.md +47 -0
  261. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/existing-project-assessment-report.md +223 -0
  262. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/external-skill-augmentation.md +46 -0
  263. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/feature-deprecation-cascade.md +15 -0
  264. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/high-risk-resilience-gates.md +73 -0
  265. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/implementation-completeness-and-minimality.md +120 -0
  266. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/implementation-entry-reentry-gate.md +122 -0
  267. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/modular-monolith-heuristic.md +105 -0
  268. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/pre-final-continuation-gate.md +115 -0
  269. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/problem-resolution-and-learning.md +62 -0
  270. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/quality-attributes.md +112 -0
  271. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/quality-remediation-program.md +88 -0
  272. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/rd-standards-doc-family-checklist.md +27 -0
  273. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/refactoring-discipline.md +52 -0
  274. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/review-reception.md +34 -0
  275. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/shared-gate-artifact-classification.md +76 -0
  276. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/source-evidence-map.md +31 -0
  277. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/status-tracker-sync.md +77 -0
  278. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/sync-spec-repo-contract.md +25 -0
  279. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/verify-developer-experience.md +34 -0
  280. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/references/worktree-mechanics.md +55 -0
  281. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/scripts/AGENTS.md +18 -0
  282. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-rd-workflow/scripts/check-agent-contract-coverage.sh +213 -0
  283. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/SKILL.md +136 -0
  284. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/agents/openai.yaml +9 -0
  285. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/analytics-visualization-interactions.md +206 -0
  286. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/behavioral-aesthetic-logic.md +108 -0
  287. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/complex-creation-interactions.md +194 -0
  288. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/design-execution-checklist.md +214 -0
  289. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/design-impl-naming-and-versioning.md +53 -0
  290. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/design-intake-and-acceptance.md +129 -0
  291. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/design-system-source-of-truth.md +97 -0
  292. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/external-ui-ux-quality-benchmarks.md +79 -0
  293. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/frontend-code-evidence-map.md +63 -0
  294. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/interaction-design-patterns.md +146 -0
  295. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/layout-recipes-and-screenshot-acceptance.md +250 -0
  296. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/multi-project-token-consistency.md +237 -0
  297. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/multi-stack-strategy.md +65 -0
  298. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/operational-processing-workflows.md +237 -0
  299. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/platform-mobile-patterns.md +324 -0
  300. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/platform-web-desktop-patterns.md +456 -0
  301. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/product-lifecycle-acceptance-and-iteration.md +114 -0
  302. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/product-surface-patterns.md +79 -0
  303. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/resource-management-interactions.md +113 -0
  304. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/scenario-community-patterns.md +133 -0
  305. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/source-map.md +130 -0
  306. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/tokens-and-components.md +47 -0
  307. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/trust-sensitive-ai-and-data-patterns.md +96 -0
  308. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/ui-ux-audit.md +106 -0
  309. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/ui-ux-design-development.md +176 -0
  310. package/dist/assets/marketplace/plugins/ccl-skills/skills/product-ui-ux-design/references/visual-craft.md +111 -0
  311. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/SKILL.md +157 -0
  312. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/agents/openai.yaml +4 -0
  313. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/ai-service-integration-boundaries.md +57 -0
  314. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/api-contract-and-schema.md +62 -0
  315. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/api-security-boundaries.md +39 -0
  316. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/architecture-playbook.md +46 -0
  317. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/async-execution-model.md +24 -0
  318. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/background-jobs-and-scheduling.md +18 -0
  319. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/batch-and-pipeline-architecture.md +11 -0
  320. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/config-secrets-runtime.md +22 -0
  321. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/data-modeling-and-migrations.md +64 -0
  322. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/data-platform-architecture.md +211 -0
  323. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/event-driven-architecture.md +263 -0
  324. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/multi-tenant-isolation.md +281 -0
  325. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/observability-and-ops.md +26 -0
  326. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/packaging-runtime-readiness.md +20 -0
  327. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/redis-cache-coordination.md +41 -0
  328. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/reliability-and-error-contract.md +17 -0
  329. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/source-evidence-map.md +55 -0
  330. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-architecture/references/web-framework-boundaries.md +26 -0
  331. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/SKILL.md +143 -0
  332. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/agents/openai.yaml +4 -0
  333. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/ai-service-wiring-patterns.md +16 -0
  334. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/async-and-worker-patterns.md +24 -0
  335. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/background-job-patterns.md +18 -0
  336. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/batch-and-artifact-patterns.md +13 -0
  337. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/dependency-client-patterns.md +39 -0
  338. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/error-handling-patterns.md +26 -0
  339. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/feature-playbook.md +43 -0
  340. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/observability-implementation-patterns.md +31 -0
  341. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/project-structure-and-tooling.md +24 -0
  342. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/public-api-security-patterns.md +52 -0
  343. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/redis-cache-lock-patterns.md +78 -0
  344. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/schema-and-validation-patterns.md +23 -0
  345. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/source-evidence-map.md +56 -0
  346. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/sqlalchemy-and-migrations-patterns.md +99 -0
  347. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/testing-and-quality-patterns.md +61 -0
  348. package/dist/assets/marketplace/plugins/ccl-skills/skills/python-service-dev/references/web-framework-patterns.md +35 -0
  349. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/SKILL.md +91 -0
  350. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/agents/openai.yaml +4 -0
  351. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/config-runtime-readback.md +20 -0
  352. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/mr-merge-authorization.md +31 -0
  353. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/post-release-env-reset.md +31 -0
  354. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/release-closeout-evidence.md +20 -0
  355. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/release-scope-confirmation.md +21 -0
  356. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/tag-and-prod-pipeline-gate.md +20 -0
  357. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/test-scope-prompt.md +24 -0
  358. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-coordination/references/watcher-discipline.md +14 -0
  359. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/SKILL.md +64 -0
  360. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/agents/openai.yaml +4 -0
  361. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/references/comment-safe-release-doc.md +19 -0
  362. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/references/release-evidence-workflow.md +23 -0
  363. package/dist/assets/marketplace/plugins/ccl-skills/skills/release-doc-writer/references/release-testing-scope-section.md +15 -0
  364. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-baseline/SKILL.md +87 -0
  365. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-baseline/agents/openai.yaml +4 -0
  366. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/SKILL.md +130 -0
  367. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/agents/openai.yaml +4 -0
  368. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/references/prd-composition-contract.md +35 -0
  369. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/references/requirement-closure-contract.md +86 -0
  370. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-doc-writer/references/security-four-questions.md +38 -0
  371. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-intent/SKILL.md +91 -0
  372. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-intent/agents/openai.yaml +4 -0
  373. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-scope/SKILL.md +88 -0
  374. package/dist/assets/marketplace/plugins/ccl-skills/skills/requirement-scope/agents/openai.yaml +4 -0
  375. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/SKILL.md +337 -0
  376. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/agents/openai.yaml +4 -0
  377. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/analysis-parse-fix-test-challenge-replay.md +47 -0
  378. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/attribution-verification.md +69 -0
  379. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/bootstrap-slim-c3-obligation-table.md +112 -0
  380. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/coverage-exhaustion-traps.md +45 -0
  381. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/description-authoring.md +162 -0
  382. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/dual-track-review-gate.md +507 -0
  383. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/eval-routing.md +86 -0
  384. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/evidence-card-template.md +51 -0
  385. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/example-domain-preselect.md +79 -0
  386. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/external-practice-controls.md +57 -0
  387. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/extraction-lifecycle-handoff.md +65 -0
  388. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/extraction-quickstart.md +194 -0
  389. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/firing-point-placement.md +75 -0
  390. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/harness-patterns-and-eval.md +286 -0
  391. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/incident-postmortem-extraction.md +190 -0
  392. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/l0-l1-l2-routing.md +114 -0
  393. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/online-skill-review.md +47 -0
  394. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/parallel-stack-references-pattern.md +164 -0
  395. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/r0-leakage-audit.md +90 -0
  396. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/recurring-anti-patterns-checklist.md +320 -0
  397. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/resume-paused-delivery.md +16 -0
  398. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/review-feedback-mining.md +33 -0
  399. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/review-finding-standards.md +57 -0
  400. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/review-rubric.md +40 -0
  401. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/rule-consolidation.md +118 -0
  402. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/skill-listing-budget.md +19 -0
  403. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/source-register.md +254 -0
  404. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/source-to-skill-extraction.md +658 -0
  405. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/two-source-extraction-pattern.md +167 -0
  406. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/uiux-judgment-extraction.md +179 -0
  407. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/uiux-routing-map.md +51 -0
  408. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/references/validation-and-landing.md +180 -0
  409. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/AGENTS.md +18 -0
  410. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-ccl-skills.sh +1452 -0
  411. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-evidence-card-leak.sh +491 -0
  412. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-mr-target-freshness.sh +173 -0
  413. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-size-budget.sh +488 -0
  414. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/check-sync-pointers.sh +419 -0
  415. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/eval-golden-trace.rb +197 -0
  416. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/eval-health.rb +327 -0
  417. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/eval-routing-bank.rb +401 -0
  418. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/eval-routing.rb +248 -0
  419. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/generic-r0-leak-scan.sh +282 -0
  420. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/governing-chain-diff.py +321 -0
  421. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/impact-chain-gate.rb +964 -0
  422. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/register-firing-path-resolution.rb +708 -0
  423. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/skill-behavior-eval.py +540 -0
  424. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/source-register-lifecycle.rb +51 -0
  425. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/source-register-pending-status.rb +55 -0
  426. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_ai_coding_implementation_gates.sh +829 -0
  427. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_impact_chain_refscripts.sh +1203 -0
  428. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_r0_status.sh +75 -0
  429. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_register_pending_exclusion.sh +137 -0
  430. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_regressions.sh +173 -0
  431. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_route_drift.sh +377 -0
  432. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_size_budget.sh +833 -0
  433. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_skill_catalog.sh +491 -0
  434. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_ccl_source_register_lifecycle.sh +114 -0
  435. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_mr_target_freshness.sh +261 -0
  436. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_check_sync_pointers.sh +538 -0
  437. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_controlled_escalation_pins.sh +154 -0
  438. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_eval_routing_bank_grader_diagnostics.sh +190 -0
  439. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_eval_routing_bank_surface_binding.sh +178 -0
  440. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_eval_routing_prose_target.sh +86 -0
  441. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_generic_r0_leak_scan.sh +131 -0
  442. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_git_identity_predicate_gate.sh +243 -0
  443. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_governing_chain_diff.sh +419 -0
  444. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_impact_chain_gate_dateless_host.sh +120 -0
  445. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_register_firing_path_resolution.sh +724 -0
  446. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_register_firing_path_wiring.sh +414 -0
  447. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_regression_runner_registration.sh +34 -0
  448. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_routing_bank_integrity.sh +205 -0
  449. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_routing_pointer_integrity.sh +194 -0
  450. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_validate_skill_credential_cwd.sh +61 -0
  451. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_validate_skill_cross_refs.sh +111 -0
  452. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/test_validate_skill_root_depth.sh +53 -0
  453. package/dist/assets/marketplace/plugins/ccl-skills/skills/skill-extraction-workflow/scripts/validate-skill.sh +257 -0
  454. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/SKILL.md +98 -0
  455. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/agents/openai.yaml +4 -0
  456. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/references/input-state-machines.md +36 -0
  457. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/references/streaming-rich-output.md +130 -0
  458. package/dist/assets/marketplace/plugins/ccl-skills/skills/terminal-cli-dev/references/terminal-side-channels.md +96 -0
  459. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/SKILL.md +408 -0
  460. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/agents/openai.yaml +4 -0
  461. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/AGENTS.md +18 -0
  462. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/bitable-setup.md +573 -0
  463. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/ci_templates/README.md +120 -0
  464. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/ci_templates/github-actions.yml +119 -0
  465. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/ci_templates/gitlab-ci.yml +76 -0
  466. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/ci_templates/jenkins.Jenkinsfile +106 -0
  467. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/classical-test-design-techniques.md +279 -0
  468. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/gen_report.py +2807 -0
  469. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/makefile-template.md +200 -0
  470. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/report-config-schema.md +272 -0
  471. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/run_pytestless.py +475 -0
  472. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/source-to-case-workflows.md +258 -0
  473. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc-marker-conventions.md +316 -0
  474. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc-review-and-prioritization.md +145 -0
  475. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/AGENTS.md +16 -0
  476. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/tc.dart +129 -0
  477. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/tc.go +197 -0
  478. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/tc.py +135 -0
  479. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/tc_helpers/tc.ts +285 -0
  480. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/test_gen_report.py +2144 -0
  481. package/dist/assets/marketplace/plugins/ccl-skills/skills/test-artifact-management/references/update-lifecycle.md +62 -0
  482. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/SKILL.md +212 -0
  483. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/agents/openai.yaml +4 -0
  484. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/ci-fixtures-and-flake-control.md +75 -0
  485. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/client-runtime-test-matrices.md +50 -0
  486. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/data-and-workflow-testing.md +34 -0
  487. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/design-closed-contract-oracles.md +31 -0
  488. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/e2e-real-flow-testing.md +71 -0
  489. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/fitness-functions.md +240 -0
  490. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/integration-contract-testing.md +235 -0
  491. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/non-functional-specialized-scenarios.md +296 -0
  492. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/rd-testing-standard-template.md +126 -0
  493. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/run-killing-mutation-walk.md +43 -0
  494. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/scenario-testing.md +136 -0
  495. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/source-evidence-map.md +59 -0
  496. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/structured-tc-input-translation.md +67 -0
  497. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/test-code-authoring-patterns.md +392 -0
  498. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/test-data-and-determinism.md +39 -0
  499. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/test-topology-and-commands.md +92 -0
  500. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/unit-testing.md +46 -0
  501. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/vendored-contract-drift-checklist.md +64 -0
  502. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/references/verify-enforcement-mechanisms.md +18 -0
  503. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/AGENTS.md +17 -0
  504. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/client-terminal-ansi-check.py +140 -0
  505. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/client-terminal-ansi-check.test.sh +75 -0
  506. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/lang-basics-ast-check.py +170 -0
  507. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/lang-basics-ast-check.test.sh +87 -0
  508. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/lang-basics-go-check.go +198 -0
  509. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/lang-basics-go-check.test.sh +109 -0
  510. package/dist/assets/marketplace/plugins/ccl-skills/skills/testing-strategy/scripts/test_mutation_backup_recipe.sh +237 -0
  511. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/SKILL.md +184 -0
  512. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/agents/openai.yaml +4 -0
  513. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/comment-safe-feishu.md +93 -0
  514. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/cross-model-co-review.md +3 -0
  515. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/delivery-face-closeout.md +60 -0
  516. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/doc-charter-first.md +17 -0
  517. package/dist/assets/marketplace/plugins/ccl-skills/skills/tighten-doc/references/session-vantage-leakage.md +58 -0
  518. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/SKILL.md +126 -0
  519. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/agents/openai.yaml +4 -0
  520. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/complex-workspace-patterns.md +47 -0
  521. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/embedded-h5-in-host.md +87 -0
  522. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/react-architecture.md +194 -0
  523. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/source-evidence-map.md +60 -0
  524. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/web-quality-release.md +190 -0
  525. package/dist/assets/marketplace/plugins/ccl-skills/skills/web-react-dev/references/web-ui-quality.md +83 -0
  526. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/SKILL.md +179 -0
  527. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/agents/openai.yaml +4 -0
  528. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/references/shared-branch-rebase.md +25 -0
  529. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/AGENTS.md +23 -0
  530. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/test_worktree_status.sh +207 -0
  531. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/test_worktree_sweep.sh +481 -0
  532. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/worktree-status.sh +325 -0
  533. package/dist/assets/marketplace/plugins/ccl-skills/skills/worktree-isolation/scripts/worktree-sweep.sh +245 -0
  534. package/dist/assets/release.json +2797 -0
  535. package/dist/claude-adapter.d.ts +9 -0
  536. package/dist/claude-adapter.js +240 -0
  537. package/dist/cli-worker.d.ts +1 -0
  538. package/dist/cli-worker.js +32 -0
  539. package/dist/cli.d.ts +22 -0
  540. package/dist/cli.js +214 -0
  541. package/dist/codex-host.d.ts +30 -0
  542. package/dist/codex-host.js +162 -0
  543. package/dist/fs-safe.d.ts +21 -0
  544. package/dist/fs-safe.js +241 -0
  545. package/dist/index.d.ts +2 -0
  546. package/dist/index.js +1 -0
  547. package/dist/manifest.d.ts +8 -0
  548. package/dist/manifest.js +135 -0
  549. package/dist/opencode-adapter.d.ts +10 -0
  550. package/dist/opencode-adapter.js +416 -0
  551. package/dist/operations.d.ts +3 -0
  552. package/dist/operations.js +956 -0
  553. package/dist/paths.d.ts +20 -0
  554. package/dist/paths.js +4 -0
  555. package/dist/types.d.ts +58 -0
  556. package/dist/types.js +1 -0
  557. package/dist/unified.d.ts +4 -0
  558. package/dist/unified.js +64 -0
  559. package/dist/version.d.ts +2 -0
  560. package/dist/version.js +5 -0
  561. package/package.json +35 -0
@@ -0,0 +1,206 @@
1
+ # Analytics Visualization Interactions
2
+
3
+ Use this reference when designing or implementing insight-heavy surfaces: creator analytics, topic health, user growth, retention, content performance, trust/safety monitoring, AI quality analytics, or operational dashboards.
4
+
5
+ Source provenance lives in `source-map.md`. Use this reference only for chart, comparison, drill-down, filter, and report interaction mechanics.
6
+
7
+ ## Core Value Extracted
8
+
9
+ The strong design idea is **decision-oriented analysis**, not decorative charts:
10
+
11
+ - Filters define the analytical question before charts appear.
12
+ - Overview metrics summarize the current scope.
13
+ - Charts reveal distribution, trend, comparison, or exception.
14
+ - Tables/lists let users inspect the underlying items.
15
+ - Drill-down preserves context from overview to segment to detail.
16
+ - Permission, missing data, partial data, and comparison setup are explicit states.
17
+
18
+ ## Analytics Surface Model
19
+
20
+ Use this structure:
21
+
22
+ 1. **Scope bar**: time range, segment, topic/community, audience, content type, comparison target, and permission scope.
23
+ 2. **Metric summary**: only metrics that drive an action or interpretation.
24
+ 3. **Visualization cluster**: trend, distribution, ranking, funnel, cohort, comparison, or quality breakdown.
25
+ 4. **Explainability layer**: definition, source, timestamp, sample/data scope, caveat, and benchmark.
26
+ 5. **Detail list/table**: underlying items, creators, posts, comments, reports, cohorts, or AI outputs.
27
+ 6. **Drill-down path**: overview -> segment -> item/detail, with persistent breadcrumb/context.
28
+ 7. **Action layer**: export, share, inspect, adjust filter, create follow-up task, or open detail.
29
+
30
+ ## Chart Interaction Rules
31
+
32
+ - Never rely on color alone. Label current, previous, target, benchmark, and abnormal directly.
33
+ - Keep selected filter and comparison target visible after they affect the chart.
34
+ - Pair hover/tooltips with persistent labels for important values.
35
+ - Give empty and no-comparison states a setup action, not a blank chart.
36
+ - Show partial-data, stale-data, and permission-limited labels near the affected chart.
37
+ - For dense legends, allow hide/show series but keep the default view interpretable.
38
+ - If a chart drives a decision, provide the underlying list or drill-down.
39
+ - Avoid chart variety for decoration. Choose chart type by question:
40
+ - Trend: change over time.
41
+ - Distribution: spread across buckets.
42
+ - Ranking: top/bottom entities.
43
+ - Funnel: step conversion.
44
+ - Cohort: retention or repeated behavior.
45
+ - Comparison: current vs baseline/target/segment.
46
+
47
+ ## Mobile Analytics Rules
48
+
49
+ - Use cards and progressive disclosure instead of desktop-sized tables.
50
+ - Put filters in a sheet or compact selector, and show active filter chips after selection.
51
+ - Keep one primary chart per viewport region.
52
+ - Move detailed tables into drill-down screens or bottom sheets.
53
+ - Preserve context when returning from detail.
54
+ - For threshold/benchmark settings, treat them as advanced controls.
55
+ - Split mobile reports into overview, module, and detail layers. Overview cards summarize; module cards explain and chart; detail pages carry dense tables, fixed columns, sort, compare, and item inspection.
56
+ - Model all-scope, single-scope, permission-limited scope, and comparison setup as distinct states. Do not use an empty selector to mean "all".
57
+ - Dynamic grouped tables should generate columns from data shape but keep row identity stable with sticky context columns, stable grouped headers, visible sort state, and horizontal scroll boundaries.
58
+ - When a user setting changes a chart threshold, level band, color rule, or benchmark, refresh the affected module and preserve the rest of the report unless the scope itself changed.
59
+ - If a permission scope is narrower than a benchmark or reference scope, label the coverage difference near the affected metric and avoid overwriting fuller cached context with a shorter partial response.
60
+ - Benchmarks and reference lines need local labels that remain readable on narrow screens; if labels collide, prefer fewer labels or a drilldown over unreadable chart decoration.
61
+ - Mobile chart and table states must include loading, empty, error/retry, no comparison target, partial data, stale data, and too-little-data variants at the module level.
62
+
63
+ ## Web Analytics Rules
64
+
65
+ - Use sticky filters and stable toolbar height.
66
+ - Keep metric cards compact and scannable.
67
+ - Use side panels or drawers for definitions, details, and setup.
68
+ - Tables should preserve row identity, selected state, sort/filter state, and use the sticky header/fixed-action-column primitive from `ui-ux-design-development.md` when horizontal scrolling is required.
69
+ - Wide charts need min/max width behavior and should not collapse into unreadable labels.
70
+ - Share / deep-link actions use routed identity — a URL composed of `(moduleInstanceId | metricId, level, scope, report, tenant, schema-version)` plus safe current-view parameters or references. When the recipient opens the link, authorization is re-evaluated server-side and current data is fetched; the link itself is not a data snapshot.
71
+ - Export / download actions are server-side data requests, not just routed identifiers — the export job payload must compose routed identity + current filter-set + config-version + sheet/data selection + a snapshot/generation token, and the resulting artifact must carry timestamp / staleness disclosure. Only snapshot-sharing (recipient sees the data as it was at export time) opts into export-artifact semantics; live-link sharing stays on the routed-identity path. See the multi-level "key class" matrix in the "Multi-Level Hierarchy Navigation" section for the full taxonomy.
72
+ - Alert stale, updating, or unreliable data near the affected chart/table and keep the alert sticky only when it changes interpretation.
73
+
74
+ ## Dense Chart Workbench Pattern
75
+
76
+ Use this for analysis pages where one shell contains many chart/table modules, benchmark comparisons, local parameter settings, and exportable evidence.
77
+
78
+ - Treat the page as a **measurement workbench**, not a chart gallery. The persistent shell should show current scope, source/status metadata, global filters, module navigation, and export/setup actions before the chart region.
79
+ - Use a calm visual direction: low-chroma neutral page background, white module surfaces, restrained 1px borders, compact controls, dark numeric text, muted metadata, and one primary action/selection color. Chart palettes may use repeated local colors, but repeated surface/text/action colors should map to product tokens.
80
+ - Keep the module title row dense and informative: title, chart/table switch, rule/definition popover, parameter or threshold settings, comparison selector, and export action belong near the chart they affect.
81
+ - Pair every aggregate chart with an exact table, list, or drill-down. Chart mode supports pattern recognition; table mode supports audit, sorting, copy/export, and exact-value comparison.
82
+ - Prefer progressive analytical disclosure over more cards: overview -> metric group -> chart/table -> expandable detail -> item or object detail. Long modules need local anchors or a side module menu so users can return without losing context.
83
+ - When category count grows, preserve comprehension before density: show an initial bounded window, expose horizontal data zoom or scroll, rotate/truncate long labels, keep legends scrollable, and keep fixed context columns in table mode.
84
+ - For wide grouped tables, lock the row identity and primary aggregate columns before dynamic metric columns. When many metric groups are present, horizontal scroll is acceptable only if the fixed columns, header grouping, and cell alignment remain stable.
85
+ - Baseline and benchmark lines need visible labels and collision handling. If multiple reference lines collide, move labels, reduce line count, or use a detail view rather than drawing unreadable annotation.
86
+ - Distinguish two different color semantics. Threshold coloring answers "is this value in a configured band"; comparison coloring answers "is this value higher or lower than the selected baseline." Do not mix the two without an explicit switch, legend, and copy.
87
+ - User-scoped threshold settings must say who the setting affects, validate interval order before save, show inline error state, and preserve the rest of the report while refreshing only affected modules.
88
+ - Use red/green or risk/success color only with labels, legends, or threshold definitions. Color alone is not enough for accessibility or decision confidence.
89
+ - For percentage-like values near `100.00%`, allocate enough chip/cell width before visual QA. A value that wraps, clips, or shifts the layout fails acceptance even when the chart data is correct.
90
+ - Expanded entity, sub-item, or breakdown states should preserve the parent row/module context, show child grouping clearly, support optional/additional items, and keep collapse/return controls visible.
91
+ - Empty, no-comparison, permission-limited, stale, updating, export-pending, and parameter-invalid states are module states. They should not blank the whole report unless the global scope itself is invalid.
92
+
93
+ Judgment layer:
94
+
95
+ - Aesthetic logic: quiet contrast, strong numeric alignment, restrained borders, and compact rhythm make dense analysis feel precise rather than busy.
96
+ - Interaction logic: users enter through scope and module navigation, switch chart/table for the same question, adjust settings locally, inspect exact values, then drill down without losing context.
97
+ - Behavioral logic: long labels, too many categories, missing comparison targets, invalid thresholds, export jobs, stale data, and per-module failures need local recovery paths.
98
+ - Psychology: source/status labels, explicit rule popovers, scoped settings copy, visible baselines, and exact tables reduce uncertainty and give users confidence that they can explain or defend a decision.
99
+
100
+ ## Large Insight Report Workbenches
101
+
102
+ Use this when one analytics area contains a report list, a deep report detail, multiple chart/table modules, object or user detail pages, and an entry from another workbench.
103
+
104
+ - Treat the surface as a report system, not a dashboard page. Define the list, detail shell, module navigation, filters, comparison setup, object detail, and export task as separate regions with their own states.
105
+ - Keep the report title, current scope, primary-entity/object filter, route tab, and download/export action visible before chart detail. Users should not need to remember which slice they are reading while scrolling.
106
+ - A long detail page needs two navigation layers: a coarse module menu or side navigation for report families, and a local anchor or section list only where the current module is long enough to lose position.
107
+ - Use compact analytics density: 60-64px page headers, about 180-220px side navigation for module families, 16-24px content padding, and chart/table sections that align to one vertical rhythm. Avoid alternating unrelated card widths.
108
+ - Preserve parent context when drilling from overview to module, module to object detail, or workbench summary to full report. The return path should restore the selected scope, selected module, scroll position when useful, and any meaningful filter.
109
+ - Make "all", single object, permission-limited, hidden, unavailable, and stale scopes visibly different. Do not let a missing selector, disabled tab, or zero value carry those meanings silently.
110
+ - Pair summary charts with exact tables, exception lists, or object detail links. A large report should answer "what changed", "where", "why this matters", and "what can I inspect next" without forcing the user to compare decorative chart blocks.
111
+ - Export and download are report jobs, not bare URLs: the job payload must include routed identity + filter-set + config-version + sheet/data selection + snapshot/generation token (see the "key class" matrix above for the full taxonomy); show current scope, pending state, success target, failure reason, retry, exported-artifact timestamp / staleness disclosure, and authority is re-evaluated server-side at job submission.
112
+ - Treat the report list as an analysis entry workbench, not a plain table. A strong list card can combine a date or timeline rail, report type/status tags, title, creator/update metadata, subject/category tags, reference-scope counts, data-coverage counts, and one primary view action. Long titles and long scope lists need measured tooltip/detail behavior; disabled view actions need a local reason instead of disappearing.
113
+ - Keep filter state compact and recoverable: year, grade/segment, subgroup, subject/category, report type, keyword, and pagination should have one owner. Cached filters are useful only when validated against the current option set; stale grade/class/subject values must be cleared deliberately.
114
+ - Opening a report often branches by authority and configuration, not just by card click. If the user can choose or manage analysis configurations, use a focused selection modal with loading/error/retry, default marker, generating status, edit/default/delete actions, create limit, duplicate-name validation, rule selection, and authoritative refresh after mutation. Non-admin or default-only users should take the shortest valid route.
115
+ - Visual treatment for report-list entry should feel like a calm timeline, not a dashboard collage. Use a low-chroma blue-gray page background, white filter/list surfaces, restrained 1px borders, 12-16px panel radius, 8px input/button radius, and compact 28-32px controls so the list reads as a repeated-use workbench. Keep shadows off or extremely subtle; use border, spacing, and hover state for grouping.
116
+ - Token provenance for this pattern: primary/action/selected color should map to the product primary token, neutral text should separate title, metadata, and labels, border/surface colors should map to neutral tokens, and status tags should use semantic token pairs for active, hidden, unpublished, custom, homework/task, or cross-scope states. If implementation uses literal colors, promote repeated values into theme variables before reusing the pattern.
117
+ - A report card needs one visual rhythm: fixed date/timeline column, small connector or divider, title/tag row, metadata row, optional subject/category tag row, and one right-aligned action zone. Hover/focus may add a primary-tinted border/background, but should not change row height or make secondary metadata compete with the title.
118
+ - If the report includes a live explanation, presentation, or annotation mode, split it from the passive analytics page. The explanation mode needs full-viewport artifact focus, stable bottom controls, side item navigation, annotation history, zoom, next/previous, and an exit path that does not destroy the report context. This mode is design-backed when Figma or screenshots show the full-viewport tool surface; the broader report-system rules may be code-backed when the implementation owns list/detail/module/filter/export behavior.
119
+ - Visual direction and tokens: keep the report calm and exact. Use semantic status colors for risk/exception/selection, restrained neutral backgrounds for long reading, numeric alignment for comparisons, and tokenized primary/action colors. Hard-coded chart colors need a legend, token mapping, and contrast check.
120
+
121
+ ## Multi-Source Merge Semantics For Composite Analysis
122
+
123
+ **Scope**: this rule covers positional / aggregate / list composition — i.e. merging sources whose records are matched by *position in structure* or compared *at the aggregate*. Keyed-join composition (sources joined / unioned / intersected on a shared entity/time/foreign key — typical for transaction analysis, experiment cohorts, multi-region rollups) is a separate family with its own contract (inner/outer/anti/semi join on key K + null/dup policy) and is NOT in scope here; route those cases to the backend architecture owner of the analytical service (e.g. `go-microservice-architecture`, `python-service-architecture`, or `llm-inference-integration` for inference-side composition).
124
+
125
+ For in-scope composition (multi-report / multi-run / multi-survey / multi-form composite analysis), the **merge semantic is a typed contract — three modes — not free-form**. Pick the mode at creation time, surface the source-shape constraint to the user before they commit, and never silently fall back to a different mode. The contract is **server-enforced**, not just client-displayed: the mode, source-shape preconditions, aggregation operators, dedupe/provenance policies, and recomputation rules live in a typed versioned spec that the server validates on every commit and replay — same discipline as the Business Logic Separation rule below (the merge math is business logic, not UI ornament).
126
+
127
+ - **Aggregate-collapse merge**: sources must share the same aggregate shape (matching aggregate metric id / unit / window). The merged unit collapses to a single aggregate row / record / score. Source structure beyond the aggregate is discarded. Use when the analytical question is about the aggregate ("the total"), not the underlying items. Required typed fields in the spec: **aggregate metric id, unit, window**; **value-composition policy** when source values differ (fail-on-disagreement / first-wins / last-wins / average with stated denominator / weighted-sum with named weight field — never a silent default); **null / conflict policy** (skip / treat-as-zero / propagate-null / fail); and **per-source contribution + provenance** retained for audit replay even though the user-visible result is a single aggregate. Without value-composition policy, two sources with the same aggregate shape but different values collapse silently with whatever the implementation happened to pick — exactly the kind of "looks fine, ships wrong" bug the typed contract is meant to prevent.
128
+ - **Isomorphic-structure merge**: sources must have isomorphic structure — same logical fields (by stable field id, not by display order) in the same nesting, with the same item count per nesting level. The merged unit preserves that structure 1:1; each position becomes a composite value derived by an **explicitly chosen aggregation operator** (sum / weighted-sum / average / min / max / count) with explicit **denominator / weighting policy** (whose denominator drives the average — per-source counts, total counts, or weighted by a named field), an explicit **null/missing policy** (skip / treat-as-zero / propagate-null / fail), and an explicit **metric-compatibility check** (cannot average a rate with a count, cannot sum a percentage with a duration). Use when the analytical question is per-position comparison ("how did this item score across runs").
129
+ - **Append-concat merge**: sources are concatenated; cardinality of the merged unit defaults to the sum of source cardinalities, but the spec must declare an explicit **overlap / dedupe / provenance policy**: how a record present in two sources is handled (keep-both with `source` tag / dedupe-by-key with chosen winning policy / fail-on-overlap), and how source-of-record is preserved through downstream metrics. "Treated as one larger pool" without dedupe policy is how double-counting bugs ship — and downstream percentages, participant counts, and rate computations silently misreport.
130
+
131
+ Surface discipline:
132
+
133
+ - The mode selector is a first-class form field, not a hidden default. Switching modes mid-creation invalidates the source-shape check and must re-validate against the new mode's constraints.
134
+ - Source-shape preconditions are validated as soon as source metadata is available, and always re-validated before commit / export / replay. The validation result is a typed error naming which source violates which constraint (which field is missing, which aggregate differs, which cardinality is incompatible); a generic "sources are incompatible" message is insufficient.
135
+ - The merged unit's downstream metrics (counts, percentages, participant cardinality, weighted averages) are derived by the server from the typed spec. Show "derived from mode = <X>, operator = <Y>, dedupe = <Z>; modify source set → recompute" cues so users understand a source change re-runs the merge math.
136
+ - Persisted merge configs version the full spec (mode + operators + denominator/weighting policy + null policy + dedupe policy + source-shape snapshot). A historical merged analysis viewed later must reflect the spec it was created under, even if the product later offers different modes / operators / policies. Recomputation against the historical spec is the audit replay path.
137
+
138
+ ## Multi-Level Hierarchy Navigation
139
+
140
+ Analytics surfaces commonly ship multiple hierarchy levels (per-row / per-group / per-tenant / per-org / per-federation) of the same module. Navigation can vary by level and that is fine, but the variance must be a product decision, not an accident.
141
+
142
+ - **Choose the navigation paradigm per role, not per developer preference.** Roles that visit the report frequently and want to browse top-to-bottom (typical front-line user view) are well served by an in-page anchor-scroll group: one viewport, all modules stacked, side menu acts as a scroll-spy with URL-synced anchor. Roles that visit less frequently and inspect a specific module (typical management view) are well served by a leaf menu that routes to module-only views.
143
+ - **Same module key, different label per level is acceptable; same label, different key is not — and key shape varies by key class**. A module computed by the same formula should carry the same metric identifier across levels even when the display label differs (the level changes what one row means; the underlying comparison is the same kind of comparison). What must NOT happen is using the bare metric identifier across every key class. The five key classes have distinct required shapes:
144
+ - **Routed identity — route, deep-link, export filename**: minimum tuple `(moduleInstanceId | metricId, level, scope, report, tenant, schema-version)`. This is the identity surface that travels in URLs, shared links, and downloaded-artifact filenames.
145
+ - **Export job payload / server-side data request**: routed identity above PLUS the data request parameters — `filter-set`, `config-version`, sheet/data selection, and a server-side snapshot or generation token. An export job that omits filter-set/config-version produces a downloaded artifact that does not match the visible chart/table state. Authorization on the job payload is server-side, not derived from the routed identity.
146
+ - **Data cache key (server response cache, in-memory store)**: `(sheetType | moduleInstanceId | metricId, report, level, scope, filter-set, tenant, schema-version, config-version)`. Cache identity must include `sheetType`, `filter-set`, and `config-version` because the same metric and same level resolve to different server responses under different filters or rule configs.
147
+ - **Local persistence key (per-user filter / comparison target / last-selected module)**: `(userId, tenant, report, level, scope/resource, schema-version, surface-version)`, plus `metricId | moduleInstanceId` where the persisted value is module-specific.
148
+ - **Analytics event taxonomy**: the exception. Event names / event-taxonomy keys stay stable and low-cardinality (`metricId` plus a small enumerated dimension set, e.g. `level=class|school|union`). ALL high-cardinality identifiers — `tenant`, `report`, `userId`, `scope` / `resourceId`, `moduleInstanceId`, subject/object ids, free-form session ids — belong only in first-party correlation dimensions, hashed/salted/omitted per the data-handling policy. None of them is ever baked into the event name itself. Per-tenant cardinality blows up the analytics warehouse and may leak tenant or user identity downstream; the rule is "if it has more than O(10) possible values across the population, it is a correlation dimension, not a taxonomy key."
149
+ Define `metricId` (shared across levels, used in formulas, labels, analytics taxonomy) separately from `moduleInstanceId` (per-level, used in routing, cache, export, persistence). A bare metric id used as any of the routed / cache / persistence / export-job keys collides across levels or instances.
150
+ - **The shell visibly identifies the current level**. A user dropped into a module by deep link must see the level (chip / breadcrumb / scope bar entry) before scrolling to a chart, otherwise the same chart's numbers are ambiguous.
151
+ - **Inter-level navigation preserves scope, not just the page.** Drilling from a per-group view to a per-row view should carry forward the active filter set, the selected module, and the scroll/anchor when useful — and "return" should restore them, not just navigate back.
152
+ - **Permission shape changes by level, and the visible permission gate stays in one place — but the decision key is the full tuple, and mutation must re-authorize.** Higher-level views typically have read-only roles for managers and read+edit roles for owners. The "edit rules" / "export" / "publish" affordance visibility should be decided in one centralized gate so per-module surface stays consistent. The decision key for that gate is `(action, level, scope, resource)`, not action alone — collapsing it silently widens the surface (a user with `export` at the parent level should not get `export` affordances inside a leaf-level view they cannot actually export). The centralized visible gate is for UX consistency only; every `edit-rules` / `export` / `publish` submit MUST re-authorize against the server/API on submit, since client gating is bypassable. Submenu modules read from the shell gate, they do not invent parallel checks.
153
+ - **Two navigation paradigms in one product are acceptable; two paradigms in one level are not**. Mixing in-page anchor scroll with leaf-menu module routing inside the same level creates a UX where users cannot predict whether clicking a menu item scrolls or navigates. Pick one per level.
154
+
155
+ ## Business Logic Separation From UI Copy
156
+
157
+ Analytics surfaces accumulate inline business explanations: parameter ranges (e.g. "metric M ∈ [0,1], higher means …"), threshold bands (e.g. "≥T_high excellent, T_mid–T_high good, …"), and applicability constraints (e.g. "this rule does not apply to <segment X>, so <control Y> is hidden"). When these explanations live as long `tooltip="…"` strings or `title="…"` text directly inside component JSX/templates, every business-rule change forces a code redeploy.
158
+
159
+ - **Business formulas, thresholds, level bands, and applicability constraints belong outside the component — and the external store needs versioning, audit, and server-side enforcement**. House them in a per-domain spec module (an i18n file, a YAML/JSON config, a content-management entry, or a server-served metadata blob) and let the component reference the entry by key. The component renders the explanation; it does not author it. But pulling business rules out of code without a contract is its own footgun: a domain owner edits a threshold in a CMS, the client hides a control or explains a different formula, while the server is still enforcing the old rule (or none) — and now the displayed explanation is unauthorized prod logic. The external store must (a) be typed and versioned so a client cached against schema version N rejects an entry written under schema version N+k, (b) ship with an audit trail of who changed what when, (c) enforce the rule server-side as the source of truth (the client only displays what the server applies), and (d) sanitize any user-authored text fields before render. Migrating from "code-owned business rule" to "config-owned business rule" without these is changing the surface but not the safety story.
160
+ - **Threshold bands are first-class config**. A band like "≥T_high excellent / T_mid–T_high good / …" is not a tooltip string; it is a typed config array `{label, min, max}[]` whose tooltip is derived. Storing it as a string forces every reader (including future engineers) to parse it from prose.
161
+ - **Localization-readiness ≠ extracted-to-i18n**: text moved out of JSX into a translation file is necessary but not sufficient. The translation file must structure the entry so the source-of-truth maintainer (a domain expert, a PM, a designer) can edit it without reading code — i.e. break per-section paragraphs, label each value, separate copy from formula.
162
+ - **Inline copy in the design source is fine for designer-authored guidance**; inline copy in the implementation is an indication that the rule never made it out of the design hand-off into a maintained spec. When extracting evidence from a design file annotation (e.g. a TEXT layer that reads "this rule does not apply to non-high-school grades"), check whether that constraint exists in code as a typed condition or only as a hard-coded branch — the latter is the smell.
163
+ - **Avoid letting display-only state become business state**: a per-user UI knob (column visibility, color preference, chart-vs-table toggle) is local UI state, not a rule. Conflating it with the business rule layer is how user preferences accidentally start gating data correctness.
164
+ - **Business prose templates that interpolate HTML are XSS-class problems, not just maintenance debt**. A helper that returns paragraph strings combining business prose, hardcoded thresholds (e.g. an inline percentage literal), and `<span>${rawApiValue}</span>` interpolation — then rendered via `dangerouslySetInnerHTML` — turns every contributing field into an XSS sink unless every contributing field is server-trusted and HTML-sanitized. The threshold is harder to spot than a tooltip threshold because it sits inside a narrative sentence rather than next to a typed config. Fix on three axes simultaneously: (a) render the template as React nodes (not strings), so interpolated values are React text content, not HTML; (b) externalize the prose to a typed spec with named placeholders (`{metric1}`, `{metric2}`, `{listValue}`); (c) each placeholder's value source is audited for HTML safety at the boundary, not at render time. **Defining the lint target narrowly is unreliable.** The same bug class hides under destructured API values, renamed local variables, `array.join('…')` into markup, i18n rich-text helpers (`<Trans>` with component slots), Markdown / HTML renderers, CMS-authored template strings, and any other path that composes a string containing markup plus dynamic placeholders and hands it to an HTML-capable renderer. The lint target is: any HTML/Markdown/rich-text string composition that mixes markup tokens with dynamic placeholders and reaches an HTML-capable sink (`dangerouslySetInnerHTML`, `innerHTML`, a Markdown/HTML renderer, an i18n rich-text helper). Default behavior at the sink is text-rendering of every placeholder; intentional rich HTML requires an explicit reviewed allowlist with a typed source and a sanitization step.
165
+
166
+ ## Insight States
167
+
168
+ Map the canonical taxonomy in `product-surface-patterns.md`, then add analytics-specific states:
169
+
170
+ - No scope selected.
171
+ - No permission for this scope.
172
+ - No data in selected range.
173
+ - Partial data.
174
+ - Stale data.
175
+ - Loading chart.
176
+ - Loading detail list.
177
+ - Comparison target missing.
178
+ - Benchmark unavailable.
179
+ - Too little data for reliable interpretation.
180
+ - Drill-down selected.
181
+ - Export pending/success/failed.
182
+ - Data updating or unreliable.
183
+ - Table horizontal/vertical scroll with fixed header or fixed action column.
184
+
185
+ ## Community Translation
186
+
187
+ Use this pattern for:
188
+
189
+ - Creator analytics: post performance, follower growth, engagement quality.
190
+ - Topic/community health: activity, retention, contribution mix, moderation pressure.
191
+ - Content performance: reach, interactions, saves, shares, comment quality.
192
+ - Trust/safety: report rate, mute/block clusters, moderation queue quality.
193
+ - AI quality: suggestion acceptance, regenerate/edit rate, source usage, failed generation.
194
+ - Notification effectiveness: delivery, open, return, action after return.
195
+
196
+ Do not make relaxed feed/detail pages look like analytics dashboards.
197
+
198
+ ## Acceptance Checklist
199
+
200
+ - The chart answers a product question, not just fills space.
201
+ - Active filters and comparison targets remain visible.
202
+ - Every chart has source/scope/timestamp or a nearby definition when trust matters.
203
+ - Empty, partial, stale, permission-limited, and too-little-data states are explicit.
204
+ - Users can reach the underlying items from important aggregate views.
205
+ - Drill-down and back navigation preserve context.
206
+ - Mobile analytics avoids desktop-like dense tables.
@@ -0,0 +1,108 @@
1
+ # Behavioral And Aesthetic Logic
2
+
3
+ Use this reference when a screen needs to feel intuitive, motivating, trustworthy, emotionally appropriate, or visually compelling beyond basic UI correctness.
4
+
5
+ This file does not replace layout recipes, component rules, accessibility, or product requirements. It adds the why/judgment layer: attention, motivation, perceived effort, confidence, habit loops, visual taste, and emotional fit.
6
+
7
+ Ownership boundaries:
8
+
9
+ - Interaction mechanics, the canonical feedback-strength ladder, mobile/web interaction rules, and state-transition detail live in `interaction-design-patterns.md`.
10
+ - Concrete visual direction, anti-slop checks, typography, color, motion, and polish rules live in `visual-craft.md`.
11
+ - Token, component, theme, and platform component decisions live in `tokens-and-components.md`.
12
+ - This file decides why a behavior or aesthetic choice should exist and whether it matches user intent, risk, trust, and product emotion.
13
+
14
+ ## Core Question
15
+
16
+ Before drawing or coding, answer:
17
+
18
+ - What does the user want to accomplish or feel in the next 10 seconds?
19
+ - What is the user's likely anxiety, doubt, or friction at this moment?
20
+ - What should attract attention first, second, and last?
21
+ - What action should feel obvious without explanation?
22
+ - What should the product make users want to return to?
23
+
24
+ If these questions cannot be answered, the UI may be well structured but weak.
25
+
26
+ ## Interaction Logic
27
+
28
+ Use `interaction-design-patterns.md` as the canonical interaction model: Discover -> Inspect -> Act -> Confirm -> Return. This section does not define a second flow. It asks why each stage should exist and whether the chosen mechanics match user intent, risk, trust, and motivation.
29
+
30
+ Judgment questions for the canonical loop:
31
+
32
+ - **Discover**: why would the user enter now, and what should catch attention first?
33
+ - **Inspect**: what doubt, risk, or curiosity must be resolved before action?
34
+ - **Act**: which action should feel primary for this intent and consequence level?
35
+ - **Confirm**: does the confirmation or feedback strength match risk? Use the feedback ladder in `interaction-design-patterns.md` for the mechanism.
36
+ - **Return**: what context, progress, or motivation helps the user continue or come back?
37
+
38
+ Rules:
39
+
40
+ - Do not make all actions equally visible. The primary action should match the user's current intent and risk level.
41
+ - Reduce choice when the user is deciding; increase control when the user is reviewing, editing, or correcting.
42
+ - For destructive, public, paid, or trust-sensitive actions, judge whether the risk deserves added friction; use `interaction-design-patterns.md` for the concrete confirmation, undo, and feedback mechanism.
43
+ - Preserve context after drawers, modals, uploads, generation, and detail views. Losing the user's place creates unnecessary cognitive cost.
44
+ - For feedback details and state-transition mechanics, use `interaction-design-patterns.md`; this file only judges whether the chosen feedback matches intent, risk, and trust.
45
+
46
+ ## Behavioral Logic
47
+
48
+ Design for human behavior, not only information display.
49
+
50
+ - **Attention**: use hierarchy, grouping, contrast, motion, and whitespace to guide scanning. Do not compete for attention with equal-weight cards.
51
+ - **Cognitive load**: show the next meaningful step; progressively reveal advanced controls; avoid dumping all fields before intent is clear.
52
+ - **Motivation**: make progress visible. Use draft status, completion, recent activity, reactions, streak-like return cues, or creator feedback only when they match the product's ethics and purpose.
53
+ - **Agency**: users should feel they can edit, undo, retry, filter, mute, leave, or correct important outcomes.
54
+ - **Trust**: show source, status, timestamp, permission, review state, AI caveat, and consequence where doubt is likely.
55
+ - **Habit loop**: entry points, notifications, feed updates, creation prompts, and return states should reinforce a useful loop, not just maximize clicks.
56
+ - **Social proof**: counts, badges, replies, followers, and popularity cues should clarify relevance. Do not use them to fake importance or bury new/quiet content.
57
+ - **Friction**: remove friction for low-risk repeated actions; add deliberate friction for irreversible, public, sensitive, or costly actions.
58
+
59
+ ## How Users Actually Behave
60
+
61
+ Design against observed behavior, not the idealized user who reads carefully. These hold across products:
62
+
63
+ - **Users scan, satisfice, and muddle through.** They skim for the first option that looks reasonable and pick it — not the best one — then keep whatever worked, however badly. Make the *right* choice the most visually prominent one; do not rely on the user comparing options or discovering the "correct" path.
64
+ - **Users do not read instructions or prose.** Guidance that must be read to operate the screen has already failed. Make guidance brief, in-context, and unavoidable, and prefer self-evident affordances over explanatory text — if a control needs a sentence to explain it, redesign the control.
65
+ - **Goodwill is a depleting reservoir.** Users arrive willing to forgive; every friction point spends that goodwill. It depletes faster when you hide what they came for (price, status, contact), force their input into your format, ask for more than you need, or interrupt with splash/forced-tour/interstitial. It replenishes when you surface what they want up front, save steps, make errors easy to recover from, and own failures plainly. This targets *nuisance* friction only: never strip confirmation, consent, review, recovery, or provenance friction to "save steps" — that protective friction is required by the Friction rule above.
66
+ - **Clarity outranks consistency.** Consistency is a default, not a law: when a small inconsistency makes a screen materially clearer, choose clarity, and record the clarity gain. This never overrides the correctness gates — design-system tokens, accessibility, semantic status, trust/safety, high-risk-flow conventions, component semantics, and rendered-evidence — which are correctness, not stylistic consistency.
67
+
68
+ ## Aesthetic Logic
69
+
70
+ Good visual design is not decoration. It expresses the product's personality and helps the user decide.
71
+
72
+ - **Mood fit**: choose a tone that supports the surface: lively for discovery, focused for creation, calm for AI assistance, restrained for moderation/settings, serious for trust-sensitive decisions.
73
+ - **Rhythm**: repeat spacing, type scale, card treatment, and interaction details so the product feels intentional.
74
+ - **Contrast**: create clear focal points. If everything is colorful, raised, bordered, or animated, nothing leads.
75
+ - **Material feel**: shadows, borders, glass, texture, blur, and gradients need a role: depth, grouping, brand warmth, or state. Do not add them to compensate for weak structure.
76
+ - **Content dignity**: posts, comments, creator identity, media, and AI output should feel cared for. Avoid tiny cramped content in consumer surfaces or oversized empty shells in work surfaces.
77
+ - **Delight**: reserve delight for moments that matter: publish success, first useful AI result, meaningful reply, achievement, upload completion, or helpful recovery. Avoid decorative delight during errors, moderation, payment, or permission denial.
78
+
79
+ ## Consumer Community Heuristics
80
+
81
+ - Discovery surfaces should create curiosity quickly: strong content preview, clear author/topic identity, visible social affordances, and low-friction entry into detail.
82
+ - Creation surfaces should reduce blank-page anxiety: prompts, examples, draft recovery, preview, audience visibility, and clear publish consequence.
83
+ - Comment/reply surfaces should make conversation feel alive: quoted context, reply target, composer persistence, reactions, and respectful empty states.
84
+ - AI surfaces should feel helpful but accountable: visible generation state, editability, source/citation when relevant, retry/regenerate, and clear separation between AI suggestion and user decision.
85
+ - Trust/safety surfaces should feel fair and controllable: explain why content is hidden, reported, limited, or under review; provide recovery or appeal where product policy allows.
86
+ - Notification surfaces should balance urgency and respect: group related updates, show why the user received it, and make mute/setting controls reachable.
87
+
88
+ ## Design, Development, Test, Acceptance
89
+
90
+ Use this layer across the whole UI delivery cycle:
91
+
92
+ - **Design**: state the user's intent, doubt, motivation, trust concern, attention order, and desired mood before choosing layout or components.
93
+ - **Frontend development**: preserve the intended judgment in code. Route state, focus, progress, recovery, permission, empty/error, and return-context behavior should match the design checkpoint, not only the component library.
94
+ - **Testing**: derive cases from human risk, not just code branches. Test first-use, returning-use, long-content, no-data, partial-data, permission denied, generated/unreviewed, failed/retry, destructive action, and return-from-modal/drawer/upload/generation paths where relevant.
95
+ - **Acceptance**: inspect a rendered browser/app surface with realistic content. Verify attention order, obvious next action, risk-matched friction, recovery path, trust cues, mood fit, and whether the screen feels like a product rather than a component demo.
96
+
97
+ ## Acceptance Checks
98
+
99
+ Before calling a UI good, verify:
100
+
101
+ - A first-time user can identify the screen's purpose and next action within five seconds.
102
+ - A returning user can resume or repeat the main action without re-learning the screen.
103
+ - The most visually prominent element matches the user's likely intent and the business priority.
104
+ - The screen has one coherent mood; colors, spacing, motion, and copy do not fight each other.
105
+ - The interaction adds friction only where risk, trust, or consequence justifies it.
106
+ - Empty, loading, error, and success states preserve motivation instead of feeling like dead ends.
107
+ - Social, AI, or trust cues are honest and useful, not manipulative decoration.
108
+ - The result feels product-specific rather than like a generic component demo.
@@ -0,0 +1,194 @@
1
+ # Complex Creation Interactions
2
+
3
+ Use this reference when designing or implementing a real, high-friction creation flow: upload/import, AI-assisted draft extraction, structured editing, matching, manual correction, preview, publish, or export.
4
+
5
+ Source provenance lives in `source-map.md`. Use this reference only for interaction mechanics, not source-domain workflow.
6
+
7
+ ## Core Value Extracted
8
+
9
+ The strong design idea is not "a wizard." It is a **recoverable structured creation system**:
10
+
11
+ - Users can start from multiple sources: blank, manual input, template/library reuse, upload/import, or AI-assisted generation.
12
+ - The system makes intermediate machine work visible: upload, parse, match, classify, extract, generate, and validate.
13
+ - Users can correct machine output before it becomes final.
14
+ - The product preserves structure, progress, counts, and save state while users perform complex edits.
15
+ - Commit/publish/export is a separate decision after review, not an accidental result of editing.
16
+
17
+ ## Interaction Model
18
+
19
+ Use this sequence for complex creation:
20
+
21
+ 1. **Choose source**: blank/manual, upload/import, template/reuse, AI generation, or existing draft.
22
+ 2. **Ingest**: upload, paste, connect, capture, or select source material.
23
+ 3. **Process**: parse, classify, match, generate, deduplicate, or extract structure.
24
+ 4. **Review structure**: show groups, sections, items, metadata, missing fields, conflicts, counts, and confidence.
25
+ 5. **Manual correction**: edit fields, split/merge, reorder, tag, relabel, delete, add, reset, or re-run part of the process.
26
+ 6. **Configure output**: visibility, format, grouping, length, audience, publishing settings, or downstream behavior.
27
+ 7. **Confirm**: summarize what will be created, changed, published, exported, or invalidated.
28
+ 8. **Return loop**: saved draft, published result, retry path, or next creation.
29
+
30
+ Do not hide processing or correction inside a single loading state.
31
+
32
+ ## State Requirements
33
+
34
+ Map the canonical taxonomy in `product-surface-patterns.md`, then add creation-specific states:
35
+
36
+ - No source selected.
37
+ - Source selected but not uploaded/imported.
38
+ - Uploading or ingesting.
39
+ - Processing/parsing/generating.
40
+ - Parsed empty result.
41
+ - Parsed partial result.
42
+ - Conflict or unmatched items.
43
+ - Manual correction in progress.
44
+ - Unsaved local edits.
45
+ - Saved draft.
46
+ - Ready to publish/export.
47
+ - Publish/export in progress.
48
+ - Published/exported.
49
+ - Failed upload/process/publish/export.
50
+ - Re-upload or replace source confirmation.
51
+ - View-only or locked after downstream use.
52
+ - Source structure selected but not yet confirmed.
53
+ - Machine match finished with unmatched/conflicting items.
54
+ - Split/merge/reorder mode active.
55
+ - Preview/confirmation shows downstream layout or generated artifact before commit.
56
+
57
+ ## Structured Recognition And Correction Workspaces
58
+
59
+ Use this when a user creates an object by importing source material that must be validated, processed, matched to structure, corrected, and saved. This is heavier than a normal form: it is a recoverable workbench for uncertain input.
60
+
61
+ Execution recipe:
62
+
63
+ - Source choice must distinguish start, continue, replace, reuse, and unsupported source. If replacing the source invalidates previous work, ask for confirmation and state what will reset.
64
+ - Step phases must own real state: source settings, upload list, processing task, structured correction, draft autosave, final save, and downstream preview/export.
65
+ - Upload should validate before work begins: file type, count, size, dimensions or aspect constraints, duplicate/invalid items, and source-specific limits. Keep preview, reorder, rotate, delete, and retry available when those actions matter.
66
+ - Processing should be a durable task with visible pending text, polling or subscription state, success, failure, stale task, retry, and safe return after navigation. Do not hide recognition behind a toast.
67
+ - Machine output is provisional. Show unmatched, conflicting, missing, duplicate, or low-confidence structure near the action area and provide a direct correction path.
68
+ - Correction mode should be explicit: drawing/selecting regions, splitting, merging, moving, tagging optional/extra parts, bulk configuring repeated items, or editing a rule matrix should each lock unrelated controls and show how to exit.
69
+ - Canvas/image/PDF correction needs zoom, pan, reset, selected-region labels, handles/anchors, and cleanup of dependent derived data when a region, item, or group is deleted.
70
+ - Drag-and-drop structure editing needs cancellable drag, restore-on-cancel, valid target rules, maximum-depth or nesting limits, and clear warnings when a move is blocked.
71
+ - Validation should block final save for missing names, missing mapped regions, invalid counts, zero/invalid rule values, unresolved duplicates, and ambiguous base settings. Show both global count and local field errors.
72
+ - Autosave and final save are different decisions. Autosave should preserve draft correction without implying the object is ready; final save/export should summarize consequences.
73
+ - Once downstream work starts, show locked or partially editable state instead of letting users silently change upstream structure that downstream data depends on.
74
+ - Preview before commit when the output has layout, file, downloadable, or downstream operational consequences.
75
+
76
+ ### Source-Material Creation Workbenches
77
+
78
+ Use this variant when the source is a document, image set, scan, imported file, or existing template that must become a structured editable artifact. The source can be blank/manual, reused, uploaded, scanned, or AI-recognized, but the workbench should preserve the same mental model: source material is uncertain until reviewed.
79
+
80
+ Execution recipe:
81
+
82
+ - Start with a source-choice layer, not a single upload button. Separate blank/manual creation, file recognition, scanned/image recognition, reuse, and existing-draft continuation. Show what each source will preserve, reset, or generate.
83
+ - Treat source settings as part of recognition quality. Page size, column count, identifier style, file count, file type, image dimensions, source order, rotation, and template compatibility should be visible before processing begins.
84
+ - Keep source acquisition and structure review visually connected. A good layout uses a stable header/stepper, a central source or artifact canvas, a compact structure list, and an inspector/action area. The user should not lose the source when correcting the extracted structure.
85
+ - For multi-page or multi-image input, show page thumbnails, order, delete, rotate, invalid-size warnings, and page labels before the user commits recognition. Reordering is a semantic action, not decoration.
86
+ - For document/PDF/image input, choose an explicit representation after parsing: rich text/HTML editor when the parser produced editable content; image-canvas mode when the source remains page images. The user should understand why the current mode supports text editing, region drawing, or only preview.
87
+ - Recognition progress needs a durable state: pending, processing, success, failure, discarded/stale, retry, and safe return after navigation. If a process tab, task row, or resumable route exists, keep it visible.
88
+ - Review should expose both global quality and local repair: total item count, duplicate or non-continuous names, unmatched/conflicting regions, missing required fields, and direct actions such as draw region, split, merge, move, relabel, or add item.
89
+ - Region or coordinate matching is a first-class correction mode. Provide selected-region labels, zoom/pan/reset, page/image context, hover/click linkage between structure list and source, disabled states for non-editable region types, handles for resizing, and cleanup of derived coordinates when items move or are deleted.
90
+ - Structure editing should make invalid moves impossible or recoverable: collapse/expand during drag, restore on cancel, valid targets, depth limits, target-state feedback for default/hover/selected/disabled rows, and explicit move-to-child or split-to-new-group actions.
91
+ - Splitting or regrouping needs a confirmation surface that shows where the new group will be inserted, which target group or item is selected, and whether confirm is currently valid. Preserve cancel as a safe exit from the structural mode.
92
+ - Missing-source matches need local repair calls, not a global warning only. Show the missing count or affected item near the source/structure area and provide a direct "go draw/map/select" action that enters the right correction mode.
93
+ - When a source has both primary content and supplementary content, keep their identity separate. Supplementary images or documents can use the same source-canvas mechanics, but they may have different editability, clearing, preview, and final-save consequences.
94
+ - Reupload/reparse is destructive enough to require confirmation. The confirmation should name which extracted parts, manual edits, regions, answers, annotations, or derived data will be cleared and which source or structure will remain.
95
+ - Autosave preserves work-in-progress; final save/export/publish confirms consequences. Keep "saved draft" and "finished" visually distinct, especially when downstream scanning, review, analytics, billing, publication, or operations will depend on the artifact.
96
+
97
+ ### AI Source-Choice Lifecycle Entry
98
+
99
+ Use this variant when an existing object has a lifecycle action that can start from multiple source modes, including AI recognition, reuse, blank/manual creation, imported files, or library assets. The key pattern is a source-choice state machine attached to the object row or process step, not a separate AI page.
100
+
101
+ Execution recipe:
102
+
103
+ - Treat source availability as server-owned capability. The UI should request allowed source modes at action time, filter unavailable modes, and explain blocked modes through permission, lifecycle, or feature-state copy instead of showing dead options.
104
+ - Separate first start, continue, view/edit, and switch-source actions. Button labels and placement should reflect the current artifact state rather than using one generic "create" action.
105
+ - AI recognition modes must state the input form and generated artifact type before start, then route users to a review/editor surface after the recognition task creates the draft. Recognition is not the final commit.
106
+ - If the user switches source after generated or manually edited work exists, require a consequence confirmation that names what will be cleared or regenerated. After success, show a visible reset/success state and route to the new source flow.
107
+ - Source-choice popovers should remain compact but contentful: title, one-line source descriptions, start/continue/change actions, disabled reasons, and current-source indication are enough. Do not make the popover a marketing menu.
108
+ - Post-generation detail should expose completion by content group: answer, structure, body text, explanation, metadata, tags, attachments, or other domain-specific sections. Users need direct "view" or "complete" actions for partial groups.
109
+ - AI parse workspaces should support paste/upload/manual fallback in the same task surface. After recognition, keep the original source, parsed result, editable fields, attachments, tags/metadata, and final confirmation in one scrollable review flow.
110
+ - Knowledge/tag/category selection after AI parse is a correction step, not decoration. Multi-column or cascading selectors need selected state, long taxonomy handling, clear/cancel, and disabled confirmation until required metadata is valid.
111
+ - If downstream processing has begun, edit actions should check runtime blockers before opening the editor. For example, an active scan/import/review job may allow viewing but block source editing until the job finishes.
112
+
113
+ Judgment layer extracted from this variant:
114
+
115
+ - **Aesthetics**: AI source choice should look procedural and low-noise: compact row action, compact popover, restrained status copy, and dense review form. The source mode is important, but the lifecycle object remains the visual anchor.
116
+ - **Interaction logic**: users enter from an object/process row, choose or continue a source, complete AI/manual review, optionally switch source with confirmation, then return to the same object context.
117
+ - **Behavioral logic**: users will choose the wrong source, change their mind after generation, return while recognition is partial, attempt duplicate actions, and try to edit during downstream processing. These become explicit states and guards.
118
+ - **Psychology**: AI output earns trust only when users see the source, generated structure, missing sections, editable corrections, and consequences of replacing prior work.
119
+
120
+ Judgment layer extracted from this variant:
121
+
122
+ - **Aesthetics**: dense source workbenches stay calm when the visual hierarchy is stable: stepper/header first, source canvas second, structure/inspector third, status text close to the affected action. Use compact controls, but keep enough breathing room around warning banners, selected regions, and destructive confirmations.
123
+ - **Interaction logic**: the user moves between source settings, upload/capture, processing, representation mode, structure review, correction, preview, and finalization. A mode switch must state what is currently editable and how to leave the mode.
124
+ - **Behavioral logic**: users will provide wrong source quality, wrong order, wrong format, partial source, repeated items, duplicate names, wrong drag targets, and incomplete region mapping. The design should filter what it can, warn early, preserve recoverable work, and localize repair.
125
+ - **Psychology**: recognition uncertainty makes users distrust automation. Confidence comes from inspectable intermediate output, visible counts, reversible repair, explicit destructive warnings, and a final preview that proves the output matches the source.
126
+
127
+ Judgment layer extracted from this pattern:
128
+
129
+ - **Aesthetics**: dense workspaces can look good when header, stepper, source list, canvas, and inspector have stable hierarchy. Keep dense controls compact, but preserve enough spacing for selection handles, validation text, and preview regions.
130
+ - **Interaction logic**: the flow is source -> ingest -> process -> match -> correct -> review -> final. The user should always know which phase owns the next action and how to return to the prior phase.
131
+ - **Behavioral logic**: users will upload wrong files, wait, interrupt, drag to wrong targets, create duplicates, forget required mapping, and return after navigation. Treat those as first-class states, not edge cases.
132
+ - **Psychology**: uncertain recognition creates anxiety. Reduce it by making machine work reviewable, showing missing/conflict counts, explaining blocked actions, preserving draft progress, and giving visible recovery routes.
133
+
134
+ ## UI Structure
135
+
136
+ Use stable regions:
137
+
138
+ - Top context/header: object title, source, current step, save state, exit, previous/next, publish/export.
139
+ - Left or top outline: sections, groups, steps, source pages, or item partitions when structure is deep.
140
+ - Main workspace: current artifact, editor, preview, or extracted item list.
141
+ - Right/bottom inspector: metadata, conflicts, settings, AI suggestions, validation messages, and bulk actions.
142
+ - Persistent summary: total items, valid items, missing items, conflicts, selected count, and downstream impact.
143
+
144
+ For mobile, collapse outline/inspector into sheets or step screens. For web, keep context visible in side panels or sticky headers.
145
+
146
+ ## Correction Mechanics
147
+
148
+ Complex creation is only usable if correction is cheap:
149
+
150
+ - Show inline edit for simple fields.
151
+ - Use drawer/modal for rich or multi-field edits.
152
+ - Let users split/merge/reorder repeated items.
153
+ - For imported or scanned source material, let users select structural regions, move items between groups, mark optional/extra sections, and restore original grouping when correction goes wrong.
154
+ - Show selected count before batch actions.
155
+ - Use semantic tags for missing, generated, manually edited, verified, conflict, and invalid states.
156
+ - Preserve undo/cancel for destructive correction.
157
+ - Show before/after identity when replacing source material or reusing templates.
158
+ - Distinguish preview-only settings from settings that change the final output.
159
+
160
+ ## AI-Assisted Creation
161
+
162
+ When AI is involved:
163
+
164
+ - AI output is a draft, never final by default.
165
+ - Show selected source/context after generation.
166
+ - Provide regenerate, edit, accept, discard, and cite/source actions.
167
+ - Mark generated, user-edited, and reviewed sections distinctly.
168
+ - If AI partially succeeds, preserve usable sections and show failed/missing sections.
169
+ - Long-running AI generation should persist as a task/progress entry.
170
+
171
+ ## Community Translation
172
+
173
+ Use this pattern for:
174
+
175
+ - Post/article creation with AI draft or media extraction.
176
+ - Topic/community setup from imported material.
177
+ - Creator profile or portfolio setup.
178
+ - Event/challenge/campaign creation.
179
+ - Imported contact/member/community data cleanup.
180
+ - Moderation evidence packaging.
181
+ - AI-generated collection, guide, digest, or recommendation review.
182
+
183
+ Avoid using this heavy flow for simple comments, likes, quick replies, or low-stakes lightweight posts.
184
+
185
+ ## Acceptance Checklist
186
+
187
+ - The user always knows the current phase and whether work is saved.
188
+ - Machine-generated structure can be inspected and corrected before publish/export.
189
+ - Counts and conflicts are visible near the action area.
190
+ - Re-upload, reset, manual edit, retry, and cancel paths are available.
191
+ - Long sessions preserve context after navigation or returning from detail.
192
+ - Final confirmation describes consequences in product language.
193
+ - Import/recognition workspaces have tested upload validation, processing state, autosave/final-save split, validation blockers, correction modes, and downstream lock state.
194
+ - Source-material creation workspaces have tested source settings, file/page order, source-quality warnings, region/coordinate correction, structure split/move/reorder, reupload clearing confirmation, and preview before final save/export.