-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskill-data.ts
More file actions
1254 lines (1238 loc) · 48.8 KB
/
Copy pathskill-data.ts
File metadata and controls
1254 lines (1238 loc) · 48.8 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { Node, Edge } from 'reactflow';
export type SkillStatus = 'locked' | 'available' | 'in-progress' | 'mastered' | 'decayed';
export type SkillTier = 'foundation' | 'frontend-2' | 'backend-data' | 'ai-engineer' | 'systems';
export type SkillCategory = 'frontend' | 'backend' | 'devops' | 'cs' | 'ml' | 'data';
export interface SkillQuiz {
question: string;
options: string[];
correctIndex: number;
}
export interface SkillData {
id: string;
title: string;
description: string;
tier: SkillTier;
category: SkillCategory;
status: SkillStatus;
prerequisites: string[]; // List of Skill IDs required
xpReward: number;
lastPracticedAt?: number;
resources: {
label: string;
url: string;
type: 'video' | 'article' | 'course' | 'paper' | 'lab';
}[];
quiz?: SkillQuiz[];
}
// React Flow Node structure
export type SkillNode = Node<SkillData>;
const RAW_SKILLS: Omit<SkillNode, 'position'>[] = [
// --- TIER 1: FOUNDATION ---
{
id: 'web-standards',
type: 'skill',
data: {
id: 'web-standards',
title: 'Web Standards',
description: 'Semantic HTML5, Accessibility (ARIA), and SEO basics. The bedrock of the web.',
tier: 'foundation',
category: 'frontend',
status: 'available',
prerequisites: [],
xpReward: 100,
resources: [
{ label: 'MDN Web Docs', url: 'https://developer.mozilla.org/en-US/docs/Web/HTML', type: 'article' },
{ label: 'Web.dev Accessibility', url: 'https://web.dev/learn/accessibility/', type: 'course' }
],
quiz: [
{
question: "What tag is used for the main heading of a page?",
options: ["<header>", "<h1>", "<title>", "<head>"],
correctIndex: 1
},
{
question: "Which attribute provides alternative text for images?",
options: ["src", "title", "alt", "href"],
correctIndex: 2
}
]
},
},
{
id: 'git-ops',
type: 'skill',
data: {
id: 'git-ops',
title: 'GitOps Basics',
description: 'Version control, GitHub Flow, and Pull Requests.',
tier: 'foundation',
category: 'devops',
status: 'available',
prerequisites: [],
xpReward: 100,
resources: [
{ label: 'Git SCM Book', url: 'https://git-scm.com/book/en/v2', type: 'article' },
{ label: 'GitHub Skills', url: 'https://skills.github.com/', type: 'course' }
],
quiz: [
{
question: "What command creates a new branch and switches to it?",
options: ["git checkout -b feature", "git branch feature", "git switch feature", "git new feature"],
correctIndex: 0
},
{
question: "What is the folder name where Git stores project history?",
options: [".github", ".history", ".git", "git_data"],
correctIndex: 2
}
]
},
},
{
id: 'es-next',
type: 'skill',
data: {
id: 'es-next',
title: 'JavaScript ESNext',
description: 'Modern JS: Async/Await, Modules, DOM Manipulation, and functional patterns.',
tier: 'foundation',
category: 'cs',
status: 'locked',
prerequisites: ['web-standards'],
xpReward: 150,
resources: [
{ label: 'JavaScript.info', url: 'https://javascript.info/', type: 'course' },
{ label: 'You Don\'t Know JS', url: 'https://github.com/getify/You-Dont-Know-JS', type: 'article' }
],
quiz: [
{
question: "What keyword pauses the execution of an async function?",
options: ["stop", "await", "yield", "pause"],
correctIndex: 1
},
{
question: "Which method creates a new array by applying a function to every element?",
options: ["filter()", "reduce()", "map()", "forEach()"],
correctIndex: 2
}
]
},
},
{
id: 'python-core',
type: 'skill',
data: {
id: 'python-core',
title: 'Python for AI',
description: 'Data structures, NumPy, Pandas. The language of Machine Learning.',
tier: 'foundation',
category: 'cs',
status: 'available',
prerequisites: [],
xpReward: 150,
resources: [
{ label: 'Real Python', url: 'https://realpython.com/', type: 'course' },
{ label: 'NumPy Quickstart', url: 'https://numpy.org/doc/stable/user/quickstart.html', type: 'article' }
],
quiz: [
{
question: "How do you select a column 'age' from a Pandas DataFrame 'df'?",
options: ["df.select('age')", "df['age']", "df.get('age')", "df -> age"],
correctIndex: 1
},
{
question: "Which library is the foundation for most scientific computing in Python?",
options: ["Pandas", "Scikit Level", "NumPy", "Matplotlib"],
correctIndex: 2
}
]
},
},
{
id: 'http-fundamentals',
type: 'skill',
data: {
id: 'http-fundamentals',
title: 'HTTP Fundamentals',
description: 'Request/Response cycle, status codes, headers, and REST principles.',
tier: 'foundation',
category: 'backend',
status: 'available',
prerequisites: [],
xpReward: 100,
resources: [
{ label: 'MDN HTTP Guide', url: 'https://developer.mozilla.org/en-US/docs/Web/HTTP', type: 'article' },
{ label: 'HTTP Crash Course', url: 'https://www.youtube.com/watch?v=iYM2zFP3Zn0', type: 'video' }
],
quiz: [
{
question: "What HTTP status code indicates a successful request?",
options: ["404", "500", "200", "301"],
correctIndex: 2
},
{
question: "Which HTTP method is typically used to update a resource?",
options: ["GET", "POST", "PUT", "DELETE"],
correctIndex: 2
}
]
},
},
// --- TIER 2: FRONTEND ENGINEERING 2.0 ---
{
id: 'react-core',
type: 'skill',
data: {
id: 'react-core',
title: 'React Core',
description: 'Components, JSX, Virtual DOM, and the "Thinking in React" mental model.',
tier: 'frontend-2',
category: 'frontend',
status: 'locked',
prerequisites: ['es-next'],
xpReward: 200,
resources: [
{ label: 'React.dev Docs', url: 'https://react.dev/learn', type: 'article' }
],
quiz: [
{
question: "What hook triggers a re-render when its value changes?",
options: ["useRef", "useEffect", "useState", "useMemo"],
correctIndex: 2
},
{
question: "Which of these is NOT a Rule of Hooks?",
options: ["Only call hooks at top level", "Only call hooks in React functions", "Only call hooks in class components", "Do not call hooks in loops"],
correctIndex: 2
}
]
},
},
{
id: 'tailwind',
type: 'skill',
data: {
id: 'tailwind',
title: 'Tailwind CSS',
description: 'Utility-first CSS architecture and design systems.',
tier: 'frontend-2',
category: 'frontend',
status: 'locked',
prerequisites: ['web-standards'],
xpReward: 150,
resources: [
{ label: 'Tailwind Docs', url: 'https://tailwindcss.com/docs', type: 'article' }
],
quiz: [
{
question: "Which class would you use to making text red?",
options: ["text-red-500", "color-red", "font-red", "red-text"],
correctIndex: 0
},
{
question: "What is the directive to inject Tailwind styles in CSS?",
options: ["@include", "@tailwind", "@import", "@use"],
correctIndex: 1
}
]
},
},
{
id: 'typescript',
type: 'skill',
data: {
id: 'typescript',
title: 'TypeScript',
description: 'Static typing, interfaces, and generics. Standard for enterprise web.',
tier: 'frontend-2',
category: 'cs',
status: 'locked',
prerequisites: ['es-next'],
xpReward: 200,
resources: [
{ label: 'Total TypeScript', url: 'https://www.totaltypescript.com/tutorials', type: 'course' }
],
quiz: [
{
question: "Which symbol denotes an optional property in an interface?",
options: ["!", "?", "*", "#"],
correctIndex: 1
},
{
question: "What type represents 'any value' but is safer than 'any'?",
options: ["void", "never", "unknown", "object"],
correctIndex: 2
}
]
},
},
{
id: 'testing-quality',
type: 'skill',
data: {
id: 'testing-quality',
title: 'Testing & Quality',
description: 'Unit testing with Vitest and E2E with Playwright to ensure reliability.',
tier: 'frontend-2',
category: 'devops',
status: 'locked',
prerequisites: ['react-core', 'typescript'],
xpReward: 200,
resources: [
{ label: 'Vitest Guide', url: 'https://vitest.dev/guide/', type: 'article' },
{ label: 'Playwright Docs', url: 'https://playwright.dev/', type: 'article' }
],
quiz: [
{
question: "Which tool is primarily used for Unit Testing in this stack?",
options: ["Playwright", "Vitest", "Cypress", "Selenium"],
correctIndex: 1
},
{
question: "What kind of testing simulates a real user traversing the app?",
options: ["Unit Testing", "Integration Testing", "E2E (End-to-End)", "Static Analysis"],
correctIndex: 2
}
]
},
},
{
id: 'async-state',
type: 'skill',
data: {
id: 'async-state',
title: 'Async State',
description: 'Managing server state and caching with TanStack Query.',
tier: 'frontend-2',
category: 'frontend',
status: 'locked',
prerequisites: ['react-core', 'typescript'],
xpReward: 200,
resources: [
{ label: 'TanStack Query', url: 'https://tanstack.com/query/latest', type: 'article' }
],
quiz: [
{
question: "What is the primary purpose of TanStack Query?",
options: ["Global State Management", "Form Handling", "Async State & Caching", "Routing"],
correctIndex: 2
},
{
question: "Which hook is used to fetch data?",
options: ["useMutation", "useQuery", "useFetch", "useGet"],
correctIndex: 1
}
]
},
},
{
id: 'zustand',
type: 'skill',
data: {
id: 'zustand',
title: 'Zustand State',
description: 'Lightweight, fast state management with minimal boilerplate.',
tier: 'frontend-2',
category: 'frontend',
status: 'locked',
prerequisites: ['react-core'],
xpReward: 150,
resources: [
{ label: 'Zustand Docs', url: 'https://docs.pmnd.rs/zustand/getting-started/introduction', type: 'article' }
],
quiz: [
{
question: "How do you create a Zustand store?",
options: ["createStore()", "create()", "useState()", "makeStore()"],
correctIndex: 1
},
{
question: "Does Zustand require Context providers?",
options: ["Yes, always", "No, stores are modular", "Only for SSR", "Only for TypeScript"],
correctIndex: 1
}
]
},
},
{
id: 'framer-motion',
type: 'skill',
data: {
id: 'framer-motion',
title: 'Framer Motion',
description: 'Production-ready animations and gestures for React.',
tier: 'frontend-2',
category: 'frontend',
status: 'locked',
prerequisites: ['react-core'],
xpReward: 150,
resources: [
{ label: 'Framer Motion Docs', url: 'https://www.framer.com/motion/', type: 'article' },
{ label: 'Motion One', url: 'https://motion.dev/', type: 'article' }
],
quiz: [
{
question: "What component wraps elements to animate them?",
options: ["<Animated>", "<motion.div>", "<Animate>", "<Frame>"],
correctIndex: 1
},
{
question: "Which prop defines animation variants?",
options: ["animate", "variants", "transition", "keyframes"],
correctIndex: 1
}
]
},
},
{
id: 'web-vitals',
type: 'skill',
data: {
id: 'web-vitals',
title: 'Web Vitals',
description: 'Core Web Vitals: LCP, FID, CLS. Performance monitoring and optimization.',
tier: 'frontend-2',
category: 'devops',
status: 'locked',
prerequisites: ['react-core', 'web-standards'],
xpReward: 200,
resources: [
{ label: 'Web.dev Vitals', url: 'https://web.dev/vitals/', type: 'article' },
{ label: 'Lighthouse CI', url: 'https://github.com/GoogleChrome/lighthouse-ci', type: 'lab' }
],
quiz: [
{
question: "What does LCP measure?",
options: ["Largest Contentful Paint", "Load Complete Process", "Link Click Performance", "Layout Cumulative Paint"],
correctIndex: 0
},
{
question: "What is a good FID (First Input Delay) score?",
options: ["< 100ms", "< 500ms", "< 1s", "< 2s"],
correctIndex: 0
}
]
},
},
// --- TIER 3: BACKEND & DATA ---
{
id: 'node-runtime',
type: 'skill',
data: {
id: 'node-runtime',
title: 'Node.js Runtime',
description: 'Event loop, Buffers, Streams, and File System operations.',
tier: 'backend-data',
category: 'backend',
status: 'locked',
prerequisites: ['es-next'],
xpReward: 200,
resources: [
{ label: 'Node.js Guides', url: 'https://nodejs.org/en/docs/guides/', type: 'article' }
],
quiz: [
{
question: "Node.js is built on which JavaScript engine?",
options: ["SpiderMonkey", "V8", "JavaScriptCore", "Chakra"],
correctIndex: 1
},
{
question: "What allows Node.js to perform non-blocking I/O?",
options: ["Multi-threading", "The Event Loop", "Virtual Machine", "Compilation"],
correctIndex: 1
}
]
},
},
{
id: 'postgresql',
type: 'skill',
data: {
id: 'postgresql',
title: 'PostgreSQL',
description: 'Relational data modeling, SQL queries, and normalization.',
tier: 'backend-data',
category: 'data',
status: 'locked',
prerequisites: ['node-runtime'],
xpReward: 250,
resources: [
{ label: 'Postgres Tutorial', url: 'https://www.postgresqltutorial.com/', type: 'course' }
],
quiz: [
{
question: "Which SQL command retrieves data from a database?",
options: ["INSERT", "UPDATE", "SELECT", "DELETE"],
correctIndex: 2
},
{
question: "What format does PostgreSQL use to store JSON data binary?",
options: ["JSON", "JSONB", "BLOB", "TEXT"],
correctIndex: 1
}
]
},
},
{
id: 'data-pipelines',
type: 'skill',
data: {
id: 'data-pipelines',
title: 'Data Pipelines',
description: 'ETL/ELT workflows using Python. Preparing data for AI.',
tier: 'backend-data',
category: 'data',
status: 'locked',
prerequisites: ['python-core', 'postgresql'],
xpReward: 300,
resources: [
{ label: 'Data Engineering Zoomcamp', url: 'https://github.com/DataTalksClub/data-engineering-zoomcamp', type: 'course' },
{ label: 'Apache Airflow Concepts', url: 'https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/index.html', type: 'article' }
],
quiz: [
{
question: "What does ETL stand for?",
options: ["Extract, Transform, Load", "Evaluate, Test, Launch", "Encrypt, Transfer, Lock", "Edit, Type, List"],
correctIndex: 0
},
{
question: "Which tool is commonly used for orchestrating pipelines?",
options: ["Apache Airflow", "Redis", "Nginx", "React"],
correctIndex: 0
}
]
},
},
{
id: 'vector-db',
type: 'skill',
data: {
id: 'vector-db',
title: 'Vector Databases',
description: 'Storing high-dimensional embeddings (Pinecone, Weaviate, pgvector). critical for AI memory.',
tier: 'backend-data',
category: 'data',
status: 'locked',
prerequisites: ['postgresql'],
xpReward: 300,
resources: [
{ label: 'Vector DB Fundamentals', url: 'https://www.coursera.org/learn/vector-databases-embeddings-applications', type: 'course' },
{ label: 'Pinecone Learning Center', url: 'https://www.pinecone.io/learn/', type: 'article' }
],
quiz: [
{
question: "What do Vector Databases optimzed for?",
options: ["Storing Images", "Similarity Search (Nearest Neighbor)", "Transaction Processing", "Key-Value lookup"],
correctIndex: 1
},
{
question: "Which metric is commonly used to measure semantic similarity?",
options: ["Cosine Similarity", "Alphabetical Order", "Timestamp", "File Size"],
correctIndex: 0
}
]
},
},
{
id: 'rest-api',
type: 'skill',
data: {
id: 'rest-api',
title: 'REST API Design',
description: 'RESTful principles, resource modeling, versioning, and API best practices.',
tier: 'backend-data',
category: 'backend',
status: 'locked',
prerequisites: ['node-runtime', 'http-fundamentals'],
xpReward: 250,
resources: [
{ label: 'REST API Tutorial', url: 'https://restfulapi.net/', type: 'article' },
{ label: 'API Design Patterns', url: 'https://www.youtube.com/watch?v=_YlYuNMTCc8', type: 'video' }
],
quiz: [
{
question: "Which HTTP method is idempotent?",
options: ["POST", "PUT", "PATCH", "All of the above"],
correctIndex: 1
},
{
question: "What does HATEOAS stand for?",
options: ["Hypermedia As The Engine Of Application State", "HTTP API Testing Evaluation System", "Hypertext Application Transmission Protocol", "None of the above"],
correctIndex: 0
}
]
},
},
{
id: 'authentication',
type: 'skill',
data: {
id: 'authentication',
title: 'Authentication & Authorization',
description: 'JWT, OAuth 2.0, session management, and secure password storage.',
tier: 'backend-data',
category: 'backend',
status: 'locked',
prerequisites: ['rest-api'],
xpReward: 300,
resources: [
{ label: 'JWT.io', url: 'https://jwt.io/introduction', type: 'article' },
{ label: 'OAuth 2.0 Simplified', url: 'https://www.oauth.com/', type: 'course' }
],
quiz: [
{
question: "What does JWT stand for?",
options: ["JavaScript Web Token", "JSON Web Token", "Java Web Transmission", "Just Wait Time"],
correctIndex: 1
},
{
question: "Which part of JWT contains the actual claims?",
options: ["Header", "Payload", "Signature", "Footer"],
correctIndex: 1
}
]
},
},
{
id: 'graphql',
type: 'skill',
data: {
id: 'graphql',
title: 'GraphQL',
description: 'Query language for APIs. Type-safe data fetching with precise control.',
tier: 'backend-data',
category: 'backend',
status: 'locked',
prerequisites: ['rest-api', 'typescript'],
xpReward: 300,
resources: [
{ label: 'GraphQL Docs', url: 'https://graphql.org/learn/', type: 'article' },
{ label: 'Apollo Server', url: 'https://www.apollographql.com/docs/apollo-server/', type: 'course' }
],
quiz: [
{
question: "What operation is used to fetch data in GraphQL?",
options: ["GET", "query", "fetch", "SELECT"],
correctIndex: 1
},
{
question: "What is the main advantage of GraphQL over REST?",
options: ["Faster", "No over-fetching or under-fetching", "Easier to learn", "Better security"],
correctIndex: 1
}
]
},
},
{
id: 'docker',
type: 'skill',
data: {
id: 'docker',
title: 'Docker Containers',
description: 'Containerization, Dockerfiles, multi-stage builds, and Docker Compose.',
tier: 'backend-data',
category: 'devops',
status: 'locked',
prerequisites: ['node-runtime'],
xpReward: 250,
resources: [
{ label: 'Docker Docs', url: 'https://docs.docker.com/get-started/', type: 'course' },
{ label: 'Docker Mastery', url: 'https://www.udemy.com/course/docker-mastery/', type: 'course' }
],
quiz: [
{
question: "What file defines a Docker image?",
options: ["docker.json", "Dockerfile", "image.yaml", "container.conf"],
correctIndex: 1
},
{
question: "What command builds an image from a Dockerfile?",
options: ["docker build", "docker create", "docker make", "docker compile"],
correctIndex: 0
}
]
},
},
// --- TIER 4: AI ENGINEERING ---
{
id: 'prompt-eng',
type: 'skill',
data: {
id: 'prompt-eng',
title: 'Prompt Engineering',
description: 'Chain-of-Thought, ReAct, and System Prompt design patterns.',
tier: 'ai-engineer',
category: 'ml',
status: 'locked',
prerequisites: ['llm-integration'], // Note: circular dep fix upcoming
xpReward: 250,
resources: [
{ label: 'Prompt Engineering Guide', url: 'https://www.promptingguide.ai/', type: 'course' },
{ label: 'OpenAI Cookbook', url: 'https://github.com/openai/openai-cookbook', type: 'lab' }
],
quiz: [
{
question: "What does 'Chain of Thought' prompting encourage the model to do?",
options: ["Reply faster", "Show its reasoning steps", "Use more tokens", "Search the internet"],
correctIndex: 1
},
{
question: "What is a 'System Prompt'?",
options: ["A message from the user", "Initial instructions defining model behavior", "The output of the model", "The error log"],
correctIndex: 1
}
]
},
},
{
id: 'llm-integration',
type: 'skill',
data: {
id: 'llm-integration',
title: 'LLM Integration',
description: 'Using OpenAI SDK, Anthropic API, and Vercel AI SDK to stream responses.',
tier: 'ai-engineer',
category: 'ml',
status: 'locked',
prerequisites: ['node-runtime', 'typescript', 'python-core'],
xpReward: 400,
resources: [
{ label: 'Vercel AI SDK', url: 'https://sdk.vercel.ai/docs', type: 'article' },
{ label: 'Building Systems with ChatGPT', url: 'https://www.deeplearning.ai/short-courses/building-systems-with-chatgpt/', type: 'course' }
],
quiz: [
{
question: "Which feature allows meaningful partial responses before the full output is ready?",
options: ["Pagination", "Streaming", "Batching", "Caching"],
correctIndex: 1
},
{
question: "What role does 'temperature' play in LLM parameters?",
options: ["Controls speed", "Controls randomness/creativity", "Controls cost", "Controls memory usage"],
correctIndex: 1
}
]
},
},
{
id: 'embeddings',
type: 'skill',
data: {
id: 'embeddings',
title: 'Embeddings & Latent Space',
description: 'Understanding semantic search, contrastive loss, and high-dimensional spaces.',
tier: 'ai-engineer',
category: 'ml',
status: 'locked',
prerequisites: ['python-core', 'vector-db'],
xpReward: 300,
resources: [
{ label: 'Word2Vec Paper', url: 'https://arxiv.org/abs/1301.3781', type: 'paper' },
{ label: 'Embeddings: What are they?', url: 'https://vickiboykis.com/what_are_embeddings/', type: 'article' }
],
quiz: [
{
question: "If two words are semantically similar, their embeddings will be...",
options: ["Far apart", "Close together", "Orthogonal", "Zero"],
correctIndex: 1
},
{
question: "What is the result of 'King' - 'Man' + 'Woman' in vector space?",
options: ["Queen", "Prince", "Castle", "Knight"],
correctIndex: 0
}
]
},
},
{
id: 'rag-arch',
type: 'skill',
data: {
id: 'rag-arch',
title: 'RAG Architecture',
description: 'Retrieval Augmented Generation. Grounding LLMs with your own data.',
tier: 'ai-engineer',
category: 'ml',
status: 'locked',
prerequisites: ['llm-integration', 'vector-db', 'embeddings'],
xpReward: 500,
resources: [
{ label: 'DeepLearning.AI: RAG', url: 'https://www.deeplearning.ai/short-courses/retrieval-augmented-generation-engineers/', type: 'course' },
{ label: 'RAG Survey', url: 'https://arxiv.org/abs/2312.10997', type: 'paper' }
],
quiz: [
{
question: "What is the primary goal of RAG?",
options: ["To train a model from scratch", "To reduce latency", "To provide the model with external context", "To generate images"],
correctIndex: 2
},
{
question: "Where is the external knowledge usually retrieved from in RAG?",
options: ["The model weights", "A Vector Database", "The browser cache", "A blockchain"],
correctIndex: 1
}
]
},
},
{
id: 'evals',
type: 'skill',
data: {
id: 'evals',
title: 'Model Evaluation',
description: 'Benchmarking LLMs (MMLU, HumanEval) and RAG pipelines (RAGAS, Arize).',
tier: 'ai-engineer',
category: 'ml',
status: 'locked',
prerequisites: ['rag-arch'],
xpReward: 350,
resources: [
{ label: 'RAGAS Documentation', url: 'https://docs.ragas.io/en/stable/', type: 'article' },
{ label: 'Evaluating LLMs', url: 'https://www.youtube.com/watch?v=qc9s0Kj7bY4', type: 'video' }
],
quiz: [
{
question: "What is a common benchmark for general language understanding?",
options: ["MMLU", "ImageNet", "CIFAR-10", "MNIST"],
correctIndex: 0
},
{
question: "What does 'RAGAS' evaluate?",
options: ["Image generation quality", "RAG pipeline performance", "Server uptime", "Database speed"],
correctIndex: 1
}
]
},
},
{
id: 'fine-tuning-peft',
type: 'skill',
data: {
id: 'fine-tuning-peft',
title: 'Fine-Tuning (PEFT/LoRA)',
description: 'Parameter Efficient Fine-Tuning. Adapting models to specific domains cheaply.',
tier: 'ai-engineer',
category: 'ml',
status: 'locked',
prerequisites: ['llm-integration', 'python-core'],
xpReward: 600,
resources: [
{ label: 'LoRA Paper', url: 'https://arxiv.org/abs/2106.09685', type: 'paper' },
{ label: 'Fine-Tuning with HuggingFace', url: 'https://huggingface.co/docs/transformers/training', type: 'lab' }
],
quiz: [
{
question: "What does LoRA stand for?",
options: ["Low-Rank Adaptation", "Long-Range Attention", "Local Runtime API", "Large Optimization Rule"],
correctIndex: 0
},
{
question: "What is the main benefit of PEFT?",
options: ["Faster inference", "Lower compute/VRAM requirements for training", "Higher accuracy always", "No data needed"],
correctIndex: 1
}
]
},
},
{
id: 'mlops',
type: 'skill',
data: {
id: 'mlops',
title: 'MLOps Fundamentals',
description: 'Model versioning, experiment tracking, and deployment pipelines.',
tier: 'ai-engineer',
category: 'devops',
status: 'locked',
prerequisites: ['fine-tuning-peft', 'docker'],
xpReward: 350,
resources: [
{ label: 'MLflow Docs', url: 'https://mlflow.org/docs/latest/index.html', type: 'article' },
{ label: 'MLOps Zoomcamp', url: 'https://github.com/DataTalksClub/mlops-zoomcamp', type: 'course' }
],
quiz: [
{
question: "What is model drift?",
options: ["When a model moves to a different server", "When model performance degrades over time", "When training takes too long", "When the model is deleted"],
correctIndex: 1
},
{
question: "Which tool is commonly used for experiment tracking?",
options: ["Git", "MLflow", "Docker", "Kubernetes"],
correctIndex: 1
}
]
},
},
// --- TIER 5: SYSTEMS & SPECIALIZATION ---
{
id: 'nextjs-app',
type: 'skill',
data: {
id: 'nextjs-app',
title: 'Next.js 15+',
description: 'Server Actions, RSC, and Partial Prerendering.',
tier: 'systems',
category: 'frontend',
status: 'locked',
prerequisites: ['react-core', 'node-runtime', 'typescript'],
xpReward: 300,
resources: [
{ label: 'Next.js Learn', url: 'https://nextjs.org/learn', type: 'course' }
],
quiz: [
{
question: "What is a 'Server Action' in Next.js?",
options: ["A background cron job", "A function that runs on the server, callable from client", "A database migration", "A client-side event listener"],
correctIndex: 1
},
{
question: "What does RSC stand for?",
options: ["React Standard Component", "React Server Component", "Real Static Content", "Remote Service Call"],
correctIndex: 1
}
]
},
},
{
id: 'ai-agents',
type: 'skill',
data: {
id: 'ai-agents',
title: 'Autonomous Agents',
description: 'Building systems that can plan, use tools, and execute loops (LangGraph, AutoGPT).',
tier: 'systems',
category: 'ml',
status: 'locked',
prerequisites: ['rag-arch', 'prompt-eng'],
xpReward: 1000,
resources: [
{ label: 'Building Agents (DeepLearning.AI)', url: 'https://www.deeplearning.ai/short-courses/building-agentic-rag-with-llamaindex/', type: 'course' },
{ label: 'LangGraph Docs', url: 'https://python.langchain.com/docs/langgraph', type: 'article' },
{ label: 'ReAct Paper', url: 'https://arxiv.org/abs/2210.03629', type: 'paper' }
],
quiz: [
{
question: "In the ReAct pattern, what does the model alternate between?",
options: ["Reasoning and Acting", "Reading and Writing", "Rest and Activity", "Recall and Accuracy"],
correctIndex: 0
},
{
question: "What is the risk of an autonomous agent loop?",
options: ["It might get bored", "Infinite loops / spending too much money", "It stops using the GPU", "It becomes sentient"],
correctIndex: 1
}
]
},
},
{
id: 'model-serving',
type: 'skill',
data: {
id: 'model-serving',
title: 'Model Serving & Quantization',
description: 'Running local LLMs efficiently (vLLM, TGI, GGUF, AWQ, GPTQ).',
tier: 'systems',
category: 'devops',
status: 'locked',
prerequisites: ['fine-tuning-peft'],
xpReward: 500,
resources: [
{ label: 'vLLM Library', url: 'https://github.com/vllm-project/vllm', type: 'lab' },
{ label: 'Introduction to Quantization', url: 'https://huggingface.co/docs/optimum/concept_guides/quantization', type: 'article' }
],
quiz: [
{
question: "What does Quantization do to a model?",
options: ["Increases its size", "Reduces precision to save memory/compute", "Makes it reason better", "Converts it to Python"],
correctIndex: 1
},
{
question: "Which format is popular for running local LLMs on CPU/Mac?",
options: ["GGUF", "MP4", "EXE", "PNG"],
correctIndex: 0
}
]
},
},
{
id: 'ai-safety',
type: 'skill',
data: {
id: 'ai-safety',
title: 'AI Safety & Ethics',
description: 'Guardrails, hallucination detection, and alignment strategies.',
tier: 'systems',
category: 'ml',
status: 'locked',
prerequisites: ['ai-agents'],
xpReward: 400,
resources: [
{ label: 'NeMo Guardrails', url: 'https://github.com/NVIDIA/NeMo-Guardrails', type: 'lab' },
{ label: 'Constitution AI', url: 'https://arxiv.org/abs/2212.08073', type: 'paper' }
],
quiz: [
{
question: "What is 'Hallucination' in LLMs?",
options: ["Seeing ghosts", "Generating confident but incorrect information", "Crashing the server", "Deleting files"],
correctIndex: 1
},
{
question: "What is the purpose of 'Guardrails'?",
options: ["To speed up the model", "To prevent unsafe or off-topic outputs", "To improve grammar", "To visualize data"],
correctIndex: 1
}
]
},
},
{
id: 'observability',
type: 'skill',
data: {