Academic Tools
1citation_parser.py
citation_parser.py
Accessibility
11Accessible Theme Switcher Pattern
accessible_theme_switcher.js
Comprehensive theme switching implementation with accessibility features including screen reader announcements, keyboard navigation, localStorage pers...
altflow_accessible_alt_text.py
altflow_accessible_alt_text.py
Keyboard Navigation Patterns
keyboard_navigation_pattern.js
Comprehensive patterns for implementing keyboard navigation, including smooth scrolling with offset, focus management, and WCAG-compliant keyboard int...
link_remediation_pattern.py
link_remediation_pattern.py
modal-focus-trap-aria-overlay.js
modal-focus-trap-aria-overlay.js
Non-Invasive FocusTrap via MutationObserver
mutation-observer-focus-trap.js
Attaches a focus trap to a panel/drawer whose open/close state is controlled by a third-party script (or any code you don't want to modify). The Mutat...
numeric-shortcut-guard-typing-target.js
numeric-shortcut-guard-typing-target.js
Screen Reader Announcement Patterns
screen_reader_announcements.js
Comprehensive patterns for dynamically announcing content changes to screen readers using ARIA live regions. Essential for accessible SPAs and dynamic...
Skip Links and Landmark Navigation Pattern
skip_links_and_landmarks.html
Comprehensive pattern for implementing skip navigation links and proper HTML5 landmark regions for keyboard and screen reader accessibility.
Single-Button Theme Cycle Pattern
theme-cycle-single-button.js
Cycles through N themes with one button instead of one button per theme. The button's aria-label always tells screen readers both the current state an...
url_validation_pattern.py
url_validation_pattern.py
Admin Patterns
5================================================
admin-dashboard.html
express-bearer-admin-router.ts
express-bearer-admin-router.ts
health-check-pattern.py
health-check-pattern.py
hybrid-process-management.py
hybrid-process-management.py
service-registry-pattern.py
service-registry-pattern.py
Agent Orchestration
9agent_lifecycle_management.py
agent_lifecycle_management.py
hierarchical_agent_coordination.py
hierarchical_agent_coordination.py
multi_agent_data_models.py
multi_agent_data_models.py
multi_platform_bot_adapter.py
multi_platform_bot_adapter.py
parallel_agent_execution.py
parallel_agent_execution.py
phased_workflow_orchestrator.py
phased_workflow_orchestrator.py
provider_abstraction_pattern.py
provider_abstraction_pattern.py
task_decomposition_pattern.py
task_decomposition_pattern.py
task_tool_dispatch_pattern.py
task_tool_dispatch_pattern.py
Api Clients
29Data Fetching Patterns Guide
DATA_FETCHING_PATTERNS_GUIDE.md
api-gateway-llm-wrapper.ts
api-gateway-llm-wrapper.ts
arxiv_client.py
arxiv_client.py
base_provider_pattern.py
base_provider_pattern.py
batch-profile-enrichment-atproto.ts
batch-profile-enrichment-atproto.ts
bbc_news_client.py
bbc_news_client.py
bluesky-client-to-server-auth-sync.ts
bluesky-client-to-server-auth-sync.ts
cost_optimized_model_selection.py
cost_optimized_model_selection.py
hybrid_free_api_provider.py
hybrid_free_api_provider.py
jina_web_scraper.py
jina_web_scraper.py
lazy_loading_provider_factory.py
lazy_loading_provider_factory.py
llm_temperature_rejection_retry.py
llm_temperature_rejection_retry.py
location_services_client.py
location_services_client.py
manus-task-api-client.py
manus-task-api-client.py
multi-provider-llm-client.js
multi-provider-llm-client.js
multi_provider_abstraction.py
multi_provider_abstraction.py
noaa-arcgis-rest-api.py
noaa-arcgis-rest-api.py
Open-Meteo browser client — keyless forecast + UV + air quality
open-meteo-browser-client.md
openfoodfacts-api-pagination.py
openfoodfacts-api-pagination.py
openstreetmap-overpass-api.py
openstreetmap-overpass-api.py
paleobiology-database-api.py
paleobiology-database-api.py
provider_adapter_pattern.py
provider_adapter_pattern.py
ssrf_protected_og_scraper.ts
ssrf_protected_og_scraper.ts
third-party-session-sync-client.ts
third-party-session-sync-client.ts
trpc_blob_upload_bluesky.ts
trpc_blob_upload_bluesky.ts
unesco-xml-api-parser.py
unesco-xml-api-parser.py
wikipedia_client.py
wikipedia_client.py
wolfram_alpha_client.py
wolfram_alpha_client.py
xai_vision_api_integration.py
xai_vision_api_integration.py
Async Patterns
11async_context_managers.py
async_context_managers.py
async_llm_operations.py
async_llm_operations.py
asyncio_background_thread.py
asyncio_background_thread.py
cancelled-flag-useeffect-cleanup.ts
cancelled-flag-useeffect-cleanup.ts
flask_asyncio_background_thread.py
flask_asyncio_background_thread.py
IframePostMessageBridge — promise-based request/response envelope over postMessage.
iframe-postmessage-bridge-with-timeouts.js
parallel_task_execution.py
parallel_task_execution.py
sse-streaming-client.js
sse-streaming-client.js
task_cancellation_timeout.py
task_cancellation_timeout.py
threadpool_concurrent_execution.py
threadpool_concurrent_execution.py
useref-stale-closure-cleanup.ts
useref-stale-closure-cleanup.ts
Bipolar Dashboard
3Multi-Source Data Generator Orchestration
multi-source-data-generator-orchestration.md
Realistic Content Generation Helpers
realistic-content-generation-helpers.md
Sine Wave Mood Cycle Pattern
sine-wave-mood-cycle-pattern.md
By Category
4Bluesky / AT Protocol Patterns
bluesky-patterns.md
Document Processing Snippets
document-processing.md
Git Index Repair Patterns
git-index-repair.md
Repository Maintenance Patterns
repository-maintenance.md
By Domain
1Accessibility Planning Patterns
accessibility-planning-patterns.md
By Pattern
105Async upstream → local artifact with poll endpoint
async-upstream-to-local-artifact-with-poll.md
Bearer token in URL hash — shared-secret auth without a login screen
bearer-token-in-url-hash.md
Pattern: Flask Monolith to Blueprint Extraction
blueprint-extraction-pattern.md
Cache-Buster Mismatch Trap (CSS bumped, JS not)
cache-buster-mismatch-trap.md
Cache + listeners + write-through localStorage — remote pulls trigger React re-renders
cache-listener-write-through.md
Caddy on_demand TLS permission (Caddy 2.7+)
caddy-on-demand-tls-permission.md
Pattern: Canonical Capability Registry
capability-registry-pattern.md
Pattern: Compaction with Re-Attachment
compaction-reattachment-pattern.md
Composite graph keys when same surface form appears in multiple languages
composite-graph-keys-for-same-spelled-nodes.md
Consensus-of-Four: adversarial review process
consensus-of-four-adversarial-review.md
Content Safety Classifier — SSE Buffer Split + Verdict Extraction Pattern
content-safety-classifier-sse-pattern.md
Context Pill + editingTarget: visible LLM scope bias
context-pill-and-editing-target-for-llm-scope.md
Server-wide credential-leak sweep
credential-leak-server-sweep.md
Data-attribute theme cycle with CSS custom properties
data-attribute-theme-cycle.md
Dataset divergence composite score
dataset-divergence-composite-score.md
Date-seeded "X of the day" picker.
date-seeded-word-of-day.js
Debounced server sync with local-storage fallback
debounced-server-sync-with-local-fallback.md
Declarative Tray API with `[data-tray-section]` Buttons
declarative-tray-with-data-attribute-buttons.md
Default-off opt-in flip with localStorage backward-compat
default-off-opt-in-localstorage-flip.md
degenerate-result-rejection.py
degenerate-result-rejection.py
Diff-acknowledgment prompt rule for LLM-driven branching narratives
diff-acknowledgment-prompt-rule.md
Dual time-zone display: render the same instant in two zones
dual-timezone-display-via-intl.md
Pattern: Durable System Prompt Instructions
durable-system-prompt-instructions.md
Pattern: Execution Spine Event Model
execution-spine-event-model.md
Pattern: Fail-Closed Shell Command Analysis
fail-closed-shell-command-analysis.md
Fail-open LLM pipeline with errors-as-data
fail-open-insight-pipeline.md
Tiny in-process job runner for Flask
flask-inmemory-job-runner.md
Flask Input Validation Pattern
flask-input-validation.md
Prefix-aware Flask under Caddy `handle_path`
flask-reverse-proxy-script-name.md
Font scale accessibility control
font-scale-a11y-control.md
`@functools.cache` singleton factory
functools-cache-singleton.md
git-filter-repo-key-scrub.md
git-filter-repo-key-scrub.md
Pattern: Git Log as Structured Status Feed
git-log-structured-status-feed.md
GitHub 100 MB-per-file limit: when binary assets exceed it
github-100mb-binary-asset-strategy.md
Global Default + Per-Entity Metadata Override
global-default-with-per-entity-metadata-override.md
GoatCounter Snippet Injection
goatcounter-snippet-injection.md
HuggingFace `load_dataset` with streaming fallback
hf-dataset-load-with-streaming-fallback.md
Pattern: Hook Lifecycle Infrastructure
hook-lifecycle-infrastructure.md
htm + ESM single-file React app (no build step)
htm-esm-single-file-react.md
IIFE-wrap classic `<script>` "modules" to avoid top-level const collisions
iife-wrap-classic-script-modules.md
Interactive seeded to-do list with check, edit, hide, reset, add
interactive-seeded-todo-with-overrides.md
iOS PWA: Composing safe-area-inset Into Bottom-Anchored Chrome
ios-pwa-safe-area-composition.md
Leaflet custom "locate me" control
leaflet-custom-locate-control.md
LLM-backed structured-edit engine with deterministic fallback
llm-backed-structured-edit-engine-with-fallback.md
LLM-emitted condition name guard (fail-open on phantoms)
llm-condition-name-guard-fail-open.md
LLM Content Guardrails Pattern
llm-content-guardrails.md
LLM gateway: module-level semaphore + 429 exp-backoff
llm-gateway-concurrency-and-retry.md
LLM Tool Calling Loop Pattern
llm-tool-calling-loop.md
Pattern: Memory with Path-Scoped Rules
memory-path-scoped-rules.md
Merge ranked lists from N sources, dedup, sort by priority + score
merge-ranked-sources-with-priority.md
Pattern: Multi-Source Drift Detection
multi-source-drift-detection.md
Pattern: Named-Array → Lookup Map Helper
named-array-lookup-helper.md
Ollama "local" sentinel for keyless BYOK
ollama-local-sentinel-byok.md
Open-mode trusted-pair: dropping auth when the URL is the access boundary
open-mode-no-auth-trusted-pair.md
Package Independence Test
package-independence-test.md
Pattern: Parallel-Scaffold Blueprint Migration
parallel-scaffold-blueprint-migration.md
Patch-id subset check for branch safety
patch-id-subset-check-for-branch-safety.md
Per-Turn Rule Prepend: surviving long-system-prompt drift
per-turn-rule-prepend-for-llm-drift.md
Snippet: Periodic Repo Hygiene Sweep
periodic-repo-hygiene.md
Pillow Dynamic Card Renderer Pattern
pillow-dynamic-card-renderer.md
Pillow PNG-thumb → JPEG sweep, bomb-safe
pillow-thumb-sweep-png-to-jpeg.md
Pattern: Plugin Enablement Precedence
plugin-enablement-precedence.md
Pattern: Prompt Boundary Splitting
prompt-boundary-pattern.md
Prose-Diff Above the JSON: making an op-based contract readable
prose-diff-for-op-proposals.md
Pattern: Provider Gateway Normalization
provider-gateway-normalization.md
Provider-Spec table collapse for multi-provider HTTP APIs
provider-spec-table-collapse.md
Snippet: Public Repo Cleanup Workflow
public-repo-cleanup-workflow.md
PWA Icon Generator: SVG → Raster PNGs With Maskable Variants
pwa-icon-generator-from-svg.md
PWA Rich Android Install Dialog Requirements
pwa-rich-android-install-dialog.md
PWA → iOS via xcodegen + WKWebView (bundled assets)
pwa-to-ios-bundled-wkwebview.md
PWA → iOS phone UX checklist
pwa-to-ios-phone-ux-checklist.md
Pattern: Reconstruct `.py` Source from `.pyc` Bytecode
pyc-to-py-source-reconstruction.md
Pattern: Recovery from Context Overflow and Failures
recovery-patterns-context-overflow.md
Redacted LLM error hints in UI
redacted-llm-error-hint.md
Migrate CDN-hosted thumbnails to local without re-downloading
regenerate-thumbnails-from-existing-fulls.md
Pattern: Registry-Driven Artifact Generation
registry-artifact-generators.md
Pattern: Remote Tool Caching
remote-tool-caching.md
Schema-Driven Form Renderer with Target Descriptors
schema-driven-form-renderer.md
Self-healing LLM authoring pipeline
self-healing-llm-authoring-pipeline.md
Shell-adapter monkey-patch-render pattern
shell-adapter-monkey-patch-render.md
Sidecar markdown notes
sidecar-markdown-notes.md
Single-file canonical nav for static + Flask multi-page sites
single-file-canonical-nav.md
Single-user server-JSON persistence
single-user-server-json-persistence.md
Pattern: Skills as Executable Specs
skills-as-executable-specs.md
SSH probe via stdin-fed bash
ssh-stdin-fed-bash-probe.md
SSH tar-pipe through a relay host
ssh-tar-pipe-through-relay.md
Detecting Stale CLAUDE.md After Rebuild / Swap Commits
stale-claudemd-after-rebuild-commits.md
Pattern: Streaming Tool Execution
streaming-tool-execution.md
Bidirectional subpath-prefix helper for Caddy-mounted services
subpath-prefix-bidirectional.md
Swiss Design Timeline Component
swiss-design-timeline.md
Text-Length-Scaled Auto-Advance
text-length-scaled-auto-advance.md
Text-rolodex attribution pattern
text-rolodex-attribution.md
Thorny-first rebase conflict ordering
thorny-first-rebase-conflict-ordering.md
Three-runtime parity contract (Python ↔ JS ↔ Swift)
three-runtime-parity-contract.md
Three-theme CSS with legacy alias compatibility shim
three-theme-css-with-legacy-aliases.md
Gerstner waves that stay stable when the water plane follows the camera
threejs-gerstner-follow-cam.md
Three.js scene-depth pre-pass (packed RGBA8)
threejs-scene-depth-prepass.md
Tolerant JSON extraction from LLM output
tolerant-llm-json-extraction.md
Pattern: Topocentric Overlay on a Heliocentric Scene
topocentric-overlay-on-heliocentric-scene.md
Pattern: URL-Driven Entry Mode for SPAs
url-driven-entry-mode.md
useOverrides + InlineEdit — editable-blocks pattern over seeded data
use-overrides-edit-hook.md
Vanilla JavaScript State Management Pattern
vanilla-js-state-management.md
`visibilitychange` → sync on tab focus
visibilitychange-sync-on-tab-focus.md
Vite + Caddy + wouter — SPA at a non-root sub-path
vite-caddy-subpath-spa-with-wouter-base.md
Brace-balanced wikitext template tokenizer
wikitext-brace-balanced-tokenizer.md
By Project
2Snippet: Public Release Gitignore — FastAPI + SvelteKit Project
blueballs-public-release-gitignore.md
Snippets: linguistic-api Phase 1 Consolidation
linguistic-api-phase1-consolidation.md
Cli Tools
15analyze-distribution.py
analyze-distribution.py
Bash ANSI Cursor Animation Skeleton
bash-ansi-cursor-animation-skeleton.md
Bash ANSI Modular Effect Library
bash-ansi-modular-effect-library.md
Bash: Cron + cURL API Automation
bash-cron-api-automation.md
Snippet: Formatted Terminal Output with Colors and Boxes
bash-formatted-output.md
Bash: Multi-Platform Skill Sync
bash-multi-platform-skill-sync.md
Bash: Publish Each Entry from a JSON Manifest
bash-publish-from-json-manifest.md
Bash Terminal Coordinate Geometry
bash-terminal-coordinate-geometry.md
Snippet: CLI Output Parsing from Noisy Sources
cli-output-parsing.md
color-palette.py
color-palette.py
d3-scaffold.py
d3-scaffold.py
fetch-arxiv.py
fetch-arxiv.py
interactive_cli_with_llm.py
interactive_cli_with_llm.py
Multi-Repo Bash Sweep with GitHub Visibility Filter
multi-repo-sweep-public-only.md
Snippet: Parallel CLI Execution
parallel-cli-execution.md
Configuration
2SPA auth strategy: which pattern fits
spa-auth-strategy-decision-tree.md
vite-strict-port-caddy-proxy.js
vite-strict-port-caddy-proxy.js
Configuration Management
2Multi-host config sync preserving per-host secrets
multi_host_config_sync.md
multi_source_config.py
multi_source_config.py
Controls
1Reset Button Pattern for Visualizations
reset-button-pattern.md
Css
2Tabs: active-indicator + divider hairline overlap
tab-active-indicator-hairline-overlap.md
Theme variants via body class — single shared CSS, multiple palettes
theme-variants-via-body-class.md
Data Pipelines
2multi-strategy-geocoding.py
multi-strategy-geocoding.py
world-bank-api-refresh.py
world-bank-api-refresh.py
Data Processing
13auto-metadata-generation.py
auto-metadata-generation.py
canonical_key_reconciliation.py
canonical_key_reconciliation.py
Casual Data Annotations Pattern
casual-data-annotations.md
data_aggregation_pipeline_patterns.py
data_aggregation_pipeline_patterns.py
data_sanitization_patterns.py
data_sanitization_patterns.py
dataset-quality-validation.py
dataset-quality-validation.py
format_conversion_patterns.py
format_conversion_patterns.py
json_narrative_parser.py
json_narrative_parser.py
json_validation_patterns.py
json_validation_patterns.py
llm-json-parse-with-regex-fallback.ts
llm-json-parse-with-regex-fallback.ts
polars-dataset-profiling-at-scale.py
polars-dataset-profiling-at-scale.py
pydantic_validation_patterns.py
pydantic_validation_patterns.py
sibling_db_heavy_load_sqlite.py
sibling_db_heavy_load_sqlite.py
Data Visualization
16Canvas Migration Pattern for Large Point Datasets
canvas-migration-pattern.md
Chart.js Responsive Dashboard Patterns with Theme Support
chart-js-responsive-dashboards.js
Complete patterns for creating interactive, themeable dashboards using Chart.js. Includes bar charts, radar charts, bubble charts, and theme switching...
Chronological Visualization Date Assignment Pattern
chronological-visualization-date-assignment.md
D3.js Force-Directed Network Visualization with Mobile Support
d3-force-network-visualization.js
Complete pattern for creating interactive force-directed graphs showing relationships between entities. Includes mobile touch handling, filtering, too...
D3.js Geographic Point Sampling Patterns
d3-geographic-point-sampling.md
D3.js Radial Tree Pattern
d3-radial-tree-pattern.md
D3.js Sankey Flow Diagram Pattern
d3-sankey-flow-pattern.md
Data Transformation and Utility Functions for Visualizations
data-transformation-utils.js
Comprehensive collection of utility functions for data loading, parsing, formatting, filtering, and state management in data visualization projects. P...
Pattern: Date-Based Radial Positioning for Tree Nodes
date-based-positioning.md
leaflet-choropleth-map.js
leaflet-choropleth-map.js
Pattern: Radial Constraint with Clamped Offsets
radial-constraint-pattern.md
Radial Force Constraint Tuning Pattern
radial-force-constraint-tuning.md
Snippet: README Generation for Data Visualizations
readme-generation-datavis.md
SVG Performance Sampling Pattern
svg-performance-sampling.md
Interactive Timeline Animation with Projection Capability
timeline-animation-interactive.js
Complete pattern for creating animated timelines showing historical progression with future projections. Includes playback controls, speed adjustment,...
Viewport Culling Pattern for Map Visualizations
viewport-culling-pattern.md
Database Patterns
4dexie-indexeddb-typed-crud.ts
dexie-indexeddb-typed-crud.ts
SQLite WAL Mode Performance Configuration
sqlite-wal-performance.md
sqlite_flask_simple_pattern.py
sqlite_flask_simple_pattern.py
sqlite_threading_safe.py
sqlite_threading_safe.py
Datavis
5Aurora Hover Sync Pattern
aurora-hover-sync.md
Branch Color Mapping for Tree Visualizations
branch-color-mapping.md
Geocoding Cache Pattern for Data Pipelines
geocoding-cache-pattern.md
Social Card Meta Tags Pattern
social-card-meta-tags.md
Time Markers Overlay Pattern
time-markers-overlay.md
Deduplication
2file_deduplication.py
file_deduplication.py
pillow_ahash_dedup.py
pillow_ahash_dedup.py
Design Systems
7Snippet: Collapsible Details Pattern (Pure HTML/CSS)
collapsible-details-pattern.md
Dashboard Variant Design Patterns
dashboard-variant-patterns-2026-02-14.md
Filing Cabinet Interface Pattern
filing-cabinet-interface.md
Glassmorphism CSS Design Pattern
glassmorphism-css-pattern.md
mobile-first-responsive-controls.md
mobile-first-responsive-controls.md
Snippet: Sidebar UX Restructure Pattern
sidebar-ux-restructure.md
Typewriter Animation Pattern
typewriter-animation.md
Error Handling
1graceful_import_fallbacks.py
graceful_import_fallbacks.py
File Operations
8base64-datauri-download.js
base64-datauri-download.js
client-side-file-size-validation.js
client-side-file-size-validation.js
comprehensive_document_parser.py
comprehensive_document_parser.py
config_file_loading.py
config_file_loading.py
Directory Cleanup Patterns
directory-cleanup-patterns.md
module_discovery.py
module_discovery.py
path_handling_utils.py
path_handling_utils.py
yaml_frontmatter_markdown_parser.py
yaml_frontmatter_markdown_parser.py
Geepers Chat Demo
3Bottom-Anchored Peek Notification
bottom-peek-pill.md
Cross-Surface Pin Sync (Hex Tile → Magic Panel)
cross-surface-pin-sync.md
Smart Hex Expansion (Open-Slot Aware)
smart-hex-expansion.md
Html
2Snippet: Lazy Symbol Loader with IntersectionObserver + MutationObserver
lazy-symbol-loader-intersection-observer.md
Subresource Integrity (SRI) for CDN Scripts
sri-hash-cdn-security.html
Langgraph Patterns
1react_agent_pattern.py
react_agent_pattern.py
Mobile Capacitor
2capacitor-platform-detection.ts
capacitor-platform-detection.ts
capacitor-plugin-bridge.ts
capacitor-plugin-bridge.ts
Patterns
6Code Snippets - 2026-01-05 Checkpoint
2026-01-05-checkpoint.md
FastAPI CORS Security Pattern
fastapi-cors-security.md
FastAPI User Feedback System Pattern
fastapi-user-feedback-system.md
Groupchat Patterns — Harvested 2026-03-06
groupchat-patterns-2026-03-06.md
Python Specific Exception Handling Pattern
python-specific-exception-handling.md
Tree-Merge Cycle Guard
tree-merge-cycle-guard.md
Process Management
1service-manager-pattern.py
service-manager-pattern.py
Publishing
6Snippet: Awesome-List PR Submission Workflow
awesome-list-pr-workflow.md
Snippet: Bulk GitHub Repository Creation
bulk-github-repo-creation.md
Snippet: Bulk GitHub Repo Humanize + README Audit
bulk-repo-humanize-audit.md
Multi-Platform Dataset Publishing
multi-platform-dataset-publishing.md
Snippet: Multi-Repo Skill Rename Convention
multi-repo-skill-rename-convention.md
New Public Repo Checklist
new-public-repo-checklist.md
Python Test Patterns
2Pattern: HTTP Client Test Fixtures with Realistic Mock Payloads
http-client-mock-conftest.md
Pattern: Mocking LLM Provider SDK Imports in pytest
llm-provider-mock-pattern.md
Real Time Dashboards
4chartjs_socketio_integration.html
chartjs_socketio_integration.html
dashboard_state_management.py
dashboard_state_management.py
flask_socketio_broadcaster.py
flask_socketio_broadcaster.py
socketio_emit_from_background.py
socketio_emit_from_background.py
Security
7api-key-env-scrub.py
api-key-env-scrub.py
Caddy `respond 404` regex: blocking server-side files inside a public web root
caddy-respond-404-regex-file-blocking.md
Pattern: Fail-Closed Shell Command Analysis
fail-closed-shell-analysis.md
sri-cdn-security.md
sri-cdn-security.md
HTML Sanitization Function - XSS Prevention
xss-prevention-escapehtml.js
xss-prevention-tooltip.md
xss-prevention-tooltip.md
xss-safe-dom-construction.js
xss-safe-dom-construction.js
Sentiment Analysis
1vader_sentiment_analyzer.py
vader_sentiment_analyzer.py
Social Media Clients
3at-protocol-uri-construction.ts
at-protocol-uri-construction.ts
at_protocol_facet_computation.ts
at_protocol_facet_computation.ts
bluesky_at_protocol_client.py
bluesky_at_protocol_client.py
Spatial Algorithms
2hex-grid-smart-spawn.ts
hex-grid-smart-spawn.ts
inter-cluster-proximity-lines.ts
inter-cluster-proximity-lines.ts
Streaming
2paragraph_stream_buffer.py
paragraph_stream_buffer.py
section_stream_buffer.py
section_stream_buffer.py
Streaming Patterns
4Buffered Tag Parser for Streaming Text
buffered-tag-parser.md
flask_sse_blueprint_ollama_provider.py
flask_sse_blueprint_ollama_provider.py
Per-section unlock state machine for streaming generation UIs
per-section-unlock-state-machine.md
sse_streaming_responses.py
sse_streaming_responses.py
Telegram Bot Patterns
1Privacy-Respecting Bot Patterns
privacy-patterns.md
Telegraph
2telegraph_llm_tool.py
telegraph_llm_tool.py
telegraph_publisher.py
telegraph_publisher.py
Testing
1pytest_fixtures_patterns.py
pytest_fixtures_patterns.py
Tool Registration
3Pattern: Deterministic Tool Pool Assembly
deterministic-tool-pool.md
mcp_stdio_server_pattern.py
mcp_stdio_server_pattern.py
swarm_module_pattern.py
swarm_module_pattern.py
Trpc
2jwt-cookie-context.ts
jwt-cookie-context.ts
procedure-tiers.ts
procedure-tiers.ts
Typescript Package Exports
1SNIPPET: Handling Major Version Dependency Upgrades
dependency-major-version-upgrade.md
Ui Patterns
9CSS-variable-driven SVG silhouettes with explicit-fill swatches
css-var-svg-silhouette-with-swatches.md
DOM-teleport overlay (focus-mode pattern)
dom-teleport-overlay.md
Focus-trap for modal overlays (vanilla JS)
focus-trap-modal.md
Host-agnostic mount module pattern
host-agnostic-mount-module.md
Long-Press Touch Drag vs Canvas Pan
long-press-drag-vs-canvas-pan.md
Multi-store fresh-start coordination
multi-store-fresh-start.md
Recently-added filter + badge
recently-added-filter.md
Responsive Horizontal Controls Pattern
responsive-horizontal-controls.md
Sort dropdown that composes with `[hidden]` filtering
sort-composes-with-hidden-filter.md
Utilities
18ascii-language-detection.ts
ascii-language-detection.ts
base-class-pattern.py
base-class-pattern.py
blob-url-lifecycle.js
blob-url-lifecycle.js
cache_manager_redis_fallback.py
cache_manager_redis_fallback.py
crypto_utilities.py
crypto_utilities.py
datetime_utilities.py
datetime_utilities.py
embedding_generation_similarity.py
embedding_generation_similarity.py
env_config_utilities.py
env_config_utilities.py
ES6 Module Lazy Loading Pattern
es6-lazy-loading-pattern.md
flask_image_handling.py
flask_image_handling.py
logging_utilities.py
logging_utilities.py
rate_limiter.py
rate_limiter.py
redis_cache_manager.py
redis_cache_manager.py
retry_decorator.py
retry_decorator.py
scan-dir-build-platform-manifests.py
scan-dir-build-platform-manifests.py
string_utilities.py
string_utilities.py
timezone_and_duration_utilities.py
timezone_and_duration_utilities.py
TypeScript: JSON File State Persistence
typescript-json-state-persistence.md
Vision Patterns
4Provenance bulk-classify pattern
provenance-bulk-classify.md
Snippet: Three.js Tooltip Guard Clause
threejs-tooltip-guard-clause.md
vision_client.py
vision_client.py
vision_enrich_with_references.py
vision_enrich_with_references.py
Web Frameworks
26Audio/Video Feature Quick Start Guide
AUDIO_VIDEO_QUICK_START.md
anonymous_owner_token_with_email_claim.py
anonymous_owner_token_with_email_claim.py
Flask + SQLite-WAL versioned KV store — two-writer sync without a database
flask-sqlite-wal-kv-store.md
flask-sse-endpoint.py
flask-sse-endpoint.py
flask_api_gateway_route_templates.py
flask_api_gateway_route_templates.py
flask_audio_file_handler.py
flask_audio_file_handler.py
flask_authentication_decorators.py
flask_authentication_decorators.py
flask_blueprint_organization.py
flask_blueprint_organization.py
flask_blueprint_with_url_prefix.py
flask_blueprint_with_url_prefix.py
flask_cross_db_attach_readonly.py
flask_cross_db_attach_readonly.py
flask_factory_pattern_with_blueprints.py
flask_factory_pattern_with_blueprints.py
flask_limiter_per_blueprint_key.py
flask_limiter_per_blueprint_key.py
flask_middleware_patterns.py
flask_middleware_patterns.py
flask_multi_provider_api_proxy.py
flask_multi_provider_api_proxy.py
flask_multipart_file_upload.py
flask_multipart_file_upload.py
flask_prefixed_cache_multi_tenant.py
flask_prefixed_cache_multi_tenant.py
flask_socketio_setup.py
flask_socketio_setup.py
flask_video_generation_handler.py
flask_video_generation_handler.py
Gunicorn + Eventlet Deployment Guide for Flask-SocketIO
gunicorn_socketio_deployment.md
gunicorn_socketio_deployment.py
gunicorn_socketio_deployment.py
html_to_markdown_edit_roundtrip.py
html_to_markdown_edit_roundtrip.py
Idempotent log-on-merge endpoint (buffer-then-patch client)
idempotent-log-on-merge.md
Loading States and Error Handling Pattern for API Calls
javascript_loading_states_pattern.js
Robust pattern for managing loading states, error handling, and success feedback in frontend applications.
llm_image_proxy_subject_style_split.py
llm_image_proxy_subject_style_split.py
Quota-guarded speculative prefetch
quota-guarded-prefetch.md
telegram_html_formatter.py
telegram_html_formatter.py
Websocket Patterns
3react-ws-collab-hook.ts
react-ws-collab-hook.ts
websocket_client_with_reconnect.py
websocket_client_with_reconnect.py
websocket_firehose_reconnection.py
websocket_firehose_reconnection.py