-
Notifications
You must be signed in to change notification settings - Fork 0
Vibe Coding
Vibe Coding is the art of building applications by describing what you want in natural language, rather than writing every line of code yourself. DHTI is designed to be "vibe-codable" thanks to its modular architecture and Agent Skills.
DHTI comes with a set of "skills" located in the .claude directory of the repository. These are special instructions and prompts designed for AI coding assistants (like Claude or similar agents) to understand how to build DHTI components.
The most powerful skill is start-dhti skill.
This skill orchestrates the complete development of a DHTI application. It knows how to:
- Scaffold Elixirs: Create backend GenAI services from templates.
- Scaffold Conchs: Create frontend UI components (OpenMRS ESMs).
-
Compose the Stack: specific
docker-composeconfigurations to wire them together.
If you are using an AI code editor that supports these skills:
- Open the DHTI project.
- Prompt the Agent: "I want to build a skin cancer analysis app. It should take an image, analyze it for risk, and suggest a referral if high risk."
-
Watch it work: The agent will use the
start-dhti skillto:- Generate the
dhti-elixir-skin-cancerbackend. - Generate the
openmrs-esm-skin-cancerfrontend. - Wire them up in
docker-compose.yml.
- Generate the
To get the best "vibes" (results), use Problem-Oriented Prompts. Instead of saying "make a text box," say "I need to collect patient history to determine cardiovascular risk."
DHTI includes examples of these prompts in prompts/e2e-sample.md. They guide the AI to build clinically relevant features using standard components.
Next Steps:
- Try the Getting Started guide to run your first vibe-coded app.
- Learn more about MCP Agent capabilities.