fraim-framework 2.0.67 → 2.0.68

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 (254) hide show
  1. package/package.json +1 -2
  2. package/dist/registry/ai-manager-rules/customer-development-phases/phase1-customer-profiling.md +0 -101
  3. package/dist/registry/ai-manager-rules/customer-development-phases/phase2-platform-discovery.md +0 -235
  4. package/dist/registry/ai-manager-rules/customer-development-phases/phase3-prospect-qualification.md +0 -243
  5. package/dist/registry/ai-manager-rules/customer-development-phases/phase4-inventory-compilation.md +0 -206
  6. package/dist/registry/ai-manager-rules/design-phases/design-completeness-review.md +0 -73
  7. package/dist/registry/ai-manager-rules/design-phases/design-design.md +0 -145
  8. package/dist/registry/ai-manager-rules/design-phases/design.md +0 -108
  9. package/dist/registry/ai-manager-rules/design-phases/finalize.md +0 -60
  10. package/dist/registry/ai-manager-rules/design-phases/validate.md +0 -125
  11. package/dist/registry/ai-manager-rules/design.json +0 -97
  12. package/dist/registry/ai-manager-rules/implement-phases/code.md +0 -323
  13. package/dist/registry/ai-manager-rules/implement-phases/completeness-review.md +0 -94
  14. package/dist/registry/ai-manager-rules/implement-phases/finalize.md +0 -177
  15. package/dist/registry/ai-manager-rules/implement-phases/implement-code.md +0 -283
  16. package/dist/registry/ai-manager-rules/implement-phases/implement-completeness-review.md +0 -120
  17. package/dist/registry/ai-manager-rules/implement-phases/implement-regression.md +0 -173
  18. package/dist/registry/ai-manager-rules/implement-phases/implement-repro.md +0 -104
  19. package/dist/registry/ai-manager-rules/implement-phases/implement-scoping.md +0 -100
  20. package/dist/registry/ai-manager-rules/implement-phases/implement-smoke.md +0 -237
  21. package/dist/registry/ai-manager-rules/implement-phases/implement-spike.md +0 -121
  22. package/dist/registry/ai-manager-rules/implement-phases/implement-validate.md +0 -375
  23. package/dist/registry/ai-manager-rules/implement-phases/quality-review.md +0 -304
  24. package/dist/registry/ai-manager-rules/implement-phases/regression.md +0 -159
  25. package/dist/registry/ai-manager-rules/implement-phases/repro.md +0 -101
  26. package/dist/registry/ai-manager-rules/implement-phases/scoping.md +0 -93
  27. package/dist/registry/ai-manager-rules/implement-phases/smoke.md +0 -225
  28. package/dist/registry/ai-manager-rules/implement-phases/spike.md +0 -118
  29. package/dist/registry/ai-manager-rules/implement-phases/validate.md +0 -347
  30. package/dist/registry/ai-manager-rules/implement.json +0 -153
  31. package/dist/registry/ai-manager-rules/retrospective.md +0 -116
  32. package/dist/registry/ai-manager-rules/shared-phases/address-pr-feedback.md +0 -188
  33. package/dist/registry/ai-manager-rules/shared-phases/finalize.md +0 -169
  34. package/dist/registry/ai-manager-rules/shared-phases/submit-pr.md +0 -202
  35. package/dist/registry/ai-manager-rules/shared-phases/wait-for-pr-review.md +0 -170
  36. package/dist/registry/ai-manager-rules/spec-phases/finalize.md +0 -60
  37. package/dist/registry/ai-manager-rules/spec-phases/spec-competitor-analysis.md +0 -105
  38. package/dist/registry/ai-manager-rules/spec-phases/spec-completeness-review.md +0 -66
  39. package/dist/registry/ai-manager-rules/spec-phases/spec-spec.md +0 -139
  40. package/dist/registry/ai-manager-rules/spec-phases/spec.md +0 -102
  41. package/dist/registry/ai-manager-rules/spec-phases/validate.md +0 -118
  42. package/dist/registry/ai-manager-rules/spec.json +0 -112
  43. package/dist/registry/ai-manager-rules/test.json +0 -98
  44. package/dist/registry/ai-manager-rules/user-survey-phases/phase1-survey-scoping.md +0 -60
  45. package/dist/registry/ai-manager-rules/user-survey-phases/phase2-survey-build-linkedin.md +0 -23
  46. package/dist/registry/ai-manager-rules/user-survey-phases/phase3-survey-build-reddit.md +0 -22
  47. package/dist/registry/ai-manager-rules/user-survey-phases/phase4-survey-build-x.md +0 -21
  48. package/dist/registry/ai-manager-rules/user-survey-phases/phase5-survey-build-facebook.md +0 -19
  49. package/dist/registry/ai-manager-rules/user-survey-phases/phase6-survey-build-custom.md +0 -15
  50. package/dist/registry/ai-manager-rules/user-survey-phases/phase7-survey-dispatch.md +0 -45
  51. package/dist/registry/delivery/address-feedback.md +0 -83
  52. package/dist/registry/delivery/retrospective.md +0 -78
  53. package/dist/registry/delivery/submit.md +0 -79
  54. package/dist/registry/providers/ado.json +0 -19
  55. package/dist/registry/providers/delivery-conversation.json +0 -9
  56. package/dist/registry/providers/delivery-pr.json +0 -9
  57. package/dist/registry/providers/github.json +0 -19
  58. package/dist/registry/rules/agent-success-criteria.md +0 -101
  59. package/dist/registry/rules/agent-testing-guidelines.md +0 -502
  60. package/dist/registry/rules/architecture.md +0 -126
  61. package/dist/registry/rules/communication.md +0 -122
  62. package/dist/registry/rules/continuous-learning.md +0 -55
  63. package/dist/registry/rules/debugging-multitenancy-issues.md +0 -85
  64. package/dist/registry/rules/ephemeral-execution.md +0 -54
  65. package/dist/registry/rules/git-safe-commands.md +0 -34
  66. package/dist/registry/rules/hitl-ppe-record-analysis.md +0 -302
  67. package/dist/registry/rules/integrity-and-test-ethics.md +0 -275
  68. package/dist/registry/rules/local-development.md +0 -275
  69. package/dist/registry/rules/mandatory-pre-completion-reflection.md +0 -193
  70. package/dist/registry/rules/merge-requirements.md +0 -238
  71. package/dist/registry/rules/simplicity.md +0 -118
  72. package/dist/registry/rules/software-development-lifecycle.md +0 -105
  73. package/dist/registry/rules/spike-first-development.md +0 -205
  74. package/dist/registry/rules/successful-debugging-patterns.md +0 -488
  75. package/dist/registry/scripts/build-scripts-generator.js +0 -205
  76. package/dist/registry/scripts/cleanup-branch.js +0 -287
  77. package/dist/registry/scripts/evaluate-code-quality.js +0 -66
  78. package/dist/registry/scripts/exec-with-timeout.js +0 -142
  79. package/dist/registry/scripts/fraim-config.js +0 -61
  80. package/dist/registry/scripts/generate-engagement-emails.js +0 -705
  81. package/dist/registry/scripts/generic-issues-api.js +0 -100
  82. package/dist/registry/scripts/newsletter-helpers.js +0 -671
  83. package/dist/registry/scripts/openapi-generator.js +0 -664
  84. package/dist/registry/scripts/performance/profile-server.js +0 -390
  85. package/dist/registry/scripts/profile-server.js +0 -389
  86. package/dist/registry/scripts/run-thank-you-workflow.js +0 -92
  87. package/dist/registry/scripts/send-newsletter-simple.js +0 -85
  88. package/dist/registry/scripts/send-thank-you-emails.js +0 -54
  89. package/dist/registry/scripts/validate-openapi-limits.js +0 -311
  90. package/dist/registry/scripts/validate-test-coverage.js +0 -262
  91. package/dist/registry/scripts/verify-test-coverage.js +0 -66
  92. package/dist/registry/stubs/workflows/azure/cost-optimization.md +0 -11
  93. package/dist/registry/stubs/workflows/bootstrap/create-architecture.md +0 -11
  94. package/dist/registry/stubs/workflows/bootstrap/detect-broken-windows.md +0 -11
  95. package/dist/registry/stubs/workflows/bootstrap/evaluate-code-quality.md +0 -11
  96. package/dist/registry/stubs/workflows/bootstrap/verify-test-coverage.md +0 -11
  97. package/dist/registry/stubs/workflows/brainstorming/blue-sky-brainstorming.md +0 -11
  98. package/dist/registry/stubs/workflows/brainstorming/codebase-brainstorming.md +0 -11
  99. package/dist/registry/stubs/workflows/business-development/create-business-plan.md +0 -11
  100. package/dist/registry/stubs/workflows/business-development/ideate-business-opportunity.md +0 -11
  101. package/dist/registry/stubs/workflows/business-development/price-product.md +0 -18
  102. package/dist/registry/stubs/workflows/compliance/detect-compliance-requirements.md +0 -11
  103. package/dist/registry/stubs/workflows/compliance/generate-audit-evidence.md +0 -11
  104. package/dist/registry/stubs/workflows/compliance/soc2-evidence-generator.md +0 -11
  105. package/dist/registry/stubs/workflows/customer-development/insight-analysis.md +0 -11
  106. package/dist/registry/stubs/workflows/customer-development/insight-triage.md +0 -11
  107. package/dist/registry/stubs/workflows/customer-development/interview-preparation.md +0 -11
  108. package/dist/registry/stubs/workflows/customer-development/linkedin-outreach.md +0 -11
  109. package/dist/registry/stubs/workflows/customer-development/strategic-brainstorming.md +0 -11
  110. package/dist/registry/stubs/workflows/customer-development/thank-customers.md +0 -11
  111. package/dist/registry/stubs/workflows/customer-development/user-survey-dispatch.md +0 -11
  112. package/dist/registry/stubs/workflows/customer-development/users-to-target.md +0 -11
  113. package/dist/registry/stubs/workflows/customer-development/weekly-newsletter.md +0 -11
  114. package/dist/registry/stubs/workflows/deploy/cloud-deployment.md +0 -11
  115. package/dist/registry/stubs/workflows/improve-fraim/contribute.md +0 -11
  116. package/dist/registry/stubs/workflows/improve-fraim/file-issue.md +0 -11
  117. package/dist/registry/stubs/workflows/learning/build-skillset.md +0 -11
  118. package/dist/registry/stubs/workflows/learning/synthesize-learnings.md +0 -11
  119. package/dist/registry/stubs/workflows/legal/contract-review-analysis.md +0 -11
  120. package/dist/registry/stubs/workflows/legal/nda.md +0 -11
  121. package/dist/registry/stubs/workflows/legal/patent-filing.md +0 -11
  122. package/dist/registry/stubs/workflows/legal/saas-contract-development.md +0 -11
  123. package/dist/registry/stubs/workflows/legal/trademark-filing.md +0 -11
  124. package/dist/registry/stubs/workflows/marketing/content-creation.md +0 -11
  125. package/dist/registry/stubs/workflows/marketing/convert-to-pdf.md +0 -11
  126. package/dist/registry/stubs/workflows/marketing/create-modern-website.md +0 -11
  127. package/dist/registry/stubs/workflows/marketing/domain-registration.md +0 -11
  128. package/dist/registry/stubs/workflows/marketing/evangelize.md +0 -11
  129. package/dist/registry/stubs/workflows/marketing/hbr-article.md +0 -11
  130. package/dist/registry/stubs/workflows/marketing/launch-checklist.md +0 -11
  131. package/dist/registry/stubs/workflows/marketing/marketing-strategy.md +0 -11
  132. package/dist/registry/stubs/workflows/marketing/storytelling.md +0 -11
  133. package/dist/registry/stubs/workflows/performance/analyze-performance.md +0 -11
  134. package/dist/registry/stubs/workflows/product-building/design.md +0 -11
  135. package/dist/registry/stubs/workflows/product-building/implement.md +0 -11
  136. package/dist/registry/stubs/workflows/product-building/iterate-on-pr-comments.md +0 -11
  137. package/dist/registry/stubs/workflows/product-building/prep-issue.md +0 -11
  138. package/dist/registry/stubs/workflows/product-building/prototype.md +0 -11
  139. package/dist/registry/stubs/workflows/product-building/resolve.md +0 -11
  140. package/dist/registry/stubs/workflows/product-building/retrospect.md +0 -11
  141. package/dist/registry/stubs/workflows/product-building/spec.md +0 -11
  142. package/dist/registry/stubs/workflows/product-building/test.md +0 -11
  143. package/dist/registry/stubs/workflows/productivity-report/productivity-report.md +0 -11
  144. package/dist/registry/stubs/workflows/quality-assurance/browser-validation.md +0 -11
  145. package/dist/registry/stubs/workflows/quality-assurance/iterative-improvement-cycle.md +0 -11
  146. package/dist/registry/stubs/workflows/replicate/replicate-discovery.md +0 -11
  147. package/dist/registry/stubs/workflows/replicate/replicate-to-issues.md +0 -11
  148. package/dist/registry/stubs/workflows/reviewer/review-implementation-vs-design-spec.md +0 -11
  149. package/dist/registry/stubs/workflows/reviewer/review-implementation-vs-feature-spec.md +0 -11
  150. package/dist/registry/stubs/workflows/startup-credits/aws-activate-application.md +0 -11
  151. package/dist/registry/stubs/workflows/startup-credits/google-cloud-application.md +0 -11
  152. package/dist/registry/stubs/workflows/startup-credits/microsoft-azure-application.md +0 -11
  153. package/dist/registry/templates/bootstrap/ARCHITECTURE-TEMPLATE.md +0 -53
  154. package/dist/registry/templates/bootstrap/CODE-QUALITY-REPORT-TEMPLATE.md +0 -37
  155. package/dist/registry/templates/bootstrap/TEST-COVERAGE-REPORT-TEMPLATE.md +0 -35
  156. package/dist/registry/templates/business-development/IDEATION-REPORT-TEMPLATE.md +0 -29
  157. package/dist/registry/templates/business-development/PRICING-STRATEGY-TEMPLATE.md +0 -126
  158. package/dist/registry/templates/customer-development/customer-interview-template.md +0 -99
  159. package/dist/registry/templates/customer-development/customer-persona-template.md +0 -69
  160. package/dist/registry/templates/customer-development/follow-up-email-templates.md +0 -132
  161. package/dist/registry/templates/customer-development/insight-analysis-template.md +0 -74
  162. package/dist/registry/templates/customer-development/prospect-inventory-template.csv +0 -3
  163. package/dist/registry/templates/customer-development/search-strategy-template.md +0 -123
  164. package/dist/registry/templates/customer-development/strategic-recommendations-template.md +0 -53
  165. package/dist/registry/templates/customer-development/thank-you-email-template.html +0 -124
  166. package/dist/registry/templates/customer-development/thank-you-note-template.md +0 -16
  167. package/dist/registry/templates/customer-development/triage-log-template.md +0 -278
  168. package/dist/registry/templates/customer-development/weekly-newsletter-template.html +0 -204
  169. package/dist/registry/templates/evidence/Design-Evidence.md +0 -30
  170. package/dist/registry/templates/evidence/Implementation-BugEvidence.md +0 -122
  171. package/dist/registry/templates/evidence/Implementation-FeatureEvidence.md +0 -160
  172. package/dist/registry/templates/evidence/Spec-Evidence.md +0 -19
  173. package/dist/registry/templates/help/HelpNeeded.md +0 -14
  174. package/dist/registry/templates/legal/NDA-TEMPLATE.md +0 -170
  175. package/dist/registry/templates/legal/PATENT-TEMPLATE.md +0 -372
  176. package/dist/registry/templates/legal/TRADEMARK-TEMPLATE.md +0 -339
  177. package/dist/registry/templates/legal/contract-review-checklist.md +0 -193
  178. package/dist/registry/templates/legal/review-report-template.md +0 -198
  179. package/dist/registry/templates/legal/saas-terms-template.md +0 -174
  180. package/dist/registry/templates/legal/sow-template.md +0 -117
  181. package/dist/registry/templates/legal/template-variables.md +0 -131
  182. package/dist/registry/templates/marketing/DOMAIN-REGISTRATION-TEMPLATE.md +0 -194
  183. package/dist/registry/templates/marketing/EVANGELIZE-TEMPLATE.md +0 -102
  184. package/dist/registry/templates/marketing/HBR-ARTICLE-TEMPLATE.md +0 -66
  185. package/dist/registry/templates/marketing/STORYTELLING-TEMPLATE.md +0 -130
  186. package/dist/registry/templates/marketing/WEBSITE-TEMPLATE.md +0 -262
  187. package/dist/registry/templates/marketing/github-pages-workflow.yml +0 -64
  188. package/dist/registry/templates/replicate/implementation-checklist.md +0 -39
  189. package/dist/registry/templates/replicate/use-cases-template.md +0 -88
  190. package/dist/registry/templates/retrospective/RETROSPECTIVE-TEMPLATE.md +0 -55
  191. package/dist/registry/templates/specs/BUGSPEC-TEMPLATE.md +0 -37
  192. package/dist/registry/templates/specs/FEATURESPEC-TEMPLATE.md +0 -66
  193. package/dist/registry/templates/specs/TECHSPEC-TEMPLATE.md +0 -39
  194. package/dist/registry/workflows/azure/cost-optimization.md +0 -772
  195. package/dist/registry/workflows/bootstrap/create-architecture.md +0 -37
  196. package/dist/registry/workflows/bootstrap/detect-broken-windows.md +0 -300
  197. package/dist/registry/workflows/bootstrap/evaluate-code-quality.md +0 -35
  198. package/dist/registry/workflows/bootstrap/verify-test-coverage.md +0 -36
  199. package/dist/registry/workflows/brainstorming/blue-sky-brainstorming.md +0 -211
  200. package/dist/registry/workflows/brainstorming/codebase-brainstorming.md +0 -159
  201. package/dist/registry/workflows/business-development/create-business-plan.md +0 -737
  202. package/dist/registry/workflows/business-development/ideate-business-opportunity.md +0 -55
  203. package/dist/registry/workflows/business-development/price-product.md +0 -325
  204. package/dist/registry/workflows/compliance/detect-compliance-requirements.md +0 -80
  205. package/dist/registry/workflows/compliance/generate-audit-evidence.md +0 -80
  206. package/dist/registry/workflows/compliance/soc2-evidence-generator.md +0 -332
  207. package/dist/registry/workflows/customer-development/insight-analysis.md +0 -156
  208. package/dist/registry/workflows/customer-development/insight-triage.md +0 -933
  209. package/dist/registry/workflows/customer-development/interview-preparation.md +0 -452
  210. package/dist/registry/workflows/customer-development/linkedin-outreach.md +0 -599
  211. package/dist/registry/workflows/customer-development/strategic-brainstorming.md +0 -146
  212. package/dist/registry/workflows/customer-development/thank-customers.md +0 -203
  213. package/dist/registry/workflows/customer-development/user-survey-dispatch.md +0 -312
  214. package/dist/registry/workflows/customer-development/users-to-target.md +0 -427
  215. package/dist/registry/workflows/customer-development/weekly-newsletter.md +0 -366
  216. package/dist/registry/workflows/deploy/cloud-deployment.md +0 -310
  217. package/dist/registry/workflows/improve-fraim/contribute.md +0 -32
  218. package/dist/registry/workflows/improve-fraim/file-issue.md +0 -32
  219. package/dist/registry/workflows/learning/build-skillset.md +0 -212
  220. package/dist/registry/workflows/learning/synthesize-learnings.md +0 -369
  221. package/dist/registry/workflows/legal/contract-review-analysis.md +0 -382
  222. package/dist/registry/workflows/legal/nda.md +0 -69
  223. package/dist/registry/workflows/legal/patent-filing.md +0 -76
  224. package/dist/registry/workflows/legal/saas-contract-development.md +0 -204
  225. package/dist/registry/workflows/legal/trademark-filing.md +0 -77
  226. package/dist/registry/workflows/marketing/content-creation.md +0 -40
  227. package/dist/registry/workflows/marketing/convert-to-pdf.md +0 -265
  228. package/dist/registry/workflows/marketing/create-modern-website.md +0 -456
  229. package/dist/registry/workflows/marketing/domain-registration.md +0 -323
  230. package/dist/registry/workflows/marketing/evangelize.md +0 -426
  231. package/dist/registry/workflows/marketing/hbr-article.md +0 -73
  232. package/dist/registry/workflows/marketing/launch-checklist.md +0 -37
  233. package/dist/registry/workflows/marketing/marketing-strategy.md +0 -45
  234. package/dist/registry/workflows/marketing/storytelling.md +0 -65
  235. package/dist/registry/workflows/performance/analyze-performance.md +0 -65
  236. package/dist/registry/workflows/product-building/design.md +0 -263
  237. package/dist/registry/workflows/product-building/implement.md +0 -771
  238. package/dist/registry/workflows/product-building/iterate-on-pr-comments.md +0 -70
  239. package/dist/registry/workflows/product-building/prep-issue.md +0 -41
  240. package/dist/registry/workflows/product-building/prototype.md +0 -60
  241. package/dist/registry/workflows/product-building/resolve.md +0 -175
  242. package/dist/registry/workflows/product-building/retrospect.md +0 -86
  243. package/dist/registry/workflows/product-building/spec.md +0 -303
  244. package/dist/registry/workflows/product-building/test.md +0 -125
  245. package/dist/registry/workflows/productivity-report/productivity-report.md +0 -263
  246. package/dist/registry/workflows/quality-assurance/browser-validation.md +0 -221
  247. package/dist/registry/workflows/quality-assurance/iterative-improvement-cycle.md +0 -562
  248. package/dist/registry/workflows/replicate/replicate-discovery.md +0 -336
  249. package/dist/registry/workflows/replicate/replicate-to-issues.md +0 -319
  250. package/dist/registry/workflows/reviewer/review-implementation-vs-design-spec.md +0 -694
  251. package/dist/registry/workflows/reviewer/review-implementation-vs-feature-spec.md +0 -734
  252. package/dist/registry/workflows/startup-credits/aws-activate-application.md +0 -535
  253. package/dist/registry/workflows/startup-credits/google-cloud-application.md +0 -647
  254. package/dist/registry/workflows/startup-credits/microsoft-azure-application.md +0 -538
