-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatterns.json
More file actions
138 lines (138 loc) · 3.26 KB
/
patterns.json
File metadata and controls
138 lines (138 loc) · 3.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"question": "How many spec-driven patterns can we define across the stack?",
"summary": {
"category_count": 6,
"pattern_count": 93
},
"categories": [
{
"name": "Backend",
"count": 32,
"patterns": [
"HTTP endpoints",
"CRUD models",
"Validation rules",
"Auth + permissions",
"Rate limits + quotas",
"Request/response schemas",
"Logging patterns",
"Exception handling",
"Background jobs",
"Scheduled tasks",
"Webhook endpoints",
"Notification triggers",
"API pagination",
"DB migrations",
"Caching strategy",
"Event publishing (Kafka/SQS)",
"Event subscribing",
"Retry policies",
"Idempotency rules",
"Security policies",
"Config schemas",
"Feature flags",
"A/B experiment wiring",
"Go HTTP CRUD router",
"Rust Axum CRUD router",
"Java Spring CRUD controller",
"Node Express JWT auth",
"Go HTTP JWT middleware",
"Node BullMQ worker",
"Python Celery worker",
"Node Kafka consumer",
"Go NATS subscriber"
]
},
{
"name": "Frontend",
"count": 19,
"patterns": [
"Data forms",
"Validation",
"Data tables (sort, filter, paginate)",
"CRUD UI",
"Modals/dialogs",
"Hero sections/layouts",
"Sidebar/navigation",
"Theming",
"Global state slices",
"API clients",
"Error boundaries",
"Toast notifications",
"Responsive rules",
"Component libraries",
"Live previews",
"Real-time listeners",
"Settings pages",
"React CRUD table",
"React form validation"
]
},
{
"name": "Data & ML",
"count": 17,
"patterns": [
"ETL pipelines",
"Feature preprocessing",
"Validation checks",
"Model definitions",
"Training loops",
"Fine-tuning config",
"Inference endpoints",
"FastAPI inference API",
"Monitoring/metrics",
"Drift rules",
"Batch jobs",
"Data schemas",
"Storage rules",
"ML training job",
"ML eval job",
"ML quantization job",
"ML inference profile"
]
},
{
"name": "Agent/AI",
"count": 11,
"patterns": [
"Task definitions",
"Tool schemas",
"Memory schemas",
"Policy rules",
"Safety constraints",
"Self-play loops",
"Reward definitions",
"Prompt templates",
"Evaluation scripts",
"LLM chat (FastAPI)",
"LLM chat (Express)"
]
},
{
"name": "Infra",
"count": 12,
"patterns": [
"Docker templates",
"Deployments",
"Autoscaling",
"Load balancers",
"Metrics dashboards",
"Log pipelines",
"Secrets management",
"Permissions/IAM",
"SSL & domains",
"CICD workflows",
"K8s deployment + service",
"Docker Compose service"
]
},
{
"name": "CLI",
"count": 2,
"patterns": [
"Python Click command",
"Node Yargs command"
]
}
]
}