fraim-framework 2.0.67 → 2.0.69
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/bin/fraim.js +1 -1
- package/dist/src/cli/commands/doctor.js +1 -1
- package/dist/src/cli/commands/init-project.js +6 -12
- package/dist/src/cli/commands/list.js +1 -1
- package/dist/src/cli/commands/setup.js +15 -29
- package/dist/src/cli/commands/sync.js +36 -143
- package/dist/src/cli/fraim.js +0 -4
- package/dist/src/cli/setup/first-run.js +4 -4
- package/dist/src/cli/setup/ide-detector.js +15 -5
- package/dist/src/fraim/template-processor.js +7 -35
- package/dist/src/local-mcp-server/stdio-server.js +170 -181
- package/dist/src/utils/git-utils.js +2 -2
- package/dist/src/utils/object-utils.js +11 -0
- package/dist/src/utils/provider-utils.js +14 -0
- package/dist/src/utils/request-utils.js +23 -0
- package/dist/src/utils/workflow-parser.js +7 -7
- package/package.json +7 -5
- package/dist/registry/ai-manager-rules/customer-development-phases/phase1-customer-profiling.md +0 -101
- package/dist/registry/ai-manager-rules/customer-development-phases/phase2-platform-discovery.md +0 -235
- package/dist/registry/ai-manager-rules/customer-development-phases/phase3-prospect-qualification.md +0 -243
- package/dist/registry/ai-manager-rules/customer-development-phases/phase4-inventory-compilation.md +0 -206
- package/dist/registry/ai-manager-rules/design-phases/design-completeness-review.md +0 -73
- package/dist/registry/ai-manager-rules/design-phases/design-design.md +0 -145
- package/dist/registry/ai-manager-rules/design-phases/design.md +0 -108
- package/dist/registry/ai-manager-rules/design-phases/finalize.md +0 -60
- package/dist/registry/ai-manager-rules/design-phases/validate.md +0 -125
- package/dist/registry/ai-manager-rules/design.json +0 -97
- package/dist/registry/ai-manager-rules/implement-phases/code.md +0 -323
- package/dist/registry/ai-manager-rules/implement-phases/completeness-review.md +0 -94
- package/dist/registry/ai-manager-rules/implement-phases/finalize.md +0 -177
- package/dist/registry/ai-manager-rules/implement-phases/implement-code.md +0 -283
- package/dist/registry/ai-manager-rules/implement-phases/implement-completeness-review.md +0 -120
- package/dist/registry/ai-manager-rules/implement-phases/implement-regression.md +0 -173
- package/dist/registry/ai-manager-rules/implement-phases/implement-repro.md +0 -104
- package/dist/registry/ai-manager-rules/implement-phases/implement-scoping.md +0 -100
- package/dist/registry/ai-manager-rules/implement-phases/implement-smoke.md +0 -237
- package/dist/registry/ai-manager-rules/implement-phases/implement-spike.md +0 -121
- package/dist/registry/ai-manager-rules/implement-phases/implement-validate.md +0 -375
- package/dist/registry/ai-manager-rules/implement-phases/quality-review.md +0 -304
- package/dist/registry/ai-manager-rules/implement-phases/regression.md +0 -159
- package/dist/registry/ai-manager-rules/implement-phases/repro.md +0 -101
- package/dist/registry/ai-manager-rules/implement-phases/scoping.md +0 -93
- package/dist/registry/ai-manager-rules/implement-phases/smoke.md +0 -225
- package/dist/registry/ai-manager-rules/implement-phases/spike.md +0 -118
- package/dist/registry/ai-manager-rules/implement-phases/validate.md +0 -347
- package/dist/registry/ai-manager-rules/implement.json +0 -153
- package/dist/registry/ai-manager-rules/retrospective.md +0 -116
- package/dist/registry/ai-manager-rules/shared-phases/address-pr-feedback.md +0 -188
- package/dist/registry/ai-manager-rules/shared-phases/finalize.md +0 -169
- package/dist/registry/ai-manager-rules/shared-phases/submit-pr.md +0 -202
- package/dist/registry/ai-manager-rules/shared-phases/wait-for-pr-review.md +0 -170
- package/dist/registry/ai-manager-rules/spec-phases/finalize.md +0 -60
- package/dist/registry/ai-manager-rules/spec-phases/spec-competitor-analysis.md +0 -105
- package/dist/registry/ai-manager-rules/spec-phases/spec-completeness-review.md +0 -66
- package/dist/registry/ai-manager-rules/spec-phases/spec-spec.md +0 -139
- package/dist/registry/ai-manager-rules/spec-phases/spec.md +0 -102
- package/dist/registry/ai-manager-rules/spec-phases/validate.md +0 -118
- package/dist/registry/ai-manager-rules/spec.json +0 -112
- package/dist/registry/ai-manager-rules/test.json +0 -98
- package/dist/registry/ai-manager-rules/user-survey-phases/phase1-survey-scoping.md +0 -60
- package/dist/registry/ai-manager-rules/user-survey-phases/phase2-survey-build-linkedin.md +0 -23
- package/dist/registry/ai-manager-rules/user-survey-phases/phase3-survey-build-reddit.md +0 -22
- package/dist/registry/ai-manager-rules/user-survey-phases/phase4-survey-build-x.md +0 -21
- package/dist/registry/ai-manager-rules/user-survey-phases/phase5-survey-build-facebook.md +0 -19
- package/dist/registry/ai-manager-rules/user-survey-phases/phase6-survey-build-custom.md +0 -15
- package/dist/registry/ai-manager-rules/user-survey-phases/phase7-survey-dispatch.md +0 -45
- package/dist/registry/delivery/address-feedback.md +0 -83
- package/dist/registry/delivery/retrospective.md +0 -78
- package/dist/registry/delivery/submit.md +0 -79
- package/dist/registry/providers/ado.json +0 -19
- package/dist/registry/providers/delivery-conversation.json +0 -9
- package/dist/registry/providers/delivery-pr.json +0 -9
- package/dist/registry/providers/github.json +0 -19
- package/dist/registry/rules/agent-success-criteria.md +0 -101
- package/dist/registry/rules/agent-testing-guidelines.md +0 -502
- package/dist/registry/rules/architecture.md +0 -126
- package/dist/registry/rules/communication.md +0 -122
- package/dist/registry/rules/continuous-learning.md +0 -55
- package/dist/registry/rules/debugging-multitenancy-issues.md +0 -85
- package/dist/registry/rules/ephemeral-execution.md +0 -54
- package/dist/registry/rules/git-safe-commands.md +0 -34
- package/dist/registry/rules/hitl-ppe-record-analysis.md +0 -302
- package/dist/registry/rules/integrity-and-test-ethics.md +0 -275
- package/dist/registry/rules/local-development.md +0 -275
- package/dist/registry/rules/mandatory-pre-completion-reflection.md +0 -193
- package/dist/registry/rules/merge-requirements.md +0 -238
- package/dist/registry/rules/simplicity.md +0 -118
- package/dist/registry/rules/software-development-lifecycle.md +0 -105
- package/dist/registry/rules/spike-first-development.md +0 -205
- package/dist/registry/rules/successful-debugging-patterns.md +0 -488
- package/dist/registry/scripts/build-scripts-generator.js +0 -205
- package/dist/registry/scripts/cleanup-branch.js +0 -287
- package/dist/registry/scripts/evaluate-code-quality.js +0 -66
- package/dist/registry/scripts/exec-with-timeout.js +0 -142
- package/dist/registry/scripts/fraim-config.js +0 -61
- package/dist/registry/scripts/generate-engagement-emails.js +0 -705
- package/dist/registry/scripts/generic-issues-api.js +0 -100
- package/dist/registry/scripts/newsletter-helpers.js +0 -671
- package/dist/registry/scripts/openapi-generator.js +0 -664
- package/dist/registry/scripts/performance/profile-server.js +0 -390
- package/dist/registry/scripts/profile-server.js +0 -389
- package/dist/registry/scripts/run-thank-you-workflow.js +0 -92
- package/dist/registry/scripts/send-newsletter-simple.js +0 -85
- package/dist/registry/scripts/send-thank-you-emails.js +0 -54
- package/dist/registry/scripts/validate-openapi-limits.js +0 -311
- package/dist/registry/scripts/validate-test-coverage.js +0 -262
- package/dist/registry/scripts/verify-test-coverage.js +0 -66
- package/dist/registry/stubs/workflows/azure/cost-optimization.md +0 -11
- package/dist/registry/stubs/workflows/bootstrap/create-architecture.md +0 -11
- package/dist/registry/stubs/workflows/bootstrap/detect-broken-windows.md +0 -11
- package/dist/registry/stubs/workflows/bootstrap/evaluate-code-quality.md +0 -11
- package/dist/registry/stubs/workflows/bootstrap/verify-test-coverage.md +0 -11
- package/dist/registry/stubs/workflows/brainstorming/blue-sky-brainstorming.md +0 -11
- package/dist/registry/stubs/workflows/brainstorming/codebase-brainstorming.md +0 -11
- package/dist/registry/stubs/workflows/business-development/create-business-plan.md +0 -11
- package/dist/registry/stubs/workflows/business-development/ideate-business-opportunity.md +0 -11
- package/dist/registry/stubs/workflows/business-development/price-product.md +0 -18
- package/dist/registry/stubs/workflows/compliance/detect-compliance-requirements.md +0 -11
- package/dist/registry/stubs/workflows/compliance/generate-audit-evidence.md +0 -11
- package/dist/registry/stubs/workflows/compliance/soc2-evidence-generator.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/insight-analysis.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/insight-triage.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/interview-preparation.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/linkedin-outreach.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/strategic-brainstorming.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/thank-customers.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/user-survey-dispatch.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/users-to-target.md +0 -11
- package/dist/registry/stubs/workflows/customer-development/weekly-newsletter.md +0 -11
- package/dist/registry/stubs/workflows/deploy/cloud-deployment.md +0 -11
- package/dist/registry/stubs/workflows/improve-fraim/contribute.md +0 -11
- package/dist/registry/stubs/workflows/improve-fraim/file-issue.md +0 -11
- package/dist/registry/stubs/workflows/learning/build-skillset.md +0 -11
- package/dist/registry/stubs/workflows/learning/synthesize-learnings.md +0 -11
- package/dist/registry/stubs/workflows/legal/contract-review-analysis.md +0 -11
- package/dist/registry/stubs/workflows/legal/nda.md +0 -11
- package/dist/registry/stubs/workflows/legal/patent-filing.md +0 -11
- package/dist/registry/stubs/workflows/legal/saas-contract-development.md +0 -11
- package/dist/registry/stubs/workflows/legal/trademark-filing.md +0 -11
- package/dist/registry/stubs/workflows/marketing/content-creation.md +0 -11
- package/dist/registry/stubs/workflows/marketing/convert-to-pdf.md +0 -11
- package/dist/registry/stubs/workflows/marketing/create-modern-website.md +0 -11
- package/dist/registry/stubs/workflows/marketing/domain-registration.md +0 -11
- package/dist/registry/stubs/workflows/marketing/evangelize.md +0 -11
- package/dist/registry/stubs/workflows/marketing/hbr-article.md +0 -11
- package/dist/registry/stubs/workflows/marketing/launch-checklist.md +0 -11
- package/dist/registry/stubs/workflows/marketing/marketing-strategy.md +0 -11
- package/dist/registry/stubs/workflows/marketing/storytelling.md +0 -11
- package/dist/registry/stubs/workflows/performance/analyze-performance.md +0 -11
- package/dist/registry/stubs/workflows/product-building/design.md +0 -11
- package/dist/registry/stubs/workflows/product-building/implement.md +0 -11
- package/dist/registry/stubs/workflows/product-building/iterate-on-pr-comments.md +0 -11
- package/dist/registry/stubs/workflows/product-building/prep-issue.md +0 -11
- package/dist/registry/stubs/workflows/product-building/prototype.md +0 -11
- package/dist/registry/stubs/workflows/product-building/resolve.md +0 -11
- package/dist/registry/stubs/workflows/product-building/retrospect.md +0 -11
- package/dist/registry/stubs/workflows/product-building/spec.md +0 -11
- package/dist/registry/stubs/workflows/product-building/test.md +0 -11
- package/dist/registry/stubs/workflows/productivity-report/productivity-report.md +0 -11
- package/dist/registry/stubs/workflows/quality-assurance/browser-validation.md +0 -11
- package/dist/registry/stubs/workflows/quality-assurance/iterative-improvement-cycle.md +0 -11
- package/dist/registry/stubs/workflows/replicate/replicate-discovery.md +0 -11
- package/dist/registry/stubs/workflows/replicate/replicate-to-issues.md +0 -11
- package/dist/registry/stubs/workflows/reviewer/review-implementation-vs-design-spec.md +0 -11
- package/dist/registry/stubs/workflows/reviewer/review-implementation-vs-feature-spec.md +0 -11
- package/dist/registry/stubs/workflows/startup-credits/aws-activate-application.md +0 -11
- package/dist/registry/stubs/workflows/startup-credits/google-cloud-application.md +0 -11
- package/dist/registry/stubs/workflows/startup-credits/microsoft-azure-application.md +0 -11
- package/dist/registry/templates/bootstrap/ARCHITECTURE-TEMPLATE.md +0 -53
- package/dist/registry/templates/bootstrap/CODE-QUALITY-REPORT-TEMPLATE.md +0 -37
- package/dist/registry/templates/bootstrap/TEST-COVERAGE-REPORT-TEMPLATE.md +0 -35
- package/dist/registry/templates/business-development/IDEATION-REPORT-TEMPLATE.md +0 -29
- package/dist/registry/templates/business-development/PRICING-STRATEGY-TEMPLATE.md +0 -126
- package/dist/registry/templates/customer-development/customer-interview-template.md +0 -99
- package/dist/registry/templates/customer-development/customer-persona-template.md +0 -69
- package/dist/registry/templates/customer-development/follow-up-email-templates.md +0 -132
- package/dist/registry/templates/customer-development/insight-analysis-template.md +0 -74
- package/dist/registry/templates/customer-development/prospect-inventory-template.csv +0 -3
- package/dist/registry/templates/customer-development/search-strategy-template.md +0 -123
- package/dist/registry/templates/customer-development/strategic-recommendations-template.md +0 -53
- package/dist/registry/templates/customer-development/thank-you-email-template.html +0 -124
- package/dist/registry/templates/customer-development/thank-you-note-template.md +0 -16
- package/dist/registry/templates/customer-development/triage-log-template.md +0 -278
- package/dist/registry/templates/customer-development/weekly-newsletter-template.html +0 -204
- package/dist/registry/templates/evidence/Design-Evidence.md +0 -30
- package/dist/registry/templates/evidence/Implementation-BugEvidence.md +0 -122
- package/dist/registry/templates/evidence/Implementation-FeatureEvidence.md +0 -160
- package/dist/registry/templates/evidence/Spec-Evidence.md +0 -19
- package/dist/registry/templates/help/HelpNeeded.md +0 -14
- package/dist/registry/templates/legal/NDA-TEMPLATE.md +0 -170
- package/dist/registry/templates/legal/PATENT-TEMPLATE.md +0 -372
- package/dist/registry/templates/legal/TRADEMARK-TEMPLATE.md +0 -339
- package/dist/registry/templates/legal/contract-review-checklist.md +0 -193
- package/dist/registry/templates/legal/review-report-template.md +0 -198
- package/dist/registry/templates/legal/saas-terms-template.md +0 -174
- package/dist/registry/templates/legal/sow-template.md +0 -117
- package/dist/registry/templates/legal/template-variables.md +0 -131
- package/dist/registry/templates/marketing/DOMAIN-REGISTRATION-TEMPLATE.md +0 -194
- package/dist/registry/templates/marketing/EVANGELIZE-TEMPLATE.md +0 -102
- package/dist/registry/templates/marketing/HBR-ARTICLE-TEMPLATE.md +0 -66
- package/dist/registry/templates/marketing/STORYTELLING-TEMPLATE.md +0 -130
- package/dist/registry/templates/marketing/WEBSITE-TEMPLATE.md +0 -262
- package/dist/registry/templates/marketing/github-pages-workflow.yml +0 -64
- package/dist/registry/templates/replicate/implementation-checklist.md +0 -39
- package/dist/registry/templates/replicate/use-cases-template.md +0 -88
- package/dist/registry/templates/retrospective/RETROSPECTIVE-TEMPLATE.md +0 -55
- package/dist/registry/templates/specs/BUGSPEC-TEMPLATE.md +0 -37
- package/dist/registry/templates/specs/FEATURESPEC-TEMPLATE.md +0 -66
- package/dist/registry/templates/specs/TECHSPEC-TEMPLATE.md +0 -39
- package/dist/registry/workflows/azure/cost-optimization.md +0 -772
- package/dist/registry/workflows/bootstrap/create-architecture.md +0 -37
- package/dist/registry/workflows/bootstrap/detect-broken-windows.md +0 -300
- package/dist/registry/workflows/bootstrap/evaluate-code-quality.md +0 -35
- package/dist/registry/workflows/bootstrap/verify-test-coverage.md +0 -36
- package/dist/registry/workflows/brainstorming/blue-sky-brainstorming.md +0 -211
- package/dist/registry/workflows/brainstorming/codebase-brainstorming.md +0 -159
- package/dist/registry/workflows/business-development/create-business-plan.md +0 -737
- package/dist/registry/workflows/business-development/ideate-business-opportunity.md +0 -55
- package/dist/registry/workflows/business-development/price-product.md +0 -325
- package/dist/registry/workflows/compliance/detect-compliance-requirements.md +0 -80
- package/dist/registry/workflows/compliance/generate-audit-evidence.md +0 -80
- package/dist/registry/workflows/compliance/soc2-evidence-generator.md +0 -332
- package/dist/registry/workflows/customer-development/insight-analysis.md +0 -156
- package/dist/registry/workflows/customer-development/insight-triage.md +0 -933
- package/dist/registry/workflows/customer-development/interview-preparation.md +0 -452
- package/dist/registry/workflows/customer-development/linkedin-outreach.md +0 -599
- package/dist/registry/workflows/customer-development/strategic-brainstorming.md +0 -146
- package/dist/registry/workflows/customer-development/thank-customers.md +0 -203
- package/dist/registry/workflows/customer-development/user-survey-dispatch.md +0 -312
- package/dist/registry/workflows/customer-development/users-to-target.md +0 -427
- package/dist/registry/workflows/customer-development/weekly-newsletter.md +0 -366
- package/dist/registry/workflows/deploy/cloud-deployment.md +0 -310
- package/dist/registry/workflows/improve-fraim/contribute.md +0 -32
- package/dist/registry/workflows/improve-fraim/file-issue.md +0 -32
- package/dist/registry/workflows/learning/build-skillset.md +0 -212
- package/dist/registry/workflows/learning/synthesize-learnings.md +0 -369
- package/dist/registry/workflows/legal/contract-review-analysis.md +0 -382
- package/dist/registry/workflows/legal/nda.md +0 -69
- package/dist/registry/workflows/legal/patent-filing.md +0 -76
- package/dist/registry/workflows/legal/saas-contract-development.md +0 -204
- package/dist/registry/workflows/legal/trademark-filing.md +0 -77
- package/dist/registry/workflows/marketing/content-creation.md +0 -40
- package/dist/registry/workflows/marketing/convert-to-pdf.md +0 -265
- package/dist/registry/workflows/marketing/create-modern-website.md +0 -456
- package/dist/registry/workflows/marketing/domain-registration.md +0 -323
- package/dist/registry/workflows/marketing/evangelize.md +0 -426
- package/dist/registry/workflows/marketing/hbr-article.md +0 -73
- package/dist/registry/workflows/marketing/launch-checklist.md +0 -37
- package/dist/registry/workflows/marketing/marketing-strategy.md +0 -45
- package/dist/registry/workflows/marketing/storytelling.md +0 -65
- package/dist/registry/workflows/performance/analyze-performance.md +0 -65
- package/dist/registry/workflows/product-building/design.md +0 -263
- package/dist/registry/workflows/product-building/implement.md +0 -771
- package/dist/registry/workflows/product-building/iterate-on-pr-comments.md +0 -70
- package/dist/registry/workflows/product-building/prep-issue.md +0 -41
- package/dist/registry/workflows/product-building/prototype.md +0 -60
- package/dist/registry/workflows/product-building/resolve.md +0 -175
- package/dist/registry/workflows/product-building/retrospect.md +0 -86
- package/dist/registry/workflows/product-building/spec.md +0 -303
- package/dist/registry/workflows/product-building/test.md +0 -125
- package/dist/registry/workflows/productivity-report/productivity-report.md +0 -263
- package/dist/registry/workflows/quality-assurance/browser-validation.md +0 -221
- package/dist/registry/workflows/quality-assurance/iterative-improvement-cycle.md +0 -562
- package/dist/registry/workflows/replicate/replicate-discovery.md +0 -336
- package/dist/registry/workflows/replicate/replicate-to-issues.md +0 -319
- package/dist/registry/workflows/reviewer/review-implementation-vs-design-spec.md +0 -694
- package/dist/registry/workflows/reviewer/review-implementation-vs-feature-spec.md +0 -734
- package/dist/registry/workflows/startup-credits/aws-activate-application.md +0 -535
- package/dist/registry/workflows/startup-credits/google-cloud-application.md +0 -647
- package/dist/registry/workflows/startup-credits/microsoft-azure-application.md +0 -538
- package/dist/src/cli/commands/init.js +0 -148
- package/dist/src/cli/commands/mcp.js +0 -65
- package/dist/src/cli/commands/wizard.js +0 -35
- package/dist/src/fraim/issue-tracking/ado-provider.js +0 -304
- package/dist/src/fraim/issue-tracking/factory.js +0 -63
- package/dist/src/fraim/issue-tracking/github-provider.js +0 -200
- package/dist/src/fraim/issue-tracking/types.js +0 -7
- package/dist/src/fraim/issue-tracking-config.js +0 -83
- package/dist/src/fraim/retrospective-learner.js +0 -301
- package/dist/src/fraim/setup-wizard.js +0 -99
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
# Replicate Discovery Workflow
|
|
2
|
-
|
|
3
|
-
## INTENT
|
|
4
|
-
To systematically discover, analyze, and document an existing web application for replication, producing a complete analysis package that can be converted into implementation issues.
|
|
5
|
-
|
|
6
|
-
## PRINCIPLES
|
|
7
|
-
- **Comprehensive Discovery**: Capture all features, UI patterns, and user workflows
|
|
8
|
-
- **Systematic Analysis**: Follow structured phases from technical scraping to use case extraction
|
|
9
|
-
- **Organized Documentation**: Create well-structured artifacts for downstream workflows
|
|
10
|
-
- **Technology Awareness**: Document the tech stack and architectural patterns
|
|
11
|
-
|
|
12
|
-
## Overview
|
|
13
|
-
This workflow guides agents through discovering and analyzing an existing web application, producing comprehensive documentation including screenshots, use cases, UI patterns, and technology analysis. The output feeds into the `replicate-to-issues.md` workflow to create GitHub issues for implementation.
|
|
14
|
-
|
|
15
|
-
## When to Use This Workflow
|
|
16
|
-
|
|
17
|
-
Use this workflow when:
|
|
18
|
-
- Re-implementing an existing application
|
|
19
|
-
- Migrating an application to a new technology stack
|
|
20
|
-
- Creating a feature-complete replica of an application
|
|
21
|
-
- Documenting an existing application for modernization
|
|
22
|
-
|
|
23
|
-
## Prerequisites
|
|
24
|
-
- Access to the target website URL
|
|
25
|
-
- Python 3.8 or higher
|
|
26
|
-
- Basic understanding of web technologies (HTML, CSS, JavaScript, React)
|
|
27
|
-
|
|
28
|
-
### Required Python Packages
|
|
29
|
-
The Python scraping scripts are synced to `~/.fraim/scripts/` during `fraim init` or `fraim sync`.
|
|
30
|
-
|
|
31
|
-
Install required packages:
|
|
32
|
-
```bash
|
|
33
|
-
pip install playwright beautifulsoup4 requests
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
For Playwright browser automation, install browser binaries:
|
|
37
|
-
```bash
|
|
38
|
-
playwright install chromium
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Workflow Steps
|
|
42
|
-
|
|
43
|
-
### Phase 1: Initial Site Scraping
|
|
44
|
-
|
|
45
|
-
**Objective**: Get a comprehensive understanding of the site structure, pages, and resources.
|
|
46
|
-
|
|
47
|
-
1. **Create Output Directory Structure**
|
|
48
|
-
```
|
|
49
|
-
docs/replicate/
|
|
50
|
-
├── analysis/ # JSON analysis files
|
|
51
|
-
├── screenshots/ # Organized screenshots
|
|
52
|
-
├── reports/ # Generated documentation
|
|
53
|
-
└── artifacts/ # Additional artifacts
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
2. **Run Basic Site Scraper**
|
|
57
|
-
```bash
|
|
58
|
-
python ~/.fraim/scripts/scrape-site.py <target_url> --output-dir docs/replicate/analysis [--max-pages N]
|
|
59
|
-
```
|
|
60
|
-
- **Options**:
|
|
61
|
-
- `target_url`: Base URL of the website to scrape (required)
|
|
62
|
-
- `--max-pages N`: Maximum number of pages to scrape (default: 50)
|
|
63
|
-
- `--output-dir`: Output directory for results
|
|
64
|
-
- `--output-file`: Output filename (default: site_analysis.json)
|
|
65
|
-
|
|
66
|
-
This generates:
|
|
67
|
-
- `docs/replicate/analysis/site_analysis.json` - Page structure, forms, CSS/JS files, images, links
|
|
68
|
-
|
|
69
|
-
3. **Review Initial Findings**
|
|
70
|
-
- Check `site_analysis.json` for:
|
|
71
|
-
- Total pages discovered
|
|
72
|
-
- Common navigation patterns
|
|
73
|
-
- Form structures
|
|
74
|
-
- Resource dependencies
|
|
75
|
-
- Technology indicators (React, Vue, Angular, etc.)
|
|
76
|
-
|
|
77
|
-
### Phase 2: Interactive Browser Analysis
|
|
78
|
-
|
|
79
|
-
**Objective**: Understand dynamic behavior, user interactions, and SPA patterns.
|
|
80
|
-
|
|
81
|
-
1. **Run Interactive Explorer**
|
|
82
|
-
```bash
|
|
83
|
-
python ~/.fraim/scripts/interactive-explorer.py <target_url> --output-dir docs/replicate [--headless] [--max-clicks N]
|
|
84
|
-
```
|
|
85
|
-
- **Options**:
|
|
86
|
-
- `target_url`: Base URL of the website to explore (required)
|
|
87
|
-
- `--output-dir`: Output directory for results
|
|
88
|
-
- `--headless`: Run browser in headless mode
|
|
89
|
-
- `--max-clicks N`: Maximum number of clicks to perform (default: 20)
|
|
90
|
-
|
|
91
|
-
This generates:
|
|
92
|
-
- `docs/replicate/analysis/interaction_analysis.json` - Pages visited, interactions, use case hints
|
|
93
|
-
- `docs/replicate/screenshots/` - Screenshots of each state
|
|
94
|
-
|
|
95
|
-
2. **Run Comprehensive Explorer**
|
|
96
|
-
```bash
|
|
97
|
-
python ~/.fraim/scripts/comprehensive-explorer.py <target_url> --output-dir docs/replicate [--headless]
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
This generates:
|
|
101
|
-
- `docs/replicate/analysis/comprehensive_analysis.json` - Detailed page content, routes, use cases
|
|
102
|
-
- Additional screenshots in `docs/replicate/screenshots/`
|
|
103
|
-
|
|
104
|
-
### Phase 3: Screenshot Organization & Visual Analysis
|
|
105
|
-
|
|
106
|
-
**Objective**: Organize visual assets and identify UI/UX patterns.
|
|
107
|
-
|
|
108
|
-
1. **Organize Screenshots by Category**
|
|
109
|
-
Create folder structure within `docs/replicate/screenshots/`:
|
|
110
|
-
```
|
|
111
|
-
screenshots/
|
|
112
|
-
├── authentication/
|
|
113
|
-
├── navigation/
|
|
114
|
-
├── forms/
|
|
115
|
-
├── lists/
|
|
116
|
-
├── details/
|
|
117
|
-
└── [feature-specific]/
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
2. **Identify UI Component Patterns**
|
|
121
|
-
Document in `docs/replicate/reports/component-catalog.md`:
|
|
122
|
-
- Navigation components (header, sidebar, footer)
|
|
123
|
-
- Form components (inputs, buttons, validation)
|
|
124
|
-
- Card/List components
|
|
125
|
-
- Modal/Dialog patterns
|
|
126
|
-
- Button styles and states
|
|
127
|
-
- Input styles and variations
|
|
128
|
-
|
|
129
|
-
3. **Analyze Layout Patterns**
|
|
130
|
-
Document in `docs/replicate/reports/layout-patterns.md`:
|
|
131
|
-
- Page layout structures
|
|
132
|
-
- Responsive design patterns
|
|
133
|
-
- Grid systems
|
|
134
|
-
- Spacing and typography
|
|
135
|
-
- Color palette
|
|
136
|
-
- Visual hierarchy
|
|
137
|
-
|
|
138
|
-
4. **Create Screenshot Index**
|
|
139
|
-
Generate `docs/replicate/reports/screenshot-index.md`:
|
|
140
|
-
- Filename and path
|
|
141
|
-
- Page/Route
|
|
142
|
-
- Description
|
|
143
|
-
- Related use case
|
|
144
|
-
- Key UI elements visible
|
|
145
|
-
|
|
146
|
-
### Phase 4: Technology Stack Analysis
|
|
147
|
-
|
|
148
|
-
**Objective**: Identify and document the technology stack and architectural patterns.
|
|
149
|
-
|
|
150
|
-
1. **Analyze Technology Indicators**
|
|
151
|
-
From analysis JSON files, identify:
|
|
152
|
-
- **Frontend Framework**: React, Vue, Angular, vanilla JS
|
|
153
|
-
- **Build Tools**: Webpack, Vite, Parcel
|
|
154
|
-
- **CSS Framework**: Bootstrap, Tailwind, Material-UI, custom
|
|
155
|
-
- **State Management**: Redux, MobX, Context API
|
|
156
|
-
- **Routing**: React Router, Vue Router, etc.
|
|
157
|
-
- **API Patterns**: REST, GraphQL, WebSocket
|
|
158
|
-
|
|
159
|
-
2. **Document Architecture Patterns**
|
|
160
|
-
Create `docs/replicate/reports/technology-stack.md`:
|
|
161
|
-
- Identified technologies
|
|
162
|
-
- Architectural patterns (SPA, MPA, SSR)
|
|
163
|
-
- Component structure
|
|
164
|
-
- Data flow patterns
|
|
165
|
-
- Authentication approach
|
|
166
|
-
- API integration patterns
|
|
167
|
-
|
|
168
|
-
3. **Infer Data Models**
|
|
169
|
-
From forms and content, document in `docs/replicate/reports/data-models.md`:
|
|
170
|
-
- Entity types (User, Event, Organization, etc.)
|
|
171
|
-
- Field structures
|
|
172
|
-
- Relationships
|
|
173
|
-
- Validation rules
|
|
174
|
-
|
|
175
|
-
### Phase 5: Use Case Extraction
|
|
176
|
-
|
|
177
|
-
**Objective**: Systematically identify and document all user workflows.
|
|
178
|
-
|
|
179
|
-
1. **Identify User Roles**
|
|
180
|
-
From analysis data, identify:
|
|
181
|
-
- Guest/Anonymous users
|
|
182
|
-
- Authenticated users
|
|
183
|
-
- Admin/Moderator roles
|
|
184
|
-
- Organization/Group roles
|
|
185
|
-
- Special roles (Volunteer, Member, etc.)
|
|
186
|
-
|
|
187
|
-
2. **Extract Use Cases from Data**
|
|
188
|
-
Review all analysis files and:
|
|
189
|
-
- Map user journeys through the application
|
|
190
|
-
- Identify user actions (buttons, forms, links)
|
|
191
|
-
- Group related actions into use cases
|
|
192
|
-
- Document workflows and flows
|
|
193
|
-
|
|
194
|
-
3. **Organize Use Cases by Category**
|
|
195
|
-
Common categories:
|
|
196
|
-
- **Authentication & Account Management**
|
|
197
|
-
- **Content Discovery & Browsing**
|
|
198
|
-
- **Content Creation & Management**
|
|
199
|
-
- **Search & Filtering**
|
|
200
|
-
- **Data Collection & Reporting**
|
|
201
|
-
- **Administration & Configuration**
|
|
202
|
-
- **Communication & Collaboration**
|
|
203
|
-
|
|
204
|
-
4. **Document Each Use Case**
|
|
205
|
-
Create `docs/replicate/reports/use-cases.md` with structure:
|
|
206
|
-
```markdown
|
|
207
|
-
## Use Case: [Name]
|
|
208
|
-
|
|
209
|
-
**ID**: UC-[number]
|
|
210
|
-
**Actor**: [Who performs this]
|
|
211
|
-
**Category**: [Category name]
|
|
212
|
-
**Priority**: High/Medium/Low
|
|
213
|
-
|
|
214
|
-
**Preconditions**:
|
|
215
|
-
- [What must be true before]
|
|
216
|
-
|
|
217
|
-
**Steps**:
|
|
218
|
-
1. [Step description]
|
|
219
|
-
2. [Step description]
|
|
220
|
-
3. [Step description]
|
|
221
|
-
|
|
222
|
-
**Postconditions**:
|
|
223
|
-
- [Expected outcomes]
|
|
224
|
-
|
|
225
|
-
**Screenshots**:
|
|
226
|
-
- `screenshots/[category]/[filename].png`
|
|
227
|
-
|
|
228
|
-
**Technical Notes**:
|
|
229
|
-
- [API endpoints, data models, etc.]
|
|
230
|
-
|
|
231
|
-
**Acceptance Criteria**:
|
|
232
|
-
- [ ] [Testable criterion]
|
|
233
|
-
- [ ] [Testable criterion]
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
5. **Validate Completeness**
|
|
237
|
-
- Every page has associated use cases
|
|
238
|
-
- Every form has documented workflow
|
|
239
|
-
- All navigation paths are covered
|
|
240
|
-
- All user roles are represented
|
|
241
|
-
- Edge cases and error scenarios documented
|
|
242
|
-
|
|
243
|
-
### Phase 6: Create Master Report
|
|
244
|
-
|
|
245
|
-
**Objective**: Consolidate all findings into a comprehensive report.
|
|
246
|
-
|
|
247
|
-
1. **Generate Master Report**
|
|
248
|
-
Create `docs/replicate/REPLICATION_ANALYSIS.md`:
|
|
249
|
-
- **Executive Summary**: High-level overview
|
|
250
|
-
- **Technology Stack**: Identified technologies
|
|
251
|
-
- **User Roles**: All identified roles
|
|
252
|
-
- **Use Case Summary**: Count by category and priority
|
|
253
|
-
- **Component Inventory**: UI components identified
|
|
254
|
-
- **Data Models**: Inferred data structures
|
|
255
|
-
- **Implementation Recommendations**: Suggested approach
|
|
256
|
-
- **Next Steps**: Link to replicate-to-issues workflow
|
|
257
|
-
|
|
258
|
-
2. **Create Quick Reference Index**
|
|
259
|
-
Generate `docs/replicate/INDEX.md`:
|
|
260
|
-
- Links to all reports
|
|
261
|
-
- Use case index with IDs
|
|
262
|
-
- Screenshot index
|
|
263
|
-
- Technology summary
|
|
264
|
-
- Statistics (page count, use case count, etc.)
|
|
265
|
-
|
|
266
|
-
## Output Artifacts
|
|
267
|
-
|
|
268
|
-
After completing this workflow, you should have in `docs/replicate/`:
|
|
269
|
-
|
|
270
|
-
### Analysis Data (`analysis/`)
|
|
271
|
-
- `site_analysis.json` - Basic site structure
|
|
272
|
-
- `interaction_analysis.json` - Interactive behavior
|
|
273
|
-
- `comprehensive_analysis.json` - Deep content analysis
|
|
274
|
-
|
|
275
|
-
### Screenshots (`screenshots/`)
|
|
276
|
-
- Organized by category/feature
|
|
277
|
-
- Named descriptively
|
|
278
|
-
- Cover all pages and key interactions
|
|
279
|
-
|
|
280
|
-
### Reports (`reports/`)
|
|
281
|
-
- `use-cases.md` - Complete use case documentation
|
|
282
|
-
- `component-catalog.md` - UI component inventory
|
|
283
|
-
- `layout-patterns.md` - Layout and design patterns
|
|
284
|
-
- `technology-stack.md` - Technology analysis
|
|
285
|
-
- `data-models.md` - Inferred data structures
|
|
286
|
-
- `screenshot-index.md` - Screenshot reference
|
|
287
|
-
|
|
288
|
-
### Master Documents
|
|
289
|
-
- `REPLICATION_ANALYSIS.md` - Comprehensive master report
|
|
290
|
-
- `INDEX.md` - Quick reference index
|
|
291
|
-
|
|
292
|
-
## Best Practices
|
|
293
|
-
|
|
294
|
-
1. **Be Thorough**: Don't skip pages or features
|
|
295
|
-
2. **Document Everything**: Better to have too much information
|
|
296
|
-
3. **Validate Manually**: Review automated findings manually
|
|
297
|
-
4. **Organize Early**: Keep structure clean from the start
|
|
298
|
-
5. **Iterate**: Run scripts multiple times as you discover new routes
|
|
299
|
-
6. **Be Respectful**: Include delays between requests, respect robots.txt
|
|
300
|
-
7. **Start Small**: Use limits on initial runs, expand as needed
|
|
301
|
-
|
|
302
|
-
## Common Challenges
|
|
303
|
-
|
|
304
|
-
1. **SPA Routing**: React/SPA apps may not expose all routes in HTML
|
|
305
|
-
- **Solution**: Use browser navigation to discover routes
|
|
306
|
-
|
|
307
|
-
2. **Authentication**: Some pages require login
|
|
308
|
-
- **Solution**: Document login flows, consider authenticated scraping
|
|
309
|
-
|
|
310
|
-
3. **Dynamic Content**: Content loaded via JavaScript
|
|
311
|
-
- **Solution**: Use browser automation (Playwright)
|
|
312
|
-
|
|
313
|
-
4. **Rate Limiting**: Too many requests too fast
|
|
314
|
-
- **Solution**: Scripts include delays, adjust as needed
|
|
315
|
-
|
|
316
|
-
## Troubleshooting
|
|
317
|
-
|
|
318
|
-
### Browser Installation Issues
|
|
319
|
-
```bash
|
|
320
|
-
playwright install chromium --force
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
### Import Errors
|
|
324
|
-
```bash
|
|
325
|
-
pip install --upgrade playwright beautifulsoup4 requests
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
### Network Timeouts
|
|
329
|
-
- Check internet connection
|
|
330
|
-
- Verify target URL is accessible
|
|
331
|
-
- Increase timeout values in scripts
|
|
332
|
-
|
|
333
|
-
## Next Steps
|
|
334
|
-
|
|
335
|
-
After completing this workflow, get user feedback and once in agreement, suggest that the user proceed to:
|
|
336
|
-
- **Replicate to Issues** workflow (`workflows/replicate/replicate-to-issues.md`)
|
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
# Replicate to Issues Workflow
|
|
2
|
-
|
|
3
|
-
## INTENT
|
|
4
|
-
To convert comprehensive replication analysis into actionable GitHub issues that can be implemented through standard FRAIM workflows (spec → design → implement → test).
|
|
5
|
-
|
|
6
|
-
## PRINCIPLES
|
|
7
|
-
- **One Issue Per Feature**: Each use case becomes a focused, implementable issue
|
|
8
|
-
- **Complete Context**: Include all relevant screenshots, requirements, and technical notes
|
|
9
|
-
- **Proper Prioritization**: Use priority from discovery analysis
|
|
10
|
-
- **Clear Acceptance Criteria**: Make issues testable and verifiable
|
|
11
|
-
- **Linked Dependencies**: Connect related issues appropriately
|
|
12
|
-
|
|
13
|
-
## Overview
|
|
14
|
-
This workflow guides agents through converting the outputs from `replicate-discovery.md` into well-structured GitHub issues. Each issue represents a feature or use case that can be implemented through the standard FRAIM spec/design/implement/test workflow.
|
|
15
|
-
|
|
16
|
-
## Prerequisites
|
|
17
|
-
- Completed Replicate Discovery workflow (`workflows/replicate/replicate-discovery.md`)
|
|
18
|
-
- Access to `docs/replicate/` directory with all analysis artifacts
|
|
19
|
-
- GitHub repository access with issue creation permissions
|
|
20
|
-
- Understanding of the target implementation repository
|
|
21
|
-
|
|
22
|
-
## Workflow Steps
|
|
23
|
-
|
|
24
|
-
### Phase 1: Prepare Issue Generation
|
|
25
|
-
|
|
26
|
-
1. **Review Discovery Artifacts**
|
|
27
|
-
- Read `docs/replicate/REPLICATION_ANALYSIS.md`
|
|
28
|
-
- Review `docs/replicate/reports/use-cases.md`
|
|
29
|
-
- Check `docs/replicate/reports/technology-stack.md`
|
|
30
|
-
- Verify all screenshots are accessible
|
|
31
|
-
|
|
32
|
-
2. **Define Issue Structure**
|
|
33
|
-
Each issue should include:
|
|
34
|
-
- **Title**: Clear, concise feature name
|
|
35
|
-
- **Description**: What needs to be built
|
|
36
|
-
- **User Story**: As a [role], I want [feature] so that [benefit]
|
|
37
|
-
- **Use Case Reference**: Link to use case in discovery docs
|
|
38
|
-
- **Screenshots**: Embedded or linked screenshots
|
|
39
|
-
- **Technical Requirements**: Technology, components, APIs needed
|
|
40
|
-
- **Acceptance Criteria**: Testable conditions for completion
|
|
41
|
-
- **Priority**: High/Medium/Low from discovery
|
|
42
|
-
- **Labels**: Feature type, priority, component area
|
|
43
|
-
- **Dependencies**: Links to related issues
|
|
44
|
-
|
|
45
|
-
3. **Create Issue Template**
|
|
46
|
-
```markdown
|
|
47
|
-
## User Story
|
|
48
|
-
As a [role], I want [feature] so that [benefit].
|
|
49
|
-
|
|
50
|
-
## Description
|
|
51
|
-
[Detailed description of the feature]
|
|
52
|
-
|
|
53
|
-
## Use Case Reference
|
|
54
|
-
See: `docs/replicate/reports/use-cases.md` - UC-[number]
|
|
55
|
-
|
|
56
|
-
## Screenshots
|
|
57
|
-

|
|
58
|
-
|
|
59
|
-
## Technical Requirements
|
|
60
|
-
- **Components**: [List of UI components needed]
|
|
61
|
-
- **Data Models**: [Entities and fields]
|
|
62
|
-
- **API Endpoints**: [Required endpoints]
|
|
63
|
-
- **Dependencies**: [External libraries or services]
|
|
64
|
-
|
|
65
|
-
## Acceptance Criteria
|
|
66
|
-
- [ ] [Testable criterion 1]
|
|
67
|
-
- [ ] [Testable criterion 2]
|
|
68
|
-
- [ ] [Testable criterion 3]
|
|
69
|
-
|
|
70
|
-
## Implementation Notes
|
|
71
|
-
[Any additional technical notes or considerations]
|
|
72
|
-
|
|
73
|
-
## Related Issues
|
|
74
|
-
- Depends on: #[issue-number]
|
|
75
|
-
- Related to: #[issue-number]
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
### Phase 2: Categorize and Prioritize
|
|
79
|
-
|
|
80
|
-
1. **Group Use Cases by Implementation Order**
|
|
81
|
-
Typical order:
|
|
82
|
-
1. **Foundation** (Priority: High)
|
|
83
|
-
- Project setup and configuration
|
|
84
|
-
- Database schema and models
|
|
85
|
-
- Authentication system
|
|
86
|
-
- Basic routing and navigation
|
|
87
|
-
|
|
88
|
-
2. **Core Features** (Priority: High)
|
|
89
|
-
- Primary user workflows
|
|
90
|
-
- Essential CRUD operations
|
|
91
|
-
- Main user interfaces
|
|
92
|
-
|
|
93
|
-
3. **Secondary Features** (Priority: Medium)
|
|
94
|
-
- Supporting functionality
|
|
95
|
-
- Additional user workflows
|
|
96
|
-
- Enhanced features
|
|
97
|
-
|
|
98
|
-
4. **Polish & Enhancement** (Priority: Low)
|
|
99
|
-
- UI/UX improvements
|
|
100
|
-
- Edge cases
|
|
101
|
-
- Nice-to-have features
|
|
102
|
-
|
|
103
|
-
2. **Identify Dependencies**
|
|
104
|
-
- Authentication must come before protected features
|
|
105
|
-
- Data models before features that use them
|
|
106
|
-
- Shared components before pages that use them
|
|
107
|
-
- API endpoints before frontend features
|
|
108
|
-
|
|
109
|
-
3. **Create Implementation Roadmap**
|
|
110
|
-
Document in `docs/replicate/IMPLEMENTATION_ROADMAP.md`:
|
|
111
|
-
- Phase 1: Foundation (issues #1-10)
|
|
112
|
-
- Phase 2: Core Features (issues #11-30)
|
|
113
|
-
- Phase 3: Secondary Features (issues #31-50)
|
|
114
|
-
- Phase 4: Polish (issues #51+)
|
|
115
|
-
|
|
116
|
-
### Phase 3: Generate GitHub Issues
|
|
117
|
-
|
|
118
|
-
1. **Create Foundation Issues**
|
|
119
|
-
Generate issues for:
|
|
120
|
-
- Project setup and tooling
|
|
121
|
-
- Database schema design
|
|
122
|
-
- Authentication system
|
|
123
|
-
- Base layout and navigation
|
|
124
|
-
- Shared component library
|
|
125
|
-
|
|
126
|
-
2. **Create Feature Issues**
|
|
127
|
-
For each use case in `docs/replicate/reports/use-cases.md`:
|
|
128
|
-
- Extract use case details
|
|
129
|
-
- Format as GitHub issue
|
|
130
|
-
- Include relevant screenshots
|
|
131
|
-
- Add technical requirements
|
|
132
|
-
- Set priority and labels
|
|
133
|
-
- Note dependencies
|
|
134
|
-
|
|
135
|
-
3. **Use GitHub API or CLI**
|
|
136
|
-
```bash
|
|
137
|
-
# Using GitHub CLI
|
|
138
|
-
gh issue create \
|
|
139
|
-
--title "Implement User Registration" \
|
|
140
|
-
--body-file issue-template.md \
|
|
141
|
-
--label "feature,high-priority,authentication" \
|
|
142
|
-
--assignee @me
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
4. **Batch Issue Creation**
|
|
146
|
-
Create a script or use MCP GitHub tools:
|
|
147
|
-
- Read use cases from `docs/replicate/reports/use-cases.md`
|
|
148
|
-
- Generate issue body for each
|
|
149
|
-
- Create issues via API
|
|
150
|
-
- Track created issue numbers
|
|
151
|
-
- Update dependency links
|
|
152
|
-
|
|
153
|
-
### Phase 4: Link and Organize
|
|
154
|
-
|
|
155
|
-
1. **Update Issue Dependencies**
|
|
156
|
-
- After all issues created, update with dependency links
|
|
157
|
-
- Use "Depends on #X" or "Blocked by #X"
|
|
158
|
-
- Link related issues with "Related to #X"
|
|
159
|
-
|
|
160
|
-
2. **Create GitHub Milestones**
|
|
161
|
-
- Foundation Milestone
|
|
162
|
-
- Core Features Milestone
|
|
163
|
-
- Secondary Features Milestone
|
|
164
|
-
- Polish & Launch Milestone
|
|
165
|
-
|
|
166
|
-
3. **Assign Issues to Milestones**
|
|
167
|
-
- Group issues by implementation phase
|
|
168
|
-
- Set milestone due dates if applicable
|
|
169
|
-
|
|
170
|
-
4. **Create Project Board** (Optional)
|
|
171
|
-
- Columns: Backlog, Spec, Design, Implementation, Testing, Done
|
|
172
|
-
- Add all issues to board
|
|
173
|
-
- Organize by priority and dependencies
|
|
174
|
-
|
|
175
|
-
### Phase 5: Documentation
|
|
176
|
-
|
|
177
|
-
1. **Create Issue Index**
|
|
178
|
-
Generate `docs/replicate/GITHUB_ISSUES.md`:
|
|
179
|
-
```markdown
|
|
180
|
-
# GitHub Issues Index
|
|
181
|
-
|
|
182
|
-
## Foundation Issues
|
|
183
|
-
- #1: Project Setup and Configuration
|
|
184
|
-
- #2: Database Schema Design
|
|
185
|
-
- #3: Authentication System
|
|
186
|
-
|
|
187
|
-
## Core Features
|
|
188
|
-
- #10: User Registration
|
|
189
|
-
- #11: User Login
|
|
190
|
-
- #12: Event Listing
|
|
191
|
-
|
|
192
|
-
[etc.]
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
2. **Update Master Report**
|
|
196
|
-
Add to `docs/replicate/REPLICATION_ANALYSIS.md`:
|
|
197
|
-
- Link to GitHub issues
|
|
198
|
-
- Implementation roadmap
|
|
199
|
-
- Next steps for development
|
|
200
|
-
|
|
201
|
-
3. **Create Developer Guide**
|
|
202
|
-
Generate `docs/replicate/DEVELOPER_GUIDE.md`:
|
|
203
|
-
- How to pick up an issue
|
|
204
|
-
- Workflow: spec → design → implement → test
|
|
205
|
-
- Where to find reference materials
|
|
206
|
-
- How to use discovery artifacts
|
|
207
|
-
|
|
208
|
-
## Output Artifacts
|
|
209
|
-
|
|
210
|
-
After completing this workflow, you should have:
|
|
211
|
-
|
|
212
|
-
1. **GitHub Issues**
|
|
213
|
-
- One issue per feature/use case
|
|
214
|
-
- Properly labeled and prioritized
|
|
215
|
-
- With dependencies linked
|
|
216
|
-
- Assigned to milestones
|
|
217
|
-
|
|
218
|
-
2. **Documentation**
|
|
219
|
-
- `docs/replicate/IMPLEMENTATION_ROADMAP.md` - Phased implementation plan
|
|
220
|
-
- `docs/replicate/GITHUB_ISSUES.md` - Index of all created issues
|
|
221
|
-
- `docs/replicate/DEVELOPER_GUIDE.md` - How to work with issues
|
|
222
|
-
|
|
223
|
-
3. **Project Organization**
|
|
224
|
-
- GitHub milestones created
|
|
225
|
-
- Project board set up (optional)
|
|
226
|
-
- Issues organized and ready for work
|
|
227
|
-
|
|
228
|
-
## Issue Labeling Strategy
|
|
229
|
-
|
|
230
|
-
Use consistent labels:
|
|
231
|
-
- **Type**: `feature`, `bug`, `enhancement`, `documentation`
|
|
232
|
-
- **Priority**: `high-priority`, `medium-priority`, `low-priority`
|
|
233
|
-
- **Component**: `authentication`, `ui`, `api`, `database`, `navigation`
|
|
234
|
-
- **Status**: `needs-spec`, `needs-design`, `ready-for-implementation`, `blocked`
|
|
235
|
-
- **Phase**: `foundation`, `core`, `secondary`, `polish`
|
|
236
|
-
|
|
237
|
-
## Best Practices
|
|
238
|
-
|
|
239
|
-
1. **Keep Issues Focused**: One feature per issue, not too broad
|
|
240
|
-
2. **Include Context**: Link to discovery docs and screenshots
|
|
241
|
-
3. **Clear Acceptance Criteria**: Make it obvious when done
|
|
242
|
-
4. **Realistic Scope**: Issues should be completable in reasonable time
|
|
243
|
-
5. **Update Dependencies**: Keep dependency links current
|
|
244
|
-
6. **Use Templates**: Consistent issue format helps clarity
|
|
245
|
-
|
|
246
|
-
## Common Patterns
|
|
247
|
-
|
|
248
|
-
### Foundation Issue Example
|
|
249
|
-
```markdown
|
|
250
|
-
Title: Set Up Database Schema for User Management
|
|
251
|
-
|
|
252
|
-
## User Story
|
|
253
|
-
As a developer, I want a well-designed database schema so that I can implement user-related features.
|
|
254
|
-
|
|
255
|
-
## Description
|
|
256
|
-
Design and implement the database schema for user management based on the discovery analysis.
|
|
257
|
-
|
|
258
|
-
## Technical Requirements
|
|
259
|
-
- User table with fields: id, email, password_hash, name, created_at, updated_at
|
|
260
|
-
- Profile table with additional user information
|
|
261
|
-
- Proper indexes and constraints
|
|
262
|
-
- Migration scripts
|
|
263
|
-
|
|
264
|
-
## Acceptance Criteria
|
|
265
|
-
- [ ] Database schema designed and documented
|
|
266
|
-
- [ ] Migration scripts created
|
|
267
|
-
- [ ] Schema matches requirements from discovery
|
|
268
|
-
- [ ] Indexes added for performance
|
|
269
|
-
- [ ] Foreign keys and constraints properly set
|
|
270
|
-
|
|
271
|
-
## Related Issues
|
|
272
|
-
- Blocks: #10 (User Registration)
|
|
273
|
-
- Blocks: #11 (User Login)
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
### Feature Issue Example
|
|
277
|
-
```markdown
|
|
278
|
-
Title: Implement Event Listing Page
|
|
279
|
-
|
|
280
|
-
## User Story
|
|
281
|
-
As a user, I want to see a list of upcoming events so that I can find events to attend.
|
|
282
|
-
|
|
283
|
-
## Description
|
|
284
|
-
Implement the event listing page showing all upcoming events with filtering and search capabilities.
|
|
285
|
-
|
|
286
|
-
## Use Case Reference
|
|
287
|
-
See: `docs/replicate/reports/use-cases.md` - UC-15
|
|
288
|
-
|
|
289
|
-
## Screenshots
|
|
290
|
-

|
|
291
|
-
|
|
292
|
-
## Technical Requirements
|
|
293
|
-
- **Components**: EventCard, EventList, FilterBar, SearchBox
|
|
294
|
-
- **Data Models**: Event (id, title, date, location, description)
|
|
295
|
-
- **API Endpoints**: GET /api/events?filter=upcoming&search=query
|
|
296
|
-
- **Dependencies**: React, date-fns for date formatting
|
|
297
|
-
|
|
298
|
-
## Acceptance Criteria
|
|
299
|
-
- [ ] Event list displays all upcoming events
|
|
300
|
-
- [ ] Events can be filtered by date, location, category
|
|
301
|
-
- [ ] Search functionality works
|
|
302
|
-
- [ ] Pagination implemented (20 events per page)
|
|
303
|
-
- [ ] Responsive design matches screenshots
|
|
304
|
-
- [ ] Loading and error states handled
|
|
305
|
-
|
|
306
|
-
## Implementation Notes
|
|
307
|
-
- Use infinite scroll or pagination
|
|
308
|
-
- Cache event data for performance
|
|
309
|
-
- Consider using React Query for data fetching
|
|
310
|
-
|
|
311
|
-
## Related Issues
|
|
312
|
-
- Depends on: #5 (Event Data Model)
|
|
313
|
-
- Depends on: #8 (Event API Endpoints)
|
|
314
|
-
- Related to: #16 (Event Detail Page)
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
## Next Steps
|
|
318
|
-
|
|
319
|
-
After completing this workflow, let the user verify and once in agreement, recommend that the product-building workflows be started with prep-issue, spec, design, implement phases
|