@@ -1,32 +0,0 @@
1
- # Workflow: File Issue for FRAIM
2
-
3
- **Path:** `workflows/improve-fraim/file-issue.md`
4
-
5
- ---
6
-
7
- # File Issue Workflow
8
-
9
- ## INTENT
10
- Allows users to easily file bugs or feature requests for the FRAIM framework directly from their working environment.
11
-
12
- ## STEPS
13
-
14
- ### Step 1: Gather Information
15
- 1. Ask the user to describe the **Issue** (Bug or Feature Request).
16
- - Example: "Please describe the bug you encountered or the feature you would like to request."
17
-
18
- ### Step 2: Categorization (Optional)
19
- Ask if this is a **Bug** or a **Feature**.
20
- - If Bug: Use label `bug`.
21
- - If Feature: Use label `enhancement`.
22
- - Default: `triage`.
23
-
24
- ### Step 3: Execute Issue Filing
25
- Call the `file_issue` tool with the details gathered.
26
-
27
- - `title`: `"[ISSUE]: <Short Summary>"`
28
- - `body`: `"<Full Description>"`
29
- - `labels`: `["<bug/enhancement>"]`
30
-
31
- ### Step 4: Completion
32
- Notify the user that the issue has been filed successfully. Summarize the information (title and body) that was filed. Do not provide the issue number or URL.
@@ -1,212 +0,0 @@
1
- # Workflow: build-skillset
2
-
3
- **Path:** `workflows/learning/build-skillset.md`
4
-
5
- ---
6
-
7
- # Build Skillset
8
-
9
- ## INTENT
10
- Create new project-specific skills through conversation with the user. This workflow allows agents to learn and document custom workflows, processes, and knowledge that are specific to the current project or team.
11
-
12
- ## PRINCIPLES
13
- - **Conversational Learning**: Learn through natural dialogue with the user
14
- - **Project-Specific**: Focus on skills unique to this project/team
15
- - **Structured Documentation**: Create well-formatted, reusable skill documents
16
- - **Iterative Refinement**: Allow for feedback and improvement of skills
17
- - **Knowledge Persistence**: Store skills locally for future use
18
-
19
- ## WORKFLOW
20
-
21
- ### Phase 1: Skill Discovery
22
- **Objective**: Understand what skill the user wants to create
23
-
24
- **Actions**:
25
- 1. **Initiate Conversation**: Ask the user what skill they want to build
26
- - "What process or workflow would you like me to learn?"
27
- - "What makes this unique to your project/team?"
28
- - "What are the key steps or considerations?"
29
-
30
- 2. **Gather Context**: Ask clarifying questions
31
- - Tools and technologies involved
32
- - Common pain points or challenges
33
- - Success criteria and outcomes
34
- - Frequency of use
35
- - Team members involved
36
-
37
- 3. **Research Existing Skills**: Check if similar workflows exist
38
- - Search registry workflows for related patterns using get_fraim_file()
39
- - Check local learned-skills directory for existing custom skills
40
- - Identify gaps or unique aspects
41
-
42
- **Output**: Clear understanding of the skill to be created
43
-
44
- ### Phase 2: Skill Design
45
- **Objective**: Design the structure and content of the new skill
46
-
47
- **Actions**:
48
- 1. **Present Draft Structure**: Show the user a proposed workflow outline
49
- - Intent and principles
50
- - Key phases or steps
51
- - Tools and resources needed
52
- - Success criteria
53
-
54
- 2. **Gather Feedback**: Iterate on the structure
55
- - "Does this capture your process correctly?"
56
- - "What am I missing?"
57
- - "Are these the right steps?"
58
-
59
- 3. **Refine Content**: Incorporate user feedback
60
- - Add missing steps
61
- - Clarify ambiguous points
62
- - Include specific examples
63
- - Add project-specific context
64
-
65
- **Output**: Approved skill structure and content
66
-
67
- ### Phase 3: Skill Implementation
68
- **Objective**: Create the skill document in the learned-skills directory
69
-
70
- **Actions**:
71
- 1. **Create Directory Structure**: Ensure proper organization in local project
72
- ```
73
- Local learned-skills directory structure:
74
- ├── [category]/
75
- │ └── [skill-name].md
76
- ```
77
-
78
- 2. **Write Skill Document**: Follow standard workflow format
79
- - Title and metadata
80
- - Intent and principles
81
- - Detailed workflow steps
82
- - Examples and templates
83
- - Success criteria
84
-
85
- 3. **Validate Format**: Ensure consistency with existing workflows
86
- - Use similar structure to registry workflows
87
- - Include proper markdown formatting
88
- - Add relevant metadata
89
-
90
- **Output**: Complete skill document in local learned-skills directory
91
-
92
- ### Phase 4: Skill Integration
93
- **Objective**: Make the skill discoverable and usable
94
-
95
- **Actions**:
96
- 1. **Test Accessibility**: Verify the skill can be found
97
- - Confirm file is in correct location
98
- - Test that content is readable
99
- - Validate markdown formatting
100
-
101
- 2. **Present to User**: Show the completed skill
102
- - Walk through the final document
103
- - Confirm it meets expectations
104
- - Note how to access it in future
105
-
106
- **Output**: Integrated, accessible skill ready for use
107
-
108
- ## SKILL DOCUMENT TEMPLATE
109
-
110
- ```markdown
111
- # Learned Skill: {skill-name}
112
-
113
- **Category:** {category}
114
- **Created:** {date}
115
- **Last Updated:** {date}
116
- **Project Context:** {project-specific context}
117
-
118
- ---
119
-
120
- ## INTENT
121
- {What this skill accomplishes and why it's needed}
122
-
123
- ## PRINCIPLES
124
- - {Key principle 1}
125
- - {Key principle 2}
126
- - {Key principle 3}
127
-
128
- ## WORKFLOW
129
-
130
- ### Step 1: {Step Name}
131
- **Objective**: {What this step accomplishes}
132
-
133
- **Actions**:
134
- 1. {Specific action}
135
- 2. {Specific action}
136
- 3. {Specific action}
137
-
138
- **Tools/Resources**:
139
- - {Tool or resource needed}
140
- - {Tool or resource needed}
141
-
142
- **Output**: {What this step produces}
143
-
144
- ### Step 2: {Step Name}
145
- {Similar format}
146
-
147
- ## EXAMPLES
148
-
149
- ### Good Example
150
- {Concrete example of successful execution}
151
-
152
- ### Common Pitfalls
153
- {Things to avoid or watch out for}
154
-
155
- ## SUCCESS CRITERIA
156
- - [ ] {Measurable outcome 1}
157
- - [ ] {Measurable outcome 2}
158
- - [ ] {Measurable outcome 3}
159
-
160
- ## NOTES
161
- {Any additional context, tips, or considerations}
162
- ```
163
-
164
- ## DIRECTORY STRUCTURE
165
-
166
- Learned skills are organized by category in the local project:
167
-
168
- ```
169
- Local learned-skills directory structure:
170
- ├── deployment/
171
- │ ├── our-k8s-deployment.md
172
- │ └── staging-validation.md
173
- ├── code-review/
174
- │ ├── security-focused-review.md
175
- │ └── performance-review.md
176
- ├── testing/
177
- │ ├── integration-test-strategy.md
178
- │ └── load-testing-protocol.md
179
- ├── communication/
180
- │ ├── stakeholder-updates.md
181
- │ └── incident-response.md
182
- └── tools/
183
- ├── custom-cli-usage.md
184
- └── monitoring-setup.md
185
- ```
186
-
187
- ## CONVERSATION EXAMPLES
188
-
189
- ### Example 1: Deployment Process
190
- ```
191
- Agent: "What process would you like me to learn?"
192
- User: "Our deployment process is pretty specific - we use a custom K8s setup with manual approval gates"
193
- Agent: "Tell me more about these approval gates. Who approves and what do they check?"
194
- User: "The tech lead reviews the staging deployment, then ops approves production"
195
- Agent: "What tools do you use for the deployments?"
196
- User: "kubectl, our custom deploy script, and Slack for notifications"
197
- Agent: "Here's what I understand... [presents draft workflow]"
198
- User: "That's mostly right, but you missed the database migration step"
199
- Agent: "Got it, let me add that. Where does that fit in the process?"
200
- ```
201
-
202
- ### Example 2: Code Review Standards
203
- ```
204
- Agent: "What skill should I learn?"
205
- User: "We have specific code review standards that aren't documented anywhere"
206
- Agent: "What makes your code reviews different from standard practices?"
207
- User: "We focus heavily on security since we handle financial data"
208
- Agent: "What specific security checks do reviewers perform?"
209
- User: "SQL injection prevention, input validation, audit logging..."
210
- Agent: "How do you handle performance reviews?"
211
- User: "Every PR that touches the API gets a performance review"
212
- ```
@@ -1,369 +0,0 @@
1
- # Workflow: synthesize-learnings
2
-
3
- **Path:** `workflows/learning/synthesize-learnings.md`
4
-
5
- ---
6
-
7
- # Synthesize Learnings
8
-
9
- ## INTENT
10
- Analyze accumulated retrospectives and feedback to identify patterns, update agent rules, and prioritize common issues. This is the "sleep synthesis" moment where the system consolidates learning across all agents.
11
-
12
- ## PRINCIPLES
13
- - **Pattern Recognition**: Identify recurring themes across multiple retrospectives
14
- - **Evidence-Based Updates**: Only update rules based on statistically significant patterns
15
- - **Priority Adjustment**: Elevate common issues, deprioritize rare ones
16
- - **Continuous Improvement**: System gets smarter with each synthesis cycle
17
-
18
- ## WORKFLOW
19
-
20
- ### Phase 1: Preparation and Scope Analysis
21
- **Objective**: Determine what retrospectives and feedback to analyze
22
-
23
- **Actions**:
24
- 1. **Check Last Synthesis**: Last synthesis date: {{config.lastSynthesisDate | "Check all retrospectives and evidence files for learnings"}}
25
- 2. **Scan Retrospectives**: Find all files in `retrospectives/` modified after last synthesis date (if available)
26
- 3. **Scan Evidence**: Find all files in `docs/evidence/` with feedback sections modified after last synthesis date (if available)
27
- 4. **Validate Scope**: Ensure minimum threshold (e.g., 5+ retrospectives) for meaningful analysis
28
-
29
- **Output**: List of files to analyze and date range
30
-
31
- ### Phase 2: Pattern Extraction
32
- **Objective**: Extract learnings, patterns, and feedback themes
33
-
34
- **Analysis Categories**:
35
-
36
- #### A. Failure Patterns
37
- - **Root Causes**: What went wrong and why
38
- - **Phase-Specific Issues**: Which phases have highest failure rates
39
- - **Common Mistakes**: Recurring errors across different agents
40
- - **Context Patterns**: Types of issues that lead to specific failures
41
-
42
- #### B. Success Factors
43
- - **What Worked Well**: Patterns from successful implementations
44
- - **Effective Approaches**: Techniques that consistently work
45
- - **Time Efficiency**: Patterns that lead to faster completion
46
- - **Quality Indicators**: What correlates with high-quality outcomes
47
-
48
- #### C. Feedback Analysis
49
- - **User Feedback Themes**: Common types of feedback received
50
- - **PR Comment Patterns**: Recurring review comments
51
- - **Learning Gaps**: Areas where agents consistently need guidance
52
- - **Communication Issues**: Misunderstandings between agents and users
53
-
54
- **Extraction Process**:
55
- 1. **Text Analysis**: Parse retrospectives for key sections (Root Cause, Lessons Learned, etc.)
56
- 2. **Frequency Counting**: Count occurrences of similar patterns
57
- 3. **Categorization**: Group related patterns together
58
- 4. **Impact Assessment**: Evaluate severity and frequency of each pattern
59
-
60
- ### Phase 3: Rule Enhancement
61
- **Objective**: Update existing rules and create new ones based on patterns
62
-
63
- **Rule Update Categories**:
64
-
65
- #### A. High Priority Updates (>60% occurrence)
66
- - **Mandatory Rule Changes**: Update existing rules with new requirements
67
- - **New Critical Rules**: Create rules for newly identified critical patterns
68
- - **Phase Instruction Updates**: Enhance phase-specific guidance
69
-
70
- #### B. Medium Priority Updates (30-60% occurrence)
71
- - **Guideline Enhancements**: Add warnings and best practices
72
- - **Template Updates**: Improve evidence and retrospective templates
73
- - **Workflow Refinements**: Adjust workflow steps based on learnings
74
-
75
- #### C. Emerging Patterns (20-30% occurrence)
76
- - **Watch List**: Track patterns that may become significant
77
- - **Experimental Guidelines**: Test new approaches
78
- - **Research Areas**: Identify areas needing further investigation
79
-
80
- **Update Process**:
81
- 1. **Identify Target Rules**: Determine which rule files need updates
82
- 2. **Draft Enhancements**: Create specific rule additions/modifications
83
- 3. **Validate Changes**: Ensure new rules don't conflict with existing ones
84
- 4. **Apply Updates**: Modify rule files with new guidance
85
-
86
- ### Phase 4: Priority Adjustment
87
- **Objective**: Update system priorities based on pattern frequency and impact
88
-
89
- **Priority Categories**:
90
-
91
- #### A. Critical Priorities (Immediate Attention)
92
- - Issues affecting >60% of implementations
93
- - High-impact failures (complete rework required)
94
- - Safety/security concerns
95
- - User satisfaction issues
96
-
97
- #### B. Important Priorities (Regular Attention)
98
- - Issues affecting 30-60% of implementations
99
- - Medium-impact failures (significant rework)
100
- - Efficiency improvements
101
- - Quality enhancements
102
-
103
- #### C. Monitor Priorities (Periodic Attention)
104
- - Issues affecting 10-30% of implementations
105
- - Low-impact failures (minor adjustments)
106
- - Nice-to-have improvements
107
- - Experimental features
108
-
109
- **Priority Updates**:
110
- 1. **Update Config**: Modify `.fraim/config.json` with new priority rankings
111
- 2. **Adjust Workflows**: Emphasize high-priority areas in workflow instructions
112
- 3. **Update Templates**: Add priority-based guidance to templates
113
-
114
- ### Phase 5: Documentation and Distribution
115
- **Objective**: Document synthesis results and distribute learnings
116
-
117
- **Outputs**:
118
- 1. **Synthesis Report**: Comprehensive analysis of patterns and changes made
119
- 2. **Updated Rules**: Modified rule files with new guidance
120
- 3. **Prioritized Learnings File**: Amalgamated learnings across all retrospectives
121
- 4. **Priority Dashboard**: Summary of current system priorities
122
- 5. **Change Log**: Record of all modifications made
123
-
124
- **CRITICAL - Prioritized Learnings Amalgamation**:
125
-
126
- The `.fraim/prioritized-learnings.md` file must be **amalgamated**, not overwritten:
127
-
128
- 1. **Check if file exists**:
129
- - If YES: Read the existing file completely
130
- - If NO: Create new file with current analysis
131
-
132
- 2. **If file exists, amalgamate**:
133
- - **Extract previous data**:
134
- - Previous total retrospective count
135
- - Previous pattern frequencies (actual counts, not percentages)
136
- - Previous examples and learnings
137
- - **Combine with new analysis**:
138
- - Add previous retrospective count to new count for total
139
- - Add previous pattern occurrences to new occurrences
140
- - Recalculate percentages based on TOTAL retrospectives
141
- - Merge examples (keep best examples from both)
142
- - **Update metadata**:
143
- - Set "Last Updated" to current date
144
- - Set "Total Retrospectives Analyzed" to combined count
145
- - Note both synthesis dates in metadata
146
-
147
- 3. **Example amalgamation**:
148
- ```
149
- Previous synthesis (2026-01-30):
150
- - 5 retrospectives analyzed
151
- - Context Blindness: 3 occurrences (60%)
152
-
153
- Current synthesis (2026-02-10):
154
- - 6 retrospectives analyzed
155
- - Context Blindness: 5 occurrences (83%)
156
-
157
- Amalgamated result:
158
- - 11 total retrospectives (5 + 6)
159
- - Context Blindness: 8 occurrences (3 + 5 = 73%)
160
- ```
161
-
162
- 4. **Pattern priority recalculation**:
163
- - Recalculate ALL percentages based on total retrospective count
164
- - Patterns may move between priority categories (Critical/Important/Monitor)
165
- - Update category headers accordingly
166
-
167
- **Distribution**:
168
- 1. **Update Config**: Record synthesis completion date in `.fraim/config.json`
169
- 2. **Sync Rules**: Ensure updated rules are distributed to all agents
170
- 3. **Notify Stakeholders**: Create summary for human oversight
171
- 4. **Archive Results**: Store synthesis report for future reference
172
-
173
- ## SYNTHESIS REPORT TEMPLATE
174
-
175
- ```markdown
176
- # Learning Synthesis Report - {Date}
177
-
178
- ## Analysis Scope
179
- - **Period**: {start_date} to {end_date}
180
- - **Retrospectives Analyzed**: {count}
181
- - **Evidence Files Reviewed**: {count}
182
- - **Total Issues Covered**: {count}
183
-
184
- ## Pattern Analysis
185
-
186
- ### Critical Patterns (>60% occurrence)
187
- 1. **{Pattern Name}**: {frequency}% occurrence
188
- - **Description**: {what happens}
189
- - **Impact**: {consequences}
190
- - **Rule Update**: {what was changed}
191
-
192
- ### Important Patterns (30-60% occurrence)
193
- [Similar format]
194
-
195
- ### Emerging Patterns (20-30% occurrence)
196
- [Similar format]
197
-
198
- ## Rule Updates Made
199
- - **{Rule File}**: {description of changes}
200
- - **{Phase File}**: {description of enhancements}
201
-
202
- ## Priority Adjustments
203
- - **Elevated to Critical**: {list}
204
- - **Elevated to Important**: {list}
205
- - **Demoted**: {list}
206
-
207
- ## Recommendations
208
- 1. **Immediate Actions**: {high-priority items}
209
- 2. **Medium-term Focus**: {important improvements}
210
- 3. **Long-term Considerations**: {strategic changes}
211
-
212
- ## Next Synthesis
213
- - **Recommended Date**: {date}
214
- - **Focus Areas**: {areas to watch}
215
- ```
216
-
217
- ## CONFIG.JSON INTEGRATION
218
-
219
- Add to `.fraim/config.json`:
220
-
221
- ```json
222
- {
223
- "learning": {
224
- "lastSynthesisDate": "2026-01-30T10:00:00Z"
225
- }
226
- }
227
- ```
228
-
229
- ## PRIORITIZED LEARNINGS FILE
230
-
231
- **IMPORTANT**: The `prioritized-learnings.md` file lives in the user's local project directory at `.fraim/prioritized-learnings.md` (project-specific), not in the registry (global). It contains learnings from that project's retrospectives.
232
-
233
- **File Location**: `.fraim/prioritized-learnings.md` (in user's project directory)
234
-
235
- **Amalgamation Requirement**:
236
- - If file exists: Read existing content, amalgamate with new analysis, recalculate frequencies across ALL retrospectives
237
- - If file doesn't exist: Create new file with current analysis
238
-
239
- **Template Structure** (adapt based on actual patterns found):
240
-
241
- ```markdown
242
- # Prioritized Learnings
243
-
244
- **Last Updated**: {current_date}
245
- **Analysis Period**: {first_retro_date} to {last_retro_date}
246
- **Total Retrospectives Analyzed**: {total_count} ({previous_count} from prior synthesis + {new_count} from current synthesis)
247
-
248
- ## Critical Priorities (>60% occurrence)
249
-
250
- ### {Pattern Name} ({percentage}% occurrence)
251
- **Pattern**: {brief description}
252
-
253
- **Frequency**: {count} out of {total} retrospectives
254
-
255
- **Examples**:
256
- - {example 1}
257
- - {example 2}
258
- - {example 3}
259
-
260
- **Impact**:
261
- - {impact 1}
262
- - {impact 2}
263
-
264
- **How to Avoid**:
265
- 1. {actionable step 1}
266
- 2. {actionable step 2}
267
- 3. {actionable step 3}
268
-
269
- **Rule Updates**:
270
- - {rule file}: {what was changed}
271
-
272
- ## Important Priorities (30-60% occurrence)
273
-
274
- {Similar format}
275
-
276
- ## Monitor Priorities (10-30% occurrence)
277
-
278
- {Similar format}
279
-
280
- ## Pattern Thresholds
281
- - **Critical**: ≥60% occurrence
282
- - **Important**: 30-59% occurrence
283
- - **Monitor**: 10-29% occurrence
284
- - **Minimum Analysis**: 5+ retrospectives
285
-
286
- ## Success Factors (What's Working Well)
287
-
288
- ### {Success Pattern} ({percentage}% occurrence)
289
- - {what's working}
290
- - **Keep doing this!**
291
-
292
- ## Next Synthesis
293
- **Recommended Date**: {date}
294
- **Focus Areas**: {areas to watch}
295
-
296
- ## How to Use This File
297
-
298
- **Before starting any work**:
299
- 1. Read the Critical Priorities section
300
- 2. Ask yourself the verification questions
301
- 3. Check if your issue type matches any patterns
302
-
303
- **During implementation**:
304
- 1. Refer back to "How to Avoid" sections
305
- 2. Use verification checklists
306
- 3. Inspect your outputs manually
307
-
308
- **After completion**:
309
- 1. Check if you avoided the common patterns
310
- 2. Write a retrospective if you hit any patterns
311
- 3. Help improve this file with new learnings
312
- ```
313
-
314
- **Note**: The specific patterns, percentages, and examples will vary based on actual retrospective analysis. The above is a template showing the structure, not prescriptive content.
315
-
316
- ## RULE ENHANCEMENT TARGETS
317
-
318
- **Note**: The specific rule files to update will vary based on actual pattern analysis. The examples below show the types of rules that might be enhanced, not prescriptive targets.
319
-
320
- **Common Rule Enhancement Categories**:
321
-
322
- ### Core Rules (Examples)
323
- - `mandatory-pre-completion-reflection.md`: Add pattern-specific reflection questions
324
- - `agent-testing-guidelines.md`: Include common testing failure patterns
325
- - `code-quality-and-debugging-patterns.md`: Add newly identified quality issues
326
- - `integrity-and-test-ethics.md`: Add fabrication prevention guidance
327
-
328
- ### Phase Rules (Examples)
329
- - `implement-scoping.md`: Add common scoping mistakes
330
- - `implement-validate.md`: Include validation patterns that work
331
- - `implement-code.md`: Add coding patterns and anti-patterns
332
-
333
- ### New Rules (Created Only When Needed)
334
- - Create new rule files only when patterns don't fit existing rules
335
- - Prefer enhancing existing rules over creating new ones
336
- - New rules should address significant gaps in current guidance
337
-
338
- **Selection Process**:
339
- 1. Identify which patterns need rule updates
340
- 2. Find existing rules that cover related topics
341
- 3. Enhance existing rules first
342
- 4. Create new rules only for novel pattern categories
343
-
344
- ## EXECUTION FREQUENCY
345
-
346
- **Recommended Schedule**:
347
- - **Weekly**: For active development periods
348
- - **Bi-weekly**: For stable periods
349
- - **Monthly**: For maintenance periods
350
- - **On-demand**: After significant issues or major changes
351
-
352
- ## SUCCESS METRICS
353
-
354
- 1. **Pattern Recognition**: % of patterns successfully identified and addressed
355
- 2. **Rule Effectiveness**: Reduction in occurrence of addressed patterns
356
- 3. **Agent Performance**: Improvement in success rates and time-to-completion
357
- 4. **Feedback Quality**: Reduction in repeated feedback themes
358
- 5. **System Evolution**: Continuous improvement in overall system effectiveness
359
-
360
- ## SUMMARY
361
-
362
- The synthesize-learnings workflow creates a continuous improvement loop where:
363
- 1. **Patterns are identified** from retrospectives and feedback
364
- 2. **Rules are enhanced** based on statistical evidence
365
- 3. **Priorities are adjusted** to focus on common issues
366
- 4. **System gets smarter** with each synthesis cycle
367
- 5. **Agents benefit** from accumulated organizational learning
368
-
369
- This transforms individual agent experiences into system-wide intelligence, creating a learning organization that continuously improves its effectiveness.