agent-toolkit-cli 1.0.3__py3-none-any.whl

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 (310) hide show
  1. agent_toolkit/__init__.py +4 -0
  2. agent_toolkit/__main__.py +3 -0
  3. agent_toolkit/_paths.py +64 -0
  4. agent_toolkit/cli/__init__.py +0 -0
  5. agent_toolkit/cli/doctor.py +453 -0
  6. agent_toolkit/cli/install.py +445 -0
  7. agent_toolkit/cli/main.py +66 -0
  8. agent_toolkit/cli/mcp.py +418 -0
  9. agent_toolkit/cli/plugin.py +213 -0
  10. agent_toolkit/cli/skills.py +421 -0
  11. agent_toolkit/loop/__init__.py +0 -0
  12. agent_toolkit/loop/gh_gate.py +626 -0
  13. agent_toolkit/loop/runner.py +1548 -0
  14. agent_toolkit/runner/__init__.py +0 -0
  15. agent_toolkit/runner/dispatcher.py +164 -0
  16. agent_toolkit/runner/policy.py +345 -0
  17. agent_toolkit/runner/providers/__init__.py +21 -0
  18. agent_toolkit/runner/providers/anthropic_provider.py +109 -0
  19. agent_toolkit/runner/providers/base.py +53 -0
  20. agent_toolkit/runner/providers/ollama_provider.py +108 -0
  21. agent_toolkit/runner/providers/openai_provider.py +105 -0
  22. agent_toolkit/runner/providers/opencode_provider.py +127 -0
  23. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/architect/AGENT.md +30 -0
  24. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/assistant/AGENT.md +59 -0
  25. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/build-error-resolver/AGENT.md +30 -0
  26. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/client-workflow-bootstrap/AGENT.md +60 -0
  27. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/code-reviewer/AGENT.md +49 -0
  28. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/database-reviewer/AGENT.md +44 -0
  29. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/docs-lookup/AGENT.md +28 -0
  30. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/e2e-runner/AGENT.md +38 -0
  31. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/performance-optimizer/AGENT.md +52 -0
  32. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/planner/AGENT.md +41 -0
  33. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/refactor-cleaner/AGENT.md +43 -0
  34. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/reference-lookup/AGENT.md +33 -0
  35. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/security-reviewer/AGENT.md +47 -0
  36. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/tdd-guide/AGENT.md +58 -0
  37. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/tech-assistant/AGENT.md +11 -0
  38. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/typescript-reviewer/AGENT.md +61 -0
  39. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/catalogs/agent-catalog.yaml +202 -0
  40. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/catalogs/loop-catalog.yaml +165 -0
  41. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/catalogs/skill-catalog.yaml +699 -0
  42. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/catalogs/skills-layout.json +337 -0
  43. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/changelog-drafter/loop.yaml +40 -0
  44. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/ci-sweeper/loop.yaml +53 -0
  45. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/daily-triage/loop.yaml +47 -0
  46. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/dep-sweeper/loop.yaml +46 -0
  47. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/issue-triage/loop.yaml +40 -0
  48. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/oss-daily-briefing/loop.yaml +65 -0
  49. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/oss-pr-monitor/loop.yaml +85 -0
  50. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/oss-triage/loop.yaml +67 -0
  51. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/post-merge-cleanup/loop.yaml +44 -0
  52. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/pr-babysitter/loop.yaml +46 -0
  53. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/clickup/README.md +45 -0
  54. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/clickup/config.template.json +7 -0
  55. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/clickup/wrapper.sh +23 -0
  56. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/figma/README.md +56 -0
  57. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/figma/config.template.json +9 -0
  58. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/github/README.md +11 -0
  59. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/github/config.template.json +7 -0
  60. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/github/wrapper.sh +23 -0
  61. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/linear/README.md +49 -0
  62. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/linear/config.template.json +10 -0
  63. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/notion/README.md +7 -0
  64. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/notion/config.template.json +7 -0
  65. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/notion/wrapper.sh +23 -0
  66. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/slack/README.md +8 -0
  67. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/slack/config.template.json +8 -0
  68. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/slack/wrapper.sh +23 -0
  69. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/CLAUDE.md +66 -0
  70. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/assistant.md +59 -0
  71. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/build-error-resolver.md +30 -0
  72. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/client-workflow-bootstrap.md +60 -0
  73. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/contribution-planner.md +39 -0
  74. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/database-reviewer.md +44 -0
  75. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/docs-lookup.md +28 -0
  76. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/e2e-runner.md +38 -0
  77. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/performance-optimizer.md +52 -0
  78. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/planner.md +41 -0
  79. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/refactor-cleaner.md +43 -0
  80. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/reference-lookup.md +33 -0
  81. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/security-reviewer.md +47 -0
  82. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/tdd-guide.md +58 -0
  83. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/typescript-reviewer.md +61 -0
  84. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/settings.json +87 -0
  85. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/copilot/copilot-instructions.md +15 -0
  86. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/README.md +33 -0
  87. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/architect.mdc +23 -0
  88. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/assistant.mdc +25 -0
  89. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/build-error-resolver.mdc +20 -0
  90. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/code-reviewer.mdc +21 -0
  91. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/database-reviewer.mdc +29 -0
  92. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/docs-lookup.mdc +15 -0
  93. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/e2e-runner.mdc +30 -0
  94. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/performance-optimizer.mdc +27 -0
  95. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/planner.mdc +28 -0
  96. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/refactor-cleaner.mdc +26 -0
  97. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/reference-lookup.mdc +20 -0
  98. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/security-reviewer.mdc +20 -0
  99. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/tdd-guide.mdc +26 -0
  100. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/typescript-reviewer.mdc +28 -0
  101. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/architect.md +30 -0
  102. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/assistant.md +52 -0
  103. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/build-error-resolver.md +31 -0
  104. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/client-workflow-bootstrap.md +66 -0
  105. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/code-reviewer.md +47 -0
  106. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/contribution-planner.md +44 -0
  107. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/database-reviewer.md +43 -0
  108. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/docs-lookup.md +28 -0
  109. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/e2e-runner.md +33 -0
  110. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/performance-optimizer.md +34 -0
  111. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/planner.md +27 -0
  112. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/refactor-cleaner.md +27 -0
  113. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/reference-lookup.md +27 -0
  114. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/security-reviewer.md +27 -0
  115. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/tdd-guide.md +27 -0
  116. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/typescript-reviewer.md +30 -0
  117. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/opencode.json +37 -0
  118. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/architect/skill.md +5 -0
  119. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/assistant/skill.md +3 -0
  120. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/code-reviewer/skill.md +5 -0
  121. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/planner/skill.md +3 -0
  122. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/security-reviewer/skill.md +3 -0
  123. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/memories/global_rules.md +74 -0
  124. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/architect.mdc +23 -0
  125. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/build-error-resolver.mdc +20 -0
  126. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/code-reviewer.mdc +21 -0
  127. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/database-reviewer.mdc +29 -0
  128. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/docs-lookup.mdc +15 -0
  129. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/e2e-runner.mdc +30 -0
  130. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/performance-optimizer.mdc +27 -0
  131. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/planner.mdc +28 -0
  132. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/refactor-cleaner.mdc +26 -0
  133. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/security-reviewer.mdc +20 -0
  134. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/tdd-guide.mdc +26 -0
  135. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/typescript-reviewer.mdc +28 -0
  136. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/assistant/SKILL.md +213 -0
  137. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/assistant/references/AGENTS_TEMPLATE.md +0 -0
  138. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/assistant/references/ORCHESTRATION.md +0 -0
  139. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/assistant/references/REPO_INSPECTION.md +0 -0
  140. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/dev-companion/SKILL.md +65 -0
  141. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/dev-companion/references/LOOP_GUARDRAILS.md +0 -0
  142. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/onboarding/SKILL.md +119 -0
  143. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/output-handshake/SKILL.md +24 -0
  144. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/pr-fallback/SKILL.md +33 -0
  145. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/pr-fallback/references/pr-body-default.md +0 -0
  146. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/workspace-knowledge-sync/SKILL.md +141 -0
  147. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/data/dbt-validation/SKILL.md +41 -0
  148. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/data/snowflake-validation/SKILL.md +38 -0
  149. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/adr/SKILL.md +46 -0
  150. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/adr/references/default-template.md +0 -0
  151. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/adr/references/example-001-graphql-adoption.md +66 -0
  152. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/agreement/SKILL.md +23 -0
  153. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/agreement/references/default-template.md +0 -0
  154. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/agreement/references/example-api-versioning.md +29 -0
  155. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/bug/SKILL.md +25 -0
  156. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/bug/references/default-template.md +0 -0
  157. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/bug/references/example-search-filter-bug.md +58 -0
  158. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/decision-log/SKILL.md +27 -0
  159. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/decision-log/references/default-template.md +0 -0
  160. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/decision-log/references/example-repository-pattern.md +27 -0
  161. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/development-workflow/SKILL.md +33 -0
  162. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/development-workflow/references/default-template.md +0 -0
  163. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/development-workflow/references/default-workflow-checklist.md +44 -0
  164. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/epic/SKILL.md +21 -0
  165. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/epic/references/default-template.md +0 -0
  166. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/epic/references/example-unified-dashboard.md +40 -0
  167. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/incident/SKILL.md +23 -0
  168. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/incident/references/default-template.md +0 -0
  169. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/incident/references/example-payment-outage.md +62 -0
  170. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/management-unit-assessment/SKILL.md +105 -0
  171. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/management-unit-assessment/references/default-template.md +0 -0
  172. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/management-unit-assessment/references/example-team-assessment.md +126 -0
  173. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/meeting-minutes/SKILL.md +24 -0
  174. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/meeting-minutes/references/default-template.md +0 -0
  175. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/meeting-minutes/references/example-weekly-sync.md +72 -0
  176. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/planning/SKILL.md +30 -0
  177. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/planning/references/default-template.md +0 -0
  178. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/planning/references/example-sprint-planning.md +62 -0
  179. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/prd/SKILL.md +44 -0
  180. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/prd/references/default-template.md +0 -0
  181. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/prd/references/example-unified-api.md +71 -0
  182. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment/SKILL.md +90 -0
  183. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment/references/default-template.md +0 -0
  184. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment/references/example-platform-assessment.md +122 -0
  185. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment-evidence/SKILL.md +88 -0
  186. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment-evidence/references/default-template.md +0 -0
  187. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment-evidence/references/example-evidence-map.md +46 -0
  188. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/spike/SKILL.md +23 -0
  189. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/spike/references/default-template.md +0 -0
  190. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/spike/references/example-graphql-federation.md +79 -0
  191. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/task/SKILL.md +20 -0
  192. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/task/references/default-template.md +0 -0
  193. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/task/references/example-nav-system.md +33 -0
  194. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/technical-unit-assessment/SKILL.md +58 -0
  195. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/technical-unit-assessment/references/default-template.md +0 -0
  196. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/technical-unit-assessment/references/example-frontend-assessment.md +112 -0
  197. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/technical-unit-assessment/references/indicator-groups.md +65 -0
  198. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/trd/SKILL.md +47 -0
  199. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/trd/references/default-template.md +0 -0
  200. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/trd/references/example-api-migration.md +122 -0
  201. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/user-story/SKILL.md +20 -0
  202. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/user-story/references/default-template.md +0 -0
  203. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/user-story/references/example-advanced-filtering.md +37 -0
  204. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/work-item/SKILL.md +30 -0
  205. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/work-item/references/default-template.md +0 -0
  206. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/work-item/references/example-routing-dashboard.md +23 -0
  207. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/workflow-client-bootstrap/SKILL.md +148 -0
  208. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/workflow-client-bootstrap/questions.yaml +165 -0
  209. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/workflow-generic-project/SKILL.md +78 -0
  210. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/LICENSE.txt +2 -0
  211. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/NOTICE.txt +25 -0
  212. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/SKILL.md +95 -0
  213. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/references/figma-mcp-config.md +82 -0
  214. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/references/figma-tools-and-prompts.md +34 -0
  215. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/LICENSE.txt +2 -0
  216. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/NOTICE.txt +18 -0
  217. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/SKILL.md +350 -0
  218. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/references/mapping-checklist.md +7 -0
  219. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/scripts/normalize_node_id.py +25 -0
  220. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/LICENSE.txt +2 -0
  221. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/NOTICE.txt +19 -0
  222. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/SKILL.md +550 -0
  223. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/references/rule-template.md +15 -0
  224. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/scripts/check_agents_md.sh +9 -0
  225. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-new-file/LICENSE.txt +2 -0
  226. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-new-file/NOTICE.txt +17 -0
  227. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-new-file/SKILL.md +69 -0
  228. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-implement-design/LICENSE.txt +2 -0
  229. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-implement-design/NOTICE.txt +19 -0
  230. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-implement-design/SKILL.md +264 -0
  231. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/SKILL.md +60 -0
  232. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/charts.csv +26 -0
  233. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/colors.csv +97 -0
  234. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/icons.csv +101 -0
  235. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/landing.csv +31 -0
  236. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/products.csv +97 -0
  237. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/react-performance.csv +45 -0
  238. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  239. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  240. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  241. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  242. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  243. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  244. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  245. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  246. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/react.csv +54 -0
  247. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  248. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  249. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  250. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  251. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/styles.csv +68 -0
  252. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/typography.csv +58 -0
  253. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  254. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  255. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/web-interface.csv +31 -0
  256. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/references/pre-delivery-checklist.md +39 -0
  257. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/references/search-reference.md +44 -0
  258. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/references/ui-rules.md +35 -0
  259. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/scripts/core.py +253 -0
  260. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/scripts/design_system.py +1067 -0
  261. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/scripts/search.py +114 -0
  262. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-address-comments/LICENSE.txt +202 -0
  263. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-address-comments/NOTICE.txt +20 -0
  264. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-address-comments/SKILL.md +69 -0
  265. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-address-comments/scripts/fetch_comments.py +237 -0
  266. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-contribution-planner/SKILL.md +157 -0
  267. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-contribution-planner/scripts/inspect_contributions.py +800 -0
  268. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-fix-ci/LICENSE.txt +201 -0
  269. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-fix-ci/NOTICE.txt +20 -0
  270. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-fix-ci/SKILL.md +71 -0
  271. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-fix-ci/scripts/inspect_pr_checks.py +509 -0
  272. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/github-cli-workflow/SKILL.md +49 -0
  273. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gitlab-cli-workflow/SKILL.md +44 -0
  274. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/workflow-client-bootstrap/SKILL.md +14 -0
  275. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/workflow-generic-project/SKILL.md +14 -0
  276. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/clickup-cli/SKILL.md +75 -0
  277. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/clickup-cli/references/docs-management.md +57 -0
  278. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/clickup-cli/references/task-management.md +131 -0
  279. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/clickup-cli/references/time-tracking.md +38 -0
  280. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/linear/LICENSE.txt +202 -0
  281. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/linear/NOTICE.txt +23 -0
  282. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/linear/SKILL.md +131 -0
  283. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/slack-assistant/SKILL.md +134 -0
  284. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/slack-cli/SKILL.md +105 -0
  285. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/slack-cli/references/INSTALLATION.md +42 -0
  286. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/loops/loop-runner/SKILL.md +90 -0
  287. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/ops/docs-generator/SKILL.md +81 -0
  288. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/ops/llm-cost-advisor/SKILL.md +83 -0
  289. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/ops/triage/SKILL.md +117 -0
  290. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/LICENSE.txt +201 -0
  291. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/NOTICE.txt +27 -0
  292. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/SKILL.md +142 -0
  293. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/assets/experiment-template.ipynb +110 -0
  294. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/assets/tutorial-template.ipynb +107 -0
  295. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/references/experiment-patterns.md +10 -0
  296. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/references/notebook-structure.md +17 -0
  297. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/references/quality-checklist.md +11 -0
  298. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/references/tutorial-patterns.md +9 -0
  299. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/scripts/new_notebook.py +130 -0
  300. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/LICENSE.txt +201 -0
  301. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/NOTICE.txt +29 -0
  302. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/SKILL.md +151 -0
  303. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/references/cli.md +116 -0
  304. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/references/workflows.md +98 -0
  305. agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/scripts/executable_playwright_cli.sh +25 -0
  306. agent_toolkit_cli-1.0.3.dist-info/METADATA +411 -0
  307. agent_toolkit_cli-1.0.3.dist-info/RECORD +310 -0
  308. agent_toolkit_cli-1.0.3.dist-info/WHEEL +4 -0
  309. agent_toolkit_cli-1.0.3.dist-info/entry_points.txt +2 -0
  310. agent_toolkit_cli-1.0.3.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,62 @@
