@mind-fold/open-flow 0.1.8 → 0.1.9

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.
package/README.md CHANGED
@@ -77,6 +77,7 @@ your-project/
77
77
  | `/check-frontend` | Check frontend code against guidelines |
78
78
  | `/check-backend` | Check backend code against guidelines |
79
79
  | `/record-agent-flow` | Record work progress (after human commits) |
80
+ | `/record-question` | Document a solved problem for future reference |
80
81
  | `/onboard-developer` | Guide new developer through setup |
81
82
  | `/update-frontend-structure` | Update frontend guidelines if new patterns found |
82
83
  | `/update-backend-structure` | Update backend guidelines if new patterns found |
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/configurators/templates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,gBAAgB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACtB;AAED,wBAAgB,mBAAmB,IAAI,gBAAgB,CActD"}
1
+ {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/configurators/templates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,gBAAgB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACtB;AAED,wBAAgB,mBAAmB,IAAI,gBAAgB,CAetD"}
@@ -8,6 +8,7 @@ export function getCommandTemplates() {
8
8
  "check-frontend": getCheckFrontendTemplate(),
9
9
  "check-backend": getCheckBackendTemplate(),
10
10
  "record-agent-flow": getRecordAgentFlowTemplate(),
11
+ "record-question": getRecordQuestionTemplate(),
11
12
  "onboard-developer": getOnboardDeveloperTemplate(),
12
13
  "generate-frontend-structure": getGenerateFrontendStructureTemplate(),
13
14
  "generate-backend-structure": getGenerateBackendStructureTemplate(),
@@ -802,4 +803,44 @@ Execute these steps:
802
803
  Only update if there are genuine new patterns worth documenting.
803
804
  `;
804
805
  }
806
+ function getRecordQuestionTemplate() {
807
+ return `Record the problem you just solved in \`workflow/big-question/\` directory.
808
+
809
+ Create a new markdown file with a descriptive name (e.g., \`issue-name.md\`) that documents:
810
+
811
+ 1. **Problem Description**: What was the issue?
812
+ 2. **Initial Attempts**: What did you try first?
813
+ 3. **Why Initial Attempts Failed**: Why didn't the first approaches work?
814
+ 4. **Final Solution**: What ultimately solved the problem?
815
+ 5. **Why It Worked**: What made this solution effective?
816
+ 6. **Key Insight**: How did you arrive at this solution? What was the "aha" moment?
817
+
818
+ This creates a knowledge base of solved problems for future reference, helping you and other developers avoid the same pitfalls.
819
+
820
+ **Format**:
821
+ \`\`\`markdown
822
+ # [Problem Title]
823
+
824
+ ## Problem Description
825
+ [Describe the issue clearly]
826
+
827
+ ## Initial Attempts
828
+ 1. [First attempt]
829
+ 2. [Second attempt]
830
+ ...
831
+
832
+ ## Why Initial Attempts Failed
833
+ [Explain why each attempt didn't work]
834
+
835
+ ## Final Solution
836
+ [Describe what fixed the problem]
837
+
838
+ ## Why It Worked
839
+ [Explain the root cause and why this solution addresses it]
840
+
841
+ ## Key Insight
842
+ [What did you learn? How can this be applied in the future?]
843
+ \`\`\`
844
+ `;
845
+ }
805
846
  //# sourceMappingURL=templates.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/configurators/templates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,UAAU,mBAAmB;IAClC,OAAO;QACN,YAAY,EAAE,oBAAoB,EAAE;QACpC,gBAAgB,EAAE,wBAAwB,EAAE;QAC5C,eAAe,EAAE,uBAAuB,EAAE;QAC1C,mBAAmB,EAAE,0BAA0B,EAAE;QACjD,mBAAmB,EAAE,2BAA2B,EAAE;QAClD,6BAA6B,EAAE,oCAAoC,EAAE;QACrE,4BAA4B,EAAE,mCAAmC,EAAE;QACnE,qBAAqB,EAAE,4BAA4B,EAAE;QACrD,oBAAoB,EAAE,2BAA2B,EAAE;QACnD,2BAA2B,EAAE,kCAAkC,EAAE;QACjE,0BAA0B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;;;;;;;;;;;;;CAoVP,CAAC;AACF,CAAC;AAED,SAAS,4BAA4B;IACpC,OAAO;;;;;;;;;CASP,CAAC;AACF,CAAC;AAED,SAAS,2BAA2B;IACnC,OAAO;;;;;;;;;CASP,CAAC;AACF,CAAC;AAED,SAAS,kCAAkC;IAC1C,OAAO;;;;;;;;;;;;;;;CAeP,CAAC;AACF,CAAC;AAED,SAAS,iCAAiC;IACzC,OAAO;;;;;;;;;;;;;;;CAeP,CAAC;AACF,CAAC"}
1
+ {"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/configurators/templates.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,UAAU,mBAAmB;IAClC,OAAO;QACN,YAAY,EAAE,oBAAoB,EAAE;QACpC,gBAAgB,EAAE,wBAAwB,EAAE;QAC5C,eAAe,EAAE,uBAAuB,EAAE;QAC1C,mBAAmB,EAAE,0BAA0B,EAAE;QACjD,iBAAiB,EAAE,yBAAyB,EAAE;QAC9C,mBAAmB,EAAE,2BAA2B,EAAE;QAClD,6BAA6B,EAAE,oCAAoC,EAAE;QACrE,4BAA4B,EAAE,mCAAmC,EAAE;QACnE,qBAAqB,EAAE,4BAA4B,EAAE;QACrD,oBAAoB,EAAE,2BAA2B,EAAE;QACnD,2BAA2B,EAAE,kCAAkC,EAAE;QACjE,0BAA0B,EAAE,iCAAiC,EAAE;KAC/D,CAAC;AACH,CAAC;AAED,SAAS,oBAAoB;IAC5B,OAAO;;;;;;;;;CASP,CAAC;AACF,CAAC;AAED,SAAS,wBAAwB;IAChC,OAAO;;;;;;;;CAQP,CAAC;AACF,CAAC;AAED,SAAS,uBAAuB;IAC/B,OAAO;;;;;;;;CAQP,CAAC;AACF,CAAC;AAED,SAAS,0BAA0B;IAClC,OAAO;;;;;;;;;;;;;;;;;;;CAmBP,CAAC;AACF,CAAC;AAED,SAAS,2BAA2B;IACnC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAwBP,CAAC;AACF,CAAC;AAED,SAA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C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mind-fold/open-flow",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "AI-assisted development workflow initializer for Cursor, Claude Code and more",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",