prompt-pro
CLAUDE.md48 starsChanged 6 months agoMITView on GitHub
This repo backs Tim Warner's How to Prompt Like a Pro O'Reilly Live Learning course (4 × 50 min). It is content-first: Markdown lesson plans inside segments/, supporting research and decks in docs/, and visual assets in images/. There is no top-level application - the root package.json is a legacy stub (it references a src/index.js that no longer exists). The only runnable code lives under segments/segment-4-agentic-orchestration/mcp-demos/. All demo content uses the Contoso Robotics scenario (mid-size robotics manufacturer, 500 employees, $120M…
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- bicep-deploymentSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
All demo content uses the Contoso Robotics scenario (mid-size robotics manufacturer, 500 employees, $120M revenue, Austin TX, CEO Maria …
- Distinctive: line 21
Keep existing segment directory names - drop new material into the matching segment rather than introducing parallel folders.
- Distinctive: line 38
Document any manual prerequisites (API keys, network) in that segment's README - do not assume learners can execute code locally.
- Very specific: line 42
Use relative links for assets (e.g., segments/segment-2-context-sculpting-technique/README.md, images/social-preview.png).
- Distinctive: line 43
Prefer short sections with tables or callouts so lessons are scannable on screen shares.
- Very specific: line 46
Never embed production API keys in lesson text - reference env.example and remind learners to set their own environment variables.
- Very specific: line 47
Do not reintroduce the deleted attachments/ datasets.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This repo backs Tim Warner's How to Prompt Like a Pro O'Reilly Live Learning course (4 × 50 min). It is content-first: Markdown lesson plans inside segments/, supporting research and decks in docs/, and visual assets in images/. There is no top-level application - the root package.json is a legacy stub (it references a src/index.js that no longer exists). The only runnable code lives under segments/segment-4-agentic-orchestration/mcp-demos/.
All demo content uses the Contoso Robotics scenario (mid-size robotics manufacturer, 500 employees, $120M revenue, Austin TX, CEO Maria Chen). Keep new demo material consistent with this fiction. The course is structured around Warner's 26 Laws of Generative AI (WARNERS-LAWS.md), split 7-7-8-4 across the four segments.
Repository Layout
segments/segment-1-identity-mindset-context/– Laws 1-7: anchor trap, context disclosure, identity awareness. Contoso Robotics scenario data and demos.segments/segment-2-context-sculpting-technique/– Laws 8-14: few-shot, chain-of-thought, role-play, meta-prompting. Budget exercises and product brief templates.segments/segment-3-workflow-multimodal-security/– Laws 15-22: custom instructions, prompt versioning, privacy audits. Includes retainedknowledge/subfolder from prior deliveries.segments/segment-4-agentic-orchestration/– Laws 23-26: LLM matching, subagents, checkpoints. Plusmcp-demos/weather-server/(a working MCP server used for live demos).docs/– Long-form references (context-engineering.md) and the master slide deckwarner-prompt-pro-april-2026.pptx.images/– Cover art andsocial-preview.png. Keep optimized PNG/JPG here..github/– Issue/PR templates, custom instructions, and themarkdownlint-autofix.ymlworkflow (runnable on-demand via Actions → Run workflow).
Keep existing segment directory names - drop new material into the matching segment rather than introducing parallel folders.
Authoring Workflow
npm installat the repo root installsmarkdownlint-cli2(the rootpackage.json'sstart/dev/testscripts are stale and should not be run).- Edit Markdown with two-space list indentation and blank lines around headings (enforced by
markdownlint.json). - Lint before pushing:
npx markdownlint-cli2 "**/*.md" --config markdownlint.json --fix - For slide deck updates in
docs/, export to PDF to verify fonts and charts before sharing with learners.
Weather MCP Demo (segment 4)
The only runnable code in the repo. From segments/segment-4-agentic-orchestration/mcp-demos/weather-server/:
npm install– install@modelcontextprotocol/sdkandzod.npm start– run the MCP server (node server.js).npm run inspect– launch MCP Inspector against the local server usinginspector.json.
Document any manual prerequisites (API keys, network) in that segment's README - do not assume learners can execute code locally.
Content Guidelines
- Use relative links for assets (e.g.,
segments/segment-2-context-sculpting-technique/README.md,images/social-preview.png). - Prefer short sections with tables or callouts so lessons are scannable on screen shares.
- Sentence-case headings; kebab-case directories and filenames.
- Reserve emoji for callouts and exercises where they aid scannability.
- Never embed production API keys in lesson text - reference
env.exampleand remind learners to set their own environment variables. - Do not reintroduce the deleted
attachments/datasets. If sanitized data is required, keep it inside the relevant segment folder with clear provenance.
Key Reference Files
README.md– Course overview and segment table.WARNERS-LAWS.md/README.md– "Warner's Laws of Generative AI Prompting" (the course's guiding principles; keep lesson content consistent with them).COURSE-PLAN-JUNE-2026.md– June 2026 delivery plan (segment titles, law assignments, demo ideas).docs/INSTRUCTOR-MANIFEST.md– Run-of-show delivery notes.AGENTS.md– Contributor playbook (commit style, PR expectations).markdownlint.json– Enforced spacing rules.SECURITY.md– Disclosure steps (tim@techtrainertim.com).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

