How lhlhai/prompt-library works
The repository is a collection of browser-based learning tools and utilities, centered on the Prompt Library: users search or filter prompts, inspect a prompt, then copy or download it. README also documents the SIT and AI Pattern Lab simulations; sampled source shows their animation and quiz behavior. Other documented-in-tree products include the 100-day lesson browser and Kibana/DSL converter. Edges are limited to relationships explicit in the README or sampled excerpts; unsampled pages and integrations are not inferred.
Main entry points: script.js Search and Actions · 100-days/script.js Lesson Navigation · dsl-converter.html Converter UI · prompts.html Library UI
Components 22
Prompt Library
- Library UI
prompts.html - Prompt Catalog
prompts.js - Search and Actions
script.js - Search Engine
search-optimizer.js - Premium Interactions
app.js - Collections Config
config.js - Shared Navigation
shared-components.js
Learning Simulations
- Scope Lab
SIT/index.html - Scope Simulation
SIT/app.js - Scope Quiz
SIT/app.js - Pattern Lab
AI-2026/index.html - Pattern Simulation
AI-2026/app.js - Pattern Quiz
AI-2026/app.js
Lesson Browser
- Lesson Browser
100-days/index.html - Lesson Navigation
100-days/script.js - Lesson Index
100-days/data/index.json - Lesson Records
100-days/data
DSL Converter
- Converter UI
dsl-converter.html - URL and DSL Conversion
dsl.js
Other components
- Visitor
- Clipboard
- Kibana URL
Connections 20
- Visitor → Library UI: opens
README.md - Library UI → Search and Actions: runs
- Search and Actions → Prompt Catalog: filters
script.js - Search and Actions → Search Engine: searches
script.js - Search and Actions → Clipboard: copies
- Search and Actions → Premium Interactions: enables
- Search and Actions → Collections Config: uses
- Visitor → Scope Lab: opens
README.md - Scope Lab → Scope Simulation: runs
- Scope Simulation → Scope Quiz: renders
SIT/app.js - Visitor → Pattern Lab: opens
README.md - Pattern Lab → Pattern Simulation: runs
- Pattern Simulation → Pattern Quiz: renders
AI-2026/app.js - Visitor → Lesson Browser: opens
- Lesson Browser → Lesson Navigation: runs
- Lesson Navigation → Lesson Index: loads
100-days/script.js - Lesson Navigation → Lesson Records: fetches
100-days/script.js - Visitor → Converter UI: opens
- Converter UI → URL and DSL Conversion: runs
- Kibana URL → Converter UI: provides URL