Become a Pro / website · becomeapro.ai / CLAUDE.md
CLAUDE.md
Become a Pro (https://becomeapro.ai): free, plain-English lessons that teach the useful skills of every trade and profession. Trades, knowledge work, English (with pronunciation audio), math and teaching. Text first: no videos, no 3D, no animation, no logo mark.
Commands
npm run dev: local servernpm run build:cloudflare: production build (OpenNext for Cloudflare Workers)npm run deploy:cloudflare: build and deploy theairesource-pro-siteWorker (serves becomeapro.ai)npm test: Jest;npm run test:e2e: Playwright againstPLAYWRIGHT_BASE_URLnpm run check:lessons: checks every lesson compiles and follows the rulesnpm run audio: makes missing pronunciation clips for<Say>words (needsELEVENLABS_API_KEY, Bitwarden Secrets ManagerAGENT_ELEVENLABS_API_KEY)
Content
- Areas and fields:
src/lib/catalog.ts. Lessons:content/lessons/<area>/<field>/<lesson>.mdx. URLs follow the same path. - How to write a lesson, the components (
Callout,Steps,Diagram,Say,Resources) and the rules:docs/LESSONS.md. - Lessons get reviewed and refreshed. Each shows its
updateddate; change it when you check or revise a lesson. Teach only current tools and methods: when something better replaces a product or method, rewrite the lesson. - Pronunciation clips live in
public/audio/<slug>.mp3(slug rule insrc/lib/audio.ts). - The old AI tutorials live under Knowledge work > Using AI at work;
next.config.jsredirects their old paths.
Site rules
- Plain black and white, one system font, light and dark follow the device. Header is the text "Become a Pro" only. Footer is exactly "Research · Source" (Source links to this page's code on Branchwell).
- Never the words "business" or "branch". No prices, no ads, no partner asks, no copyright line, no mention of other sites or Project ATOM.
- NO SEO (2026-12-02): no sitemap, canonical tags, JSON-LD, keywords or search-console verification.
cloudflare-worker.mjs301s www.becomeapro.ai, airesourcepro.com, www.airesourcepro.com, airesource.pro and www.airesource.pro to https://becomeapro.ai, keeping the path.src/app/research/plan.tsis generated by hosting-researchtools/research-gen/embed.py; editplans.pythere.
Auth
Sign-in is BioLock only (the device's own fingerprint or face reader, src/lib/biolock/), sessions by Better Auth, data in D1 airesourcepro-accounts (binding ACCOUNTS_DB). AIRESOURCE_AUTH_ORIGIN (set to https://becomeapro.ai in wrangler.jsonc) sets the BioLock site and origin; secret AIRESOURCE_BETTER_AUTH_SECRET. Accounts store a name, device keys and saved lessons (<field>/<lesson> keys).
Code style
TypeScript strict, server components by default, small files, no dead code.