Cheatsheets
Full-stack + AI skills
A modern reference across frontend, backend, data, DevOps, and AI/LLM engineering.
47 entries
Frontend7
SSR / SSG / ISRServer-render, static-generate, or incrementally revalidate
React Server ComponentsRender on the server, ship less client JS
HydrationAttach interactivity to server-rendered HTML
Core Web VitalsLCP, CLS, INP — Google's UX performance metrics
Accessibility (a11y)Semantic HTML, ARIA, keyboard nav, contrast
Code splittingLazy-load chunks so the initial bundle stays small
Optimistic UIUpdate the UI before the server confirms
Backend & APIs7
REST vs GraphQLResource endpoints vs a single typed query graph
JWT / OAuth 2.0Stateless tokens / delegated authorization
IdempotencySafe to retry — same request, same effect
Rate limitingThrottle clients (token bucket, sliding window)
WebhooksServer-to-server event callbacks (verify signatures!)
Message queuesDecouple work async (SQS, Kafka, RabbitMQ)
Caching layersCDN, Redis, HTTP cache headers, memoization
Data & storage6
IndexesSpeed up reads; cost writes & storage
ACID transactionsAtomic, consistent, isolated, durable
NormalizationReduce duplication vs denormalize for read speed
MigrationsVersioned, repeatable schema changes
Vector databaseStore embeddings for semantic / similarity search
N+1 queriesCommon ORM perf bug — batch or join instead
DevOps & cloud6
CI/CDAutomated build, test, deploy on every change
ContainersPackage app + deps; run anywhere (Docker)
Infrastructure as CodeDeclarative infra (Terraform, Pulumi)
ObservabilityLogs, metrics, traces — know what prod is doing
Blue-green / canaryRelease strategies that limit blast radius
Serverless / edgeRun functions on-demand, close to users
AI / LLM basics6
TokensSub-word units; billing & limits are per-token
Context windowMax tokens the model can attend to at once
TemperatureSampling randomness — lower = more deterministic
EmbeddingsVectors capturing meaning for search & clustering
StreamingEmit tokens as generated for responsive UX
Prompt vs fine-tuneSteer via prompt first; fine-tune for scale/format
AI engineering9
System promptSets the model's role, rules, and tone
Few-shot promptingInclude examples to steer the output
Chain-of-thoughtAsk the model to reason step by step
RAGRetrieval-Augmented Generation — ground answers in fetched docs
Tool / function callingLet the model invoke typed functions/APIs
AgentsLLM loops that plan, call tools, and act
MCPModel Context Protocol — connect tools & data to LLMs
Evals & guardrailsTest prompt quality; constrain unsafe output
const r = await fetch("https://api.anthropic.com/v1/messages", {
method: "POST",
headers: {
"x-api-key": KEY,
"anthropic-version": "2023-06-01",
"content-type": "application/json",
},
body: JSON.stringify({
model: "claude-sonnet-4-6",
max_tokens: 1024,
messages: [{ role: "user", content: "Hi" }],
}),
});Call the Anthropic Messages API
Quality & practices6
Unit / integration / e2eTest pyramid — many fast, few slow
Type safetyCatch errors at compile time (TypeScript)
Feature flagsShip dark, roll out gradually, kill switch
12-factor appConfig in env, stateless processes, logs as streams
Least privilegeGrant the minimum access needed
Graceful degradationKeep core features working when parts fail