Skip to main content
Public lesson library

Worked example lessons

Follow a problem from its starting evidence to a completed response. Notice why each step is justified, then try the same reasoning on a different case.

Lesson previews

Convert a Div Card to a Real Article

A product news card is built from nested generic elements. It has a visible title, date, summary, and Read more click area, but no heading, no real link, and no meaningful document structure. Semantic refactor: identify the content job, choose native elements, then keep classes for styling. The common shortcut is to preserve the visual card and add ARIA labels later. That leaves the core HTML vague and usually misses keyboard or document-structure behavior. Name the content unit Wrap the card in article because it is a self-contained news item that can stand on its own in a list. The…

5 min
Optimize the Real LCP Element

The mobile homepage reports LCP at 4.7 seconds. The LCP element is the hero image, loaded after a carousel script and delivered as an oversized desktop image. LCP triage: identify the element, remove delay, right-size the resource, reserve space, then re-measure. The expensive shortcut is optimizing every small asset because it feels productive. That burns time without moving the largest visible milestone. Identify the element Use the report to confirm the hero image, not icons or fonts, is the LCP element. The metric points at the user-visible bottleneck. Start there. Remove request delay Do not lazy-load above-the-fold hero media and…

5 min
Worked Walkthrough: Dedupe without losing provenance

Deduplicate job postings that appear through multiple category URLs without merging distinct roles. Define the observation key, normalize only the fields used in that key, and preserve every source appearance as provenance. Dedupe by title alone feels simple but merges different roles with the same title and hides where each listing appeared. Name the observation One row in the canonical table represents one job posting, not one page appearance. This decides what counts as duplicate. Page appearances are evidence; the job posting is the observation. Build the key Use employer_id, normalized_title, location, and apply_url when no stable job_id exists. A…

5 min
Worked Walkthrough: Fetch only what changed

Refresh 2,000 public product pages daily while minimizing unnecessary downloads. Store server validators, send conditional requests, treat 304 as a successful unchanged check, and parse only changed pages. A full daily recrawl feels simple, but it ignores HTTP feedback and creates avoidable load when most pages are unchanged. Store validators On each successful 200 response, save ETag, Last-Modified, source_url, observed_at, and content_hash. Validators are the server's way of helping you avoid unnecessary transfers. Keeping them with provenance makes the next run smarter. Send conditional headers On the next run, send If-None-Match with the saved ETag or If-Modified-Since with the saved…

5 min
Worked Walkthrough: Build a resilient price selector

Extract product price from a public product card that may receive badges, experiments, and layout changes. Anchor on row identity, prefer semantic data, parse typed values, and fail loudly when validation breaks. Copying a full CSS path from browser tools records layout position, not field meaning. It works until a wrapper, badge, or experiment shifts the sibling order. Find the row container Select the product card by a stable product identifier such as data-sku or a canonical product URL. A field is safer when it is extracted inside the correct row. Container identity prevents a nearby badge or recommendation from…

5 min
Turn a Webinar Into a RACE Sequence

A 52-minute webinar on campaign operations has low replay completion, but it includes strong moments at minutes 04, 17, 31, and 46. RACE sequence: Reach -> Act -> Convert -> Engage The common trap is writing one long recap that mirrors the webinar agenda. It preserves chronology, but it ignores the fact that each audience segment needs a different action at a different stage. Reach Use minute 04, where the speaker names the hidden cost of review loops, as a short problem-framing post. Reach assets should help new people recognize themselves in the problem before asking for commitment. Act Turn…

5 min
Turn Weekly Review Into Calendar Blocks

Arjun's project list is current, but next week's calendar has limited focus capacity. The review must produce blocks, not just tidy lists. Reflect -> select outcomes -> estimate intervals -> place blocks -> add follow-up The common trap is completing a weekly review as list maintenance only. That feels organized, but important work still loses if it never receives calendar capacity. Step 1 Collect loose inputs from notes, email, chat saves, and meeting actions. The review starts by making hidden commitments visible. Step 2 Review active projects and choose four outcomes that matter next week. The Eisenhower lens prevents every…

5 min
Score A Partner Application With A Weighted Rubric

BrightPath wants fast-track reseller approval. It has access to 600 target accounts and a strong executive sponsor, but only one certified consultant and uneven customer references. Use a weighted balanced rubric so revenue potential, customer quality, operating discipline, and capability all count before approval. The common trap is to let a large account list overwhelm every other signal. That rewards attractive reach while hiding delivery risk, customer experience risk, and onboarding load. 1. Choose criteria Market reach 30%, solution fit 20%, delivery capability 25%, operating discipline 15%, executive commitment 10%. The categories cover financial opportunity plus the process and capability…

