Branchwell

Become a Pro / website · becomeapro.ai / docs / LESSONS.md

Raw 4.9 KB on 807b8657974875ed44f307014cfbf8ce673dc5a6

Show the source

Writing lessons for Become a Pro

Become a Pro teaches the useful skills of every trade and profession, step by step, in plain English. Free. Text first.

Where lessons go

content/lessons/<area>/<field>/<lesson-slug>.mdx. Areas and fields are listed in src/lib/catalog.ts. Lesson slugs are lowercase words joined with hyphens.

Front matter

---
title: "Reading a tape measure"
description: "One or two plain sentences saying what you will be able to do after this lesson."
updated: 2026-12-03
minutes: 8
level: Beginner        # Beginner, Intermediate or Advanced
order: 1               # position in the field's list (1 first)
sources:               # where we checked the facts; kept in source, never shown
  - https://www.osha.gov/control-hazardous-energy
---

Review and refresh

Lessons get reviewed and refreshed. Every lesson shows its updated date. When you check or revise a lesson, change updated to that day. We teach only current tools and methods: when a product or method is replaced by a better one, rewrite the lesson for the new one rather than keeping the old way.

Rules for every lesson

  • Teach useful work skills only. Real steps someone can do, the reason behind each step, and the common mistakes.
  • Modern methods and today's best tools and products. Never teach an outdated way. Name current products where it helps (for example: PEX and push-to-connect fittings, inverter heat pumps, cordless tool platforms, Claude, ChatGPT, Google Sheets, Excel with XLOOKUP). Do not quote product prices or version numbers that go stale fast.
  • Accurate and safety-honest. Say plainly when the law or common sense requires a licensed pro or a permit (for example: new electrical circuits, gas lines, refrigerant handling, structural work), and when to stop and call one. Codes vary by place: tell readers to check their local code.
  • Plain English. Short sentences. Explain every term the first time. Write for an adult who is smart but new to the field, and who may be learning English.
  • Never use the words "business" or "branch" anywhere. Say "company", "shop", "employer", "client", "your work", "a store" instead. No em dashes. No mention of other websites we run, no "Project ATOM", no prices for this site, no ads, no asks.
  • Check facts against current official sources (codes in their current edition, OSHA, EPA, NFPA, manufacturer docs, the official product docs). Write everything in our own words. Never show credits, citations or outside links on the page: list every source URL in the front matter sources: list, which stays in the code and is never rendered. npm run check:lessons fails on any URL or <Resource> in the lesson body.
  • 600 to 1,400 words. Use ## headings for the main sections.

MDX gotchas

MDX is Markdown plus JSX. In plain prose, {, } and < break the build: write "less than" instead of <, or put the text in backticks. Tables use normal Markdown pipes. Fractions like 3/4 are fine.

Components you can use

<Callout type="safety">Turn off the breaker and test the wire with a non-contact tester before you touch it.</Callout>
<Callout type="tip">...</Callout>
<Callout type="note">...</Callout>

<Steps>
  <Step title="Shut off the water">Close the valve under the sink...</Step>
  <Step title="Open the faucet">...</Step>
</Steps>

Diagrams (use them a lot)

Good lessons have at least one simple diagram. Diagrams are inline SVG wrapped in <Diagram>. They must work in light and dark mode, so use only currentColor: stroke="currentColor" and fill="none" for lines and shapes, fill="currentColor" for text. For a light shaded area use className="soft" on the shape. No other colors, no animation, no images. Use JSX attribute names: strokeWidth, textAnchor, fontSize, strokeDasharray, strokeLinecap, markerEnd. Keep text at fontSize="14" or larger and the viewBox around 600 wide so it reads on a phone. Always give the svg role="img" and an aria-label.

<Diagram caption="Water flows from the supply, through the trap, to the drain.">
  <svg viewBox="0 0 600 220" role="img" aria-label="A sink trap holding water to block sewer gas">
    <rect x="40" y="20" width="200" height="60" rx="8" fill="none" stroke="currentColor" strokeWidth="2" />
    <rect x="300" y="120" width="120" height="40" rx="6" className="soft" stroke="currentColor" strokeWidth="2" />
    <line x1="140" y1="80" x2="140" y2="140" stroke="currentColor" strokeWidth="2" />
    <text x="140" y="200" fontSize="16" textAnchor="middle" fill="currentColor">Trap</text>
  </svg>
</Diagram>

Pronunciation audio (English lessons)

<Say word="schedule" hint="SKEJ-ool" />
<Say word="Could you send me the report by Friday?" />

<Say> shows the word or sentence with a play button. The audio file is made from the exact word text (a clear neutral voice), so write it exactly as it should be spoken. hint is an optional plain respelling with the stressed part in capitals. Keep sentences under 15 words.