@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,123 @@
1
+ # Redis Cache Lock Patterns
2
+
3
+ Use this when implementing Redis clients, key builders, local/distributed caches, locks, counters, rate limits, idempotency, or lightweight task queues.
4
+
5
+ ## Client Setup
6
+
7
+ - Build Redis clients from typed config and a secret provider.
8
+ - Resolve endpoints through service discovery or explicit environment config.
9
+ - Configure dial timeout, read timeout, write timeout, and pool size.
10
+ - Load Lua scripts at startup when using script-based atomic operations.
11
+ - On `NOSCRIPT`, reload the script and fall back to direct eval once; emit a metric for script-cache misses.
12
+ - Redis command errors should include operation name and key purpose, but not secret payloads.
13
+
14
+ ## Key Builders
15
+
16
+ - Put all keys in one package or adapter per service domain.
17
+ - Use functions such as `KeyForX(id)` rather than inline formatting. When two components share a key namespace, funnel key derivation through one canonicalization function used symmetrically on read and write; mismatched normalization on one side silently splits the namespace.
18
+ - Include environment/lane/resource-scope dimensions only when they are necessary for isolation.
19
+ - Validate non-empty keys before commands that mutate data.
20
+ - Keep key names stable; changing a key format is a migration and invalidation event.
21
+ - Keep pattern deletes or key scans behind explicit adapter methods with bounded scan/batch behavior and metrics. Do not scatter raw `KEYS` or broad pattern deletion through service logic.
22
+
23
+ ## Distributed Locks
24
+
25
+ - Acquire with `SET NX EX/PX` or a proven library.
26
+ - Lock value must be unique per attempt: instance id plus random id or operation id.
27
+ - Unlock with compare-and-delete, usually via Lua.
28
+ - Renew with compare-and-expire when the critical section can exceed one lease.
29
+ - Renewal loops must stop on context cancellation and max lease.
30
+ - Always `defer unlock` after successful acquire unless the lock is intentionally no-unlock throttling.
31
+ - Return a typed lock-failed error when acquire fails; callers must decide skip, retry, or fail.
32
+
33
+ ## CAS And Atomic Scripts
34
+
35
+ - Use Lua for compound atomic operations such as compare-and-set, compare-and-delete, compare-and-expire, positive-only decrement, increment-only-if-exists, hash get-and-set, and sorted-set pop.
36
+ - Define return codes for success, compare failure, and missing key.
37
+ - Convert Redis nil/missing-key into explicit domain behavior.
38
+ - Keep scripts deterministic and small.
39
+ - Test script fallback and invalid return type handling.
40
+
41
+ ## Cache Implementations
42
+
43
+ - Local cache:
44
+ - protect map/LRU state with locks.
45
+ - enforce capacity and TTL.
46
+ - make cleanup goroutines stoppable or acceptable for process lifetime.
47
+ - deep-copy mutable data when callers might mutate it.
48
+ - Distributed cache:
49
+ - serialize through a stable format.
50
+ - set TTL on every write.
51
+ - distinguish miss from Redis failure.
52
+ - handle malformed cache payload by treating it as miss and optionally deleting it.
53
+ - Do not let cache failures hide source-of-truth failures unless fallback is explicitly designed.
54
+
55
+ ## Counters And Quotas
56
+
57
+ - For counters that must not go below zero, use an atomic script rather than read-modify-write.
58
+ - Decide whether missing key means zero, nil, or error.
59
+ - On increment, decide whether to set, extend, or preserve TTL.
60
+ - Batch get/set/delete should validate keys and use pipelines carefully; make sure commands are executed, not only created.
61
+ - Return existence along with value when callers must distinguish zero from missing.
62
+
63
+ ## Rate Limiting
64
+
65
+ - Use a stable scope such as subject, resource scope, IP, app id, operation, or domain object.
66
+ - Sliding window implementation should:
67
+ - remove entries older than the window.
68
+ - count current entries.
69
+ - add the current hit atomically or inside a watched transaction.
70
+ - expire the key slightly after the window.
71
+ - retry boundedly on transaction conflict.
72
+ - Return both allowed flag and current count when useful for logs or response headers.
73
+ - Reset should be explicit and scoped.
74
+
75
+ ## Idempotency
76
+
77
+ - Idempotency keys should include operation name and stable request/resource id.
78
+ - Store status, result reference or summary, last error, created time, and expiry when the workflow is inspectable.
79
+ - Separate pending claim, completed marker, duplicate completed event, and retryable failure. Pending claims need a short TTL or owner lease; completed markers need a dedupe window that matches the external retry horizon.
80
+ - If Redis is unavailable on a high-risk idempotency path, fail safe according to the product contract rather than silently accepting duplicate side effects.
81
+ - For MQ consumers, duplicate messages should normally return success after detecting already-processed state.
82
+ - Include retry count in the key only when each retry is intentionally distinct; otherwise it can defeat deduplication.
83
+
84
+ ## Lightweight Task Queues
85
+
86
+ - Sorted sets are useful for time-ordered pending work and priority.
87
+ - Sets are useful for deduplicated pending ids.
88
+ - Redis Streams can support replayable progress or event delivery only when the implementation defines starting id, resume behavior, heartbeat/no-message behavior, trimming or TTL cleanup, and malformed-message handling.
89
+ - Pop operations should be atomic if losing the popped item is unacceptable.
90
+ - For durable work, persist the task in DB or a real queue and use Redis only for scheduling or coordination.
91
+ - Expose queue size, pop count, retry count, and stuck-item metrics.
92
+
93
+ ## Tests
94
+
95
+ - Unit-test key builders and TTL selection.
96
+ - Test lock acquire, acquire failure, compare-and-delete unlock, wrong-token unlock, renewal, context cancellation, and max lease.
97
+ - Test rate limiter allow/deny at window boundaries and transaction conflicts.
98
+ - Test counter missing-key and positive-only behavior.
99
+ - Test cache malformed payload, miss, Redis failure, and source fallback.
100
+ - Keep live Redis tests out of the default fast test target unless a local isolated Redis is guaranteed.
101
+
102
+ ## Cache Stampede Defense
103
+
104
+ - Combine single-flight (one fetcher per key while others wait), negative caching for misses with shorter TTL, and randomized TTL jitter (±10-20%) for hot keys whose miss cost is high.
105
+ - In-process single-flight uses a per-key mutex or `golang.org/x/sync/singleflight`; cross-process single-flight uses a short Redis lock with compare-and-delete release.
106
+ - Apply jitter at write time, not at read time.
107
+ - For very hot read-mostly data, layer a short-TTL in-process cache in front of Redis and invalidate through Pub/Sub or topology-change events.
108
+
109
+ ## Cluster Slot And Hash Tag Rules
110
+
111
+ - Multi-key commands, `MULTI/EXEC`, Lua scripts, and pipelines that depend on key co-location must keep all keys in the same hash slot. Use the `{tag}` hash-tag syntax (`tenant:{tid}:resource`, `tenant:{tid}:counter`) to co-locate keys.
112
+ - A Lua script with `KEYS[]` across slots fails with `CROSSSLOT`; review key schemas before writing scripts that take multiple keys.
113
+ - `SCAN` walks one cluster node at a time; cluster-aware delete-by-pattern means iterating all primary nodes, not the cluster as one keyspace.
114
+ - Pipelines across slots split into per-slot round-trips; do not assume a single network call.
115
+ - Cluster clients refresh slot maps on `MOVED`/`ASK`; for latency-sensitive paths cache the slot map and refresh proactively on topology change.
116
+
117
+ ## Retry And Circuit Breaker Coordination
118
+
119
+ - Retry only for transient errors: connection errors, read/write timeouts on idempotent reads, `LOADING`, `BUSY`. Do not retry write commands when retry could double-apply.
120
+ - Bound retries: max attempts, exponential backoff with jitter, total deadline; enforce a per-request retry budget to prevent amplification.
121
+ - Pair retry with a circuit breaker per upstream identity (cluster endpoint or sentinel set). Open after consecutive failures, half-open after cool-down, close on success. Do not retry inside an open circuit.
122
+ - Coordinate with lock and idempotency: a retry against a lock you already hold uses compare-and-expire, not re-acquire; a retry against an idempotency store distinguishes `pending` (original attempt still in-flight; return in-progress/retry-later to the caller, do NOT execute again) from `completed` (return the recorded success/no-op). Treating duplicate `claimed`/`pending` as success acknowledges work that may still be running and risks double execution if the first attempt later fails or partially succeeds.
123
+ - Surface retry count, breaker state, and budget exhaustion as metrics; sustained breaker-open is a paging condition.
@@ -0,0 +1,112 @@
1
+ # Release Operations Patterns
2
+
3
+ Use this when implementing release-facing code: deploy config, health endpoints, traffic config, canary checks, approval workflows, callbacks, or operations notifications.
4
+
5
+ ## Health And Runtime Introspection
6
+
7
+ - Add a lightweight liveness endpoint that returns success when the process can serve basic traffic.
8
+ - Add readiness when correctness depends on DB, Redis, MQ, service discovery, or a critical remote API.
9
+ - Keep debug/profiling endpoints internal-only. Register them under a predictable path and guard by environment, network, or auth.
10
+ - Add a ping/introspection endpoint for HTTP services when useful. Include service name, environment/lane, instance id, client address, and status; do not include secrets.
11
+ - Middleware should normally bypass auth for liveness and readiness, but not for debug or administrative endpoints.
12
+
13
+ ## Runtime Config Access
14
+
15
+ - Wrap dynamic config in typed accessors: `GetX(ctx)`, `SetX(ctx, value)`, `ListX(ctx, prefix)`, and listener registration when live reload is needed.
16
+ - Return typed empty defaults only when empty config is valid. Otherwise fail fast with a clear startup or request error.
17
+ - For list-style config, page through keys with a bounded limit. **Fail the whole snapshot** if any entry is invalid for security/routing/credentials lists — silently skipping one malformed routing rule or credential entry can flip traffic to the wrong upstream or disable a protection without alerting anyone. Partial-skip-with-warning is acceptable ONLY for non-critical inventory lists with an explicit degraded-mode contract.
18
+ - Never log secret values. For app credentials, expose only key id, version, or masked identifier.
19
+ - Cache mostly-static config with a short TTL and a mutex-protected refresh path; return copies so callers cannot mutate shared state.
20
+
21
+ ## Service Discovery Reconciliation
22
+
23
+ - Load desired instance config through typed dynamic config or IaC output.
24
+ - Resolve hostnames explicitly and fail the single instance, not the whole reconciliation batch, when one host is invalid.
25
+ - Compare desired and actual instances by endpoint and metadata before writing to the registry.
26
+ - Register missing or changed instances and deregister stale instances; make both operations idempotent.
27
+ - Use `time.NewTicker` with `Stop` and context cancellation for periodic reconciliation.
28
+ - Log and metric changed, unchanged, removed, skipped, and failed instances with service identifier and lane/environment tags.
29
+
30
+ ## Deployment Implementation
31
+
32
+ - Build deployment manifests from a typed params struct.
33
+ - Validate required inputs before rendering:
34
+ - service identifier and app name.
35
+ - environment/lane.
36
+ - image.
37
+ - CPU, memory, replica count.
38
+ - protocol and ports.
39
+ - optional storage or hardware flags.
40
+ - If a redeploy allows empty image, resolve it from the current workload first and fail if no current image exists.
41
+ - Apply multi-document manifests through a parser that handles each resource independently and reports the failing kind/name.
42
+ - Ensure namespace and service-level resources before deploying lane workloads.
43
+ - For deletion, make not-found idempotent and log resource kind/name.
44
+
45
+ ## Interactive Deploy Watch
46
+
47
+ - For user-visible deploy flow, watch the workload after apply and stream normalized events.
48
+ - Mark success only when desired replicas, updated replicas, ready replicas, and available replicas all meet target.
49
+ - Include condition messages when the workload is not progressing.
50
+ - Use a bounded watch timeout and stop the watcher on completion or context cancellation.
51
+ - Keep event payloads stable so CLI, web UI, and automation can consume the same stream.
52
+
53
+ ## Traffic Config Updates
54
+
55
+ - Model traffic config by caller, callee, method/path, lane, weight, timeout, and enable flag.
56
+ - Protect updates with a write lock keyed by caller/callee or the smallest safe route scope.
57
+ - Read existing config, apply the minimal patch, validate the full result, then write once.
58
+ - Make route removal explicit. Do not silently drop unrelated routes while updating one route.
59
+ - Emit audit logs for old value, new value summary, actor, reason, and request id.
60
+
61
+ ## Approval Tasks
62
+
63
+ - Store approval task by service, lane, run id, status, expiry, required approval count, and pipeline metadata.
64
+ - Store reviewer decisions separately from the task row.
65
+ - Create or reset a task idempotently for the same run id.
66
+ - When approving:
67
+ - acquire the task write lock.
68
+ - verify the reviewer is allowed.
69
+ - count current approved/rejected decisions.
70
+ - update reviewer result and task status in one transaction.
71
+ - reject wins immediately; approve finishes when the threshold is reached.
72
+ - Expired tasks should fail closed for production-impacting releases.
73
+
74
+ ## Release CLI And Automation
75
+
76
+ - Release CLIs should validate pipeline/run identifiers before remote calls and should fail closed when service or lane extraction is ambiguous.
77
+ - If a CLI streams deploy progress, consume the same normalized event contract used by API/web clients and treat the final result event as authoritative.
78
+ - Apply read deadlines or heartbeat expectations while waiting on WebSocket, SSE, or long polling progress streams.
79
+ - Waiting for approval or deploy completion needs a bounded timeout, a bounded consecutive-error budget, and a clear nonzero failure when the result is rejected, expired, or never observed.
80
+ - Print stable machine-readable identifiers, such as task id or run id, in addition to human progress text so CI can chain commands.
81
+
82
+ ## Canary Checks
83
+
84
+ - Persist canary check window by service and run id. Repeated checks should use the same start and expiry timestamps.
85
+ - Resolve canary instances and baseline instances from the runtime platform.
86
+ - Query logs/metrics within the window using service, lane, instance, and severity dimensions.
87
+ - Group errors by stable location such as caller, stack frame, error code, or normalized message.
88
+ - Flag:
89
+ - errors present only in canary.
90
+ - canary error count materially higher than baseline.
91
+ - restart/readiness changes.
92
+ - latency or domain metric regression when available.
93
+ - Return a structured report with `is_success`, reason, canary count, baseline count, and representative samples.
94
+
95
+ ## Notifications And Callbacks
96
+
97
+ - Treat CI/CD and alert callbacks as external inputs: validate signature/token, timestamp, event type, and idempotency key before side effects.
98
+ - Parse service and lane from explicit fields whenever possible; regex extraction from names is a fallback and must fail closed.
99
+ - Send notifications asynchronously only when waiting for upstream state would block a callback. Use bounded retries or timeout.
100
+ - Rate-limit notification fanout to avoid alert floods.
101
+ - Route messages by environment/lane and severity.
102
+ - Include owners/reviewers when available, but do not block the core workflow if owner lookup fails.
103
+ - Keep provider-specific SDK and notification rendering behind an interface so release workflow logic is testable.
104
+
105
+ ## Tests
106
+
107
+ - Unit-test manifest rendering with golden outputs or structured object assertions.
108
+ - Test config parsing for missing, empty, malformed, and multi-page list cases.
109
+ - Test traffic patch behavior preserves unrelated routes.
110
+ - Test approval concurrency with duplicate approve/reject attempts.
111
+ - Test canary report classification with baseline-only, canary-only, and count-growth cases.
112
+ - Test callback validation and idempotency before any side effect is executed.
@@ -0,0 +1,83 @@
1
+ # Reliability Patterns
2
+
3
+ ## Context And Log Id
4
+
5
+ - Start every inbound request with a trace/log id. If the caller provides one, validate and reuse it; otherwise generate one.
6
+ - Put trace/log id, lane/environment, authorization/resource scope, and auth subject into context once at the edge.
7
+ - Return trace/log id in HTTP headers or response metadata when supported.
8
+ - Do not create `context.Background()` inside request handling unless starting a deliberately detached task; pass the parent context down.
9
+ - At the outermost boundary the framework invokes on your behalf — a documented entrypoint with no parent-context source, where a nil `ctx` means no caller context could exist (e.g. a direct or background caller), not a dropped one — normalize it (`if ctx == nil { ctx = context.Background() }`) with a diagnostic rather than relying on the framework's always-non-nil guarantee; anywhere a caller context was expected, treat nil as a bug and fail/log explicitly instead of masking a lost cancellation/deadline. Test the nil path.
10
+ - For detached async work, create a new context with inherited metadata and a fresh bounded deadline — but separate the two lifetimes: the setup/registration call itself still honors the caller's cancellation (do not strip it with `context.WithoutCancel`; cancelling setup must still abort setup), and only the spawned worker runs on the detached context, so cancelling the caller after setup succeeds does not kill the worker and cancelling setup does not orphan a worker already spawned. Test cancellation with an explicit `cancel()`, not a race-prone tiny timeout+sleep.
11
+
12
+ ## Detached Goroutines And Panic Firewall
13
+
14
+ - A panic inside a detached goroutine is unreachable by any framework or RPC middleware recover — it crashes the whole process. Route every production goroutine spawn through one shared safe-spawn wrapper that recovers, logs the stack with trace/log id, and increments a panic metric; no bare `go func()` on production paths. Recovery policy follows isolation level: recover-and-continue is for per-request/per-item work whose state dies with it (plus its cleanup); a supervisor or global-invariant goroutine (scheduler, registry owner, singleton reader) that panics mid-mutation must not silently keep serving on recovered-but-corrupted state — recover to log/metric, then actually stop serving: flipping readiness alone leaves existing connections and un-propagated routing serving corrupt state, so also stop accepting, cancel/drain the serving loops, and exit nonzero (or hard-drain with serving disabled).
15
+ - Enforce firewall coverage with a checklist or lint, not memory. Failure shape: the sites most often missed are exactly the largest-blast-radius ones — top-level server goroutines and stream readers decoding untrusted bytes. Verify the panic metric is actually wired per spawn site instead of assuming the wrapper implies it.
16
+ - The only rigorous regression proof for "process survives this panic" is a subprocess exit code: the test runs a child process that triggers the panic inside the detached goroutine and asserts the fixed binary exits 0. An in-process recover assertion cannot prove process survival. Scope this proof to per-request/per-item work where recover-and-continue is the policy; for a supervisor/global-invariant goroutine the assertion is the opposite — the child process must go unready/non-serving or exit nonzero on purpose, and an exit-0-and-still-serving result is the failure being prevented, not the pass.
17
+
18
+ ## Timeout And Deadline
19
+
20
+ - Pick local defaults per dependency type: connection timeout, RPC/HTTP request timeout, DB query timeout, Redis timeout, MQ publish timeout.
21
+ - If `ctx.Deadline()` exists and is shorter than the configured timeout, use the remaining deadline.
22
+ - Always call `cancel()` for contexts created with timeout.
23
+ - Avoid unbounded retries inside a context that is already near its deadline.
24
+
25
+ ## External RPC/HTTP Clients
26
+
27
+ - Build clients around a single method that accepts context, request, and operation name.
28
+ - Validate transport errors, HTTP status, and domain status code separately.
29
+ - Wrap errors with operation name and endpoint/service identity, but keep secrets and payloads out of error text.
30
+ - Use retry only for idempotent operations or operations with an idempotency key.
31
+ - Define fallback explicitly: alternate endpoint, cached response, degraded result, or hard failure.
32
+ - For outbound URL or file fetches, validate scheme and host before request, set redirect policy, cap response size, verify content type, and always close the response body.
33
+
34
+ ## Admission Control And Circuit Breakers
35
+
36
+ - Add inbound rate limit, concurrency limit, or cost-based guard middleware before expensive handlers.
37
+ - Return a canonical overload error and optional retry-after hint when rejecting work; do not let overload surface as panic or random timeout.
38
+ - Use bounded queues only when callers have a defined wait deadline and cancellation path.
39
+ - Circuit breakers should wrap dependency calls or expensive workflows with explicit open, half-open, and close conditions.
40
+ - Emit metrics for admitted, rejected, queued, shed, circuit-open, and circuit-half-open outcomes.
41
+ - Tests should cover limit reached, context canceled while queued, breaker open, half-open success, and half-open failure.
42
+
43
+ ## Streams, Uploads, And Downloads
44
+
45
+ - Streaming handlers should check context cancellation or send errors on every loop iteration and close upstream streams in `defer`.
46
+ - For long-lived stream state machines, prefer a single owner goroutine keeping state in closure-local variables: "local variables have no data race" is an argument a reviewer can verify at a glance, while shared mutable state behind locks needs a proof per field.
47
+ - Set max request body size, max file count, max object size, and allowed content types before parsing uploads.
48
+ - For compressed uploads or archives, enforce compressed size, expanded size, file count, path traversal checks, and expansion-ratio limits.
49
+ - Download handlers should support bounded range reads only when object metadata confirms size and range validity.
50
+ - Temporary files and directories should be created under a controlled base path and removed on both success and failure.
51
+ - For generated or transformed files, write to a temp path first, then atomically publish or upload when complete.
52
+ - Tests should cover client disconnect, oversized body, invalid content type, partial stream error, and cleanup after failure.
53
+
54
+ ## Async Consumers
55
+
56
+ - Decode payload into a typed struct and validate required fields before side effects.
57
+ - Treat duplicate delivery as normal. Use idempotency keys or persisted processing state for non-repeatable writes.
58
+ - Decide return behavior intentionally:
59
+ - return error for retryable infrastructure failure.
60
+ - return nil after logging for permanent bad payload or already-processed work.
61
+ - dead-letter when the queue supports it and the payload needs later inspection.
62
+ - Attach trace/log metadata to logs and downstream calls.
63
+ - Recover panic at the consumer boundary and convert it into retry/dead-letter behavior according to queue policy.
64
+
65
+ ## Scheduled Jobs
66
+
67
+ - Define job name, schedule, lock key, lock lease, max execution time, retry count, and backoff.
68
+ - Acquire a distributed lock before work starts; failure to acquire should normally skip, not fail the process.
69
+ - For jobs whose max execution time can exceed one lease window (GC pause, slow dependency, large backfill), require **renewable leases with fencing tokens**: the job renews the lease via heartbeat at < ½ the lease TTL, and every write/external-call carries the current fencing token so a second pod that acquires the lock after the first's lease expires cannot overwrite work from the original holder. Stop work immediately on a failed renewal. Fixed-lease + max-execution alone is not enough — if execution exceeds lease, two pods run simultaneously and can both write non-idempotent backfill/repair side effects.
70
+ - Use a job-scoped context with timeout and pass it to all downstream operations.
71
+ - Recover panic and release locks in `defer`.
72
+ - Emit metrics for start, success, failure, timeout, retry, skipped-lock, and duration.
73
+ - Support both fixed interval and cron-style schedules only through validated config; reject empty or malformed schedules at startup.
74
+ - Job managers should be closable: stop tickers, prevent new executions, and let in-flight jobs finish or cancel by policy.
75
+ - Immediate-run behavior should be explicit and normally disabled for jobs with external side effects.
76
+ - Retry sleep must be bounded by the job context deadline.
77
+
78
+ ## Redis Locks And Idempotency
79
+
80
+ - Lock values must be unique per attempt and unlock must compare value before delete.
81
+ - Lock lease must exceed expected critical section time but remain bounded.
82
+ - Idempotency records should include operation key, status, result pointer or summary, expiry, and last error if useful.
83
+ - Choose TTL based on domain retry window, not arbitrary cache duration.
@@ -0,0 +1,32 @@
1
+ # Replay Comparison Patterns
2
+
3
+ Use this when implementing replay jobs, shadow execution, response comparison, migration verification, or diff reports.
4
+
5
+ ## Replay Jobs
6
+
7
+ - Persist replay jobs with status, target, config version, total count, processed count, success count, failed count, diff count, timeout, concurrency, rate limit, and retention.
8
+ - Reuse `state-machine-task-patterns.md` for task transitions and terminal-state behavior.
9
+ - Use bounded workers and context deadlines for replay execution.
10
+ - Preserve only allowlisted headers and metadata.
11
+ - Redact captured requests and responses before storage.
12
+ - Ensure replay targets cannot commit side effects unless isolated by environment, lane, transaction rollback, or explicit dry-run mode.
13
+
14
+ ## Comparator Design
15
+
16
+ - Define a comparator interface such as `Compare(ctx, original, replay) Result`.
17
+ - Select comparators by method, route, content type, or schema version.
18
+ - Generic JSON comparators should normalize strings containing JSON, structs, maps, arrays, and scalar values.
19
+ - Support ignored fields by exact path and field name only when documented.
20
+ - Support custom field comparators for tolerances, unordered collections, timestamps, generated IDs, and approximate numeric values.
21
+ - Avoid hard-coded ignored paths in generic comparators; load them from config or comparator registration.
22
+
23
+ ## Diff Result Shape
24
+
25
+ - Include field name, field path, original value summary, replay value summary, diff type, diff score, ignored flag, and metadata.
26
+ - Use bounded value summaries so diff records do not store huge payloads.
27
+ - Record total compared fields, diff count, similarity, threshold, comparator name, and comparator version.
28
+ - Distinguish missing value, added value, type mismatch, length mismatch, value mismatch, and custom comparison.
29
+
30
+ ## Tests
31
+
32
+ - Test nil/nil, nil/value, value/nil, JSON string normalization, struct-to-map conversion, array length mismatch, missing keys, numeric tolerance, ignored fields, custom comparator, threshold behavior, redaction, storage pagination, and replay cancellation.
@@ -0,0 +1,86 @@
1
+ # Scaffold And Codegen
2
+
3
+ ## New Service Checklist
4
+
5
+ - Create or locate the service module and entrypoint.
6
+ - Add `proto/` or `idl/` source contracts before generated stubs.
7
+ - Add typed config structs and sample environment config.
8
+ - Add production DI providers for config, DB, Redis, MQ, RPC/HTTP clients, service logic, handlers, and workers.
9
+ - Add a test DI graph or lightweight constructors for tests.
10
+ - Add Makefile or script targets for:
11
+ - protobuf/IDL generation.
12
+ - HTTP route/docs generation when used.
13
+ - DB model/DAL generation when used.
14
+ - DI generation.
15
+ - fast tests.
16
+ - integration tests.
17
+
18
+ ## Entrypoint And Runtime Setup
19
+
20
+ - Build servers from explicit options plus middleware lists; let caller-provided options override defaults intentionally.
21
+ - A common middleware order is context injection, recovery/error mapping, tracing, authentication/authorization, metrics/logging, then domain routes. Recovery MUST wrap auth and validation: a panic in session/token parsing without recovery wrapped around it either drops the connection or crashes the process depending on framework. Adapt only when the framework's wrapper semantics enforce a different order — and verify the panic-catch coverage explicitly.
22
+ - Register health/readiness, debug, profiling, and docs routes in one place so exposure rules are reviewable.
23
+ - Keep debug/profiling and generated docs behind environment, network, or auth gates when deployed outside local development.
24
+ - Return a cleanup function or closer list from server construction and call it from signal/shutdown handling.
25
+ - Close resources in shutdown order: stop traffic, wait for in-flight requests up to a deadline, stop consumers/workers/schedulers, close dependency clients, then flush logs/metrics/traces.
26
+ - Prefer `time.NewTicker` with `Stop` over `time.Tick` in long-lived runtime code. Stop every timer/ticker you own; when `time.Timer.Stop` returns false and the channel may already hold a tick, drain it with a non-blocking `select`+`default` before reuse so a stale fire cannot trigger later logic — never a bare blocking `<-timer.C` (another goroutine may already have consumed the tick, and a blocking drain then hangs shutdown). This drain applies only to channel timers whose channel this goroutine owns; `time.AfterFunc` has no channel to drain — and a bare atomic flag is not enough (the callback can read the flag before the terminal path sets it and still fire late): the callback must re-check the terminal/generation state under the same lock or CAS that guards its side effect (or use a generation token / done-channel the terminal path waits on) before acting.
27
+ - Tests for server setup should assert middleware presence, route exposure rules, and cleanup invocation where practical.
28
+
29
+ ## Portable Commands
30
+
31
+ - Prefer repo-relative paths.
32
+ - If a generator needs a root path, derive it from the current repo or an environment variable.
33
+ - Do not commit commands containing a developer's local home directory.
34
+ - Do not bake one organization's import root into a reusable generator; pass module path, IDL path, output path, and package mapping as parameters.
35
+ - Keep generated inputs and outputs in the same change.
36
+ - If a generated file changes unexpectedly, inspect the generator version and input diff before accepting churn.
37
+
38
+ ## Protobuf Contract Rules
39
+
40
+ - For detailed protobuf definition, generation, and compatibility rules, apply `protobuf-contract-patterns.md`.
41
+ - Keep source `.proto`, generated output, handler updates, and contract tests in the same change when the contract changes.
42
+ - Keep HTTP mapping annotations and field binding annotations close to the IDL method or field they describe.
43
+
44
+ ## DI Provider Pattern
45
+
46
+ - Group providers by concern: base, DAL, cache, RPC/HTTP clients, services, tasks, handlers, and test graph.
47
+ - Aggregate related dependencies into explicit structs only at module boundaries.
48
+ - Avoid global initialization in application code; initialize clients in providers.
49
+ - Regenerate DI output after provider-set changes.
50
+ - Compile the service after DI generation before moving to behavior tests.
51
+ - For non-trivial services, prefer layered DI sets (e.g., `inject/infra` → `inject/service` → `inject/logic` → top-level `inject/`) where each set depends only on lower layers; the aggregate at each layer (`AllInfra`, `AllService`, `AllLogic`) is an embed-friendly struct that the next layer can compose without re-declaring providers.
52
+
53
+ ## Kitex / RPC Client Wrapper
54
+
55
+ - Wrap framework-native client constructors behind a generic helper such as `NewClient[T](psm, ctor, opts...)` so callers cannot accidentally instantiate per-request or with inconsistent option sets. The helper composes a shared default option set (resolver, meta handler, tracing suite, middleware chain) with caller-supplied overrides.
56
+ - Caller-supplied options must override the helper's defaults, not the other way around — append them after the defaults in the option slice. Document this precedence so reviewers can verify which side wins.
57
+ - Construct each RPC client exactly once per process and inject via DI. `sync.Once` plus a package-level container or a Wire-generated provider both work; avoid plain package-level vars initialized from `init()` because they hide error handling.
58
+ - The wrapper assembles the client middleware chain in a fixed order so observability and error handling cannot be silently reordered. A common order: error handler → metrics → caller-identity injection → context/log-id injection → request/response logging.
59
+ - For Kitex specifically, pick the meta handler by transport protocol exclusively: HTTP/2 meta handler for gRPC, TTHeader meta handler for Thrift. Do not register both; do not switch at request time.
60
+ - **Kitex v0.13 (released 2025-04-07) baseline shifts to track**: (a) `StreamX` now supports gRPC alongside the existing TTHeader Streaming, so a server can be compatible with both streaming protocols simultaneously — pick StreamX for new streaming code and let the server keep multi-protocol compatibility during migration; (b) **default Thrift transport protocol changed from `Buffered` to `Framed` to leverage FastCodec — this is a wire-format change, NOT a negotiation**: a v0.13 client built with default options sending Framed frames to an older Kitex server still on Buffered (PurePayload) will fail before useful RPC traffic, not gracefully downgrade. Upgrade discipline: either upgrade ALL participating services in one rollout window, OR explicitly pin the new client back to `PurePayload` (transport.PurePayload) via client option during the rolling-upgrade interval until every callee is on v0.13. Verify the same on `Framed` server returning to a `Buffered` client. Treat the transport-default flip as a wire-compat break that needs a versioned-upgrade plan, not a default-flag bump; (c) Kitex Tool by default stopped generating repeated `Set` validation code and `DeepEqual` functions (smaller generated output) and disabled Apache Codec generation by default — if any business code depended on those generator outputs, the upgrade will fail to compile until those usages are removed or the generator flags are re-enabled; (d) Go version support is 1.19–1.24, so Kitex services on Go 1.25 should validate framework compatibility before upgrading toolchain. Treat any Kitex minor-version bump as an architecture change: read CloudWeGo release notes, run the protocol-default check + the wire-compat fan-in/fan-out matrix, and rerun integration tests against any sibling service still on the prior version.
61
+
62
+ ## Server Wrapper And Option Precedence
63
+
64
+ - Server constructors should expose a default-options helper and accept caller-supplied options that override defaults. Common defaults: server basic info, service address, meta handler, registry, tracing suite, error handler, the standard middleware chain.
65
+ - Registry registration is environment-conditional, not unconditional. Register only when running in an environment that the platform layer expects to discover this instance (typically online / canary / lane environments), not in local-dev or short-lived test environments.
66
+ - Return both the cleanup function (`func()`) and the closer list (`[]io.Closer`) from server construction so signal handlers can drive deterministic shutdown.
67
+
68
+ ## Generated DB Model Pattern
69
+
70
+ - Generate table constants, struct fields, `TableName`, updatable column lists, query helpers, and update helpers from DDL when available.
71
+ - Keep unique/primary/index constraints represented in query helpers where the generator supports it.
72
+ - Exclude immutable columns such as create-time, creator, primary key, and unique key columns from generic update helpers.
73
+ - Do not hide unsafe raw SQL behind generated helpers; add explicit DAL methods for complex queries.
74
+ - Parse DDL with a real SQL parser instead of regular expressions.
75
+ - Refuse to overwrite hand-maintained DAL files unless the caller explicitly asks for regeneration.
76
+ - Format generated Go files and fail the command if formatting or import resolution fails.
77
+ - Keep sharding keys and read/write routing explicit in generated query helpers when the stack supports them.
78
+
79
+ ## HTTP Docs And Route Generation
80
+
81
+ - For detailed HTTP gateway, generated route, handler, middleware, and generated client rules, apply `http-gateway-client-patterns.md`.
82
+ - Route generation and API docs should derive from source contracts or handler annotations, not duplicated hand-written tables.
83
+ - Remove stale generated comments before writing new generated comments.
84
+ - Keep route method/path annotations close to the handler or IDL method they describe.
85
+ - Run formatter and docs generator after patching annotations.
86
+ - If a handler signature does not match the generator pattern, fail visibly rather than generating partial docs.
@@ -0,0 +1,54 @@
1
+ # Go Dev Source Evidence Map (Methodology Template)
2
+
3
+ This file describes the **shape** of source-evidence tracking for Go implementation extraction. Project-specific provenance (real repo names, branch state, dates, file counts, extraction logs) lives in the maintainer's private alias file at `~/.<host>/.private-aliases/<project>.yaml`, never in this shared skill tree — see `skill-extraction-workflow` Core Rule "Extraction lifecycle handoff".
4
+
5
+ ## Scope boundary
6
+
7
+ This shared template contains reusable methodology only. Do not add concrete repository names, branch state, module counts, feature findings, or extraction logs.
8
+
9
+ ## Source coverage dimensions to track
10
+
11
+ When extracting Go implementation guidance from a new source set, organize evidence by these dimensions in the private alias map:
12
+
13
+ | Dimension | What to collect | What to extract |
14
+ | --- | --- | --- |
15
+ | Broad Go inventory | Module count by shape (service vs library vs tool vs generated), without exposing real module names | Implementation guidance must classify shape before recommending patterns |
16
+ | New-product Go service | Build files, IDL tree, dependency container, observability wiring, generated code, unit/integration tests | Contract-first implementation, documented generators, explicit dependency lifecycle, generated-file discipline |
17
+ | Legacy Go services | Representative generated surfaces, config files, handlers, logic, DAL tests | Handler/logic split, env config, generated transport files, test utilities |
18
+ | Search / AI-adjacent service | HTTP/RPC clients, store clients (Redis, search index, queue), probe/debug/load assets | Dependency adapters, probe/debug tests, performance/replay as opt-in evidence |
19
+ | Mature multi-service workspace | Handler/logic/service/infra modules, DI wiring, codegen Makefile, shared runtime wrappers, DB/MQ adapters, config, live-dependency tests | Thin handlers, generated code through reproducible commands, ctx/log/trace through clients, visible DB/MQ retries + transaction boundaries, live-dependency tests outside fast gate |
20
+ | High-risk service samples | Targeted context / idempotency / audit / repair samples | Missing-context rejection, durable idempotency, mutation-plus-audit atomicity or repair, visible admin repair states |
21
+ | Shared platform packages | Discovery-backed HTTP clients, secret accessors, dynamic config, ID allocation, DB proxy/DAL generation, object storage, migration tooling | Constructor/DI paths beside convenience globals; dynamic-config backend abstraction; generated DAL builder mutability; object migration conflict policy + replay logs |
22
+ | Shared cache/lock packages | Cache client with Lua/CAS helpers, lock/renew/unlock, missing-script fallback, result codes | Atomic script + fallback, compare-and-delete unlock, compare-and-expire renewal, positive-only counter, pending/completed idempotency |
23
+ | Infra control-plane services | Release-facing CLI, internal RPC proxy, generator image, dynamic service registration, KMS, ID service, tracker, RPC proxy | Executable rules for CLI progress/wait, approval/deploy/canary boundaries, generator cleanup guards, RPC proxy metadata/connection handling |
24
+ | Database / DAL layer | DB wrapper, sharding plugin, DDL/index samples, repository query/update methods, DAL tests | Batch-upsert generated-field repair, explicit updatable-column lists, schema/query conflict-key alignment, DB/sharding assertions |
25
+ | Official docs | Language test/subtest guidance, code-review comments | Focused tests, context/error hygiene, useful failure messages |
26
+
27
+ ## Sibling-generalization mini-map (template)
28
+
29
+ For each Go extraction, record decisions across sibling skills:
30
+
31
+ - `python-service-dev` — does the same pattern apply to Python? mirror with evidence caveat.
32
+ - `go-microservice-architecture` — does the rule belong at architecture level instead?
33
+ - `python-service-architecture` — cross-language architecture consequence?
34
+ - `testing-strategy` — does this affect test-layer policy?
35
+ - `defect-diagnosis` — does this prevent a class of defect?
36
+
37
+ Decisions go in the private alias map alongside the per-batch extraction log.
38
+
39
+ ## Coverage discipline rules
40
+
41
+ - Mark each dimension `pending` / `read` / `deep-read` / `excluded` / `unavailable` / `routed` with the actual artifacts inspected.
42
+ - Distinguish targeted mechanism extraction from full coverage; never claim "complete" for representative-sample work.
43
+ - Re-read source artifacts when changing rules; use `wording cleanup` / `no new source read` labels honestly.
44
+
45
+ ## Where the live provenance lives
46
+
47
+ For the maintainer's current Go extraction project, see:
48
+ - Private alias map: `~/.<host>/.private-aliases/<project>.yaml`
49
+ - Per-batch extraction logs: `~/.<host>/skills/.extraction-work/<batch>-completion.md`
50
+ - These files are never pushed to the shared skill tree.
51
+
52
+ ## Audit gate
53
+
54
+ Before committing a change to this skill, run the private alias map's `audit_cmd` against the changed shared-skill files. Any hit on real repo names, branch states, dates, file counts, or business-domain nouns is either fixed or recorded as `known_debt` in the alias map. Pre-existing leakage may be grandfathered; new or modified content must remain zero-hit.
@@ -0,0 +1,45 @@
1
+ # State Machine And Task Patterns
2
+
3
+ Use this when implementing durable tasks, async workflows, scheduled jobs, imports, exports, and retryable processors.
4
+
5
+ For generic async, consumer, scheduled-job, panic recovery, context timeout, and external-call mechanics, also apply `reliability-patterns.md`. This file is the canonical guide for durable state transitions and terminal-state behavior.
6
+
7
+ ## State Model
8
+
9
+ - Define states as enums or constants with documented terminal states.
10
+ - Define allowed transitions in one table or function; do not scatter status checks.
11
+ - Terminal states should reject ordinary processing and failure transitions.
12
+ - Include retry count, last error, start time, finish time, progress, result pointer, and idempotency key when tasks are inspectable.
13
+ - Store progress separately from state; progress is best-effort while state transitions are durable.
14
+ - Create the durable task row before launching background work, queueing expensive processing, or generating external artifacts.
15
+
16
+ ## Transition Implementation
17
+
18
+ - Use compare-and-update, row lock, or distributed lock before processing a task.
19
+ - Lease or lock owners must be unique at the runtime-instance level, not only at the service name level. In Kubernetes or similar container platforms, include pod or host identity and process id or a random instance id so replicas cannot claim or complete each other's work.
20
+ - Re-read task state under the lock before side effects.
21
+ - Make duplicate delivery normal: already successful is success or no-op; already terminal is no-op or typed conflict depending on caller.
22
+ - Start transitions should move pending work to processing before expensive work.
23
+ - Failure transitions should capture canonical error code, safe message, retryable flag, retry count, and last trace or log id.
24
+ - Success transitions should persist result pointer or summary before publishing completion events.
25
+
26
+ ## Async Processing
27
+
28
+ - Prefer queue or task execution for work that must survive process restart.
29
+ - Delayed events should re-check task state when consumed.
30
+ - Retry thresholds and backoff belong in config or state policy, not inline literals.
31
+ - Panic recovery should convert the task to failed or retryable failed state after applying the retry policy.
32
+ - Background work that produces a file, report, media object, or other artifact should persist the object key or result pointer before the success transition and expose a retryable failure state when upload/finalization fails.
33
+
34
+ ## Scheduled Repair Jobs
35
+
36
+ - Scheduled checkers that repair stuck tasks need a job name, interval, distributed lock key, lock lease, per-run max batch size, and max execution time.
37
+ - A job-level lock prevents duplicate scans; a task-level lock or compare-and-update prevents duplicate repair of the same record.
38
+ - Time-window selection should be explicit, bounded, and based on durable timestamps such as `updated_at`, not process memory.
39
+ - Repair actions must re-read current task state before changing status or emitting side effects.
40
+ - Emit metrics for scan count, claimed count, repaired count, skipped count, lock conflict, failure, and duration.
41
+
42
+ ## Tests
43
+
44
+ - Test illegal transition, duplicate event, concurrent processing, already terminal, retry threshold, cancellation, panic-to-failure, and completion event idempotency.
45
+ - Test scheduled repair lock conflict, stale-window selection, per-task duplicate prevention, panic recovery, and repeated-run idempotency.
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: grill-me
3
+ description: grill-me / 访谈 / 拷问 / 压力测试方案 / stress-test a plan — lightweight one-question-at-a-time interview to challenge a plan, design, API shape, data model, or feature direction before implementation. Skip code-level YAGNI/delete/adversarial review of written code → `product-rd-workflow`'s independent-review gate; full delivery/spec/plan authoring → product-rd-workflow; tests → testing-strategy; implementation → stack/dev skill; process lesson extraction → skill-extraction-workflow.
4
+ ---
5
+
6
+ # grill-me — 轻量方案拷问
7
+
8
+ Use this when the user explicitly asks to grill, interview, challenge, or stress-test a plan before implementation.
9
+
10
+ This is a narrow pre-implementation interview. It clarifies the next blocking decision; it does not write the plan, own delivery gates, or replace the relevant owner workflow.
11
+
12
+ ## When to use
13
+
14
+ Use for explicit requests such as:
15
+
16
+ - `grill-me` / `grill me`;
17
+ - 访谈、拷问、追问一个方案;
18
+ - 压力测试方案、设计、API shape、数据模型、权限模型、工作流;
19
+ - before implementation, when several product or technical decisions depend on each other.
20
+
21
+ Do not auto-trigger this from generic “帮我规划 / scope 一下 / 写个方案”. Those route to the owning workflow first, usually `product-rd-workflow`.
22
+
23
+ ## Owner boundaries
24
+
25
+ - Full requirement shaping, spec, plan, lifecycle gates, or multi-step delivery → `product-rd-workflow`.
26
+ - Risk tags, gate selection, rollout or review requirements → `feature-risk-router`.
27
+ - Code-level YAGNI, delete-code, overengineering, or adversarial review of already-written code → `product-rd-workflow`'s independent-review gate (no dedicated CCL delete-code/YAGNI skill; the review gate owns it).
28
+ - Test layers, fixtures, coverage, regression, CI gate design → `testing-strategy`.
29
+ - Bug/root-cause diagnosis → `defect-diagnosis`.
30
+ - Implementation → the relevant stack/dev skill or bounded executor.
31
+ - Reusable process/skill lesson extraction → `skill-extraction-workflow`.
32
+
33
+ `grill-me` may feed those owners by resolving one unclear decision first. It must hand back once the user asks for a deliverable artifact, implementation, formal review, or test plan.
34
+
35
+ ## Core contract
36
+
37
+ Ask one blocking question at a time.
38
+
39
+ Each turn must include:
40
+
41
+ 1. `Target`: the plan/design being challenged.
42
+ 2. `Current assumption`: the most important assumption currently visible.
43
+ 3. `Question N`: exactly one unresolved decision.
44
+ 4. `Recommended answer`: a concrete default.
45
+ 5. `Why`: short rationale and the risk if the answer is wrong.
46
+
47
+ Then wait for the user's answer before asking the next dependent question.
48
+
49
+ If the answer depends on existing repo facts, inspect the relevant files first. Do not ask the user to restate facts that are available in code, specs, runbooks, or local docs.
50
+
51
+ ## Workflow
52
+
53
+ 1. Frame the target. If the target is ambiguous, ask one clarifying question only.
54
+ 2. Identify the next decision that blocks meaningful progress.
55
+ 3. Ask exactly one question with the recommended answer and why.
56
+ 4. After the answer, update the assumption and choose the next dependent question.
57
+ 5. Stop when the direction is clear enough to route to the next owner or when the user rejects the premise.
58
+
59
+ Avoid bundled questions. Avoid long lectures. Do not produce a full PRD, architecture doc, implementation plan, or code unless the user explicitly switches workflows.
60
+
61
+ ## Closeout
62
+
63
+ When the interview reaches a stable stop, return:
64
+
65
+ ```text
66
+ Resolved direction
67
+ - <decision>: <answer>
68
+
69
+ Remaining risks
70
+ - <risk or unknown>
71
+
72
+ Recommended next step
73
+ - <owner workflow / implementation / no-op>
74
+ ```
75
+
76
+ ## Tone
77
+
78
+ - Direct, skeptical, and practical.
79
+ - Push back on weak assumptions with evidence.
80
+ - No flattery.