fraim-framework 2.0.55 → 2.0.56
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/dist/registry/ai-manager-rules/customer-development-phases/phase1-customer-profiling.md +101 -0
- package/dist/registry/ai-manager-rules/customer-development-phases/phase2-platform-discovery.md +235 -0
- package/dist/registry/ai-manager-rules/customer-development-phases/phase3-prospect-qualification.md +243 -0
- package/dist/registry/ai-manager-rules/customer-development-phases/phase4-inventory-compilation.md +206 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase1-survey-scoping.md +60 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase2-survey-build-linkedin.md +23 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase3-survey-build-reddit.md +22 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase4-survey-build-x.md +21 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase5-survey-build-facebook.md +19 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase6-survey-build-custom.md +15 -0
- package/dist/registry/ai-manager-rules/user-survey-phases/phase7-survey-dispatch.md +45 -0
- package/dist/registry/templates/bootstrap/ARCHITECTURE-TEMPLATE.md +53 -0
- package/dist/registry/templates/bootstrap/CODE-QUALITY-REPORT-TEMPLATE.md +37 -0
- package/dist/registry/templates/bootstrap/TEST-COVERAGE-REPORT-TEMPLATE.md +35 -0
- package/dist/registry/templates/business-development/IDEATION-REPORT-TEMPLATE.md +29 -0
- package/dist/registry/templates/business-development/PRICING-STRATEGY-TEMPLATE.md +126 -0
- package/dist/registry/templates/customer-development/customer-interview-template.md +99 -0
- package/dist/registry/templates/customer-development/customer-persona-template.md +69 -0
- package/dist/registry/templates/customer-development/follow-up-email-templates.md +132 -0
- package/dist/registry/templates/customer-development/insight-analysis-template.md +74 -0
- package/dist/registry/templates/customer-development/prospect-inventory-template.csv +3 -0
- package/dist/registry/templates/customer-development/search-strategy-template.md +123 -0
- package/dist/registry/templates/customer-development/strategic-recommendations-template.md +53 -0
- package/dist/registry/templates/customer-development/thank-you-email-template.html +124 -0
- package/dist/registry/templates/customer-development/thank-you-note-template.md +16 -0
- package/dist/registry/templates/customer-development/triage-log-template.md +278 -0
- package/dist/registry/templates/customer-development/weekly-newsletter-template.html +204 -0
- package/dist/registry/templates/evidence/Design-Evidence.md +30 -0
- package/dist/registry/templates/evidence/Implementation-BugEvidence.md +94 -0
- package/dist/registry/templates/evidence/Implementation-FeatureEvidence.md +129 -0
- package/dist/registry/templates/evidence/Spec-Evidence.md +19 -0
- package/dist/registry/templates/help/HelpNeeded.md +14 -0
- package/dist/registry/templates/legal/NDA-TEMPLATE.md +170 -0
- package/dist/registry/templates/legal/PATENT-TEMPLATE.md +372 -0
- package/dist/registry/templates/legal/TRADEMARK-TEMPLATE.md +339 -0
- package/dist/registry/templates/legal/contract-review-checklist.md +193 -0
- package/dist/registry/templates/legal/review-report-template.md +198 -0
- package/dist/registry/templates/legal/saas-terms-template.md +174 -0
- package/dist/registry/templates/legal/sow-template.md +117 -0
- package/dist/registry/templates/legal/template-variables.md +131 -0
- package/dist/registry/templates/marketing/DOMAIN-REGISTRATION-TEMPLATE.md +194 -0
- package/dist/registry/templates/marketing/HBR-ARTICLE-TEMPLATE.md +66 -0
- package/dist/registry/templates/marketing/STORYTELLING-TEMPLATE.md +130 -0
- package/dist/registry/templates/marketing/WEBSITE-TEMPLATE.md +262 -0
- package/dist/registry/templates/marketing/github-pages-workflow.yml +64 -0
- package/dist/registry/templates/replicate/implementation-checklist.md +39 -0
- package/dist/registry/templates/replicate/use-cases-template.md +88 -0
- package/dist/registry/templates/retrospective/RETROSPECTIVE-TEMPLATE.md +55 -0
- package/dist/registry/templates/specs/BUGSPEC-TEMPLATE.md +37 -0
- package/dist/registry/templates/specs/FEATURESPEC-TEMPLATE.md +66 -0
- package/dist/registry/templates/specs/TECHSPEC-TEMPLATE.md +39 -0
- package/dist/registry/workflows/bootstrap/create-architecture.md +38 -0
- package/dist/registry/workflows/bootstrap/detect-broken-windows.md +300 -0
- package/dist/registry/workflows/bootstrap/evaluate-code-quality.md +35 -0
- package/dist/registry/workflows/bootstrap/verify-test-coverage.md +36 -0
- package/dist/registry/workflows/brainstorming/blue-sky-brainstorming.md +211 -0
- package/dist/registry/workflows/brainstorming/codebase-brainstorming.md +165 -0
- package/dist/registry/workflows/business-development/create-business-plan.md +737 -0
- package/dist/registry/workflows/business-development/ideate-business-opportunity.md +55 -0
- package/dist/registry/workflows/business-development/price-product.md +325 -0
- package/dist/registry/workflows/compliance/detect-compliance-requirements.md +78 -0
- package/dist/registry/workflows/compliance/generate-audit-evidence.md +75 -0
- package/dist/registry/workflows/compliance/soc2-evidence-generator.md +332 -0
- package/dist/registry/workflows/customer-development/insight-analysis.md +156 -0
- package/dist/registry/workflows/customer-development/insight-triage.md +938 -0
- package/dist/registry/workflows/customer-development/interview-preparation.md +452 -0
- package/dist/registry/workflows/customer-development/linkedin-outreach.md +593 -0
- package/dist/registry/workflows/customer-development/strategic-brainstorming.md +146 -0
- package/dist/registry/workflows/customer-development/thank-customers.md +203 -0
- package/dist/registry/workflows/customer-development/user-survey-dispatch.md +60 -0
- package/dist/registry/workflows/customer-development/users-to-target.md +112 -0
- package/dist/registry/workflows/customer-development/weekly-newsletter.md +366 -0
- package/dist/registry/workflows/deploy/cloud-deployment.md +310 -0
- package/dist/registry/workflows/improve-fraim/contribute.md +32 -0
- package/dist/registry/workflows/improve-fraim/file-issue.md +32 -0
- package/dist/registry/workflows/learning/build-skillset.md +212 -0
- package/dist/registry/workflows/learning/synthesize-learnings.md +284 -0
- package/dist/registry/workflows/legal/contract-review-analysis.md +382 -0
- package/dist/registry/workflows/legal/nda.md +69 -0
- package/dist/registry/workflows/legal/patent-filing.md +76 -0
- package/dist/registry/workflows/legal/saas-contract-development.md +213 -0
- package/dist/registry/workflows/legal/trademark-filing.md +77 -0
- package/dist/registry/workflows/marketing/content-creation.md +37 -0
- package/dist/registry/workflows/marketing/convert-to-pdf.md +235 -0
- package/dist/registry/workflows/marketing/create-modern-website.md +456 -0
- package/dist/registry/workflows/marketing/domain-registration.md +323 -0
- package/dist/registry/workflows/marketing/hbr-article.md +73 -0
- package/dist/registry/workflows/marketing/launch-checklist.md +37 -0
- package/dist/registry/workflows/marketing/marketing-strategy.md +45 -0
- package/dist/registry/workflows/marketing/storytelling.md +65 -0
- package/dist/registry/workflows/performance/analyze-performance.md +65 -0
- package/dist/registry/workflows/product-building/design.md +103 -0
- package/dist/registry/workflows/product-building/implement.md +74 -0
- package/dist/registry/workflows/product-building/iterate-on-pr-comments.md +70 -0
- package/dist/registry/workflows/product-building/prep-issue.md +41 -0
- package/dist/registry/workflows/product-building/prototype.md +65 -0
- package/dist/registry/workflows/product-building/resolve.md +168 -0
- package/dist/registry/workflows/product-building/retrospect.md +86 -0
- package/dist/registry/workflows/product-building/spec.md +181 -0
- package/dist/registry/workflows/product-building/test.md +125 -0
- package/dist/registry/workflows/productivity-report/productivity-report.md +263 -0
- package/dist/registry/workflows/quality-assurance/browser-validation.md +221 -0
- package/dist/registry/workflows/quality-assurance/iterative-improvement-cycle.md +562 -0
- package/dist/registry/workflows/replicate/replicate-discovery.md +336 -0
- package/dist/registry/workflows/replicate/replicate-to-issues.md +324 -0
- package/dist/registry/workflows/reviewer/review-implementation-vs-design-spec.md +638 -0
- package/dist/registry/workflows/reviewer/review-implementation-vs-feature-spec.md +675 -0
- package/dist/registry/workflows/startup-credits/aws-activate-application.md +535 -0
- package/dist/registry/workflows/startup-credits/google-cloud-application.md +647 -0
- package/dist/registry/workflows/startup-credits/microsoft-azure-application.md +538 -0
- package/dist/src/ai-manager/ai-manager.js +4 -6
- package/dist/tests/test-users-to-target-workflow.js +2 -2
- package/package.json +1 -1
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase1-customer-profiling.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase1-survey-scoping.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase2-platform-discovery.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase2-survey-build-linkedin.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase3-prospect-qualification.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase3-survey-build-reddit.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase4-inventory-compilation.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase4-survey-build-x.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase5-survey-build-facebook.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase6-survey-build-custom.md +0 -11
- package/registry/stubs/workflows/customer-development/ai-coach-phases/phase7-survey-dispatch.md +0 -11
- package/registry/stubs/workflows/customer-development/templates/customer-persona-template.md +0 -11
- package/registry/stubs/workflows/customer-development/templates/search-strategy-template.md +0 -11
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Workflow: codebase-brainstorming
|
|
2
|
+
|
|
3
|
+
**Path:** `workflows/brainstorming/codebase-brainstorming.md`
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Codebase Brainstorming
|
|
8
|
+
|
|
9
|
+
## INTENT
|
|
10
|
+
Provide structured approach for analyzing existing codebases and generating improvement suggestions while maintaining accuracy and preventing fabrication of non-existent functionality.
|
|
11
|
+
|
|
12
|
+
## PRINCIPLES
|
|
13
|
+
- **Evidence-Based Analysis**: Only describe functionality that exists in actual code
|
|
14
|
+
- **Explicit Categorization**: Clearly distinguish between current state and future possibilities
|
|
15
|
+
- **Incremental Thinking**: Build suggestions on existing architecture, not hypothetical systems
|
|
16
|
+
- **Intellectual Honesty**: Better to provide fewer, grounded suggestions than elaborate fabrications
|
|
17
|
+
|
|
18
|
+
## WORKFLOW
|
|
19
|
+
|
|
20
|
+
### Phase 1: Codebase Analysis
|
|
21
|
+
**Objective**: Understand the existing system architecture and capabilities
|
|
22
|
+
|
|
23
|
+
**Actions**:
|
|
24
|
+
1. **Read Core Files**: Identify and read key system files
|
|
25
|
+
2. **Map Architecture**: Understand how components interact
|
|
26
|
+
3. **Identify Patterns**: Look for existing patterns and conventions
|
|
27
|
+
4. **Document Findings**: Create accurate inventory of what exists
|
|
28
|
+
|
|
29
|
+
**Verification Check**: Can you point to specific files/functions for every claim about existing functionality?
|
|
30
|
+
|
|
31
|
+
### Phase 2: Categorized Analysis
|
|
32
|
+
**Objective**: Organize findings into clear categories
|
|
33
|
+
|
|
34
|
+
**Required Categories**:
|
|
35
|
+
|
|
36
|
+
#### Currently Exists:
|
|
37
|
+
- List only functionality you can point to in actual code
|
|
38
|
+
- Include file paths and specific functions/classes
|
|
39
|
+
- Describe what it actually does (not what it could do)
|
|
40
|
+
|
|
41
|
+
#### Architectural Patterns:
|
|
42
|
+
- Document existing patterns and conventions
|
|
43
|
+
- Identify design principles already in use
|
|
44
|
+
- Note consistency or inconsistency in current approach
|
|
45
|
+
|
|
46
|
+
#### Gaps and Opportunities:
|
|
47
|
+
- Areas where functionality is missing
|
|
48
|
+
- Inconsistencies that could be resolved
|
|
49
|
+
- Natural extension points in current architecture
|
|
50
|
+
|
|
51
|
+
### Phase 3: Grounded Suggestions
|
|
52
|
+
**Objective**: Generate realistic, incremental improvement suggestions
|
|
53
|
+
|
|
54
|
+
#### Could Be Built (New Functionality):
|
|
55
|
+
- New features that don't exist yet
|
|
56
|
+
- Must build on existing architecture
|
|
57
|
+
- Should follow established patterns
|
|
58
|
+
- Include realistic implementation approach
|
|
59
|
+
|
|
60
|
+
#### Enhancement to Existing:
|
|
61
|
+
- Modifications to current functionality
|
|
62
|
+
- Extensions of existing patterns
|
|
63
|
+
- Improvements to current implementations
|
|
64
|
+
- Must specify what would change and how
|
|
65
|
+
|
|
66
|
+
#### Architectural Improvements:
|
|
67
|
+
- Refactoring opportunities
|
|
68
|
+
- Pattern consistency improvements
|
|
69
|
+
- Performance or maintainability enhancements
|
|
70
|
+
|
|
71
|
+
### Phase 4: Verification and Validation
|
|
72
|
+
**Objective**: Ensure accuracy and prevent fabrication
|
|
73
|
+
|
|
74
|
+
**Verification Checklist**:
|
|
75
|
+
- [ ] Can I point to actual code for every "Currently Exists" claim?
|
|
76
|
+
- [ ] Did I clearly separate what exists from what could be built?
|
|
77
|
+
- [ ] Are my suggestions grounded in the actual architecture?
|
|
78
|
+
- [ ] Did I avoid presenting hypothetical functionality as real?
|
|
79
|
+
- [ ] Are my enhancement suggestions realistic and incremental?
|
|
80
|
+
|
|
81
|
+
## RESPONSE TEMPLATE
|
|
82
|
+
|
|
83
|
+
```markdown
|
|
84
|
+
# Codebase Analysis: [System Name]
|
|
85
|
+
|
|
86
|
+
## Currently Exists:
|
|
87
|
+
- **[Feature/Component]** (`path/to/file.ext`): [What it actually does]
|
|
88
|
+
- **[Pattern/Convention]** (seen in `file1.ext`, `file2.ext`): [How it works]
|
|
89
|
+
|
|
90
|
+
## Architectural Patterns:
|
|
91
|
+
- **[Pattern Name]**: [Description and where it's used]
|
|
92
|
+
- **[Design Principle]**: [How it's implemented]
|
|
93
|
+
|
|
94
|
+
## Could Be Built (New Functionality):
|
|
95
|
+
- **[Proposed Feature]**: [Description, building on existing architecture]
|
|
96
|
+
- **[New Component]**: [How it would integrate with current system]
|
|
97
|
+
|
|
98
|
+
## Enhancement to Existing:
|
|
99
|
+
- **[Current Feature]** → **[Enhanced Version]**: [Specific improvements]
|
|
100
|
+
- **[Existing Pattern]** → **[Improved Pattern]**: [What would change]
|
|
101
|
+
|
|
102
|
+
## Implementation Priority:
|
|
103
|
+
1. **High Impact, Low Effort**: [Quick wins]
|
|
104
|
+
2. **High Impact, Medium Effort**: [Valuable improvements]
|
|
105
|
+
3. **Future Considerations**: [Longer-term possibilities]
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## ANTI-PATTERNS TO AVOID
|
|
109
|
+
|
|
110
|
+
### ❌ Fabrication Examples:
|
|
111
|
+
- "You already have a `analyzeSimilarIssues()` function" (when it doesn't exist)
|
|
112
|
+
- "Your retrospectives database" (when it's just files in a folder)
|
|
113
|
+
- Describing elaborate systems that don't exist
|
|
114
|
+
- Presenting hypothetical code as current functionality
|
|
115
|
+
|
|
116
|
+
### ❌ Vague Suggestions:
|
|
117
|
+
- "Add machine learning" (without specific integration points)
|
|
118
|
+
- "Improve performance" (without identifying bottlenecks)
|
|
119
|
+
- "Make it more scalable" (without understanding current limits)
|
|
120
|
+
|
|
121
|
+
### ✅ Good Examples:
|
|
122
|
+
- "Currently exists: AI Coach in `src/ai-manager/ai-manager.ts` provides phase-specific instructions"
|
|
123
|
+
- "Could be built: Historical pattern analysis using existing retrospectives in `/retrospectives` folder"
|
|
124
|
+
- "Enhancement to existing: AI Coach could track evidence quality patterns over time by extending the current evidence collection"
|
|
125
|
+
|
|
126
|
+
## QUALITY GATES
|
|
127
|
+
|
|
128
|
+
Before completing brainstorming session:
|
|
129
|
+
- [ ] All "Currently Exists" items have file paths
|
|
130
|
+
- [ ] No hypothetical functionality presented as real
|
|
131
|
+
- [ ] Suggestions build incrementally on existing architecture
|
|
132
|
+
- [ ] Clear distinction between current state and future possibilities
|
|
133
|
+
- [ ] Realistic implementation approaches provided
|
|
134
|
+
|
|
135
|
+
## EXAMPLES
|
|
136
|
+
|
|
137
|
+
### Good Codebase Analysis:
|
|
138
|
+
```markdown
|
|
139
|
+
## Currently Exists:
|
|
140
|
+
- **Phase-based workflow** (`src/ai-manager/phase-flow.ts`): Manages transitions between implementation phases
|
|
141
|
+
- **AI Coach** (`src/ai-manager/ai-manager.ts`): Provides contextual guidance based on phase and workflow type
|
|
142
|
+
- **Evidence collection** (templates via `get_fraim_file()`): Structured documentation of work completed
|
|
143
|
+
|
|
144
|
+
## Could Be Built:
|
|
145
|
+
- **Pattern analysis**: Analyze existing retrospectives to identify common failure patterns
|
|
146
|
+
- **Evidence quality scoring**: Evaluate evidence completeness based on historical successful submissions
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Bad Codebase Analysis:
|
|
150
|
+
```markdown
|
|
151
|
+
## Currently Exists:
|
|
152
|
+
- **Smart learning system**: Automatically learns from past issues (doesn't exist)
|
|
153
|
+
- **Advanced pattern matching**: Uses ML to suggest improvements (fabricated)
|
|
154
|
+
- **Retrospectives database**: Queryable database of learnings (it's just markdown files)
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## SUMMARY
|
|
158
|
+
|
|
159
|
+
This workflow ensures brainstorming sessions are:
|
|
160
|
+
- **Accurate**: Grounded in actual codebase reality
|
|
161
|
+
- **Useful**: Provides actionable, incremental suggestions
|
|
162
|
+
- **Honest**: Clearly distinguishes between current and future state
|
|
163
|
+
- **Practical**: Builds on existing architecture and patterns
|
|
164
|
+
|
|
165
|
+
Remember: Accurate analysis is worth more than elaborate fabrication.
|