@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,214 @@
1
+ # Design Execution Checklist
2
+
3
+ Use this checklist when applying the skill to a concrete product screen, feature, implementation, or review.
4
+
5
+ ## 0. Resolve Target Context
6
+
7
+ Before loading detailed references, translate the active task into the target product frame:
8
+
9
+ - Classify the target as community/social, education, finance/data, AI workspace, operational tool, consumer content, mobile app, web workbench, settings/account, or shared system.
10
+ - Translate source-domain terms into target-product interaction patterns; do not output source-domain UI copy or source-domain information architecture.
11
+ - Exclude source-domain terminology, role models, and workflow structure from product-facing output.
12
+ - If the task context is mixed, state which product assumption is being used before design or implementation.
13
+
14
+ ## 1. Classify The Task
15
+
16
+ Identify the target surface:
17
+
18
+ - Mobile consumer surface: feed/detail, creation, profile, onboarding, notifications, AI assistant, settings, or finance/data mobile task flow.
19
+ - Web consumer surface: content/detail/community, creator center, AI workspace, finance/data research surface, settings, notifications.
20
+ - Web operational surface: moderation, trust/safety, analytics, data/research workbench, creator tools, admin-like settings.
21
+ - Shared system work: tokens, components, theming, interaction states, visual QA.
22
+
23
+ Then load only the relevant references:
24
+
25
+ Core layer:
26
+
27
+ - Always: `product-surface-patterns.md`.
28
+ - Broad design, implementation, or review work: `design-intake-and-acceptance.md`.
29
+ - Interaction logic, attention, motivation, perceived effort, trust psychology, habit loops, or aesthetic judgment: `behavioral-aesthetic-logic.md`.
30
+ - UI/UX audit, implementation review, code/design comparison, usability risk, accessibility, or responsive QA: `ui-ux-audit.md`.
31
+ - UI/UX design and frontend implementation: `ui-ux-design-development.md`.
32
+ - Product launch acceptance, lifecycle review, and iteration planning: `product-lifecycle-acceptance-and-iteration.md`.
33
+ - Frontend visual polish, brand feel, or anti-slop review: `visual-craft.md`.
34
+ - Layout recipes, component density, empty/loading/error templates, workbench structure, or screenshot acceptance: `layout-recipes-and-screenshot-acceptance.md`.
35
+ - Interaction flow, feedback strength, gestures, AI generated states, or serious/trust-sensitive states: `interaction-design-patterns.md`.
36
+ - Shared token/component capability map: `tokens-and-components.md`.
37
+
38
+ Platform lenses:
39
+
40
+ - Mobile/App/H5/WebView: `platform-mobile-patterns.md`.
41
+ - Web/Desktop/workbench/auth/admin: `platform-web-desktop-patterns.md`.
42
+
43
+ Scenario lenses:
44
+
45
+ - Community/social/feed/creator/moderation: `scenario-community-patterns.md`.
46
+ - External usability, accessibility, performance, or metrics benchmark: `external-ui-ux-quality-benchmarks.md`.
47
+ - Trust-sensitive AI/data, citation, upload, permission, instrumentation, or dense operational patterns: `trust-sensitive-ai-and-data-patterns.md`.
48
+ - Local frontend implementation evidence, codebase source classification, reusable primitives, or build/launch scripts: `frontend-code-evidence-map.md`.
49
+ - Complex creation, upload/import, AI draft extraction, structured editing, matching, manual correction, or publish/export flows: `complex-creation-interactions.md`.
50
+ - Analytics, visualization, charts, comparisons, drill-down reports, creator/topic health, retention, or AI quality metrics: `analytics-visualization-interactions.md`.
51
+ - Operational processing workspaces for capture/upload, focused review, moderation queues, quality/progress monitoring, assignment, or ownership workflows: `operational-processing-workflows.md`.
52
+ - Resource libraries, AI cloud-drive style storage, media/template centers, saved prompts, knowledge sources, content packs, sharing, or resource governance: `resource-management-interactions.md`.
53
+
54
+ Provenance and multi-project lenses:
55
+
56
+ - Identifying which Figma file is the real design-system source, detecting third-party-mirror design systems, deciding which file owns brand tokens, or auditing theme/code comments pointing at the wrong figma file: `design-system-source-of-truth.md`.
57
+ - **Same-stack multi-subproject** theme consistency (e.g. multiple desktop apps, or multiple H5 apps, sharing one brand), detecting silent default-theme drift across same-stack subprojects, or deciding how to share one theme module: `multi-project-token-consistency.md`. Use this when the subprojects are on the same end (all web-desktop, or all web-h5, etc.).
58
+ - Resolving Figma↔code naming drift, deciding which of `Foo` / `FooV2` is active, planning retirement of in-flight version stamps, or maintaining a design-code terminology glossary: `design-impl-naming-and-versioning.md`.
59
+ - **Cross-stack** strategy when a product spans multiple client stacks (web + H5 + native + mini-app + RN), handling stack outliers (a Vue island in a React organization, a single mini-app surface, etc.), splitting design system by stack, or writing the native-shell ↔ H5 contract: `multi-stack-strategy.md`. Use this when stacks differ across subprojects, not when the subprojects share a stack.
60
+ - **Same-framework cross-end** (e.g. React desktop + React H5 + React Native, sharing one brand and one TS toolchain but different UI-kit per end): a common middle case. Load **both** `multi-project-token-consistency.md` (for the shared theme module across same-framework subprojects) and `multi-stack-strategy.md` (for the per-end UI-kit and surface differences). Do not pick one — apply both.
61
+
62
+ ## 2. Translate Source Patterns
63
+
64
+ Before designing or coding, state the translation explicitly:
65
+
66
+ - What source pattern is being reused?
67
+ - What target-product behavior does it become?
68
+ - What source-domain details must be discarded?
69
+ - Which source-domain details must remain provenance-only and excluded from product-facing output?
70
+
71
+ Examples:
72
+
73
+ - Source dashboard card -> community feed module, creator task card, or AI suggestion.
74
+ - Source task/progress state -> publish, review, moderation, AI-generation, upload, or sync state.
75
+ - Source answer/analysis region -> post body, comment, AI response, annotation, or explanation panel.
76
+ - Source settings/report view -> creator analytics, moderation tools, trust settings, or account preferences.
77
+ - Source complex creation/import flow -> media creation, AI draft extraction, structured content setup, event/campaign setup, or imported data cleanup.
78
+ - Source chart/report interaction -> creator analytics, topic health, retention, trust/safety monitoring, or AI quality analytics.
79
+ - Source operational-processing workspace -> media ingestion, moderation queue, AI output validation, evidence review, creator approval, or incident processing.
80
+ - Source resource/cloud-drive management -> creator asset library, AI knowledge source management, saved prompt library, topic template library, media pack, or content-pack governance.
81
+
82
+ ## 3. Choose Product Density
83
+
84
+ Pick one density mode:
85
+
86
+ - Consumer relaxed: feed, detail, profile, onboarding, creation. Use readable spacing, clear hierarchy, visible reactions, and approachable empty states.
87
+ - Productive compact: creator tools, analytics, moderation, settings, AI workspace. Use denser cards, filters, side panels, tables/lists, and compact controls.
88
+ - Hybrid: discovery page with a secondary creator/AI panel. Keep primary content readable and collapse secondary panels first.
89
+
90
+ Do not make consumer discovery pages look like internal operations software.
91
+
92
+ ## 3.5 Required Design Checkpoint
93
+
94
+ Before implementing or approving any visible UI change, write a compact checkpoint that can be tested against the final screen:
95
+
96
+ - Surface type: mobile consumer, web consumer, web operational, or shared system.
97
+ - Density mode: consumer relaxed, productive compact, or hybrid.
98
+ - Implementation-owner checkpoint (rule text is canonical in `SKILL.md`'s implementation-owner checkpoint section; this checklist lists only the slots to fill — a checkpoint record must cite `checkpoint rules read: product-ui-ux-design/SKILL.md#implementation-owner checkpoint`, and a record without that citation is not valid):
99
+ - Record before the first implementation edit for a runtime visible UI/UX slice (slice definition and rendered-vs-backend-only routing: see `SKILL.md`): persistent artifact (plan/checklist, MR notes, or evidence file) for branch/MR-bound work; the visible progress update only for a single-turn local edit reverted or discarded before the final response (chat-only exception conditions per `SKILL.md`), and any change that remains at final response, push, or MR time repeats the full checkpoint fields in a persistent artifact.
100
+ - Include design owner (`product-ui-ux-design`), stack implementation owner, test owner (`testing-strategy`, loaded, with its assertion layer and rendered-evidence choice recorded, not only its name), entry-rule evidence, and rendered/device evidence status.
101
+ - Stack owner mapping: `app-cross-platform-dev` for Flutter/RN/native mobile, `web-react-dev` for React web, `miniapp-product-dev` for mini-programs, `terminal-cli-dev` for terminal/TUI, the recorded project client-code convention, or `no-installed-owner` with the surface type named — `no-installed-owner` only when no project convention exists and the lookup completed — name the runtime/framework and where conventions were looked for; an incompletable lookup is recorded `unavailable`, never `no-installed-owner`; container-wins, project-convention lookup minimum, shared-token consuming-stack inventory, and `unknown-consumers`/`out-of-scope` handling all per `SKILL.md`'s stack-owner entry rules; an entry list limited to stacks the author happened to name is not an inventory.
102
+ - Entry-rule evidence: a short quote, or the exact section/rule identifier plus the decision it produced — never only a file path, runtime name, or a vague anchor; runtime copy-only edits record `not-triggered (copy-only, existing component/viewport unchanged)` plus classification evidence that is measured — new text no longer than the old in every shipped locale, by rendered extent rather than byte/character count for width-constrained components (or a named length/viewport check; an unmeasured no-overflow assertion does not qualify; acceptable anchors and copy-only conditions: per `SKILL.md`); project-convention owners quote the convention line/rule applied; `no-installed-owner` records `no owner rule available`; trust/safety/risk-bearing copy never takes the copy-only path — full checkpoint plus risk grading routed to `feature-risk-router` (per `SKILL.md`).
103
+ - Evidence status: `captured/verified` with an inspected artifact pointer, `planned` with a capture command, or `unavailable-with-owner`/`unavailable-no-owner` with attempt records — status semantics, fabrication bars, persistence/review-resolution rules, completion-claim consequences, and evidence-artifact sanitization (sanitized/test accounts; tokens, PII, credentials, private paths redacted) per `SKILL.md`; a bare `captured/verified` without a pointer is treated as `planned`; any status other than `captured/verified` blocks completion claims — report `pre-runtime-test ready`, `blocked`, or an explicit evidence gap with owner and next command/unblock action.
104
+ - Remediation: naming an owner without loading its entry rules does not satisfy the checkpoint (the copy-only `not-triggered` path exempts only the stack-owner entry-rule quote, with every other checkpoint field still required); a missed checkpoint discovered by anyone is redone with an audit of the already-made diff per `SKILL.md`'s remediation rule.
105
+ - Primary workflow: the shortest successful path and the main return loop.
106
+ - Human logic: user intent in the next 10 seconds, likely anxiety/friction, attention order, motivation to continue, and trust concern.
107
+ - Aesthetic logic: intended mood, visual focus, density rhythm, contrast role, material treatment, and which details should feel restrained versus expressive.
108
+ - Visual direction: typography source, primary color source, neutral/background scale, radius/shadow role, token source versus new page-specific values, and whether two or three compact visual options were compared or deliberately skipped.
109
+ - Interaction logic: Discover -> Inspect -> Act -> Confirm -> Return, including what is progressively disclosed, what stays persistent, and where the user returns after modal/drawer/upload/generation/detail work.
110
+ - Behavioral logic: duplicate action protection, waiting feedback, disabled reasons, undo/retry/cancel, interruption recovery, and risk-matched confirmation.
111
+ - Psychology: users should know what is happening, what changed, what is safe to wait for or retry, what mistake risk exists, and how to recover without losing context or control.
112
+ - Layout structure: navigation/context, input/control region, content/result region, and secondary metadata.
113
+ - Required states: empty, loading/generating, success, failure/retry, disabled/permission, long-content, and narrow-width behavior where relevant.
114
+ - Trust boundary: generated content, publish/save limits, source/context/cost/model metadata, and any action that must not be implied.
115
+ - Visual acceptance: hierarchy, spacing, component fit, copy tone, no nested-card clutter, no generic dump of fields, and no text overflow.
116
+ - Behavioral/aesthetic acceptance: primary action feels obvious, feedback matches consequence, friction matches risk, mood fits the surface, and the result does not feel like a generic component demo.
117
+ - Recipe: choose one concrete recipe from `layout-recipes-and-screenshot-acceptance.md` before drawing or coding.
118
+ - Adaptation matrix: name the primary viewport, the stress viewport(s), the collapse rule, the spacing/density mode, and the screenshot/device checks that will prove the layout. For mobile, include safe-area and keyboard behavior; for desktop workbenches, include secondary-panel collapse before primary content becomes unreadable.
119
+
120
+ Run the checkpoint in this order so it changes the result, not just the wording:
121
+
122
+ 1. Aesthetic logic: decide layers, white space, density, alignment, rhythm, color weight, radius/shadow restraint, and visual focus around the primary task.
123
+ 2. Visual direction: if the screen is new or substantially reshaped and no strong design reference exists, compare two or three compact directions before coding or final acceptance; if reusing existing product language, state the exact theme/token source and what stays unchanged.
124
+ 3. Interaction logic: decide entry point, current task, next step, progressive disclosure, confirmation, return path, and how complex work is split across pages, drawers, sheets, toolbars, or stages.
125
+ 4. Behavioral logic: decide what users may repeat, misclick, wait for, abandon, undo, retry, cancel, or recover after interruption, and place visible state/control for each risk.
126
+ 5. Psychology: reduce cognitive load and uncertainty, explain disabled or risky actions, keep users feeling in control, and make high-impact actions feel deliberate before execution.
127
+
128
+ For admin, operations, moderation, analytics, creator-tool, and AI-review workspaces, a component library is only the implementation vocabulary. Do not describe the design as "Ant Design style" or similar without the checkpoint above. A good operational screen should make the next operator action obvious within five seconds. It should not rely on a dark hero, decorative gradient bar, oversized empty illustration, or marketing-page composition; use compact controls, readable hierarchy, clear status, and obvious work regions instead.
129
+
130
+ ## 3.6 Operational Workspace Quality Pattern
131
+
132
+ For admin, operations, moderation, analytics, creator-tool, and AI-review pages, use this pattern unless a stronger product-specific design exists:
133
+
134
+ - Header: keep the app shell header factual and restrained. Do not repeat a large inner page title unless it adds task context.
135
+ - Control bar: place scope/filter/mode switches and primary context in a compact horizontal band near the top.
136
+ - Status strip: expose trust boundary, selected scope, permission/state, and mode as small operational facts, not as promotional copy.
137
+ - Workbench: use a clear input/control region and a review/output region. The output region should show the shape of the future review object even before data exists.
138
+ - Dynamic workbench: data-driven module visibility, ordering, and status are valid. The empty or no-permission view should still show the intended module structure, next action, and future data slots.
139
+ - Empty state: prefer a compact placeholder skeleton, checklist, or next-action hint over a large illustration. Empty states should teach what will be reviewed, not fill space.
140
+ - Review state: make generated title, summary, reasons, model/prompt/cost/status, and source/trust metadata scannable without a table dump.
141
+ - Visual tone: quiet contrast, crisp borders, stable spacing, readable labels, no decorative gradients, no oversized cards, no unused first-screen dead area.
142
+ - User psychology: operators need certainty and control more than delight. Show where the work came from, what changed, what is pending, what is safe to retry, and how to recover after interruption.
143
+ - Component hierarchy: navigation, tables, modals, empty states, charts, progress steps, alerts, annotations, and toolbars are chosen for their task role. Do not drop a component onto the page until its state, density, fallback, and return behavior are defined.
144
+
145
+ ## 4. Required States
146
+
147
+ Use `product-surface-patterns.md` as the canonical state taxonomy. For every feature, map that taxonomy to concrete UI behavior. Add community, finance/data, AI, or operational scenario states only when the target surface needs them.
148
+
149
+ Do not ship only the happy path.
150
+
151
+ For visual implementation, use the empty/loading/error/success templates in `layout-recipes-and-screenshot-acceptance.md`. The state must occupy the same layout geometry as the final content unless the whole surface is terminally unavailable.
152
+
153
+ ## 5. Component Defaults
154
+
155
+ Mobile:
156
+
157
+ - Navigation: `TabBar`, `NavBar`, `Tabs`, `CapsuleTabs`.
158
+ - Feed/detail: `List`, `Card`, `Avatar`, `Image`, `ImageViewer`, `Tag`, `InfiniteScroll`, `Skeleton`.
159
+ - Creation/AI: `ImageUploader`, `TextArea`, `Input`, `Button`, `ProgressBar`, `Toast`, `Dialog`, `Modal/Bottom sheet`.
160
+ - Comments/actions: `FloatingPanel`, `Popup`, `ActionSheet`, `SwipeAction`.
161
+ - Account/settings: `Form`, `List`, `Switch`, `Picker`, `CheckList`, `Radio`, `PasscodeInput`.
162
+
163
+ Web/Desktop:
164
+
165
+ - Feed/detail: `Card`, `List`, `Avatar`, `Image`, `Tag`, `Badge`, `Tooltip`, `Popover`, `Skeleton`, `Empty`.
166
+ - Creator/moderation/settings: `Form`, `Input`, `Select`, `Switch`, `Radio`, `Checkbox`, `Upload`, `Steps`, `Progress`, `Drawer`, `Modal`.
167
+ - Notifications/feedback: `Message`, `Notification`, `Alert`, `Result`.
168
+ - AI workspace: `Layout`, `Splitter`, side panels, upload, progress, streaming/loading, retry, edit, and result states.
169
+
170
+ ## 6. Token Rules
171
+
172
+ - Use design-system semantic tokens before raw colors.
173
+ - Tokens should express a coherent product visual language, not fall back to generic neutral defaults without a reason.
174
+ - Preserve Light/Dark mode support when the surface supports theming.
175
+ - Use mobile 4/8/12 radius roles for mobile; use desktop 2/4/6/8/12/16 radius roles for web.
176
+ - Use desktop Default mode for consumer web readability; use Compact mode for dense tools.
177
+ - Do not invent one-off spacing, color, radius, or font rules unless the product requirement clearly needs a new token.
178
+
179
+ ## 7. UI Copy Guardrails
180
+
181
+ **A. Domain / product copy**:
182
+ - Do not copy old source domain words into the new product UI.
183
+ - Use product-appropriate copy. For community products: post, reply, topic, creator, follow, join, publish, draft, review, report, block, mute, notification, AI suggestion, generated draft. For finance/data products: source, evidence, watchlist, portfolio, risk, review, explain, export, permission, data freshness, and decision support.
184
+ - Keep destructive copy explicit: delete, report, block, publish publicly, leave community, discard draft.
185
+ - Empty states should invite the next action, not just say no data.
186
+
187
+ **B. Microcopy structural rules**(reviewer 可直接 block 不满足的 PR):
188
+ - **Button labels = verb + specific object**:`Save changes` / `Send message` / `Discard draft`. **Avoid generic labels when action/consequence is not obvious from context**(典型弱例:`Submit` 无对象、`OK`/`Confirm` 遮蔽结果)。在平台 dialog 标准位 `Cancel` / `Close` / `OK` / `Done` 等仍可用。Destructive 必须比中性更显式(参 [[behavioral-aesthetic-logic.md]] + `interaction-design-patterns.md` Serious/Financial 段的 destructive/irreversible/外部可见/付费 trust-sensitive 边界):`Delete forever` 而非 `Remove`。
189
+ - **Error message 结构**:(1) **what happened**(用户语言,非 stack trace / error code)+ (2) **why — when useful and safe to disclose**(auth/session/policy/anti-abuse/backend 内部不暴露;如 `Session expired. Sign in again.` 不必给原因)+ (3) **what to do**(具体动作:retry / contact support / 修哪个 input). Anti-pattern:`Something went wrong` / `Error 500` / `Unknown error` 作主 copy(error code 可入 expandable technical details / support reference)。
190
+ - **Disabled control**:默认必有原因(tooltip / inline helper / 旁边一句话)+ 启用条件,让用户知道下一步。**例外**:unavailable by policy / permission / security 且暴露条件不安全 → **隐藏 control** 或给通用 permission 解释(不暴露具体策略);不存在"恒不可启用"且只剩 disabled 状态的 control(应直接隐藏)。
191
+ - **Success / confirmation 必具体**:说清成功了什么 + 如适用给下一步。`Message sent to alice@example.com — view in Sent` 而非 `Success` / `Done` / `OK`。
192
+ - **Voice consistency**(可枚举的 reviewer 检查项,不空喊):(a) 无内部代号 / 项目代号 / 服务名出现在用户文案;(b) 同一动作 / 对象不混用术语(如不同页面别一处叫 "send"、一处叫 "submit"、一处叫 "post");(c) 无未解释 jargon;(d) 无翻译腔(直译机翻味);(e) 时态 / 人称 / 大小写统一。
193
+
194
+ ## 8. Review Checklist
195
+
196
+ Before calling a design or implementation complete, verify:
197
+
198
+ - The screen supports the primary product loop: discover/enter -> inspect -> act -> confirm -> recover/return.
199
+ - Main action and secondary actions have proper hierarchy.
200
+ - Interaction logic passes `behavioral-aesthetic-logic.md`: the canonical Discover -> Inspect -> Act -> Confirm -> Return loop from `interaction-design-patterns.md` matches user intent, risk, trust, and motivation.
201
+ - Aesthetic logic passes `behavioral-aesthetic-logic.md`: mood, rhythm, contrast, material treatment, and delight support the product purpose.
202
+ - Frontend, test, and acceptance checks use `behavioral-aesthetic-logic.md`: rendered behavior preserves attention order, risk friction, recovery, trust cues, and return context, not only visual component correctness.
203
+ - Long names, long posts, badges, tags, and metadata do not break layout.
204
+ - Mobile keyboard/safe-area states are covered where relevant.
205
+ - Web narrow-width behavior collapses secondary panels before damaging content readability.
206
+ - AI states include generating, retry, edit, source/citation where relevant, and failure handling.
207
+ - Trust/safety states are visible and understandable.
208
+ - Trust-sensitive AI/data features expose source/context, permission state, recovery, and observable request/task outcomes.
209
+ - Visual polish passes `visual-craft.md` anti-slop and brand-consistency checks.
210
+ - Screenshot acceptance passes `layout-recipes-and-screenshot-acceptance.md` with realistic long text, no data, partial data, and error data.
211
+ - The adaptation matrix was checked in the rendered implementation: primary viewport, stress viewport, collapse behavior, safe-area/keyboard where relevant, long text, empty/partial/error state, and no layout shift around loading or dynamic modules.
212
+ - For operational/admin/AI-review workspaces, the rendered screen looks like a focused work surface, not a landing page: no hero-style banner, no decorative gradient-as-design, no oversized empty illustration, no large unused first-screen area, and no layout where the real task starts below unrelated dashboard content.
213
+ - Component choices follow this skill and existing codebase primitives.
214
+ - Launch readiness and iteration risks pass `product-lifecycle-acceptance-and-iteration.md` when the work is close to release or already shipped.
@@ -0,0 +1,53 @@
1
+ # Design-Implementation Naming And Versioning
2
+
3
+ Load this reference when a task crosses the Figma↔code boundary and depends on **finding the matching pair** — e.g. "which code module implements this Figma frame?" or "is this V2 component the active one?". It defines how to detect naming drift between design and code, and how to detect in-flight version stacks that look stable but aren't.
4
+
5
+ ## Triggers
6
+
7
+ - A task asks "find the implementation of <Figma surface>" and the obvious `grep` returns nothing.
8
+ - A code tree contains both `Foo` and `FooV2` (or `Foo` and `Foo.v2.tsx`, etc.) and you must decide which is active.
9
+ - A Figma frame name carries a date stamp / version suffix / "use this one" parenthetical.
10
+ - A design-system refresh ships and the implementer can't tell which code locations still reference the old version.
11
+
12
+ ## Rules
13
+
14
+ - **Name a glossary, do not improvise the translation**: when the team uses one set of terms in Figma (often in the working language, e.g. Chinese: review/scan/exam/etc.) and a different set in code (often English equivalents, sometimes translated freely as `Correct` / `Process` / `Inspect`), maintain an explicit bidirectional glossary in the private provenance archive. Future agents that try to grep without the glossary will silently miss matches.
15
+ - **Glossary is part of onboarding**, not a per-task artifact: a new contributor or agent learning the project must encounter the glossary as part of the source-classification step. Hidden glossaries fail in proportion to how busy the project is.
16
+ - **In-flight versioning is a smell, not a feature**: a code module named `FooV2` that coexists with the unsuffixed `Foo`, a Figma frame stamp such as a current-marker suffix / version-N suffix / date-stamp suffix / designer-added disambiguation parenthetical, and a folder name like `module.new` are all evidence that the team is mid-migration. None of them is wrong, but a *long-lived* coexistence is anti-pattern: it forces every reader to do extra work to find the active version.
17
+ - **The active version must be discoverable from the runtime entry**: do not rely on intuition. To decide which of `Foo` / `FooV2` is active, follow the route table / router config / app entry import — whichever the runtime actually mounts. The unmounted sibling is dead weight even if it has more recent commits.
18
+ - **Old versions should be retired on a date, not on vibes**: when introducing `FooV2`, write down the date or release that retires `Foo`. Same in Figma: when promoting `_ver1`, tag the old frame as deprecated rather than leaving siblings competing.
19
+ - **Date stamps in design file names do not propagate to code**: never name a code module `Foo_0904.tsx` because the corresponding Figma page carries a date stamp. Translate the design version stamp into a clean code name plus a top-of-file comment that records the design-source revision.
20
+ - **Verify business-axis frame labels by structural diff before treating the label as a product axis**: when paired figma frames carry business-axis vocabulary in the form "X / non-X" (tenant tier / customer segment / plan tier / region / vertical / industry / org type), structurally diff the two frames before code, tests, backend enums, or analytics dimensions branch on the named axis. **Diff unit** (specify it so two reviewers reach the same verdict): node path + node id + component/variant props + text content + bounds + layer visibility + interactive/prototype links. A changed component INSTANCE with changed variant props or overridden internal children counts as multiple deltas, not a single-element presence delta. **Procedure**: read both frames at matching depth, enumerate every node at the diff unit, list every delta. **If the only delta is presence/absence of a single permission-gated or state-driven element** (one quick-action cluster, one CTA button, one config row): UI evidence alone proves a permission/state-rendering delta — it does **NOT** alone prove the business axis is fake. The named axis may still be a real product/analytics/backend dimension that happens to surface through entitlement gating (plan tiers and regions often manifest exactly this way: one entitlement-controlled action toggles, with the axis itself living in product schema/PM intent). Confirm whether the gating permission is **derived from** an independent business axis (PM/PRD, product enum, backend schema, entitlement matrix) before deciding. Two outcomes: (i) gating is **not** derived from any business axis → label is misleading, the real axis is permission/state, raise rename to designer; (ii) gating **is** derived from the named axis → label is accurate, the axis is real even though UI manifests as one gated control, code/enums/analytics should keep the named axis (with the permission as its rendering mechanism). **Design-side judgment** (this skill's lane): record in the private glossary with source file, frame node ids, revision/version marker, observed delta summary, resolved axis (misleading / entitlement-derived from <axis>), and the entitlement-source evidence (PM/PRD doc, product enum file, etc.); the entry is **not a permanent cache** — re-diff when either frame changes revision or when a current-marker/version stamp appears. When outcome (i) holds, raise the label as a hygiene defect for designer rename (e.g. "with-<permission-name>" / "without-<permission-name>", "in-<state>" / "out-of-<state>"). **Routing for enforcement**: code gating → `web-react-dev` / `app-cross-platform-dev` / `miniapp-product-dev`; test coverage → `testing-strategy`; backend enum and analytics dimension changes → owning backend / data skill or human owner. This file's role ends at recording the judgment and routing. **If the diff returns a multi-element substantive delta** (multiple node-path differences, distinct INSTANCE trees with different variant props, different navigation patterns), the named axis is a **candidate** real axis — confirm against product / runtime / source-of-truth evidence (PM/PRD, route table, backend enum, data dictionary) before introducing axis-aware code, tests, enums, or analytics; multi-element delta alone is insufficient because it can still be state, permission combo, experiment, locale, or responsive variant.
21
+ - **Designer-side dating is acceptable but needs a current-discriminator**: Figma lacks a git-like branch/version-history mechanism, so designers commonly suffix the active page with a date stamp (e.g. a `_YYYY.MM/DD` or `_MMDD` suffix) and keep older dated pages in the same file as informal version history. This is acceptable, *provided* one page is unambiguously identifiable as the current source — any of: only one page in the file carries the latest date stamp and no other page carries a later one; a `(current)` / "use this one" / `(active)` annotation on the current page; or older dated pages renamed to start with `archive/`. Without such a discriminator, a file with two or more dated pages becomes a graveyard where the maintainer cannot tell which is the source of truth. **Conflict precedence when signals contradict**: when two discriminators point at different pages — for example, an older page is annotated `(current)` but a newer dated page exists without annotation, or a page carries both a `(current)` label and an `archive/` prefix — none of the automatic signals can be trusted. Treat the file as `freshness: candidate-needs-inspection`, hold rule extraction, and confirm with the file's designer/owner which page is the live source before proceeding. Do not pick a "winning" discriminator silently. The code-side rule above (date stamps do not propagate into module names) still holds independently.
22
+
23
+ ## Decision Checklist
24
+
25
+ When you hit a Figma↔code naming mystery:
26
+
27
+ 1. Open the private glossary (or ask the maintainer to create one if it doesn't exist). Translate the Figma label into all known code-side equivalents.
28
+ 2. Re-grep using each equivalent. If still no match, the implementation may not exist yet (`not-observed` per maturity gate) — flag it as a gap, do not invent a mapping.
29
+ 3. If you find `Foo` and `FooV2`: read the router/app-entry first, see which one mounts. Treat the other as legacy; do not edit the legacy version unless explicitly cleaning up.
30
+ 4. If a Figma frame has version/date stamps: read the page's other frames to see if a "current/latest" sibling exists (a sibling stamped as the chosen version or as "use this one" in the team's working language). If yes, the un-stamped sibling is stale.
31
+ 5. After resolving the mapping, add it to the glossary (one line: design label → code module → status). Future agents skip the search.
32
+ 6. If two figma frames carry business-axis "X / non-X" labels (tier / segment / region / industry / org type): structurally diff at the diff-unit granularity (node path + id + component/variant props + text + bounds + visibility + prototype links). Single-element permission/state delta → run the entitlement-source check (PM/PRD, product enum, entitlement matrix). Gating not derived from any business axis → label is misleading, raise rename, route enforcement to implementation owner. Gating derived from the named axis → axis is real, route axis-aware code/enums/analytics changes to implementation owner. Multi-element substantive delta → candidate real axis; confirm against product / runtime / source-of-truth evidence before introducing axis-aware code, tests, enums, or analytics; do not treat the figma delta alone as authorization. Glossary entry records source file, node ids, revision, resolved axis, and entitlement evidence; re-diff when frame revisions change.
33
+
34
+ ## Anti-Patterns
35
+
36
+ - **Coexistence beyond one release**: `Foo` and `FooV2` both in `pages/`, both reachable, neither documented as legacy. Every reader pays the cost.
37
+ - **Naming the active version by date stamp**: a Figma frame with a `MMDD` stamp and a code module copying that stamp into the filename. The stamp ages; the relationship becomes meaningless in a month.
38
+ - **Translating without a glossary**: agent A grep's "review", agent B grep's "Correct", agent C grep's "mark". All three miss the actual code, which uses `Exam`.
39
+ - **"use this one" siblings**: a frame the designer has stamped as the chosen version only signals that the wrong siblings have not been deleted yet. Do not assume the un-stamped frames are also current.
40
+ - **V1/V2 dual-track on both sides with no retire plan**: when one product surface has V1 + V2 routes in code (e.g. `pages/Foo/` plus `pages/FooV2/`), V1 + V2 components on the mobile side (e.g. legacy `pages/Foo/` directly + new `pages/FooV2/*/page.tsx` re-exporting from `features/foo/`), AND multiple dated pages in the design source (e.g. `<surface>-<date1>` + `<surface>-<date2>` + `<surface>-backup`), the team is in indefinite migration. Cost compounds: type duplication, route ambiguity, dead code in tests, contradictory designer guidance to engineers. The retire-date discipline is necessary but not sufficient: a recorded date alone, without a migration checklist, creates deletion pressure that ships its own incident class — saved deep links 404, exports/QA fixtures/analytics events/persisted user state reference V1 paths after V1 is deleted, rollback becomes destructive. The retire commitment must include: an explicit migration checklist (V1→V2 redirect / compatibility adapter / data backfill); telemetry that proves residual V1 usage has dropped below a stated threshold before deletion; a rollback path; and a sunset validation step that exercises old deep links, exports, and persisted state on the post-retire build before V1 code is removed. If a retire date is recorded but the migration plan is missing, treat that as a worse state than no retire date — pressure to delete with no safety story. **What stops vs what continues**: net-new V2 feature expansion (a new module, a new tab, a new endpoint shape, a new surface area) stops until both the date AND the migration plan exist. What does NOT stop, regardless of plan status: security fixes, rollback wiring, compatibility adapters, telemetry to measure residual V1 usage, bug fixes that reduce risk in V1 or V2, and the migration work itself. Refusing to ship a security fix because the retire plan is incomplete makes the situation worse, not better — the goal of the rule is to prevent scope expansion in a half-migrated state, not to freeze risk reduction.
41
+ - **Cross-stack naming style drift on the same field**: same semantic field rendered three different ways across web, mobile, and design — e.g. `is_xxx_checked` (web React) / `showXxxCheck` (mobile React) / a local-language label that translates to "toggle Xxx" (Figma). Each side individually defensible; together they break grep, glossary, and engineering↔design discussion. Pick one naming style per cross-cutting concept and treat it as part of the glossary, not a per-side stylistic choice. Typos that leak into the active path (e.g. `useShcool…` shipped instead of `useSchool…`) are part of this pattern, not a separate one — they reach the glossary the same way.
42
+ - **Frame-per-state ≠ frame-per-version**: when a Figma file shows the same module name repeated N times (e.g. `<module-name> ×6`), the default extraction reading is "N coexisting versions." That reading is wrong about half the time — on mobile design files especially, frame repetition is the designer's way of expressing state variants (default / hover / selected / Modal-overlay / single-mode / all-mode / different permission combos). Inspect each repeated frame's bounding box and any state-name suffix before treating the cluster as a version graveyard. The dual-track coexistence rule applies to genuine version siblings, not to state cardinality. (Genuine version siblings carry date stamps, version suffixes, or explicit deprecation markers; state variants do not.)
43
+ - **In-file deprecation marker vs in-file design-system tag library — read the content, not the name**: a section literally named with a local-language phrase that translates to "use this as canonical" (or "source of truth", "official version") looks like a version-marker section. Open it before drawing conclusions. If the content is a set of category/state/modality `Tag` instances (e.g. enum-style chips for type, source, status), the section is a **tag library**, not a version marker — the section name is misleading-but-internal. Real version markers tag a specific page or frame as canonical; tag libraries enumerate values used across the file. Misclassifying a tag library as a version marker corrupts the dual-track-coexistence audit.
44
+ - **Same-name V1/V2 coexistence breaks bare "X is deprecated" deprecation markers — discriminator is mandatory**: when the user-facing label "X" exists in both an old V1 route (often a sub-page embedded under a legacy section) and a new V2 route (often a standalone top-level route), a figma annotation that says only "X is deprecated, ignore" (in any language) is **ambiguous by construction**. A literal reader will conclude the entire X capability is deprecated and either (a) wrongly retire V2 or (b) skip both and miss V2's active feature surface. The deprecation marker MUST carry a version, path, or source-route discriminator — e.g. "the OLD `<legacy-section>/X` is deprecated; the new standalone `X` route is active" — or it is an audit failure on the design side. The audit path when you hit such an ambiguous marker: (1) resolve the user-facing label X through the private glossary so you have its known code-side synonyms across languages and renames; (2) inspect the route table / router config / app-entry imports — the authoritative signal for which of V1/V2 actually mounts at runtime is the route table, not grep counts; (3) only after the glossary + runtime-entry pass, use grep on each synonym as discovery support. Escalate to the file owner when the marker lacks a discriminator AND the runtime + glossary evidence cannot identify which side is being deprecated — not merely when grep returns more than one file (tests, stories, and dead files inflate that count; multilingual route names deflate it).
45
+ - **Implicit retire-without-delete (intra-file commented-out alternative components)**: same anti-pattern as V1/V2 dual-track, expressed at intra-file granularity. A page that renders `<Foo />` and carries `{/* <FooV1 /> */}` / `{/* <FooV2 /> */}` block-comments alongside is the same debt: the source reader cannot tell whether the commented siblings are "removed", "paused for rollback safety", or "in-flight before re-enable". The default resolution is **delete with rationale recorded in the removing commit message**, OR attach a dated `TODO(YYYY-MM-DD, owner):` comment naming the condition under which the sibling re-enables. **Re-enabling the commented sibling is NOT a routine cleanup response** — it requires the runtime owner to confirm the sibling is the actual intended active path, plus test coverage / feature-flag gating / a recorded rollback rationale; without that confirmation, re-enabling silently reintroduces duplicate UI, stale side effects, or stale permission behavior. Bare `{/* <X /> */}` blocks grow because every future reader has to decide whether to delete or restore, with no signal — the same propagation that the V1/V2 file-level rule prevents.
46
+ - **Business-axis frame label resolved without the entitlement-source check (symmetric anti-pattern, both directions)**: paired figma frames labeled with a business axis ("X / non-X" by tier / segment / region / industry / org type) whose only structural delta is one permission-gated or state-driven UI element, resolved without checking whether the gating permission is derived from an independent business axis. Two failure shapes, both expensive: (a) reader trusts the label, introduces code branches / test fixtures / backend enums / analytics dimensions for an axis the design never actually meant (false axis ships into the contract; removing it later is expensive — consumers, dashboards, persisted records); (b) reader treats single-delta UI as definitely misleading and strips a real product axis from code / enums / analytics because the UI happened to surface through one entitlement-gated control (plan tier, region, or industry that legitimately gates one action — re-introducing the axis later is equally expensive). The fix is **structural diff PLUS entitlement-source check** (PM/PRD, product enum, entitlement matrix) before trusting **or** rejecting the label; glossary entry stores source file + node ids + revision + resolved axis + entitlement evidence so the next reader can verify rather than re-decide.
47
+ - **Shared-API + diverged-frontend V2 rewrite is the lowest-risk dual-track shape (positive pattern)**: when V1 and V2 share the same backend API, same permission code, and same shared components — diverging only in the page shell (filters, layout, pagination, integration) — the V2 retire migration plan is correspondingly small *on the backend / permission / cross-service axis*. There is no DB migration, no permission re-grant, no cross-service contract change. But "small backend plan" is NOT "no checklist": even pure-frontend V2 rewrites routinely change route shape, query-param schemas, local-storage / persistence keys, default filter values, pagination cursor shape, analytics event names, and export entry-point URLs. The dual-track rule's compatibility checklist still applies to all of those — saved deep links, persisted user state, exports/QA fixtures, and analytics events must continue to work or have an explicit redirect/migration. The right framing: skip the DB/API/permission migration items **only after verifying those contracts are actually unchanged**; never skip the route / query / persistence / export / analytics compatibility items, and always run the post-retire sunset validation (open old deep links, check persisted state, check exports) before V1 file deletion. Size the migration to the divergence; do not skip the checklist when V2 forks the API, and do not bloat the checklist when V2 only forks the page shell — but the frontend-only checklist is still a checklist, not a single-line redirect.
48
+
49
+ ## Routing
50
+
51
+ - Code-side enforcement of "no `FooV2` coexists with `Foo` after release N" → `web-react-dev` and `app-cross-platform-dev`.
52
+ - Test coverage of both `V1` and `V2` paths while coexistence persists → `testing-strategy`.
53
+ - Glossary maintenance and design-side cleanup of `_verN` / current-marker / date-stamp siblings → stays here (design discipline) plus owner update in the private archive.
@@ -0,0 +1,129 @@
1
+ # Design Intake And Acceptance
2
+
3
+ Use this reference before designing, implementing, or reviewing a concrete product screen. It adapts product-intent and UX-acceptance practices while staying source-agnostic and excluding source-specific visual themes.
4
+
5
+ ## Intake Triage
6
+
7
+ Clarify these points quickly before making design decisions. Do not over-ask when the answer is obvious from the current task.
8
+
9
+ | Dimension | Questions |
10
+ | --- | --- |
11
+ | Product goal | What user behavior should this screen increase: discovery, first participation, creation, retention, trust, or AI-assisted contribution? |
12
+ | User segment | Is the user new, returning, creator, moderator, power user, or casual browser? |
13
+ | Platform | Is this mobile app, mobile web, consumer web, creator web, moderation/admin-like web, or cross-platform? |
14
+ | Surface | Is it feed, post detail, creation, onboarding, profile, topic/community, notification, AI workspace, trust/safety, analytics, or settings? |
15
+ | Primary loop | What is the screen's loop: discover -> interact, create -> publish, AI -> refine -> share, report -> review, or notify -> return? |
16
+ | Constraints | Are there known brand, component-library, accessibility, localization, privacy, moderation, or performance constraints? |
17
+ | Evidence | Which references apply: Figma-derived patterns, external community benchmarks, existing codebase UI, or explicit user-provided screenshots? |
18
+
19
+ If the user asks for "all of it" or gives a broad design request, deliver in this order:
20
+
21
+ 1. Product intent and primary loop.
22
+ 2. UX flow and required states.
23
+ 3. UI concept and layout.
24
+ 4. Design-system/tokens/component mapping.
25
+ 5. Implementation plan or review checklist.
26
+
27
+ ## Evidence Integrity
28
+
29
+ When applying or refreshing this skill:
30
+
31
+ - Do not claim a Figma page, code path, screenshot, metric, or review was checked unless it was actually inspected in the current task or already distilled in the references.
32
+ - If source access is unavailable, say so briefly and use the distilled rules rather than blocking normal design work.
33
+ - If evidence is thin, limit the recommendation to patterns supported by stronger references and state what would improve confidence.
34
+ - Keep source names and old product terms out of product-facing UI copy and product structure.
35
+ - For conflicting evidence, keep the clearer current reusable pattern, merge compatible variants, and discard stale or overly domain-specific details.
36
+
37
+ ## Deliverable Types
38
+
39
+ Choose the smallest deliverable that satisfies the task.
40
+
41
+ ### UI Concept + Layout
42
+
43
+ Include:
44
+
45
+ - Visual direction tied to the product goal.
46
+ - Main screen structure, hierarchy, and navigation.
47
+ - Key modules, cards, panels, actions, and responsive behavior.
48
+ - States that affect layout, such as empty, loading, long content, and collapsed side panels.
49
+
50
+ ### UX Flow
51
+
52
+ Include:
53
+
54
+ - Entry point, main path, success state, and return loop.
55
+ - Error, empty, permission, moderation, AI failure, and undo paths.
56
+ - Cross-surface transitions such as feed -> detail -> comment, AI result -> draft -> publish, notification -> thread.
57
+
58
+ ### Design System Mapping
59
+
60
+ Include:
61
+
62
+ - Tokens for color, typography, spacing, radius, shadow, and mode where relevant.
63
+ - Component selection and variants.
64
+ - Component states: default, hover, active, disabled, selected, loading, error, success, empty, and destructive.
65
+ - Web/mobile differences.
66
+
67
+ ### Implementation Plan
68
+
69
+ Include:
70
+
71
+ - File or component boundaries where known.
72
+ - Reusable components and local primitives to use first.
73
+ - Data/state requirements for the UI.
74
+ - Acceptance checks and visual QA steps.
75
+
76
+ ### Design Review
77
+
78
+ Lead with issues, then recommended fixes:
79
+
80
+ - Functional UX gaps.
81
+ - State coverage gaps.
82
+ - Visual hierarchy and layout problems.
83
+ - Component/token violations.
84
+ - Trust, moderation, AI, accessibility, and responsive risks.
85
+
86
+ ## Acceptance Standards
87
+
88
+ A design or implementation is not complete until it passes these checks.
89
+
90
+ ### Product Fit
91
+
92
+ - The target user and primary loop are clear.
93
+ - The main action supports a real target-product behavior, not just navigation.
94
+ - The screen gives users a reason to return, continue, or contribute.
95
+ - AI entry points support the target product loop instead of becoming isolated chat.
96
+
97
+ ### UX Completeness
98
+
99
+ - The canonical state taxonomy in `product-surface-patterns.md` is mapped to concrete UI behavior for this surface.
100
+ - Long names, long posts, dense metadata, image/video failures, and permissions do not break the layout.
101
+ - New-user and returning-user behavior are both considered when relevant.
102
+ - Destructive, public, or moderation-related actions have confirmation and consequence copy.
103
+
104
+ ### Visual And Component Quality
105
+
106
+ - Uses existing design-system tokens and components before inventing new styling.
107
+ - Has a coherent visual direction and avoids generic AI-template aesthetics; see `visual-craft.md`.
108
+ - Maintains clear hierarchy between content, metadata, actions, and system feedback.
109
+ - Mobile surfaces respect thumb reach, keyboard, safe area, and bottom-sheet behavior.
110
+ - Web surfaces collapse secondary panels before harming core content readability.
111
+ - Text fits in buttons, tabs, cards, sidebars, and compact controls.
112
+
113
+ ### Trust, Safety, And AI
114
+
115
+ - Report, hide, mute/block, sensitive, under-review, rejected, limited, and appeal/recovery states exist where relevant.
116
+ - AI-generated, AI-assisted, human-authored, cited, edited, or community-verified states are distinguishable when trust depends on them.
117
+ - AI output can be edited, retried, saved, shared, reported, or discarded as appropriate.
118
+ - Moderation status communicates what happened, why it happened, and what the user can do next.
119
+
120
+ ### Accessibility And Responsiveness
121
+
122
+ - Interactive controls have labels, keyboard/focus states where applicable, and enough hit area.
123
+ - Color contrast, disabled state, error state, and loading state remain readable.
124
+ - The design works at the expected mobile and desktop widths.
125
+ - Motion or animation does not block task completion and can degrade gracefully.
126
+
127
+ ## Anti-Patterns
128
+
129
+ Use `design-execution-checklist.md` for product-density and copy guardrails, and `scenario-community-patterns.md` for per-surface Avoid rules. Do not duplicate those lists here; during review, cite the specific violated rule and the concrete screen evidence.
@@ -0,0 +1,97 @@
1
+ # Design System Source Of Truth
2
+
3
+ Load this reference when working on token decisions, theme files, design-system files, or any task that asks "which Figma file is the real source for this color/component/spacing?". It defines how to identify the design-system source, how to keep design and code in sync, and how to detect and route business-file leaks.
4
+
5
+ ## Triggers
6
+
7
+ - Adding or editing theme/token files in any subproject.
8
+ - Onboarding a new subproject and deciding which theme to inherit.
9
+ - Spotting two Figma files that both seem to define brand tokens.
10
+ - A design-system Figma file appears suspiciously complete (90+ pages, full component catalog) — verify whether it is a team-authored system or a third-party mirror.
11
+
12
+ ## Rules
13
+
14
+ - A Figma file labeled "design system" in the team's project list may actually be a **figma mirror of a third-party component library** (third-party kits like Ant Design, antd-mobile, Material, or Polaris are illustrative — the same pattern recurs across many ecosystems). Confirm by checking the page list for explicit names like `<Library> System for Figma` or `Figma to <Library>`; if present, treat the file as the third-party spec, not as team-authored tokens. The team's brand customisation usually lives in a smaller separate file, often named for a product framework refresh, a brand-system file, or a workbench/shell file — name conventions vary across teams.
15
+ - A figma project that spans multiple end stacks should split design-system files by stack: one for desktop, one for mobile (and one for any non-React mini-app / native surface). Business-module files should not carry their own token/style definitions; they should reference the design-system file only.
16
+ - A business-module Figma file is correctly scoped when its `/v1/files/<key>/styles` and `/v1/files/<key>/components` endpoints return zero file-local entries — all styles inherited from the design-system file. Non-zero counts on a business file = the file has forked tokens, which is a refactor flag.
17
+ - Theme/token source files in code must include an explicit machine-checkable pointer to the design-system Figma source: top-of-file comment with the file's labeled name (not the team-internal nickname) and node-id of the token frame. Pointing the comment at a business-module file instead of the design-system file is a documented anti-pattern — the next person edits the wrong source.
18
+ - Deprecated design files must carry an explicit signal: a dated deprecation page, an archive folder, or a tracked deprecation list in the private provenance archive. Do not rely only on file-name prefixes (brand prefix, copy suffix, etc.) — prefixes are easy to miss in tooling. Keep the active marker list in the private archive and audit each load.
19
+
20
+ ## Portfolio Role Taxonomy
21
+
22
+ The existing `class A1 / A2 / B` labels are too coarse when a single product's design portfolio holds more than one file claiming to be system-canonical. Before treating any single `A1` file as the source-of-truth, classify every `A1` candidate by role.
23
+
24
+ | role | what it is | health rules to apply |
25
+ |---|---|---|
26
+ | `source-of-truth` | currently authoritative system file: Brand / Semantic layer fully bound, Components tier populated, multi-mode resolved, consumed by current production code. One per stack. | full Design-Source Health Check + alignment audit against live code |
27
+ | `upgrade-plan` | one or more files describing the next-version system (refresh / vendor migration / new brand). May intentionally not match current production code. A single upgrade plan may exist as a main file plus per-feature `upgrade-plan-supplement` files. | Migration-State `target` audit only; do not audit against current code for drift; treat supplements as parts of the same plan, not independent sources |
28
+ | `combined-active` | a single file that mixes system-level content (components / tokens / variables) with per-feature business pages and exploration sketches, still being edited. Often the team's original monolith, the central brainstorm scratchpad before content is extracted into dedicated files, or the shared seed file new proposals start in. May coexist with a separate `source-of-truth` that received its extracted content. | partial-authority: only the portions not yet superseded by a dedicated file are evidence; mark each page with its supersession state (`migrated-to: <file_label>` / `still-authoritative` / `wip`); pages still-authoritative get the same rules as the role that page would belong to in a split portfolio |
29
+ | `exploration-wip` | working file for direction trials and variant proposals only, with no business or system content the team relies on. Distinct from `combined-active`: nothing here is the canonical answer to anything. | weak evidence only; do not extract rules; do not audit against code |
30
+ | `ui-kit` | component-spec file (button states, form patterns, layout primitives) documenting shape and behavior without owning brand tokens; tokens reference source-of-truth. May exist in a version chain (current ui-kit aligned to current `source-of-truth` + legacy ui-kits retained for historical reference); audit must determine which is current by inspecting the link back to source-of-truth, not by file name or recency. | verify cross-file token references back to current source-of-truth; flag any locally-defined token as a fork; legacy ui-kits in the chain treat as `class B` reference-only |
31
+ | `platform-shell` | platform-specific surface file (desktop product chrome, mobile app chrome) consuming source-of-truth tokens; may exist per platform | same as `ui-kit` |
32
+ | `interaction-spec` | file focused on UX flow / behavioral annotation / state transitions / gesture spec, rather than visual composition or token definition. Recognizable by naming convention pairs such as `(UI)` / `(UX)` companion files, by page content (flow diagrams, swimlanes, state machines, interaction notes), or by an explicit annotation-tool spec doc. | health-check skipped; evidence used for interaction logic / behavioral logic rules only, not token / component / visual rules |
33
+ | `icon-library` | file owning icon set, stroke discipline, sizing rules; owns its own dimension tokens, consumes color tokens from source-of-truth | verify color / size token references; flag locally-defined color tokens as a fork |
34
+ | `per-feature` | already covered as `class A2`: business-module file inheriting all tokens, owning page-composition evidence only | existing `A2` rules (`styles_count == 0`, `components_count == 0`) |
35
+
36
+ ### Portfolio-pass rule
37
+
38
+ When the portfolio holds multiple `A1`-shaped files, the audit MUST enumerate the full portfolio and assign a role to every entry **before** judging any single file. Single-file-in-isolation audits produce predictable false findings:
39
+
40
+ - Mistaking an `upgrade-plan` for a broken `source-of-truth` because its values do not match production code.
41
+ - Mistaking a `ui-kit` for a competing `source-of-truth` because it defines components.
42
+ - Mistaking a `combined-active` monolith for either a broken `source-of-truth` (because not all roles are clean inside it) or an inert `exploration-wip` (because it has scratch pages). It is neither — record per-page supersession state.
43
+ - Treating an `interaction-spec` file as a visual/token source because the team named it after a product surface. Read the page content, not the file name.
44
+ - Treating an `exploration-wip` as authoritative because it was the most-recently-edited file.
45
+
46
+ ### Predecessor / ancestry tracking
47
+
48
+ The portfolio enumeration must record relations between files, not only per-file roles. For each entry, capture at least one of:
49
+
50
+ - `predecessor_of: <file_label>` — an earlier file that has since been split into newer files; the newer file is now authoritative for the migrated content.
51
+ - `derived_from: <file_label>` — a newer file that extracted content out of a predecessor; the predecessor may still hold non-migrated pages.
52
+ - `supplements: <file_label>` — a companion file (most often `upgrade-plan-supplement` to `upgrade-plan`, or a `per-feature` extension to a parent product surface).
53
+ - `succeeds-version: <file_label>` — a later version in a ui-kit / platform-shell version chain; the predecessor in the chain becomes legacy.
54
+ - `no-relations` — explicitly stand-alone (rare in mature portfolios; flag for review).
55
+
56
+ Sibling files without recorded relations are treated as competing source candidates, which is usually wrong: most files in a mature portfolio descend from earlier monoliths or supplement an existing parent. Missing ancestry is a portfolio-enumeration defect, not a system defect — fix the enumeration before judging the files.
57
+
58
+ Record the portfolio (entries + relations) in the private provenance archive (one entry per file: role + relations + last-updated + owner + relation to current production code). The audit references the archive, not its own assumption about which file is canonical.
59
+
60
+ ## Decision Checklist
61
+
62
+ When starting work on tokens/theme/design-system:
63
+
64
+ 0. Enumerate every file in the project's design portfolio (system, upgrade plan + supplements, combined-active monoliths, exploration, UI kit version chain, platform shells per stack, icon library, interaction-spec, per-feature). Assign a Portfolio Role from the taxonomy above to every entry, plus the predecessor / derived / supplements / succeeds-version / no-relations relation to other entries. Recording the portfolio with role AND relations is mandatory before any single-file judgment; missing relations is a portfolio-enumeration defect, not a system defect.
65
+ 1. Pull the project's Figma file inventory; mark each entry `class A1` (rules-as-source), `class A2` (business-module), or `class B` (deprecated/reference) using the source-map rules.
66
+ 2. For each `A1` file, verify whether it is team-authored or third-party-mirror via page-name pattern.
67
+ 3. For the active `A1` files, confirm one per stack (desktop / mobile H5 / native / mini-app). If multiple compete, choose one as canonical and demote the others to `class B` until merged.
68
+ 4. For the theme/token source file in code, verify its top-of-file Figma comment points at the canonical `A1` file's node-id, not at a business-module file.
69
+ 5. For each `A2` business file, confirm `styles_count == 0` and `components_count == 0` via Figma API. Non-zero = file-local forked tokens; route to the design-system maintainer to merge.
70
+ 6. Cross-check deprecation: every file the team treats as deprecated must appear in the private deprecation list. Files-only-marked-by-prefix get a follow-up to add them explicitly.
71
+
72
+ ## Anti-Patterns
73
+
74
+ - **Mistaking a third-party mirror for a team design system**: leads to "we already have a complete design system" claims that ignore the missing brand customisation layer.
75
+ - **Pointing the theme-file Figma comment at a business module**: future edits chase the wrong frame; design-code drift accumulates.
76
+ - **Business module owns its own tokens**: `styles_count > 0` on an `A2` file is a fork. New brand updates ship only to the design-system file and silently bypass the business module.
77
+ - **Deprecation-by-prefix-only**: a brand prefix used to mark legacy snapshots will eventually conflict with active naming. Maintain a tracked deprecation list outside the file names.
78
+ - **Single-file audit without portfolio enumeration**: judging one design file in isolation, comparing it to current code, and reporting "drift" or "incomplete system" without checking whether other portfolio files (upgrade plan, exploration WIP, UI kit, platform shell) explain the difference. The recurring failure shape is N revisions of the audit verdict as the auditor discovers each missing role in turn — every additional file the user surfaces flips an earlier conclusion. Fix: enumerate the portfolio first, assign roles, then audit each role with the rules that apply to it.
79
+ - **Two `colorPrimary`-shaped variables in one source with no per-platform role naming**: a design-system file that defines both a tier-correct `Brand/.../colorPrimary` AND a free-floating orphan brand variable (e.g. a `Global/<brand-color>` / `legacy/brandColor` / un-grouped top-level brand token, often in product-vernacular or non-English naming) holding a different value. Whether the divergence is intentional cross-platform branding or accidental legacy is irrelevant to consumers — they cannot tell which is "the" brand because neither name carries the platform role. Fix is in the source: either (a) consolidate to one value and remove the orphan, or (b) rename to express the divergence explicitly (`colorPrimary-web` / `colorPrimary-native`, separate variable collections per platform, etc.). See `multi-project-token-consistency.md` for the cross-platform brand-divergence classification and the consumer-side audit signal.
80
+
81
+ ## Green-Field Fallback (No Existing Figma DS Yet)
82
+
83
+ A new product or a new team may not have a Figma design-system file at all. The rules above assume one exists; without one, do not stall the build. Instead:
84
+
85
+ 1. Define the **token role taxonomy** first, in code or a short doc, before any Figma file: primary, primary-text-on-fill, fill/surface, text strong/secondary/muted, border/line, background, semantic (success/warning/danger/info), and any product-specific semantic role (e.g. "evidence", "automated", "destructive"). Names only at this stage; values can be placeholders.
86
+ 2. Set placeholder hex values that satisfy contrast and obvious-brand-distance from the third-party library default. Pick values that are clearly the team's own (not a vendor default), record them as the working palette, and note that they are provisional.
87
+ 3. Inject these token roles at the entry layer of every same-stack subproject from day one (`ConfigProvider theme={brandTheme}` / `MaterialApp.theme` / equivalent). The injection mechanism is the source-of-truth — the values can still be replaced when a designer commits them.
88
+ 4. When a Figma design-system file later arrives, register it in the private archive, point the code's theme source file at it via a top-of-file comment with file name + node-id, and replace the placeholders. The role taxonomy survives unchanged; only the values shift.
89
+ 5. Do not block product work on "we don't have a design system yet." A token role taxonomy + injected theme is a sufficient starting design system; the Figma file is provenance and refinement, not a prerequisite.
90
+
91
+ This fallback exists because the standard rules above require a Figma file inventory; without one, those rules return "no action" instead of "act on the role taxonomy". The fallback fills that gap.
92
+
93
+ ## Routing
94
+
95
+ - Implementation enforcement of the comment-pointer rule and the `styles_count == 0` audit → `web-react-dev` (tools) and `testing-strategy` (acceptance).
96
+ - Native stack-specific design-system selection → `app-cross-platform-dev`.
97
+ - Mini-program stack-specific design-system selection → `miniapp-product-dev`.