5 min
Break the Customer Refund Into Steps

Keiko needs to reduce refund queue time without auto-approving risky or relationship-sensitive cases. Split the workflow into routine verification, policy decision, and human exception review. A single auto-refund button treats all refunds as the same task and pushes policy defects downstream. Step 1 Decompose the work: intake -> order lookup -> duplicate check -> policy eligibility -> goodwill exception -> payment action -> customer message -> audit log. The workflow contains different types of work. Only some belong in the automation path. Step 2 Score value: 220 contacts/week x 6 minutes of lookup and duplicate checking = 22 hours/week of…

6 min
Decompose a Monthly Report

Imani needs to reduce a three-hour monthly customer-health report without losing the judgment that leaders trust. Decompose the workflow, score each step by frequency x time, standardize unstable inputs, and automate only the repeatable middle. Automating the whole report as one blob would either miss important quality checks or pretend the final narrative is a mechanical task. Step 1 List the report components: pull data, clean fields, join accounts, calculate risk, refresh charts, review anomalies, write narrative, send summary. Decomposition changes the question from can we automate the report to which steps have stable inputs and outputs. Step 2 Time…

6 min
Work a Service Tasting Note

Turn a staff-tasting impression of Sauvignon Blanc into a service-ready note. Use the tasting sequence to collect evidence, then make the conclusion operational: glass, temperature, pairing, and guest language. Stopping at aroma words makes the note memorable but not useful on the floor. Appearance Clear, pale lemon, no sediment or gas beyond normal still-wine appearance. The wine looks sound and youthful; no condition alarm is raised. Nose Clean, medium-plus intensity, grapefruit, passionfruit, cut grass, wet stone. Aromatic intensity is part of the selling language, but cleanliness is the service checkpoint. Palate Dry, high acidity, light body, medium alcohol, citrus and…

5 min
Work the Bottle Math Before You Pour

One standard bottle, four guests, fish course in ten minutes, white wine must stay cool. Build a pour plan that includes host taste, first pours, and top-ups. Start smaller than a full glass when course timing and temperature matter; use top-ups to create generosity at the right moment. The common shortcut is pouring four large glasses right away because it feels generous. It empties the bottle early and leaves warm wine waiting for food. Step 1 Estimate the bottle at about twenty-five ounces. This gives you a mental budget. You do not need a calculator; you need a pacing range.…

5 min
Wireframe the First Screen Before Building

The team is building a retention dashboard in the BI tool before agreeing on first-screen hierarchy. Styling and implementation details are masking the structure problem. Wireframe first-screen logic: answer -> diagnosis -> detail -> action Starting in the BI tool makes every layout disagreement feel like rework, so teams keep weak structure because it already looks finished. Write the audience question Primary question: "Is Week 4 retention below target, and which segment explains the gap?" The wireframe starts with the decision question so module order has a standard. Block the answer Top band: Week 4 retention vs target, delta from…

5 min
Build A REST Endpoint With Permission First

Create a REST endpoint for a WordPress dashboard widget that returns renewal-risk accounts only to authorized managers. Permission-first REST endpoint design Building the query first and using is_user_logged_in treats authentication as authorization and exposes data to users outside the intended scope. Name the route contract Define /omie/v1/renewal-risk with a clear method, accepted parameters, and the business object it returns. A named contract stops the route from becoming a generic data pipe. It tells reviewers what the endpoint is responsible for. Validate parameters Accept a risk_window parameter only from an allowed set and reject unknown filters before querying. Validation limits the…

5 min
Register A Custom Post Type With Done Criteria

Create a Resources custom post type for a nonprofit site that editors can manage and visitors can browse. Definition of Done for a WordPress content type Stopping after register_post_type creates an admin menu, but leaves routing, templates, search, permissions, and editor workflow unresolved. Define the workflow Write who creates resources, where visitors find them, whether they appear in search, and what filters or blocks consume them. A content type is a workflow contract. Naming the workflow first prevents default arguments from deciding product behavior accidentally. Register the type deliberately Set labels, public visibility, show_in_rest, supports, rewrite slug, menu placement, and…

5 min
Work A Performance Budget On A WordPress Home Page

Bring a WordPress campaign homepage under launch performance budget without losing the message. Performance budget triage Treating "make it faster" as a general cleanup task leads to random cuts, political arguments, and fixes that do not address the largest costs. Set the budget Define target initial JavaScript, image weight, server response time, and key user-flow threshold before changing code. A budget turns speed into a decision constraint. Without it, the team cannot tell whether a change is enough. Group the costs Measure assets, third-party tags, plugin scripts, images, and database queries separately instead of reading one aggregate score. Grouping reveals…

