Prompt Engineering 101Cheatsheet
A beginner guide to prompt structure, system instructions, few-shot examples, and chain-of-thought techniques for LLMs.
Direct and easy to read reference guides for modern life — build software and AI systems, grow personal wealth and navigate taxes, and optimize your everyday health and wellness.
A beginner guide to prompt structure, system instructions, few-shot examples, and chain-of-thought techniques for LLMs.
A clear primer on four-stroke internal combustion cycles, core engine anatomy, and basic maintenance checkpoints.
A quick reference on bolt grades, metric and imperial thread pitches, torque specifications, and locking mechanisms.
A primer on DC and AC electric motors, electromagnetic induction, torque curves, and motor control circuits.
Transform multi-argument functions into chained calls and combine small functions into pipelines.
Learn how the call stack, microtask queue, and task queue control JavaScript execution order.
Learn how generator functions pause and resume execution to build lazy sequences and iterables.
Access nested properties safely with optional chaining and pair it with nullish coalescing for defaults.
Understand the prototype chain, Object.create, and how class syntax wraps prototypal inheritance.
Learn how Proxy traps and the Reflect API intercept and control object behavior in JavaScript.
Use unique Symbol values as collision-free object keys and customize built-in object behavior.
Schedule code execution using setTimeout and setInterval, and rate-limit handlers using debounce and throttle patterns.
Understand how JavaScript converts types automatically and avoid common equality and comparison bugs.
Store object-keyed data and hold references without blocking garbage collection in JavaScript.
Learn async iterators, async generators, and for await...of for consuming asynchronous data lazily.
Control the this keyword explicitly using call, apply, and bind on any function.
Build objects with class syntax covering constructors, inheritance, static members, and private fields.
A quick reference for making your first Claude API call, picking a model, and reading the response.
A quick reference for defining tools, running the agentic loop, and using the SDK tool runner with Claude.
Master the Fetch API for making HTTP requests in JavaScript, including GET, POST, error handling, and working with JSON responses.
A practical reference for TypeScript's built-in utility types including Partial, Pick, Omit, Record, ReturnType, and how to compose custom utilities.
Organize JavaScript code with ES6 modules using named exports, default exports, and dynamic imports.
Learn regex patterns, flags, exec, test, match, and replace for powerful string processing.
Use spread syntax to expand arrays and objects, and rest parameters to handle variable function arguments.
Use localStorage and sessionStorage to persist data in the browser across sessions and refreshes.
Master object and array destructuring for cleaner variable assignment and function parameters.
Handle errors gracefully in JavaScript using try/catch, custom error classes, and finally blocks.
Handle browser events, event delegation, bubbling, capturing, and preventDefault with vanilla JavaScript.
Profile apps, optimize bundle size, and implement advanced caching and streaming.
Stream content progressively with Suspense to improve perceived performance and UX.
Build scalable component architectures with established design patterns.
Build reusable custom hooks to extract component logic and share stateful behavior.