Skip to content

Instantly share code, notes, and snippets.

View jamesjfoong's full-sized avatar
🏠
Working from home

James Jeremy Foong jamesjfoong

🏠
Working from home
View GitHub Profile
@jamesjfoong
jamesjfoong / micro-frontends-overview.md
Last active June 3, 2026 08:32
Micro Frontends (MFEs) — A Practical Overview

Micro Frontends (MFEs) — A Practical Overview

Think of MFEs as microservices, but for the frontend. Each team owns a vertical slice: UI + logic + deployment.


1. What Are Micro Frontends?

An architectural style where independently deliverable frontend applications are composed into a greater whole.

@doobidoo
doobidoo / claude-code-token-savings-stack.md
Last active May 26, 2026 05:15
Claude Code Token Savings Stack — 6 layers, zero overlap, ~60% context reduction

Claude Code Token Savings Stack — 6 Layers, Zero Overlap

The complete guide to cutting your Claude Code context consumption by ~60%.

Six open-source tools, each saving tokens at a different stage of the LLM interaction loop. No overlap between them — they compose into a single pipeline that effectively doubles your usable context window.

User Prompt
  → [MCP-Memory-Service]    Cross-session knowledge → skip re-discovery
 → [MCP-Context-Provider] Targeted context rules → skip brute-force file reading
@ChristopherA
ChristopherA / git_worktrees.md
Last active August 5, 2026 23:30
Git Worktree Best Practices and Tools

Git Worktree Best Practices and Tools

Last Updated: 2024-02-06

Overview

Git worktrees allow you to check out multiple branches simultaneously in separate directories, while sharing a single .git metadata store.

THere are some best practices, useful Git aliases, and shell functions for efficiently managing Git worktrees. It covers:

  • Setting up Git aliases for worktree operations.
  • Using shell functions for enhanced worktree management.