5 min
Work a Backlog Through RICE Without Losing the North Star

Backlog: a new pricing-page explainer for cold traffic, a setup preview for new admins, a referral reward for active users, and a win-back email for dormant teams. The team’s North Star is weekly active teams completing a core workflow, and the current funnel evidence points to activation as the tightest constraint. RICE works best when reach is stage-specific, impact is tied to the North Star path, confidence discounts optimism, and effort reflects total team cost. The common shortcut is to score whichever idea feels largest as if it reaches “everyone.” That mistake overstates broad traffic bets, understates stage constraints, and…

5 min
Work A Confidence Interval Into A Rollout Call

A checkout-copy test shows an observed conversion lift of 2.4 points, but the sample is still modest and the business must decide whether to roll out globally before the next paid campaign. Inferential decisions improve when you read the point estimate, then the uncertainty around it, then the downside risk of acting as if the point estimate were certain. Common trap: recommend the largest rollout based only on the headline lift, without asking what other true effects are still plausible given the sample. Step 1 Start with the observed result: conversion moved up by 2.4 points in the test group.…

5 min
Work a Driver Chain Through the Three Statements

Forecast Q3 net new ARR for a SaaS team using driver inputs: 140 qualified opportunities, 25 percent win rate, $18K ACV, $160K churn, and $90K expansion. Gross new ARR = opportunities x win rate x ACV. Net ARR change = gross new ARR - churned ARR + expansion ARR. The common shortcut is to apply a top-down ARR growth rate. That hides whether the plan depends on more demand, better conversion, higher price, lower churn, or more expansion. Step 1 140 qualified opportunities x 25 percent win rate = 35 new customers. Convert demand into expected wins before touching revenue.…

5 min
Work A Fact-Test Before Giving Political Advice

A leader wants to escalate a political interpretation from thin data. Ladder of Inference fact-test: data, story, disconfirming question The common trap is validating the emotion by endorsing the interpretation. State the data Two missed invites and one curt reply. This keeps the starting point observable. Name the story "One story is exclusion; another is ownership confusion or calendar error." Naming alternatives loosens certainty. Ask a disconfirming question "Is ownership changing, or should I still be in the loop?" A good test can prove your story wrong without accusing anyone. The final advice delays escalation until a clean test produces…

5 min
Work a Guardrail Decision After a Local Lift

Experiment result: invites sent rose 24% after a persistent referral banner launched. Invite acceptance quality fell, invited-user activation declined, and the North Star of weekly active teams completing core workflows did not improve in the observed window. A local lift is not a clean win when the guardrails that sit closer to durable value weaken at the same time. The common shortcut is to say, “the test worked, but we can optimize the quality later.” That reasoning separates the target metric from the value system it is supposed to serve. In practice, it often locks in a noisy behavior and…

5 min
Work a Markdown Plan Through PDCA

A sandal program has 620 units left, 3 selling weeks, and a target to exit at fewer than 120 units before reset. PDCA markdown rule: plan the target, do one price/presentation move, check sell-through, act by holding or adjusting. The common trap is to choose a markdown depth from anxiety instead of from a target inventory position and check rule. Plan target Target: sell at least 300 units in the first 7 days, leaving no more than 320 units for the final two weeks. The target translates the reset date into a measurable first checkpoint. Do the first move Execute…

5 min
Work a Rolling Model Update

March forecast was $1.20M revenue and $760K cost. Actuals are $1.10M revenue and $790K cost. April demand driver improves by 6 percent, and the forecast must keep a 12-month horizon. Update actuals first, then future drivers, then scenario triggers, then extend the horizon. The shortcut is to lower all future revenue because March missed. That double-counts timing issues and hides which driver changed. Step 1 Replace March forecast with actuals: revenue -$100K variance and cost +$30K variance. Closed period becomes fact and should not remain a live assumption. Step 2 Bridge March: $70K revenue timing slip collected April 3, $30K…

5 min
Work A Stratified Sample From A Messy Customer Base

You need 120 survey invitations from a customer base dominated by SMB accounts, but leadership specifically wants to compare enterprise and SMB reactions to a new packaging model. Sampling design should match the decision question. If subgroup comparison matters, the sample must deliberately preserve subgroup visibility. Common trap: draw a purely convenient or purely proportionate sample, then discover too late that the segment you needed to compare is barely present. Step 1 Define the population and the segment question: the decision requires comparing SMB and enterprise reactions, not just a blended average. This is where sampling starts. The sample should…

5 min

Skill catalogue | Browse the library

Put it into practice

Choose your next learning habit.

Contact us