Resources

Resource library

Practical teaching assets for interventional pulmonology educators, learners, and clinician-builders.

Lecture companionUpdated May 8, 2026

Vibe Coding for Clinicians, Researchers, and Educators

A beginner-friendly handbook for physicians who want to build useful clinical, research, and teaching tools with AI coding assistants without pretending to be software engineers.

Audience

Beginner physician-builders

Best first use

Education, research, and workflow prototypes

1 - Start here

What vibe coding means for physicians

Vibe coding means building software by describing what you want in natural language, letting an AI coding assistant draft the code, testing the result, and refining it through conversation. You are not handing over clinical judgment. You are using AI as a fast junior developer while you remain the clinical architect.

You do not need to know every programming syntax rule before you begin. You need to define the clinical problem clearly, test whether the output solves it, and keep human review in the loop.
Clinician

Your advantage

You know the messy workflow, the edge cases, the language clinicians use, and what would actually be useful in clinic, in the bronchoscopy suite, or in a fellow course.

AI assistant

The assistant advantage

It can scaffold code, explain unfamiliar libraries, write tests, refactor files, and help debug without tiring of the iteration loop.

Human review

The non-negotiable

You decide whether the result is accurate, safe, maintainable, and appropriate for the intended educational, research, or workflow setting.

Good first uses

  • Educational apps: board review, anatomy teaching, EBUS station practice, procedural checklists, simulation modules.
  • Research tools: REDCap helpers, screening logs, CSV parsers, abstract dashboards, literature extraction workflows.
  • Workflow prototypes: note templates, registry extraction mockups, CPT coding demos, QA dashboards.

Not a shortcut for

  • Sending protected health information to unapproved tools.
  • Replacing institutional IT, security review, IRB, compliance, or FDA review when those apply.
  • Shipping clinical decision support without validation.

2 - Why this matters

IP tools are often too niche for industry

Interventional pulmonology has problems that are obvious to physicians but too narrow for many commercial roadmaps: registry capture from procedure notes, board-style teaching tools, procedure simulators, anatomy modules, literature assistants, and workflows that understand EBUS-TBNA, cryobiopsy, navigational bronchoscopy, pleural procedures, valves, rigid bronchoscopy, and stent surveillance.

Registry and documentation

Turn notes into structure

Extract EBUS station, needle passes, adequacy, ROSE, complications, specimens, CPT hints, and registry fields from synoptic text.

Education and training

Build the course you wanted

Create interactive bronchoscopy anatomy, TNM staging practice, EBUS knobology, board review cases, simulation labs, and feedback loops.

Research

Lower the friction

Screen abstracts, classify cases, generate tables, build dashboards, track enrollment, and standardize data collection.

Clinical prototypes

Prototype cautiously

Educational calculators, guideline summaries, and checklists can be useful, but patient-specific recommendations need validation and governance.

3 - Core loop

The physician-builder workflow

  1. 1Describe the clinical problemState the user, setting, input, output, and success criteria. "Build an EBUS station quiz for fellows" is better than "make an app."
  2. 2Plan before codingUse a chat assistant to turn the idea into requirements, a feature list, a data model, and first-version scope.
  3. 3Generate small piecesAsk for one component, one script, or one route at a time. Large prompts are fine for planning; small prompts are better for reliable implementation.
  4. 4Run and testUse the IDE terminal. Copy exact error messages back to the assistant. Ask for reproducible checks, not just another attempt.
  5. 5Refine with domain expertiseCorrect medical language, workflows, and edge cases. Ask AI to critique the product, not just write code.
  6. 6Commit, review, and shareUse GitHub as project memory. Save checkpoints, create issues, get review, and deploy only when the risk level is appropriate.

AI as workbench builder

When a visual task is hard to describe, ask AI to create a temporary editor. Example: a hotspot placement page where you drag controls into position, copy JSON, and then delete the temporary tool after integration.

Show, do not only describe

For spatial bugs, layouts, 3D anatomy, ultrasound geometry, or UI problems, screenshots and target images converge faster than paragraphs.

Make invisible state visible

Ask for debug panels, timestamps, axes, centroids, labels, and logs. Many bugs stay hidden because you cannot see the state the code is using.

4 - Tool stack chooser

Which tools should a beginner physician use?

Do not start by learning every tool. Pick the stack that matches the current goal.

GoalBest starter stackWhyFirst project
Learn the workflowChat assistant + Google ColabNo local setup. Good for Python, data, and concept learning.Parse 20 synthetic CT reports into a CSV.
Build a research dashboardPython + Streamlit + GitHubFast path from a data table to an interactive app.Bronchoscopy complication dashboard from a de-identified CSV.
Build a teaching appVS Code, Cursor, or Windsurf + React/ViteBest for interactive UI, quizzes, anatomy diagrams, and mobile-responsive teaching tools.EBUS station flashcards with a 20-question quiz.
Maintain a real codebaseVS Code + Copilot, Cursor, or CodexGood balance of manual control, codebase context, chat, and version control.Refactor an existing app and add tests.
Delegate multi-file workCodex, Claude Code, or Copilot coding agentAgents can inspect the repo, edit files, run commands, and summarize changes.Add a new TNM staging module to an existing course app.

