Article
· Jul 31 5m read

From Mud to Masterpiece: Meet dc-artisan and Craft Better Prompts

artisan cover

If you’ve ever watched a true artisan—whether a potter turning mud into a masterpiece or a luthier bringing raw wood to life as a marvelous guitar—you know that magic isn’t in the materials, but in care, craft, and process. I know this firsthand: my handmade electric guitar is a daily inspiration, but I’ll admit—creating something like that is a talent I don’t have.

Yet, in the digital world, I often see people hoping for “magic” from generative AI by typing vague, context-free prompts like “build an app.” The results are usually frustratingly shallow—no artistry, no finesse. Too many expect AI to work miracles with zero context or structure.
That frustration is what motivated us to build dc-artisan—a tool for digital prompt artisans. Our goal: to enable anyone to transform rough, wishful prompts into efficient, functional, and context-rich masterpieces.

Like watching a master artisan transform raw materials into art, creating with GenAI is about intent, preparation, and thoughtful crafting. The problem isn’t with AI itself—it’s how we use it. Just as a luthier must carefully select and shape each piece of wood, effective prompt engineering demands clear context, structure, and intention.

We believe the world deserves more than “magical prompts” that lead to disappointment. Powerful generative AI arises from thoughtful human guidance: precise context, real objectives, and deliberate structure. No artisan creates beauty by accident—reliable AI outputs require care and preparation.

dc-artisan approaches prompt engineering as a true craft—systematic, teachable, and testable. It offers a comprehensive toolkit for moving beyond trial, error, and guesswork.

The first thing dc-artisan does is aim to understand your prompt the way a thoughtful collaborator would. When you begin drafting, the tool engages directly with your input:

  • Clarifying questions: dc-artisan analyzes your initial prompt and asks focused questions to uncover your core objective, target audience, expected format, and any missing context. For example:
    • “What kind of output are you expecting—text summary, code, or structured data?”
    • “Who is the target audience?”
    • “What type of input or data will this prompt be used with?”

prompt enhance

These interactions help you clarify not just what you want the prompt to say, but also why.

Once your intent is clear, dc-artisan reviews the structure and offers tailored suggestions—enhancing clarity, improving tone, and filling in missing details critical for context-rich, actionable output.

And the best thing? You use all these features right inside your beloved editor, VS Code! You can insert variables directly in your prompt (like {task} or {audience}) for flexibility and reuse, instantly previewing how final prompts look with different substitutions—so you see exactly how it will work in practice.

But that’s not all. dc-artisan supports prompt tuning for optimal performance. Upload a CSV of test cases to automatically evaluate consistency, output quality, and the impact of your prompt structure across varied inputs. dc-artisan evaluates each response and generates comprehensive reports with quality scores and similarity metrics—so you can measure and optimize your prompts’ effectiveness with confidence.

testing

Prompting Without Context Isn’t Craft — It’s Chaos

Prompt engineering without structure is like carving wood blindfolded. You might produce something, but it likely won’t play a tune.

Many resort to vague or overloaded prompts—short, ambiguous commands or pages of raw content without structure. Either the model has no real idea what you want, or it’s lost in a swamp of noise.

When a prompt’s context becomes too long or cluttered, even advanced LLMs can lose focus. Instead of reasoning or generating new strategies, they often get distracted, repeating earlier content or sticking to familiar patterns from the beginning of your prompt history. Ironically, larger models with bigger context windows (like 32k tokens) are even more susceptible to this. Simply providing more context (more documents, bigger prompts, entire knowledge bases) frequently backfires, resulting in context overload, missed objectives, and confused outputs.

That’s precisely the gap that RAG (Retrieval-Augmented Generation) is designed to fill: not by giving LLMs more information, but by feeding them the most relevant knowledge at the right moment.

How dc-artisan and RAG Pipeline Mode Help

dc-artisan unifies prompt crafting and context management. It doesn’t just help you write better prompts; it ensures your AI receives curated, relevant information, not a tidal wave of trivia.

With RAG Pipeline Mode, you can:
- 📄 Upload & Chunk Documents: PDF, DOCX, Markdown, TXT—easily embedding into your vector database.
- 🧬 Inspect Chunks: View each atomic unit of embedded text with precision.
- 🗑️ Smart Cleanup: Delete unwanted or outdated content directly from the extension, keeping your AI’s knowledge base curated and relevant.

rag

This workflow is inspired by the InterSystems Ideas Portal (see DPI-I-557)

Here’s how you can smoothly integrate a new section about dc-artisan’s backend architecture just before “Closing Thoughts,” highlighting the integration with InterSystems IRIS Interoperability and our custom liteLLM adapter.

What truly sets dc-artisan apart is its robust backend, engineered for both interoperability and flexibility. The extension’s engine runs on InterSystems IRIS Interoperability, utilizing a custom-built liteLLM adapter that we developed.

This architecture means you’re not locked into a single large language model (LLM) provider. Instead, you can seamlessly connect and switch between a wide range of leading LLM platforms—including OpenAI, Gemini, Claude, Azure OpenAI, and others—all managed from a unified, enterprise-grade backend.

Closing Thoughts

More developers are discovering that prompting isn’t about guessing the “magic words.” It’s about thoughtful goals, clear language, and powerful context—writing prompts like engineers, not wizards. Just as luthiers shape wood into instruments with soul, you can shape prompts into reliable, context-enriched AI workflows using tools crafted for your craft.

dc-artisan is more than a tool—it’s a mindset shift from vibe coding toward clarity, precision, and true digital artistry.

🎸 Ready to build prompts with your own hands?
⚙️ Fire up VS Code, install dc-artisan, and start crafting your AI like an artisan—not a magician.

🗳️ And if you like what we’ve built, vote for us in the InterSystems IRIS Dev Tools Contest—your support means a lot!

dc-artisan

Discussion (2)1
Log in or sign up to continue