bmad-game-dev-studio 0.1.0
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/.markdownlint-cli2.yaml +35 -0
- package/.nvmrc +1 -0
- package/.prettierignore +9 -0
- package/LICENSE +26 -0
- package/README.md +41 -0
- package/eslint.config.mjs +152 -0
- package/package.json +92 -0
- package/prettier.config.mjs +32 -0
- package/src/_module-installer/installer.js +110 -0
- package/src/_module-installer/platform-specifics/claude-code.js +23 -0
- package/src/_module-installer/platform-specifics/windsurf.js +18 -0
- package/src/agents/game-architect.agent.yaml +40 -0
- package/src/agents/game-designer.agent.yaml +45 -0
- package/src/agents/game-dev.agent.yaml +49 -0
- package/src/agents/game-qa.agent.yaml +63 -0
- package/src/agents/game-scrum-master.agent.yaml +56 -0
- package/src/agents/game-solo-dev.agent.yaml +49 -0
- package/src/agents/tech-writer/tech-writer.agent.yaml +45 -0
- package/src/gametest/qa-index.csv +18 -0
- package/src/module-help.csv +26 -0
- package/src/module.yaml +65 -0
- package/src/teams/default-party.csv +12 -0
- package/src/teams/team-gamedev.yaml +29 -0
- package/src/workflows/1-preproduction/brainstorm-game/game-brain-methods.csv +26 -0
- package/src/workflows/1-preproduction/brainstorm-game/workflow.yaml +62 -0
- package/src/workflows/1-preproduction/game-brief/workflow.yaml +67 -0
- package/src/workflows/2-design/gdd/game-types.csv +25 -0
- package/src/workflows/2-design/gdd/workflow.yaml +101 -0
- package/src/workflows/2-design/narrative/workflow.yaml +77 -0
- package/src/workflows/3-technical/game-architecture/architecture-patterns.yaml +321 -0
- package/src/workflows/3-technical/game-architecture/decision-catalog.yaml +222 -0
- package/src/workflows/3-technical/game-architecture/pattern-categories.csv +13 -0
- package/src/workflows/3-technical/game-architecture/workflow.yaml +98 -0
- package/src/workflows/4-production/code-review/instructions.xml +226 -0
- package/src/workflows/4-production/code-review/workflow.yaml +64 -0
- package/src/workflows/4-production/correct-course/workflow.yaml +65 -0
- package/src/workflows/4-production/create-story/instructions.xml +345 -0
- package/src/workflows/4-production/create-story/workflow.yaml +61 -0
- package/src/workflows/4-production/dev-story/instructions.xml +410 -0
- package/src/workflows/4-production/dev-story/workflow.yaml +27 -0
- package/src/workflows/4-production/retrospective/workflow.yaml +58 -0
- package/src/workflows/4-production/sprint-planning/sprint-status-template.yaml +55 -0
- package/src/workflows/4-production/sprint-planning/workflow.yaml +54 -0
- package/src/workflows/4-production/sprint-status/workflow.yaml +35 -0
- package/src/workflows/document-project/documentation-requirements.csv +12 -0
- package/src/workflows/document-project/templates/project-scan-report-schema.json +160 -0
- package/src/workflows/document-project/workflow.yaml +30 -0
- package/src/workflows/document-project/workflows/deep-dive.yaml +31 -0
- package/src/workflows/document-project/workflows/full-scan.yaml +31 -0
- package/src/workflows/gametest/automate/workflow.yaml +50 -0
- package/src/workflows/gametest/e2e-scaffold/workflow.yaml +145 -0
- package/src/workflows/gametest/performance/workflow.yaml +48 -0
- package/src/workflows/gametest/playtest-plan/workflow.yaml +59 -0
- package/src/workflows/gametest/test-design/workflow.yaml +47 -0
- package/src/workflows/gametest/test-framework/workflow.yaml +48 -0
- package/src/workflows/gametest/test-review/workflow.yaml +48 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
id,name,description,genre_tags,fragment_file
|
|
2
|
+
action-platformer,Action Platformer,"Side-scrolling or 3D platforming with combat mechanics","action,platformer,combat,movement",action-platformer.md
|
|
3
|
+
puzzle,Puzzle,"Logic-based challenges and problem-solving","puzzle,logic,cerebral",puzzle.md
|
|
4
|
+
rpg,RPG,"Character progression, stats, inventory, quests","rpg,stats,inventory,quests,narrative",rpg.md
|
|
5
|
+
strategy,Strategy,"Resource management, tactical decisions, long-term planning","strategy,tactics,resources,planning",strategy.md
|
|
6
|
+
shooter,Shooter,"Projectile combat, aiming mechanics, arena/level design","shooter,combat,aiming,fps,tps",shooter.md
|
|
7
|
+
adventure,Adventure,"Story-driven exploration and narrative","adventure,narrative,exploration,story",adventure.md
|
|
8
|
+
simulation,Simulation,"Realistic systems, management, building","simulation,management,sandbox,systems",simulation.md
|
|
9
|
+
roguelike,Roguelike,"Procedural generation, permadeath, run-based progression","roguelike,procedural,permadeath,runs",roguelike.md
|
|
10
|
+
moba,MOBA,"Multiplayer team battles, hero/champion selection, lanes","moba,multiplayer,pvp,heroes,lanes",moba.md
|
|
11
|
+
fighting,Fighting,"1v1 combat, combos, frame data, competitive","fighting,combat,competitive,combos,pvp",fighting.md
|
|
12
|
+
racing,Racing,"Vehicle control, tracks, speed, lap times","racing,vehicles,tracks,speed",racing.md
|
|
13
|
+
sports,Sports,"Team-based or individual sports simulation","sports,teams,realistic,physics",sports.md
|
|
14
|
+
survival,Survival,"Resource gathering, crafting, persistent threats","survival,crafting,resources,danger",survival.md
|
|
15
|
+
horror,Horror,"Atmosphere, tension, limited resources, fear mechanics","horror,atmosphere,tension,fear",horror.md
|
|
16
|
+
idle-incremental,Idle/Incremental,"Passive progression, upgrades, automation","idle,incremental,automation,progression",idle-incremental.md
|
|
17
|
+
card-game,Card Game,"Deck building, card mechanics, turn-based strategy","card,deck-building,strategy,turns",card-game.md
|
|
18
|
+
tower-defense,Tower Defense,"Wave-based defense, tower placement, resource management","tower-defense,waves,placement,strategy",tower-defense.md
|
|
19
|
+
metroidvania,Metroidvania,"Interconnected world, ability gating, exploration","metroidvania,exploration,abilities,interconnected",metroidvania.md
|
|
20
|
+
visual-novel,Visual Novel,"Narrative choices, branching story, dialogue","visual-novel,narrative,choices,story",visual-novel.md
|
|
21
|
+
rhythm,Rhythm,"Music synchronization, timing-based gameplay","rhythm,music,timing,beats",rhythm.md
|
|
22
|
+
turn-based-tactics,Turn-Based Tactics,"Grid-based movement, turn order, positioning","tactics,turn-based,grid,positioning",turn-based-tactics.md
|
|
23
|
+
sandbox,Sandbox,"Creative freedom, building, minimal objectives","sandbox,creative,building,freedom",sandbox.md
|
|
24
|
+
text-based,Text-Based,"Text input/output, parser or choice-based","text,parser,interactive-fiction,mud",text-based.md
|
|
25
|
+
party-game,Party Game,"Local multiplayer, minigames, casual fun","party,multiplayer,minigames,casual",party-game.md
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Game Design Document (GDD) Workflow
|
|
2
|
+
name: gdd
|
|
3
|
+
description: "Game Design Document workflow for all game project levels - from small prototypes to full AAA games. Generates comprehensive GDD with game mechanics, systems, progression, and implementation guidance."
|
|
4
|
+
author: "BMad"
|
|
5
|
+
|
|
6
|
+
# Critical variables from config
|
|
7
|
+
config_source: "{project-root}/_bmad/gds/config.yaml"
|
|
8
|
+
output_folder: "{config_source}:output_folder"
|
|
9
|
+
user_name: "{config_source}:user_name"
|
|
10
|
+
communication_language: "{config_source}:communication_language"
|
|
11
|
+
document_output_language: "{config_source}:document_output_language"
|
|
12
|
+
game_dev_experience: "{config_source}:game_dev_experience"
|
|
13
|
+
date: system-generated
|
|
14
|
+
|
|
15
|
+
# Workflow components - Step-file architecture
|
|
16
|
+
installed_path: "{project-root}/_bmad/gds/workflows/2-design/gdd"
|
|
17
|
+
instructions: "{installed_path}/workflow.md"
|
|
18
|
+
template: "{installed_path}/templates/gdd-template.md"
|
|
19
|
+
game_types_csv: "{installed_path}/game-types.csv"
|
|
20
|
+
|
|
21
|
+
# Output configuration
|
|
22
|
+
default_output_file: "{output_folder}/gdd.md"
|
|
23
|
+
|
|
24
|
+
# Game type references (loaded based on game type selection)
|
|
25
|
+
game_type_guides: "{installed_path}/game-types/"
|
|
26
|
+
|
|
27
|
+
# Smart input file references - handles both whole docs and sharded docs
|
|
28
|
+
# Priority: Whole document first, then sharded version
|
|
29
|
+
input_file_patterns:
|
|
30
|
+
game_brief:
|
|
31
|
+
description: "Game vision and core concept (optional)"
|
|
32
|
+
whole: "{output_folder}/*game-brief*.md"
|
|
33
|
+
sharded: "{output_folder}/*game-brief*/index.md"
|
|
34
|
+
load_strategy: "INDEX_GUIDED"
|
|
35
|
+
|
|
36
|
+
research:
|
|
37
|
+
description: "Market or domain research (optional)"
|
|
38
|
+
whole: "{output_folder}/*research*.md"
|
|
39
|
+
sharded: "{output_folder}/*research*/index.md"
|
|
40
|
+
load_strategy: "FULL_LOAD"
|
|
41
|
+
|
|
42
|
+
document_project:
|
|
43
|
+
description: "Brownfield project documentation (optional)"
|
|
44
|
+
sharded: "{output_folder}/index.md"
|
|
45
|
+
load_strategy: "INDEX_GUIDED"
|
|
46
|
+
|
|
47
|
+
standalone: true
|
|
48
|
+
|
|
49
|
+
web_bundle:
|
|
50
|
+
name: "gdd"
|
|
51
|
+
description: "Game Design Document workflow for all game project levels - from small prototypes to full AAA games. Generates comprehensive GDD with game mechanics, systems, progression, and implementation guidance."
|
|
52
|
+
author: "BMad"
|
|
53
|
+
instructions: "_bmad/gds/workflows/2-design/gdd/workflow.md"
|
|
54
|
+
web_bundle_files:
|
|
55
|
+
# Main workflow file
|
|
56
|
+
- "_bmad/gds/workflows/2-design/gdd/workflow.md"
|
|
57
|
+
# Step files
|
|
58
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-01-init.md"
|
|
59
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-01b-continue.md"
|
|
60
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-02-context.md"
|
|
61
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-03-platforms.md"
|
|
62
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-04-vision.md"
|
|
63
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-05-core-gameplay.md"
|
|
64
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-06-mechanics.md"
|
|
65
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-07-game-type.md"
|
|
66
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-08-progression.md"
|
|
67
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-09-levels.md"
|
|
68
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-10-art-audio.md"
|
|
69
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-11-technical.md"
|
|
70
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-12-epics.md"
|
|
71
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-13-metrics.md"
|
|
72
|
+
- "_bmad/gds/workflows/2-design/gdd/steps/step-14-complete.md"
|
|
73
|
+
# Template
|
|
74
|
+
- "_bmad/gds/workflows/2-design/gdd/templates/gdd-template.md"
|
|
75
|
+
# Data files
|
|
76
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types.csv"
|
|
77
|
+
# Game type guides
|
|
78
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/action-platformer.md"
|
|
79
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/adventure.md"
|
|
80
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/card-game.md"
|
|
81
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/fighting.md"
|
|
82
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/horror.md"
|
|
83
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/idle-incremental.md"
|
|
84
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/metroidvania.md"
|
|
85
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/moba.md"
|
|
86
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/party-game.md"
|
|
87
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/puzzle.md"
|
|
88
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/racing.md"
|
|
89
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/rhythm.md"
|
|
90
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/roguelike.md"
|
|
91
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/rpg.md"
|
|
92
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/sandbox.md"
|
|
93
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/shooter.md"
|
|
94
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/simulation.md"
|
|
95
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/sports.md"
|
|
96
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/strategy.md"
|
|
97
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/survival.md"
|
|
98
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/text-based.md"
|
|
99
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/tower-defense.md"
|
|
100
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/turn-based-tactics.md"
|
|
101
|
+
- "_bmad/gds/workflows/2-design/gdd/game-types/visual-novel.md"
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Narrative Design Workflow
|
|
2
|
+
name: narrative
|
|
3
|
+
description: "Narrative design workflow for story-driven games. Creates comprehensive narrative documentation including story structure, character arcs, world-building, dialogue systems, and production planning."
|
|
4
|
+
author: "BMad"
|
|
5
|
+
|
|
6
|
+
# Critical variables from config
|
|
7
|
+
config_source: "{project-root}/_bmad/gds/config.yaml"
|
|
8
|
+
output_folder: "{config_source}:output_folder"
|
|
9
|
+
user_name: "{config_source}:user_name"
|
|
10
|
+
communication_language: "{config_source}:communication_language"
|
|
11
|
+
document_output_language: "{config_source}:document_output_language"
|
|
12
|
+
game_dev_experience: "{config_source}:game_dev_experience"
|
|
13
|
+
date: system-generated
|
|
14
|
+
|
|
15
|
+
# Workflow components - Step-file architecture
|
|
16
|
+
installed_path: "{project-root}/_bmad/gds/workflows/2-design/narrative"
|
|
17
|
+
instructions: "{installed_path}/workflow.md"
|
|
18
|
+
template: "{installed_path}/templates/narrative-template.md"
|
|
19
|
+
validation: "{installed_path}/checklist.md"
|
|
20
|
+
|
|
21
|
+
# Smart input file references
|
|
22
|
+
input_file_patterns:
|
|
23
|
+
gdd:
|
|
24
|
+
description: "Game Design Document with mechanics and systems"
|
|
25
|
+
whole: "{output_folder}/*gdd*.md"
|
|
26
|
+
sharded: "{output_folder}/*gdd*/index.md"
|
|
27
|
+
load_strategy: "INDEX_GUIDED"
|
|
28
|
+
|
|
29
|
+
brief:
|
|
30
|
+
description: "Game Brief with vision (optional)"
|
|
31
|
+
whole: "{output_folder}/*brief*.md"
|
|
32
|
+
sharded: "{output_folder}/*brief*/index.md"
|
|
33
|
+
load_strategy: "INDEX_GUIDED"
|
|
34
|
+
|
|
35
|
+
# Output configuration
|
|
36
|
+
default_output_file: "{output_folder}/narrative-design.md"
|
|
37
|
+
|
|
38
|
+
# Workflow metadata
|
|
39
|
+
version: "2.0.0"
|
|
40
|
+
paradigm: "step-file-architecture"
|
|
41
|
+
features:
|
|
42
|
+
- "Step-file architecture for modular execution"
|
|
43
|
+
- "Narrative complexity assessment"
|
|
44
|
+
- "Character development facilitation"
|
|
45
|
+
- "World-building guidance"
|
|
46
|
+
- "Dialogue system design"
|
|
47
|
+
- "Environmental storytelling planning"
|
|
48
|
+
- "Production scope estimation"
|
|
49
|
+
- "State tracking via frontmatter"
|
|
50
|
+
|
|
51
|
+
standalone: true
|
|
52
|
+
|
|
53
|
+
web_bundle:
|
|
54
|
+
name: "narrative"
|
|
55
|
+
description: "Narrative design workflow for story-driven games"
|
|
56
|
+
author: "BMad"
|
|
57
|
+
instructions: "_bmad/gds/workflows/2-design/narrative/workflow.md"
|
|
58
|
+
web_bundle_files:
|
|
59
|
+
# Main workflow file
|
|
60
|
+
- "_bmad/gds/workflows/2-design/narrative/workflow.md"
|
|
61
|
+
# Step files
|
|
62
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-01-init.md"
|
|
63
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-01b-continue.md"
|
|
64
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-02-foundation.md"
|
|
65
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-03-story.md"
|
|
66
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-04-characters.md"
|
|
67
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-05-world.md"
|
|
68
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-06-dialogue.md"
|
|
69
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-07-environmental.md"
|
|
70
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-08-delivery.md"
|
|
71
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-09-integration.md"
|
|
72
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-10-production.md"
|
|
73
|
+
- "_bmad/gds/workflows/2-design/narrative/steps/step-11-complete.md"
|
|
74
|
+
# Template
|
|
75
|
+
- "_bmad/gds/workflows/2-design/narrative/templates/narrative-template.md"
|
|
76
|
+
# Validation checklist
|
|
77
|
+
- "_bmad/gds/workflows/2-design/narrative/checklist.md"
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
# Architecture Patterns - Common patterns identified from requirements
|
|
2
|
+
|
|
3
|
+
requirement_patterns:
|
|
4
|
+
realtime_collaboration:
|
|
5
|
+
triggers:
|
|
6
|
+
- "real-time"
|
|
7
|
+
- "collaborative"
|
|
8
|
+
- "live updates"
|
|
9
|
+
- "multi-user"
|
|
10
|
+
- "simultaneous editing"
|
|
11
|
+
decisions_needed:
|
|
12
|
+
- websocket_solution
|
|
13
|
+
- conflict_resolution
|
|
14
|
+
- state_synchronization
|
|
15
|
+
- presence_tracking
|
|
16
|
+
- optimistic_updates
|
|
17
|
+
suggested_stack:
|
|
18
|
+
- "Socket.io or WebSocket native"
|
|
19
|
+
- "Redis for pub/sub"
|
|
20
|
+
- "Operational Transforms or CRDTs for conflict resolution"
|
|
21
|
+
- "PostgreSQL for persistence"
|
|
22
|
+
|
|
23
|
+
ecommerce:
|
|
24
|
+
triggers:
|
|
25
|
+
- "shopping cart"
|
|
26
|
+
- "checkout"
|
|
27
|
+
- "payments"
|
|
28
|
+
- "inventory"
|
|
29
|
+
- "product catalog"
|
|
30
|
+
decisions_needed:
|
|
31
|
+
- payment_processor
|
|
32
|
+
- cart_persistence
|
|
33
|
+
- inventory_management
|
|
34
|
+
- order_workflow
|
|
35
|
+
- tax_calculation
|
|
36
|
+
suggested_stack:
|
|
37
|
+
- "Stripe or PayPal for payments"
|
|
38
|
+
- "PostgreSQL for products and orders"
|
|
39
|
+
- "Redis for cart sessions"
|
|
40
|
+
- "BullMQ for order processing"
|
|
41
|
+
|
|
42
|
+
saas_platform:
|
|
43
|
+
triggers:
|
|
44
|
+
- "multi-tenant"
|
|
45
|
+
- "subscription"
|
|
46
|
+
- "billing"
|
|
47
|
+
- "team management"
|
|
48
|
+
- "roles and permissions"
|
|
49
|
+
decisions_needed:
|
|
50
|
+
- tenancy_model
|
|
51
|
+
- subscription_billing
|
|
52
|
+
- permission_system
|
|
53
|
+
- team_collaboration
|
|
54
|
+
- usage_tracking
|
|
55
|
+
suggested_stack:
|
|
56
|
+
- "PostgreSQL with Row Level Security"
|
|
57
|
+
- "Stripe Billing for subscriptions"
|
|
58
|
+
- "RBAC or ABAC for permissions"
|
|
59
|
+
- "NextAuth or Clerk for auth"
|
|
60
|
+
|
|
61
|
+
content_platform:
|
|
62
|
+
triggers:
|
|
63
|
+
- "CMS"
|
|
64
|
+
- "blog"
|
|
65
|
+
- "publishing"
|
|
66
|
+
- "content management"
|
|
67
|
+
- "editorial workflow"
|
|
68
|
+
decisions_needed:
|
|
69
|
+
- content_storage
|
|
70
|
+
- rich_text_editor
|
|
71
|
+
- media_handling
|
|
72
|
+
- version_control
|
|
73
|
+
- publishing_workflow
|
|
74
|
+
suggested_stack:
|
|
75
|
+
- "PostgreSQL for structured content"
|
|
76
|
+
- "S3 or Cloudinary for media"
|
|
77
|
+
- "Tiptap or Slate for rich text"
|
|
78
|
+
- "Algolia for search"
|
|
79
|
+
|
|
80
|
+
data_analytics:
|
|
81
|
+
triggers:
|
|
82
|
+
- "dashboards"
|
|
83
|
+
- "reporting"
|
|
84
|
+
- "metrics"
|
|
85
|
+
- "analytics"
|
|
86
|
+
- "data visualization"
|
|
87
|
+
decisions_needed:
|
|
88
|
+
- data_warehouse
|
|
89
|
+
- etl_pipeline
|
|
90
|
+
- visualization_library
|
|
91
|
+
- query_optimization
|
|
92
|
+
- caching_strategy
|
|
93
|
+
suggested_stack:
|
|
94
|
+
- "PostgreSQL or ClickHouse"
|
|
95
|
+
- "Apache Airflow or Temporal for ETL"
|
|
96
|
+
- "Chart.js or D3 for visualization"
|
|
97
|
+
- "Redis for query caching"
|
|
98
|
+
|
|
99
|
+
social_platform:
|
|
100
|
+
triggers:
|
|
101
|
+
- "social network"
|
|
102
|
+
- "feed"
|
|
103
|
+
- "following"
|
|
104
|
+
- "likes"
|
|
105
|
+
- "comments"
|
|
106
|
+
decisions_needed:
|
|
107
|
+
- graph_relationships
|
|
108
|
+
- feed_algorithm
|
|
109
|
+
- notification_system
|
|
110
|
+
- content_moderation
|
|
111
|
+
- privacy_controls
|
|
112
|
+
suggested_stack:
|
|
113
|
+
- "PostgreSQL with graph extensions or Neo4j"
|
|
114
|
+
- "Redis for feed caching"
|
|
115
|
+
- "Elasticsearch for user search"
|
|
116
|
+
- "WebSockets for notifications"
|
|
117
|
+
|
|
118
|
+
marketplace:
|
|
119
|
+
triggers:
|
|
120
|
+
- "marketplace"
|
|
121
|
+
- "vendors"
|
|
122
|
+
- "buyers and sellers"
|
|
123
|
+
- "transactions"
|
|
124
|
+
- "escrow"
|
|
125
|
+
decisions_needed:
|
|
126
|
+
- payment_splitting
|
|
127
|
+
- escrow_handling
|
|
128
|
+
- vendor_management
|
|
129
|
+
- dispute_resolution
|
|
130
|
+
- commission_model
|
|
131
|
+
suggested_stack:
|
|
132
|
+
- "Stripe Connect for payments"
|
|
133
|
+
- "PostgreSQL for transactions"
|
|
134
|
+
- "BullMQ for async processing"
|
|
135
|
+
- "S3 for vendor assets"
|
|
136
|
+
|
|
137
|
+
streaming_platform:
|
|
138
|
+
triggers:
|
|
139
|
+
- "video streaming"
|
|
140
|
+
- "live streaming"
|
|
141
|
+
- "media delivery"
|
|
142
|
+
- "broadcast"
|
|
143
|
+
decisions_needed:
|
|
144
|
+
- video_encoding
|
|
145
|
+
- cdn_strategy
|
|
146
|
+
- streaming_protocol
|
|
147
|
+
- bandwidth_optimization
|
|
148
|
+
- drm_protection
|
|
149
|
+
suggested_stack:
|
|
150
|
+
- "AWS MediaConvert or Mux"
|
|
151
|
+
- "CloudFront or Fastly CDN"
|
|
152
|
+
- "HLS or DASH protocol"
|
|
153
|
+
- "S3 for video storage"
|
|
154
|
+
|
|
155
|
+
iot_platform:
|
|
156
|
+
triggers:
|
|
157
|
+
- "IoT"
|
|
158
|
+
- "sensors"
|
|
159
|
+
- "device management"
|
|
160
|
+
- "telemetry"
|
|
161
|
+
- "edge computing"
|
|
162
|
+
decisions_needed:
|
|
163
|
+
- message_protocol
|
|
164
|
+
- time_series_database
|
|
165
|
+
- device_authentication
|
|
166
|
+
- data_ingestion
|
|
167
|
+
- edge_processing
|
|
168
|
+
suggested_stack:
|
|
169
|
+
- "MQTT or CoAP protocol"
|
|
170
|
+
- "TimescaleDB or InfluxDB"
|
|
171
|
+
- "Apache Kafka for ingestion"
|
|
172
|
+
- "Grafana for monitoring"
|
|
173
|
+
|
|
174
|
+
ai_application:
|
|
175
|
+
triggers:
|
|
176
|
+
- "machine learning"
|
|
177
|
+
- "AI features"
|
|
178
|
+
- "LLM integration"
|
|
179
|
+
- "computer vision"
|
|
180
|
+
- "NLP"
|
|
181
|
+
decisions_needed:
|
|
182
|
+
- model_serving
|
|
183
|
+
- vector_database
|
|
184
|
+
- prompt_management
|
|
185
|
+
- token_optimization
|
|
186
|
+
- fallback_strategy
|
|
187
|
+
suggested_stack:
|
|
188
|
+
- "OpenAI or Anthropic API"
|
|
189
|
+
- "Pinecone or pgvector for embeddings"
|
|
190
|
+
- "Redis for prompt caching"
|
|
191
|
+
- "Langchain or LlamaIndex"
|
|
192
|
+
|
|
193
|
+
# Quality attribute patterns
|
|
194
|
+
quality_attributes:
|
|
195
|
+
high_availability:
|
|
196
|
+
triggers:
|
|
197
|
+
- "99.9% uptime"
|
|
198
|
+
- "high availability"
|
|
199
|
+
- "fault tolerance"
|
|
200
|
+
- "disaster recovery"
|
|
201
|
+
architectural_needs:
|
|
202
|
+
- load_balancing
|
|
203
|
+
- database_replication
|
|
204
|
+
- health_checks
|
|
205
|
+
- circuit_breakers
|
|
206
|
+
- graceful_degradation
|
|
207
|
+
|
|
208
|
+
high_performance:
|
|
209
|
+
triggers:
|
|
210
|
+
- "millisecond response"
|
|
211
|
+
- "high throughput"
|
|
212
|
+
- "low latency"
|
|
213
|
+
- "performance critical"
|
|
214
|
+
architectural_needs:
|
|
215
|
+
- caching_layers
|
|
216
|
+
- database_optimization
|
|
217
|
+
- cdn_strategy
|
|
218
|
+
- code_splitting
|
|
219
|
+
- lazy_loading
|
|
220
|
+
|
|
221
|
+
high_security:
|
|
222
|
+
triggers:
|
|
223
|
+
- "compliance"
|
|
224
|
+
- "HIPAA"
|
|
225
|
+
- "GDPR"
|
|
226
|
+
- "financial data"
|
|
227
|
+
- "PCI DSS"
|
|
228
|
+
architectural_needs:
|
|
229
|
+
- encryption_at_rest
|
|
230
|
+
- encryption_in_transit
|
|
231
|
+
- audit_logging
|
|
232
|
+
- access_controls
|
|
233
|
+
- data_isolation
|
|
234
|
+
|
|
235
|
+
scalability:
|
|
236
|
+
triggers:
|
|
237
|
+
- "millions of users"
|
|
238
|
+
- "elastic scale"
|
|
239
|
+
- "global reach"
|
|
240
|
+
- "viral growth"
|
|
241
|
+
architectural_needs:
|
|
242
|
+
- horizontal_scaling
|
|
243
|
+
- database_sharding
|
|
244
|
+
- microservices
|
|
245
|
+
- queue_systems
|
|
246
|
+
- auto_scaling
|
|
247
|
+
|
|
248
|
+
# Integration patterns
|
|
249
|
+
integration_requirements:
|
|
250
|
+
payment_processing:
|
|
251
|
+
common_choices:
|
|
252
|
+
- "Stripe - most developer friendly"
|
|
253
|
+
- "PayPal - widest consumer adoption"
|
|
254
|
+
- "Square - best for in-person + online"
|
|
255
|
+
considerations:
|
|
256
|
+
- transaction_fees
|
|
257
|
+
- international_support
|
|
258
|
+
- subscription_handling
|
|
259
|
+
- marketplace_capabilities
|
|
260
|
+
|
|
261
|
+
email_service:
|
|
262
|
+
common_choices:
|
|
263
|
+
- "Resend - modern, developer friendly"
|
|
264
|
+
- "SendGrid - mature, scalable"
|
|
265
|
+
- "Amazon SES - cost effective at scale"
|
|
266
|
+
- "Postmark - transactional focus"
|
|
267
|
+
considerations:
|
|
268
|
+
- deliverability
|
|
269
|
+
- template_management
|
|
270
|
+
- analytics_needs
|
|
271
|
+
- cost_per_email
|
|
272
|
+
|
|
273
|
+
sms_notifications:
|
|
274
|
+
common_choices:
|
|
275
|
+
- "Twilio - most comprehensive"
|
|
276
|
+
- "Amazon SNS - AWS integrated"
|
|
277
|
+
- "Vonage - competitive pricing"
|
|
278
|
+
considerations:
|
|
279
|
+
- international_coverage
|
|
280
|
+
- delivery_rates
|
|
281
|
+
- two_way_messaging
|
|
282
|
+
- cost_per_message
|
|
283
|
+
|
|
284
|
+
authentication_providers:
|
|
285
|
+
social_providers:
|
|
286
|
+
- "Google - highest adoption"
|
|
287
|
+
- "GitHub - developer focused"
|
|
288
|
+
- "Microsoft - enterprise"
|
|
289
|
+
- "Apple - iOS users"
|
|
290
|
+
enterprise_providers:
|
|
291
|
+
- "SAML 2.0"
|
|
292
|
+
- "OAuth 2.0"
|
|
293
|
+
- "OpenID Connect"
|
|
294
|
+
- "Active Directory"
|
|
295
|
+
|
|
296
|
+
# Decision heuristics
|
|
297
|
+
decision_rules:
|
|
298
|
+
database_selection:
|
|
299
|
+
if_requirements_include:
|
|
300
|
+
- complex_relationships: "PostgreSQL"
|
|
301
|
+
- flexible_schema: "MongoDB"
|
|
302
|
+
- time_series: "TimescaleDB"
|
|
303
|
+
- graph_data: "Neo4j or PostgreSQL with extensions"
|
|
304
|
+
- key_value: "Redis"
|
|
305
|
+
- wide_column: "Cassandra"
|
|
306
|
+
|
|
307
|
+
api_pattern_selection:
|
|
308
|
+
if_requirements_include:
|
|
309
|
+
- simple_crud: "REST"
|
|
310
|
+
- complex_queries: "GraphQL"
|
|
311
|
+
- type_safety_critical: "tRPC"
|
|
312
|
+
- microservices: "gRPC"
|
|
313
|
+
- public_api: "REST with OpenAPI"
|
|
314
|
+
|
|
315
|
+
deployment_selection:
|
|
316
|
+
if_requirements_include:
|
|
317
|
+
- nextjs_only: "Vercel"
|
|
318
|
+
- complex_infrastructure: "AWS"
|
|
319
|
+
- quick_prototype: "Railway"
|
|
320
|
+
- global_edge: "Fly.io"
|
|
321
|
+
- kubernetes_needed: "GCP or AWS EKS"
|