Three tiers of AI coding tools

Tier 1

Chat-based assistants

ChatGPT, Claude, and similar tools are useful for planning, explaining code, drafting prompts, summarizing errors, and small snippets.

Tier 2

IDE-integrated assistants

GitHub Copilot in VS Code, Cursor, and Windsurf are strongest when the assistant can see the files you are editing.

Tier 3

Agentic coding tools

Codex, Claude Code, and coding agents are best for multi-file changes, tests, pull requests, and codebase exploration.

5 - IDE basics

What an IDE is, and why clinicians should care

An IDE is an integrated development environment: a workspace where you view files, edit code, run commands, manage Git, and debug errors. Think of it as the software workbench that keeps the editor, terminal, source control, and AI assistant in one place.

VS Code

Free, widely used, and supported by a large extension ecosystem, GitHub Copilot, terminals, notebooks, and many language plugins.

Open resource

Cursor

An AI-native editor designed around agents and codebase context. Useful when you want coordinated edits across a project.

Open resource

Windsurf

An AI coding editor focused on agentic development, flow, browser context, terminal commands, and iterative app building.

Open resource

Jupyter / Colab

Notebook environments are excellent for research data, Python, statistics, and teaching. They are a great first scripting surface.

Open resource

The five IDE areas beginners should learn

  1. 1File explorerShows project folders and files. Ask AI to explain the folder structure.
  2. 2EditorWhere files open. Comments can become prompts, such as "// Build a quiz component that loads questions from quizData.json".
  3. 3TerminalWhere commands run, such as npm run dev, python app.py, or git status.
  4. 4Source control panelShows what changed. Review this before every commit.
  5. 5AI chat / agent panelWhere you describe tasks, review errors, and request scoped changes.
Never let an agent make changes you cannot review. Learn where the diff is. A diff shows exactly what changed.

6 - GitHub basics

GitHub for physicians: the minimum you need

Git tracks changes. GitHub stores those changes online, supports collaboration, and can host simple websites. Beginners can start with GitHub Desktop before relying on terminal commands.

TermPlain-English meaningMedical analogy
Repository / repoA project folder with history.A case chart plus all revisions.
CommitA saved checkpoint with a message.Procedure note signed at a point in time.
BranchA safe copy for trying changes.A simulation run before changing the real workflow.
Pull requestA proposed set of changes for review.Peer review before deployment.
IssueA to-do item, bug, or feature request.Clinic task list or research tracker.
READMEThe project front page and instructions.Protocol summary.
.gitignoreA list of files Git should never track.Do not include PHI, secrets, exports, or temp files.

The beginner GitHub workflow

  1. 1Create a private repositoryUse a short name, add a README, and add a license only when you are ready to share.
  2. 2Clone it locallyUse GitHub Desktop or the terminal. Open the folder in VS Code, Cursor, or Windsurf.
  3. 3Build one featureAdd one page, one parser, one component, or one test.
  4. 4Review changed filesRead the diff. Ask the AI to explain anything you do not understand.
  5. 5Commit with a useful messageExample: Add EBUS station quiz with JSON question data.
  6. 6Push to GitHubNow the checkpoint exists online and can be reviewed, deployed, or continued elsewhere.
Essential commands
# See what changed
git status

# Save all changed files into the next checkpoint
git add .

# Create the checkpoint
git commit -m "Add EBUS station quiz"

# Upload to GitHub
git push

# Create a safe branch for a new feature
git checkout -b add-tnm-module

7 - Agentic coding

How to use coding agents safely

Agents are different from chatbots. A chatbot answers. An agent can inspect files, edit files, run commands, and sometimes create pull requests. That power is why agents are useful and why guardrails matter.

Use an agent when

  • The project is already in GitHub or otherwise backed up.
  • You can describe a clear goal and success test.
  • The change spans multiple files.
  • You want tests, documentation, or refactoring.
  • You can review the diff before accepting changes.
Do not use an agent on unreviewed PHI, production clinical systems without approval, live databases, credential files, or anything where an accidental edit could harm patients, leak data, or break operations.

The safest agent workflow

  1. 1Start from a clean Git stateRun git status. Commit or stash current work.
  2. 2Create a branchExample: git checkout -b add-tnm-staging-module.
  3. 3Ask for a plan before editsTell the agent: Inspect the repo and propose a plan. Do not edit yet.
  4. 4Approve a small scopePrefer one feature. Avoid rebuilding the entire app in one pass.
  5. 5Run tests or buildRequire npm run build, pytest, or whatever applies.
  6. 6Review the diff and summaryAsk for changed files, risks, assumptions, and manual test steps.
