enrich-prompt

Rewrites vague user prompts into enriched, execution-ready prompts with strict language preservation.

1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/ntd237/draft_toolkits_20042026 --skill enrich-prompt-ntd237
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: enrich-prompt
Source: https://github.com/ntd237/draft_toolkits_20042026/tree/main/.agents/skills/enrich-prompt
Command: npx skills add https://github.com/ntd237/draft_toolkits_20042026 --skill enrich-prompt-ntd237

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Raw prompts typed into AI assistants are often vague, incomplete, or missing critical technical context, which leads to generic or incorrect responses. This Skill rewrites those raw instructions into precise, context-rich prompts before execution, without ever answering the prompt itself. ## Core Features & Use Cases - Dual-Mode Enrichment: Mode A (default) produces a single cohesive prompt block for standard requests, while Mode B generates a structured multi-section prompt (Role, Task, Input, Output, Constraints, Success Criteria) for complex technical or AI/ML tasks. - Strict Language Mirroring: All output, including headings, notes, and clarification questions, matches 100% of the user's input language (Vietnamese, English, Japanese, etc.), while technical identifiers stay in standard English. - Gap Analysis with Smart Defaults: Audits prompts across 7 core dimensions and 7 engineering criteria (P1–P7), auto-filling low-risk gaps and asking at most 1–2 targeted questions for high-risk ambiguities. - Use Case: A user types "Sửa lỗi crash khi upload ảnh lớn" and receives a fully enriched Vietnamese prompt specifying root-cause analysis, streaming/chunking fixes, early validation, error handling, and verification steps. ## Quick Start Ask the assistant to enrich or optimize your raw prompt, for example by typing "enrich-prompt: add JWT authentication to my Express API" and receive a rewritten execution-ready prompt.

Frequently Asked Questions about enrich-prompt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize a vague prompt before sending it to an AI assistant?▼

Invoke the enrich-prompt trigger with your raw instruction, and it rewrites the prompt across five dimensions: clarity, context scope, deliverables, output format, and constraints. The default Mode A returns one cohesive block ready to copy-paste.

What is the difference between Mode A and Mode B prompt enrichment?▼

Mode A is the default and produces a single cohesive paragraph for standard requests. Mode B activates via flags like --mode-b or --structured and outputs a seven-section structured prompt with Role, Task, Input, Output, Constraints, and Success Criteria for complex technical tasks.

Does prompt enrichment work with Vietnamese or Japanese input?▼

Yes, the skill strictly mirrors the input language, so Vietnamese input yields a fully Vietnamese enriched prompt and Japanese input yields Japanese output. Only technical identifiers like framework names, file paths, and CLI flags remain in standard English.

When should I use structured Mode B instead of the default mode?▼

Use Mode B for highly complex technical, architectural, or AI/ML tasks that need explicit separation of role, inputs, constraints, and success criteria. Trigger it with flags such as --mode-b, --structured, or --detailed.

What happens when my prompt is missing critical technical details?▼

Low-risk gaps are filled automatically using a smart defaults library and documented in an assumptions note. High-risk gaps, such as conflicting tech stacks, trigger at most one or two multiple-choice clarification questions in your language before output.