1
+ # Planning and Estimation Notes
2
+
3
+ ## Scope / Goal
4
+
5
+ Sprint 24 planning for Squad 4 (platform). Focus on payment infrastructure reliability and tech debt reduction.
6
+
7
+ ## Work Item Breakdown
8
+
9
+ - [x] Scope is clear and bounded.
10
+ - [x] Work is split into manageable stories/tasks/subtasks.
11
+ - [x] Items estimated at 5+ points were reviewed for splitting.
12
+ - [x] Dependencies are identified.
13
+ - [x] Acceptance criteria are clear enough for estimation.
14
+
15
+ **Note:** PAY-102 ("Refactor message consumer") was initially estimated at 8 points; after discussion, split into PAY-102a (3pts, consumer restart logic) and PAY-102b (5pts, dead-letter queue and circuit breaker).
16
+
17
+ ## Estimation
18
+
19
+ **Technique used:** Planning Poker (Fibonacci)
20
+
21
+ | Item | Estimate | Rationale | Risks / Unknowns |
22
+ | --- | --- | --- | --- |
23
+ | OPS-442: Scale payment consumer | 2 | Standard infra config, no code change | None |
24
+ | PAY-102a: Consumer restart logic | 3 | Follows existing pattern for graceful shutdown | Low — well-understood problem |
25
+ | PAY-102b: Dead-letter queue + circuit breaker | 5 | New infrastructure component; testing requires staging env | Medium — staging env provisioning could slip |
26
+ | TECH-203: Confluence page audit | 1 | Documentation work, no code | None |
27
+ | TECH-204: Upgrade API gateway | 3 | Dependency update; follows migration guide | Low — similar upgrade done last quarter |
28
+
29
+ **Total:** 14 points
30
+
31
+ ## Capacity Assumptions
32
+
33
+ | Factor | Notes |
34
+ | --- | --- |
35
+ | Iteration length | 2 weeks (Jan 22 – Feb 2) |
36
+ | Team availability | 4 engineers (Alice, Ben, Carmen, David) |
37
+ | Holidays / planned leave | No holidays; Ben on call Jan 25 |
38
+ | Meetings / non-development time | ~6 hours/week estimated for meetings |
39
+ | Focus factor | 0.7 (accounting for meetings, context switching) |
40
+ | Historical velocity | 15 points/sprint (last 3 sprints) |
41
+
42
+ **Effective capacity:** 4 engineers × 8 hrs/day × 10 days × 0.7 focus = 224 hours ≈ 16-18 points at historical mix
43
+
44
+ ## Dependencies and Risks
45
+
46
+ **Dependencies:**
47
+ - PAY-102b requires staging environment with queue infrastructure (ticket with Infra team submitted Jan 19; response expected Jan 23)
48
+ - Confluence migration (DOC-099) may generate unplanned work for TECH-203 owners
49
+
50
+ **Risks:**
51
+ - Staging env delay: if not ready by Jan 24, PAY-102b testing cannot complete in sprint
52
+ - Mitigation: Alice to follow up with Infra on Jan 23 if no response
53
+ - Payment team may be pulled into INC response if another alert fires
54
+
55
+ ## Final Planning Notes
56
+
57
+ Sprint 24 is conservative due to payment incident aftermath and Confluence migration. If staging env is ready early and no incidents, we may pick up TECH-205 from backlog.
58
+
59
+ ## Review
60
+
61
+ - [x] Destination confirmed by user.
62
+ - [x] Human review required before treating this as approved.
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: prd
3
+ description: >-
4
+ WHAT — Draft and review a Product Requirements Document (PRD) using the template. Business-level requirements, acceptance criteria, and traceability. Does not replace the product owner. English for tickets, PRs, and client-facing text unless the user asks otherwise.
5
+ ---
6
+
7
+ # PRD — Product Requirements (WHAT)
8
+
9
+ **Template:** `references/default-template.md` — local reference, kept up to date with the standard structure.
10
+
11
+ ## Default guardrails (before any final content)
12
+
13
+ 1. Apply **`output-handshake`**: confirm **where** the final PRD will be stored (path, Doc page, task, paste-only, etc.) and that a **human** will review. Engagements may store PRDs in different places; do not assume.
14
+ 2. Then follow the steps below.
15
+
16
+ ## When to use
17
+
18
+ - A feature or product increment needs a **shared agreement** on scope, users, and acceptance.
19
+ - The team must **trace** work from PRD → implementation → tests.
20
+ - An engagement uses an **Operations**-style doc hub with linked requirements documents.
21
+
22
+ ## Instructions
23
+
24
+ 1. **Open the PRD template** (`references/default-template.md`) and keep section headings **aligned** with it: Objective, User flow / Personas, Entities & use cases, Acceptance criteria, Edge cases, Integrations, Timeline, Approvals.
25
+ 2. For **discovery** in an existing repository, delegate repository inspection to **`assistant`**; cite `AGENTS.md` and test/lint commands from the project.
26
+ 3. **Acceptance criteria** must be testable and in **English** for work items/PRs (match `workflow-generic-project`).
27
+ 4. Link **stakeholder approval** to your engagement process (task lists, doc pages, or client sign-off). Do not invent sign-off if not agreed.
28
+ 5. For **ticket updates**, use the appropriate tool (`clickup-cli`, `jira-*`, etc.) to post a short plan comment or attach links — do not paste the full document into a task; link the Doc or page when possible.
29
+
30
+ ## What not to do
31
+
32
+ - Do not copy the full text of an external template into this skill; use `references/default-template.md` as the local canonical reference.
33
+ - Do not skip **edge cases** or **integrations** when the PRD is meant for handoff to a TRD.
34
+
35
+ ## References
36
+
37
+ - `output-handshake` — destination and review (required first for final output)
38
+ - `references/default-template.md` — local PRD template
39
+ - `references/example-unified-api.md` — PRD example for an API strategy initiative
40
+ - `workflow-generic-project` — delivery phases and ticket traceability
41
+ - `trd` — next step for technical design from an approved PRD
42
+ - `planning` — estimation and capacity before commitment
43
+ - `epic`, `user-story`, `task` — downstream breakdown
44
+ - `clickup-cli`, `jira-*` — ticket / comment operations (per engagement)
@@ -0,0 +1,71 @@
1
+ # PRD-042: Unified API Strategy
2
+
3
+ ## Objective
4
+
5
+ Consolidate the current fragmented API landscape (4 REST endpoints, 2 legacy SOAP services, and 1 internal gRPC interface) into a unified, versioned API surface that supports frontend and mobile clients with a single, coherent interface. This enables faster iteration, reduces backend coupling, and provides the foundation for a future GraphQL federation layer.
6
+
7
+ ## User Flow / Personas
8
+
9
+ **Primary Users:**
10
+ - Frontend developers building product pages (web and mobile)
11
+ - Mobile team requiring low-latency, expressive queries
12
+ - Partner integrations consuming the public API
13
+
14
+ **User Flow:**
15
+ 1. Client sends query to unified endpoint (REST or GraphQL)
16
+ 2. Gateway validates request and routes to domain service
17
+ 3. Domain service returns typed response through API layer
18
+ 4. Client receives consistent, versioned response
19
+
20
+ ## Entities & Use Cases
21
+
22
+ **Core Entities:**
23
+ - Product (id, name, category, pricing, inventory, media)
24
+ - Category (id, name, parent, attributes, metadata)
25
+ - User (id, roles, preferences, session)
26
+ - Order (id, user, items, status, fulfillment)
27
+
28
+ **Primary Use Cases:**
29
+ - UC-1: Fetch product details with category hierarchy
30
+ - UC-2: Search products by filters and sort options
31
+ - UC-3: Fetch related products or accessories
32
+ - UC-4: Aggregate analytics data per product
33
+
34
+ ## Acceptance Criteria
35
+
36
+ - [ ] `/api/v1/products` returns product list with pagination
37
+ - [ ] `/api/v1/products/:id` returns full product details with media URLs
38
+ - [ ] `?category=` filter supports hierarchical category traversal
39
+ - [ ] `?include=related` embeds related products in response
40
+ - [ ] Response schema is documented in OpenAPI 3.1
41
+ - [ ] Version header (`API-Version: 1`) accepted on all requests
42
+ - [ ] Deprecation notice returned in headers for versions with EOL within 6 months
43
+
44
+ ## Edge Cases
45
+
46
+ - Category filter returns empty set: return empty array with 200, not error
47
+ - Product not found: return 404 with error schema `{code, message, request_id}`
48
+ - Invalid include parameter: return 400 with valid values in error message
49
+ - Rate limit exceeded: return 429 with `Retry-After` header
50
+
51
+ ## Integrations
52
+
53
+ - Inventory Service (gRPC): for real-time stock levels
54
+ - Pricing Service (REST): for dynamic pricing rules
55
+ - Analytics Platform (Kafka): for event emission on product views
56
+
57
+ ## Timeline
58
+
59
+ - Phase 1 (Weeks 1-4): API Gateway setup + `/products` endpoint migration
60
+ - Phase 2 (Weeks 5-8): Search and filter endpoints
61
+ - Phase 3 (Weeks 9-12): Deprecate legacy endpoints; publish GraphQL
62
+
63
+ ## Approvals
64
+
65
+ - VP Engineering: Elena Vasquez — 2024-01-15
66
+ - Product Lead: Marcus Chen — 2024-01-16
67
+
68
+ ## Related
69
+
70
+ - [TRD-007: Platform API Migration](./trd-007-platform-api-migration.md)
71
+ - [ADR-003: API Versioning Standard](./adr-003-api-versioning.md)
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: project-assessment
3
+ description: >-
4
+ WHAT - Interactive project assessment router: define assessment scope and units,
5
+ collect evidence through project-assessment-evidence, then delegate to
6
+ technical or management unit assessment skills. Always evidence-based and human-reviewed.
7
+ ---
8
+
9
+ # Project Assessment (WHAT)
10
+
11
+ Use this skill when the user asks for a project assessment, maturity assessment, delivery audit, technical assessment, management assessment, quality indicator review, or improvement roadmap.
12
+
13
+ This is a router skill. Keep it focused on assessment flow, gates, and delegation. Use the unit-specific skills for scoring details.
14
+
15
+ ## Default guardrails
16
+
17
+ 1. Apply **`output-handshake`** before producing any final assessment report, scorecard, action plan, or executive summary: ask where the artifact should live and confirm human review.
18
+ 2. Apply **`project-assessment-evidence`** before scoring. Evidence may live in repositories, boards, docs, spreadsheets, dashboards, incidents, PRs, meetings, interviews, Slack, emails, or any other project system. Ask the user where to find each source.
19
+ 3. Never assign a score without evidence. If evidence is missing, mark the indicator as **Not assessed** or score it with **Low confidence** and state the assumption explicitly.
20
+ 4. Keep sensitive details out of reusable artifacts. Redact secrets, credentials, private customer data, and unnecessary personal data.
21
+ 5. Do not mention client-specific reference examples or internal audit links in generated outputs. Use only abstracted patterns.
22
+
23
+ ## Assessment flow
24
+
25
+ 1. **Intake**
26
+ - Ask the assessment purpose: baseline, periodic review, due diligence, quality improvement, delivery health check, AI-readiness review, or internal audit support.
27
+ - Ask the assessment period and target audience.
28
+ - Ask whether the assessment should cover management units, technical units, or both.
29
+ - Ask which repositories, products, squads, platforms, or delivery scopes form each assessment unit.
30
+ 2. **Evidence collection**
31
+ - Delegate to **`project-assessment-evidence`**.
32
+ - Build an evidence map before scoring.
33
+ - Ask the user where each evidence category lives instead of assuming ClickUp or repository-only evidence.
34
+ 3. **Unit assessment**
35
+ - For technical workloads, delegate to **`technical-unit-assessment`**.
36
+ - For project management and delivery scopes, delegate to **`management-unit-assessment`**.
37
+ - If UI depth is required, pair the technical unit assessment with **`ui-ux-pro-max`**.
38
+ - If repository discovery is required, pair with **`assistant`** and the repository-specific rules.
39
+ 4. **Consensus and scoring**
40
+ - Use the 1 to 5 maturity scale from the assessment indicators.
41
+ - Treat score 3 as "defined or partially mature", not as average performance.
42
+ - Record confidence per score: High, Medium, Low, or Not assessed.
43
+ - For subjective indicators, ask who should validate the score and whether weights are needed.
44
+ 5. **Findings and action plan**
45
+ - Summarize strengths, risks, gaps, and opportunities.
46
+ - Separate confirmed findings from assumptions and missing evidence.
47
+ - Convert recommendations into actionable follow-ups only after user approval, delegating ticket creation to the relevant ticket skill.
48
+
49
+ ## Required interactive questions
50
+
51
+ Ask these before creating the final assessment artifact:
52
+
53
+ - Where should the final assessment live?
54
+ - Who will review and approve it?
55
+ - What is the assessment purpose and period?
56
+ - Which management units and technical units are in scope?
57
+ - Which systems of record should be used for evidence?
58
+ - Where are the repositories, docs, boards, diagrams, CI/CD pipelines, dashboards, incident records, meeting notes, decisions, agreements, and stakeholder feedback?
59
+ - Which indicators must be skipped, weighted, or treated as out of scope?
60
+ - Which people should be interviewed or asked to validate subjective scores?
61
+
62
+ ## Outputs
63
+
64
+ Typical outputs are:
65
+
66
+ - Assessment plan and scope
67
+ - Evidence map
68
+ - Unit scorecards
69
+ - Findings with evidence links
70
+ - Missing evidence register
71
+ - Risk and opportunity summary
72
+ - Recommendations and action plan
73
+ - Follow-up work item candidates
74
+
75
+ ## Boundaries
76
+
77
+ - This skill does not execute ClickUp, Jira, Confluence, GitHub, GitLab, Slack, or repository commands. Delegate HOW to tool skills.
78
+ - This skill does not replace project-specific assessment procedures. If an engagement pack or repository defines stricter rules, surface the difference and follow the stricter/project-specific rule.
79
+ - This skill does not create tasks or update documents without explicit user approval.
80
+
81
+ ## References
82
+
83
+ - `references/default-template.md` - default assessment report template
84
+ - `references/example-platform-assessment.md` — example assessment for a platform engineering team with full scorecard
85
+ - `project-assessment-evidence` - evidence map and source-by-source intake
86
+ - `technical-unit-assessment` - technical unit indicators and template
87
+ - `management-unit-assessment` - management unit indicators and template
88
+ - `output-handshake` - destination and human review
89
+ - `assistant` - repository discovery
90
+ - `clickup-cli`, external Jira/Confluence skills, forge skills, and Slack skills - evidence retrieval or artifact updates after approval
@@ -0,0 +1,122 @@
1
+ # Project Assessment Report — Q1 2024 Platform Engineering
2
+
3
+ ## Review
4
+
5
+ - Destination: /docs/assessments/2024-q1/platform-engineering
6
+ - Human reviewer: VP Engineering
7
+ - Assessment status: Reviewed
8
+
9
+ ## Assessment Summary
10
+
11
+ - Assessment purpose: Quarterly health check for Platform Engineering unit
12
+ - Assessment period: 2024-01-01 to 2024-03-31
13
+ - Assessment scope: Platform team (4 engineers), 14 repositories, 2 production services
14
+ - Units assessed: Technical — Platform Engineering
15
+ - Overall health: 3.8 / 5 — Strong delivery with documented risk areas
16
+ - Key strengths: CI/CD coverage, code review culture, incident response speed
17
+ - Key risks or gaps: Documentation freshness, decision traceability to work items
18
+ - Overall confidence level: High
19
+
20
+ ## Method
21
+
22
+ - Evidence sources used: GitHub repos, Linear, Datadog, Confluence, 6 engineer interviews
23
+ - Interviews or validation sessions: 6 structured interviews (Jan 15-17); all squad leads validated findings
24
+ - Indicators in scope: Standard technical indicators plus AI-Native Structural Readiness
25
+ - Indicators out of scope: Mobile-specific, data engineering (separate assessments)
26
+ - Scoring scale: 1 to 5 maturity scale
27
+ - Weighting approach, if any: Equal weight across indicators; maturity scale 1=ad-hoc, 5=optimized
28
+
29
+ ## Evidence Map
30
+
31
+ | Evidence area | Source link or location | Owner | Freshness | Used for | Confidence | Notes |
32
+ | --- | --- | --- | --- | --- | --- | --- |
33
+ | Repositories | github.com/acme/platform | David Park | Current | All technical indicators | High | 14 repos |
34
+ | Work tracking | Linear /platform-squad | Alice Kim | Current | Delivery, Methodology | High | All work visible |
35
+ | Documentation | Confluence /eng/platform | Carmen Reyes | 2 weeks | Docs density, AI readiness | Medium | Some outdated pages |
36
+ | Architecture and decisions | Notion /decisions/architecture | Elena Vasquez | 1 month | Decision traceability | Medium | ADRs exist, not linked to tasks |
37
+ | CI/CD and releases | GitHub Actions + Datadog | David Park | Current | Deployment, Security | High | All repos have CI |
38
+ | Observability and incidents | Datadog dashboards | SRE team | Current | Monitoring, Incident response | High | 5 dashboards active |
39
+ | Meetings and stakeholder feedback | Interview notes | Alice Kim | 2 weeks | All indicators | Medium | 6 engineers |
40
+
41
+ ## Unit Scorecards
42
+
43
+ ### Unit: Platform Engineering
44
+
45
+ - Unit type: Technical
46
+ - Scope: Core platform services (API gateway, message queue infrastructure, deployment tooling)
47
+ - Evidence confidence: High
48
+
49
+ | Category | Indicator | Score | Confidence | Evidence | Notes |
50
+ | --- | --- | --- | --- | --- | --- |
51
+ | General Technical | Code quality | 4 | High | PR review samples, GitHub insights | Consistent style; some tech debt in legacy modules |
52
+ | General Technical | Deployment tools | 4 | High | GitHub Actions, Datadog deploy events | All automated; rollback tested |
53
+ | General Technical | Development experience | 4 | High | DX survey results, interview feedback | Onboarding doc adequate; local env setup takes ~2hrs |
54
+ | General Technical | Monitoring and observability | 5 | High | Datadog dashboards | Comprehensive; P50/P95/P99 visible |
55
+ | General Technical | Security awareness | 3 | Medium | Dependabot alerts, SAST results | Alerts triaged weekly; no automated DAST in pipeline |
56
+ | General Technical | Technical debt volume | 3 | High | GitHub debt analysis, interviews | Known items tracked in backlog; not actively reduced |
57
+ | General Technical | Workflow definition | 4 | High | Linear + Notion | DoR/DoD defined; mostly followed |
58
+ | General Technical | Testing | 3 | Medium | Test coverage reports, CI runs | ~68% coverage; unit tests strong, integration weak |
59
+ | Infrastructure | CI/CD | 4 | High | GitHub Actions logs | All repos CI; staging deploys automated, prod manual |
60
+ | Infrastructure | Infrastructure as Code | 4 | High | Terraform configs in repo | All infra in Terraform; drift detection enabled |
61
+ | Infrastructure | Secrets management | 4 | High | Vault + GitHub secrets | No hardcoded secrets; rotation policy documented |
62
+ | Infrastructure | Incident response | 4 | High | INC log, Datadog alerts | Median time to acknowledge: 8 min; P95 resolution: 2.4 hrs |
63
+ | AI-Native | Codebase explicitness | 4 | High | Repo structure, docs | Clear layering; README in each repo |
64
+ | AI-Native | Deterministic build | 4 | High | CI logs, Docker builds | Builds reproducible; cache hit rate >80% |
65
+ | AI-Native | Observability | 4 | High | Datadog + logging | Structured logs; trace IDs across services |
66
+ | AI-Native | Testability | 3 | Medium | Test coverage + patterns | Unit tests strong; integration test gaps |
67
+ | AI-Native | Dependency transparency | 3 | Medium | Dependabot, SBOM | Dependencies tracked; SBOM not auto-generated |
68
+
69
+ ## Findings
70
+
71
+ ### Strengths
72
+
73
+ - Finding: CI/CD pipeline is mature and reliable across all 14 repositories.
74
+ - Evidence: GitHub Actions covers 100% of repos; all have automated tests; staging deploy automated
75
+ - Confidence: High
76
+
77
+ - Finding: Incident response is fast and well-documented.
78
+ - Evidence: Median acknowledge time 8 min; all postmortems within 48 hrs; action items tracked
79
+ - Confidence: High
80
+
81
+ ### Risks and Gaps
82
+
83
+ - Finding: Documentation is not kept in sync with code changes.
84
+ - Evidence: 5 of 12 Confluence pages reviewed were last updated before relevant code change
85
+ - Impact: Onboarding time is higher than it should be; engineers report spending time tracing actual behavior
86
+ - Confidence: Medium
87
+
88
+ - Finding: ADRs are not linked to Linear work items, breaking traceability.
89
+ - Evidence: 7 ADRs exist in Notion; zero cross-references to tasks or PRs
90
+ - Impact: Cannot trace architectural decision to implementation or验证 decision rationale
91
+ - Confidence: Medium
92
+
93
+ ### Missing Evidence
94
+
95
+ - Evidence needed: Direct product team satisfaction for platform reliability
96
+ - Why it matters: Stakeholder satisfaction indicator currently relies on indirect signals
97
+ - Suggested source or owner: PM lead to provide 1:1 feedback from product stakeholders
98
+
99
+ ## Recommendations
100
+
101
+ | Priority | Recommendation | Rationale | Owner | Suggested follow-up |
102
+ | --- | --- | --- | --- | --- |
103
+ | High | Implement doc-on-code policy: README or Confluence update required with architectural changes | Docs freshness directly impacts onboarding and AI assistant context quality | Carmen Reyes | Create checklist item in PR template |
104
+ | Medium | Link ADRs to Linear tasks using custom field | Restore traceability; enable future AI-assisted decision retrieval | Elena Vasquez | Add `adr_link` field to Linear task template |
105
+ | Low | Add DAST to CI pipeline | Security indicator below target; easy automation | David Park | Evaluate OWASP ZAP GitHub Action |
106
+
107
+ ## Action Plan Candidates
108
+
109
+ - [ ] Update Confluence pages for API gateway and message queue (Owner: Carmen, Due: 2024-04-15)
110
+ - [ ] Add ADR link field to Linear work item template (Owner: Alice, Due: 2024-04-01)
111
+ - [ ] Evaluate DAST integration (Owner: David, Due: 2024-05-01)
112
+
113
+ ## Assumptions and Limitations
114
+
115
+ - Assumption: Confluence page timestamps reflect actual content freshness (not just metadata edits)
116
+ - Limitation: Stakeholder feedback relies on quarterly NPS; no real-time signal for platform-specific issues
117
+
118
+ ## Approval
119
+
120
+ - Reviewed by: Elena Vasquez, VP Engineering
121
+ - Review date: 2024-03-28
122
+ - Approval notes: Assessment approved with action items prioritized. Elena to review progress in June check-in.
@@ -0,0 +1,88 @@
1
+ ---
2
+ name: project-assessment-evidence
3
+ description: >-
4
+ WHAT - Interactive evidence intake for project assessments. Ask the user where
5
+ each evidence source lives, build an evidence map, track missing evidence,
6
+ assumptions, freshness, and confidence before any scoring happens.
7
+ ---
8
+
9
+ # Project Assessment Evidence (WHAT)
10
+
11
+ Use this skill before scoring a project assessment. It turns scattered project knowledge into a structured evidence map.
12
+
13
+ This skill is intentionally interactive. Evidence can be outside ClickUp and outside the repository. Ask for source locations instead of assuming where they live.
14
+
15
+ ## Default behavior
16
+
17
+ 1. Ask the user for the systems of record and evidence locations.
18
+ 2. Collect source links, paths, owners, dates, and freshness for each evidence item.
19
+ 3. Mark evidence quality: Direct, Indirect, Interview-only, Stale, Missing, or Not applicable.
20
+ 4. Record confidence for each evidence item: High, Medium, Low, or Not assessed.
21
+ 5. Do not score indicators. Return the evidence map to **`project-assessment`**, **`technical-unit-assessment`**, or **`management-unit-assessment`**.
22
+
23
+ ## Evidence intake questions
24
+
25
+ Ask only the questions relevant to the assessment scope, but cover each required source class before scoring.
26
+
27
+ ### Scope and systems
28
+
29
+ - What project, product, platform, squad, or delivery scope is being assessed?
30
+ - What period should evidence cover?
31
+ - What are the official systems of record?
32
+ - Which sources should be considered authoritative when sources conflict?
33
+
34
+ ### Delivery and management evidence
35
+
36
+ - Where is the project board or backlog?
37
+ - Where are epics, stories, tasks, bugs, incidents, and subtasks tracked?
38
+ - Where are sprint plans, delivery reports, retrospectives, risks, and OIRs?
39
+ - Where are PRDs, TRDs, ADRs, decisions, agreements, and meeting minutes stored?
40
+ - Where can stakeholder feedback, client satisfaction signals, and team health signals be found?
41
+ - Who should validate subjective management indicators?
42
+
43
+ ### Technical evidence
44
+
45
+ - Where are the repositories and deployment manifests?
46
+ - Where are architecture diagrams, API docs, runbooks, and operations docs?
47
+ - Where are CI/CD pipelines, deployment history, and release notes?
48
+ - Where are test reports, coverage data, quality gates, and static analysis outputs?
49
+ - Where are observability dashboards, alerts, logs, incident records, and postmortems?
50
+ - Where are security, compliance, access control, secrets management, and dependency signals?
51
+ - For data systems, where are lineage, data quality checks, orchestration, schemas, business rules, and consumption docs?
52
+ - For UI/UX, where are design files, UX research, accessibility reports, performance reports, screenshots, recordings, or product analytics?
53
+
54
+ ### Interviews and validation
55
+
56
+ - Who should be interviewed or asked for context?
57
+ - Which questions must be answered by humans because no artifact exists?
58
+ - Which scores require cross-review or consensus?
59
+
60
+ ## Evidence quality rules
61
+
62
+ - Prefer direct artifacts over recollection.
63
+ - Treat interview notes as valid evidence only when clearly labeled as interview evidence.
64
+ - Do not use stale evidence without marking freshness risk.
65
+ - If an indicator has conflicting evidence, record both sources and request validation.
66
+ - If no evidence is available, record **Missing evidence** and avoid pretending certainty.
67
+
68
+ ## Output
69
+
70
+ Return an evidence map with:
71
+
72
+ - Source type
73
+ - Source link or location
74
+ - Owner or contact
75
+ - Freshness
76
+ - Related indicators
77
+ - Evidence strength
78
+ - Confidence
79
+ - Notes and limitations
80
+
81
+ ## References
82
+
83
+ - `references/default-template.md` - evidence map template
84
+ - `references/example-evidence-map.md` — example evidence map for a multi-team engineering assessment
85
+ - `project-assessment` - assessment router
86
+ - `technical-unit-assessment` - technical scoring
87
+ - `management-unit-assessment` - management scoring
88
+ - `output-handshake` - destination and review for final artifacts
@@ -0,0 +1,46 @@
1
+ # Project Assessment Evidence Map
2
+
3
+ ## Scope
4
+
5
+ - Assessment: Q1 2024 Engineering Platform Assessment
6
+ - Period: 2024-01-01 to 2024-03-31
7
+ - Units covered: Platform Engineering, Frontend, Backend, Data
8
+ - Systems of record: Linear (work), GitHub (code), Jira (delivery), Confluence (docs)
9
+ - Source precedence rules: Primary — repo configs and CI; Secondary — linear and docs; Tertiary — interviews
10
+
11
+ ## Evidence Ledger
12
+
13
+ | ID | Evidence area | Source type | Source link or location | Owner | Freshness | Related indicators | Strength | Confidence | Notes |
14
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
15
+ | E-001 | Work tracking | Linear boards | Platform Squad workspace | Alice Kim | Current | Delivery, Methodology | Direct | High | All platform work in Linear |
16
+ | E-002 | Repository | GitHub org | github.com/acme/platform | David Park | Current | Code quality, CI/CD, Architecture | Direct | High | 14 repos assessed |
17
+ | E-003 | Documentation | Confluence | /eng/platform/docs | Carmen Reyes | 2 weeks old | Docs density, Decision traceability | Direct | Medium | Some pages outdated |
18
+ | E-004 | CI/CD | GitHub Actions | .github/workflows in repos | David Park | Current | Pipeline, Deployment, Security | Direct | High | All repos have CI |
19
+ | E-005 | Observability | Datadog | dashboards/engineering | SRE team | Current | Monitoring, Incidents | Direct | High | Dashboards linked |
20
+ | E-006 | Decisions | Notion | /decisions/architecture | Elena Vasquez | 1 month old | Decision traceability | Indirect | Medium | Decisions exist, not always linked |
21
+ | E-007 | Interviews | Notes | /evidence/interviews-2024-q1 | Alice Kim | 2 weeks old | All indicators | Direct | Medium | 6 engineers interviewed |
22
+ | E-008 | Stakeholder feedback | Intercom | NPS dashboard Q1 | PM lead | Quarterly | Client satisfaction | Indirect | Low | No direct engineering signal |
23
+
24
+ ## Missing Evidence Register
25
+
26
+ | Missing evidence | Indicators impacted | Why it matters | Suggested source or owner | Required before scoring? |
27
+ | --- | --- | --- | --- | --- |
28
+ | Direct stakeholder satisfaction for Platform team | Stakeholder engagement | Quarterly NPS too lagged for actionable feedback | PM to schedule 1:1 with product leads | No (can score 3 as placeholder) |
29
+
30
+ ## Conflicts and Validation Needs
31
+
32
+ | Topic | Conflicting sources | Proposed validator | Status |
33
+ | --- | --- | --- | --- |
34
+ | Deployment frequency: Jira reports weekly; GitHub Actions logs show bi-weekly | David Park to reconcile | Pending — David to audit actual deploy timestamps | Pending |
35
+ | Documentation freshness: Confluence shows pages from 2023; engineers claim docs are current | Carmen to update Confluence or note which pages are maintained | Carmen | In Progress |
36
+
37
+ ## Assumptions
38
+
39
+ - Assumption: GitHub Actions logs reflect actual deployment events, not just CI runs
40
+ - Evidence gap: No separate deployment log to cross-reference
41
+ - Impact: Deployment frequency indicator may be inflated if CI = deploy
42
+ - Validation needed: David to confirm pipeline stages and actual prod deploy events
43
+ - Assumption: Intercom NPS reflects platform team contribution (not overall product NPS)
44
+ - Evidence gap: No segment for platform vs feature work
45
+ - Impact: Scores may mask platform-specific issues
46
+ - Validation needed: PM to provide breakdown if available
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: spike
3
+ description: >-
4
+ WHAT - Produce spike and research findings using the spike template; captures purpose, findings, implementation strategy, risks, tradeoffs, open questions, and references.
5
+ ---
6
+
7
+ # Spike and Research Findings (WHAT)
8
+
9
+ Use for technical exploration, feasibility validation, architecture assessment, or research outputs that should influence design or implementation.
10
+
11
+ ## Default guardrails
12
+
13
+ 1. Apply **`output-handshake`** before final output.
14
+ 2. Make findings actionable: recommendation, tradeoffs, open questions, and next steps.
15
+ 3. Link from **`trd`** when the spike informs technical design.
16
+ 4. Link from **`adr`** when the spike leads to a durable decision.
17
+
18
+ ## References
19
+
20
+ - `references/default-template.md`
21
+ - `references/example-graphql-federation.md` — example spike for evaluating GraphQL Federation with tradeoffs and phased approach
22
+ - `trd`
23
+ - `adr`
@@ -0,0 +1,79 @@
1
+ # SPIKE-012: GraphQL Federation Evaluation
2
+
3
+ ## Purpose
4
+
5
+ Evaluate GraphQL Federation as the future API architecture for the platform. Assess feasibility, team readiness, and infrastructure requirements before committing to a migration path.
6
+
7
+ **Spike Ticket:** ARCH-018
8
+
9
+ ## Findings and Conclusions
10
+
11
+ GraphQL Federation is viable for the platform and recommended for adoption. The team has sufficient backend expertise; frontend teams have expressed strong interest. Infrastructure exists to support the gateway. The main risk is the learning curve for distributed schema ownership.
12
+
13
+ **Decision recommended:** Proceed with phased adoption starting with the product domain.
14
+
15
+ ### Architecture Fit (if applicable)
16
+
17
+ | Layer / Area | Purpose / Role | Tools / Services | Notes |
18
+ | --- | --- | --- | --- |
19
+ | API Gateway | Schema routing, query planning | Apollo Federation v2 | Supports REST passthrough during migration |
20
+ | Product Subgraph | Product domain data | GraphQL Nexus + Prisma | Team owns this subgraph |
21
+ | User Subgraph | User and session data | GraphQL Nexus | Owned by Auth team |
22
+ | Inventory Subgraph | Stock levels, warehouse | REST (existing) → GraphQL | Low priority; can remain REST behind Apollo |
23
+ | Clients | Web (React), Mobile (React Native) | Apollo Client 3 | Both support Federation |
24
+
25
+ ## High-Level Implementation Strategy
26
+
27
+ ### Components / Layers
28
+
29
+ 1. **Gateway layer:** Deploy Apollo Gateway as `/graphql` endpoint; existing `/api/v1` REST remains available
30
+ 2. **Product subgraph:** Migrate from REST to GraphQL first; establishes pattern for other teams
31
+ 3. **Client migration:** Update Apollo Client to use GraphQL; maintain REST fallback during transition
32
+ 4. **Auth integration:** User subgraph implemented by Auth team; timeline TBD
33
+
34
+ ### Phase 1 (Weeks 1-6)
35
+
36
+ - Gateway + Product subgraph
37
+ - REST backward compatibility maintained
38
+ - Mobile team as early adopter
39
+
40
+ ### Phase 2 (Weeks 7-12)
41
+
42
+ - Expand to other domains (orders, customers)
43
+ - Deprecate REST endpoints with 6-month notice
44
+
45
+ ## Security, Governance, or Compliance Considerations
46
+
47
+ - Access controls: Field-level auth via JWT claims in GraphQL context
48
+ - Auditability: GraphQL operation logging to Datadog (query, variables, user ID)
49
+ - Sensitive data handling: PII fields marked with `@auth` directive; rate limiting per client ID
50
+
51
+ ## Start Small, Scale Fast
52
+
53
+ - **First safe step:** Deploy gateway with Product subgraph only; no client traffic yet
54
+ - **Deferred work:** Auth subgraph, order history, mobile-optimized queries
55
+
56
+ ## Research Notes / Tradeoffs
57
+
58
+ | Option | Pros | Cons | Notes |
59
+ | --- | --- | --- | --- |
60
+ | GraphQL Federation | Expressive queries, type safety, single graph | More infra, learning curve, caching harder | Recommended |
61
+ | REST with JSON:API | Simple, CDN-cacheable, team familiarity | Versioning complexity, over-fetching | Rejected — does not solve core pain points |
62
+ | gRPC | Performance, binary protocol | Not browser-native, mobile support weak | Rejected for client-facing; consider for service-to-service |
63
+
64
+ ## Open Questions
65
+
66
+ 1. Auth team bandwidth for User subgraph? Status: Open — meeting scheduled Jan 30
67
+ 2. Existing REST endpoint deprecation timeline? Status: Open — PM to define
68
+ 3. GraphQL schema registry tooling? Status: Answered — Apollo Studio with schema checks in CI
69
+
70
+ ## References
71
+
72
+ - [PRD-042: Unified API Strategy](./prd-042-unified-api-strategy.md)
73
+ - Apollo Federation docs: https://www.apollographql.com/docs/federation/
74
+ - Engineering sync notes 2024-01-15
75
+
76
+ ## Review
77
+
78
+ - [ ] Destination confirmed.
79
+ - [ ] Human review required.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: task
3
+ description: >-
4
+ WHAT - Draft and review technical tasks using the Best Practices Task Template; includes summary, technical notes, AC, estimate, owner, and due date.
5
+ ---
6
+
7
+ # Task (WHAT)
8
+
9
+ Use for technical or operational work that is not best represented as a user story.
10
+
11
+ ## Default guardrails
12
+
13
+ 1. Apply **`output-handshake`** before final output.
14
+ 2. Use **`planning`** for estimation, dependencies, and breakdown.
15
+ 3. Use **`bug`** for defects and **`incident`** for urgent production impact.
16
+
17
+ ## References
18
+
19
+ - `references/default-template.md`
20
+ - `references/example-nav-system.md` — example task for a dashboard navigation system with AC and tech notes