Agent prompt template
You are working in my GitHub repo for an educational interventional pulmonology app.

Goal: Add a TNM staging teaching module for pulmonary fellows.

Rules:
- Do not use or create any patient-identifiable data.
- Do not make changes until you inspect the repo and propose a short plan.
- Keep the first version small: reference cards, a simple staging builder, and 3 cases.
- Use existing styling and navigation patterns.
- Add or update tests if the project already has tests.
- Run the build command and report whether it passes.
- At the end, summarize changed files, assumptions, risks, and manual test steps.

Start by inspecting README.md, package.json, and the src folder. Then propose a plan.
AgentGood useHow to think about itBeginner guardrail
CodexCloud, CLI, IDE, and app coding tasks; repo inspection; bug fixes; feature implementation.Delegate a well-scoped task and review the output.Ask for plan -> branch -> tests -> diff summary.
Claude CodeTerminal and IDE workflows, repo-level reasoning, refactoring, explanations, and careful review.A coding collaborator living in the development environment.Use permission prompts and review shell commands.
GitHub Copilot coding agentIssue-driven tasks and pull-request style workflows inside the GitHub and Copilot ecosystem.Turn a detailed issue into a proposed change.Write detailed issues and review PRs like manuscripts.
Cursor / Windsurf agentsInteractive IDE-based building with live codebase context and visual feedback.Build while watching the app run.Keep tasks small and watch the changed-files list.

8 - Prompt library

Copy-ready prompts for clinicians

The goal is not perfect wording. The goal is enough context for the assistant to make good decisions.

C - Context

Clinical domain, user, setting, and why it matters.

L - Layout

How you want the response or app structured.

E - Examples

Sample inputs, outputs, reports, cases, screenshots, or user stories.

A - Accuracy

Standards, units, guideline references, validation expectations.

R - Requirements

Constraints: privacy, accessibility, file formats, tests, deployment, and edge cases.

Planning prompt
I am a pulmonary/critical care physician building a beginner project with AI coding tools.

Clinical problem:
[Describe the problem]

Users:
[Medical students / fellows / research coordinator / attending / quality team]

Setting:
[Education only / research data / clinical workflow prototype]

Inputs:
[CSV, text notes, images, REDCap export, synthetic cases]

Outputs:
[Dashboard, quiz, parser output, report, PDF, table]

Constraints:
- Use de-identified or synthetic data only.
- Beginner-friendly stack.
- First version should be small and buildable in one weekend.

Please create:
1. A one-paragraph project summary.
2. MVP feature list.
3. Future feature backlog.
4. Recommended tech stack.
5. Data model.
6. Step-by-step build plan.
7. Risks and safety review checklist.
Debugging prompt
I am getting this error while running my app:

[Paste exact error]

Context:
- Tool/editor: [VS Code / Cursor / Claude Code / Codex]
- Command I ran: [npm run dev / python app.py / pytest]
- File I think is involved: [filename]
- What I expected: [expected behavior]
- What happened: [actual behavior]

Please:
1. Explain the error in beginner-friendly terms.
2. Identify the likely cause.
3. Give the smallest safe fix.
4. Tell me exactly which file to edit.
5. Suggest a test to confirm it is fixed.
Workbench pattern prompt
This is a visual/spatial problem and text iteration is not converging.

Please build a temporary workbench page that lets me manually adjust the values.
Requirements:
- Show the target image or object.
- Let me drag, resize, and nudge the hotspots, labels, or points.
- Show live coordinates and dimensions.
- Include a Copy JSON button.
- Store the temporary page in a clearly named route: /debug-hotspot-editor.
- Do not integrate into production yet.

After I paste the final JSON, help me wire it into the production component and remove the debug page.
Teaching app prompt
Build a React + Vite teaching app for EBUS nodal stations.

Audience: pulmonary fellows.
Purpose: rapid visual review before simulation lab.

Features:
1. Landing page with learning objectives.
2. Interactive station map with clickable stations 2R, 2L, 4R, 4L, 7, 10R/L, 11R/L.
3. Flashcard mode.
4. 15-question quiz with immediate feedback.
5. Case mode with 3 realistic staging cases.
6. Content stored in JSON files for easy editing.
7. Mobile-responsive layout.
8. Accessibility: keyboard navigation and alt text.
9. Disclaimer: educational use only.

Use synthetic cases only. Create the folder structure and starter components.

9 - Starter projects

Beginner projects that teach useful skills

