Skip to content

Vibe Coding

Bell Eapen edited this page Jan 17, 2026 · 1 revision

Vibe Coding & Agent Skills

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.

What are 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.

start-dhti skill

This skill orchestrates the complete development of a DHTI application. It knows how to:

  1. Scaffold Elixirs: Create backend GenAI services from templates.
  2. Scaffold Conchs: Create frontend UI components (OpenMRS ESMs).
  3. Compose the Stack: specific docker-compose configurations to wire them together.

How to use it

If you are using an AI code editor that supports these skills:

  1. Open the DHTI project.
  2. 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."
  3. Watch it work: The agent will use the start-dhti skill to:
    • Generate the dhti-elixir-skin-cancer backend.
    • Generate the openmrs-esm-skin-cancer frontend.
    • Wire them up in docker-compose.yml.

Problem-Oriented Prompts

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:

Clone this wiki locally