ProjectSkills learnedStackSafety level
Procedure checklist generatorForms, conditional display, printable summaries.React/Vite or Streamlit.Low if educational and no PHI.
EBUS station flashcardsJSON content, UI components, quiz state.React/Vite + GitHub Pages.Low.
Synthetic CT report nodule parserRegex, natural language parsing, CSV export.Python + Streamlit.Low with synthetic data.
Board review question bankData modeling, search/filter, scoring, spaced repetition.React or Next.js.Low.
REDCap data dictionary generatorCSV schemas, validation rules, research workflow.Python.Medium; coordinate with the research team.
Literature RAG assistantEmbeddings, document ingestion, retrieval, citation display.Python + vector database + LLM API.Medium to high depending on use.
Clinical decision support prototypeGuideline logic, validation, audit trails, governance.Usually more than a beginner stack.High; involve IT, compliance, and regulatory experts early.
Make an educational quiz or data dashboard first. It has real value, low risk, and teaches the same building blocks you will need later: files, data, UI, testing, GitHub, deployment, and user feedback.

10 - Safety and governance

Build responsibly

Healthcare software has a different risk profile than a hobby app. Treat safety as a design requirement, not a final checklist.

Privacy

PHI is not prompt material

Use synthetic or properly de-identified data. If a vendor handles PHI for a covered entity, business associate obligations may apply.

Security

Secrets stay out of GitHub

Never commit API keys, passwords, tokens, database URLs, exports, or patient files. Use environment variables and secret managers.

Validation

Clinical output must be checked

Recommendations, registry values, coding suggestions, staging, risk scores, and triage flags need expert review and validation.

Regulatory

Know when it becomes device-like

Software that supports diagnosis or treatment may enter FDA clinical decision support or SaMD territory. Get institutional guidance early.

Pre-share checklist

  • No patient names, dates, MRNs, accession numbers, locations, faces, voice, or identifiers.
  • No secrets in code, screenshots, logs, notebooks, or GitHub history.
  • README explains purpose, limitations, install steps, and data policy.
  • Clinical content reviewed by a domain expert.
  • Educational disclaimer or research disclaimer included.
  • Build or test command passes.
  • Repo visibility set intentionally: private for early work, public only when safe.
  • Institutional IT, IRB, compliance, or CMIO involved when appropriate.
Minimal .gitignore for clinician projects
.env
.env.*
*.key
*.pem
*.csv
*.xlsx
*.dcm
*.nii
*.nii.gz
patient_data/
exports/
logs/
node_modules/
__pycache__/
.DS_Store
A file added to Git and later deleted can still remain in repository history. If PHI or a secret is accidentally committed, stop and ask for help from someone who knows Git history cleanup and institutional reporting requirements.

11 - Learning pathway

A 30-day beginner plan for physicians

WeekGoalWhat to doDeliverable
Week 1Understand the loopPlan 3 small project ideas. Learn GitHub vocabulary. Run one Colab notebook.One project specification.
Week 2Build a small scriptUse Python to parse or summarize synthetic data. Ask AI to explain every line. Save to GitHub.A working script or notebook.
Week 3Build a simple appUse Streamlit or React/Vite to make a quiz, checklist, or dashboard. Commit daily.A local app that runs.
Week 4Review and shareAsk AI and colleagues to critique. Add README, disclaimer, tests, and a simple sharing plan.A shareable link or private demo.
Ship tiny. A finished 20-question EBUS quiz teaches more than an unfinished mega-project. Useful beats impressive.

12 - Useful links

Curated links for clinician-builders

13 - Glossary

Plain-English glossary

TermMeaning
AppA software tool people can use: website, dashboard, mobile app, calculator, notebook, or script.
CLICommand-line interface. A text box where you run commands.
ComponentA reusable piece of a web app, like a quiz card, navigation bar, or anatomy panel.
DependencyA package your project relies on.
Environment variableA private setting used for secrets like API keys. Do not hard-code secrets in files.
FrameworkA structured way to build software, such as React, Next.js, Streamlit, or Django.
JSONA structured text format for data. Excellent for quiz questions, case data, and configuration.
LintingAutomated checking for code style and common mistakes.
MCPModel Context Protocol, a way for AI tools to connect to external tools and data sources. Use carefully.
Package managerTool that installs dependencies, such as npm for JavaScript or uv/pip for Python.
Pull requestA proposed change set for review before merging into the main project.
RAGRetrieval-augmented generation: an AI system that retrieves relevant documents before answering.
Static siteA website made of HTML, CSS, and JavaScript files that can be hosted simply.
TestCode that checks whether your code behaves as expected.
The most important skill is not syntax. It is translating a clinical problem into clear requirements, testing the result, and knowing when expert review is needed.

Vibe Coding for Clinicians, Researchers, and Educators. Educational material only. Not medical advice. Do not use with PHI unless your institution has approved tools, agreements, workflows, and safeguards.