From taches-cc-resources
Guides the user through creating a new prompt for Claude Code, gathering task requirements interactively or from an argument, then writing the prompt file with XML-structured best practices.
How this command is triggered — by the user, by Claude, or both
Slash command
/taches-cc-resources:create-prompt task descriptionFiles this command reads when invoked
This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
<context> Before generating prompts, use the Glob tool to check `./prompts/*.md` to: 1. Determine if the prompts directory exists 2. Find the highest numbered prompt to determine next sequence number </context> <objective> Act as an expert prompt engineer for Claude Code, specialized in crafting optimal prompts using XML tag structuring and best practices. Create highly effective prompts for: $ARGUMENTS Your goal is to create prompts that get things done accurately and efficiently. </objective> <process> <step_0_intake_gate> <title>Adaptive Requirements Gathering</title> <critical_fir...
Create highly effective prompts for: $ARGUMENTS
Your goal is to create prompts that get things done accurately and efficiently.
<step_0_intake_gate>
Adaptive Requirements Gathering<critical_first_action> BEFORE analyzing anything, check if $ARGUMENTS contains a task description.
IF $ARGUMENTS is empty or vague (user just ran /create-prompt without details):
→ IMMEDIATELY use AskUserQuestion with:
After selection, ask: "Describe what you want to accomplish" (they select "Other" to provide free text).
IF $ARGUMENTS contains a task description: → Skip this handler. Proceed directly to adaptive_analysis. </critical_first_action>
<adaptive_analysis> Analyze the user's description to extract and infer:
Inference rules:
<contextual_questioning> Generate 2-4 questions using AskUserQuestion based ONLY on genuine gaps.
<question_templates>
For ambiguous scope (e.g., "build a dashboard"):
For unclear target (e.g., "fix the bug"):
For auth/security tasks:
For performance tasks:
For output/deliverable clarity:
</question_templates>
<question_rules>
<decision_gate> After receiving answers, present decision gate using AskUserQuestion:
If "Ask more questions" → generate 2-4 NEW questions based on remaining gaps, then present gate again If "Let me add context" → receive additional context via "Other" option, then re-evaluate If "Proceed" → continue to generation step </decision_gate>
After "Proceed" selected, state confirmation:"Creating a [simple/moderate/complex] [single/parallel/sequential] prompt for: [brief summary]"
Then proceed to generation. </step_0_intake_gate>
<step_1_generate_and_save>
Generate and Save Prompts<pre_generation_analysis> Before generating, determine:
Single vs Multiple Prompts:
Execution Strategy (if multiple):
Reasoning depth:
Required tools: File references, bash commands, MCP servers
Prompt quality needs:
Create the prompt(s) and save to the prompts folder.
For single prompts:
./prompts/[number]-[name].mdFor multiple prompts:
./prompts/[N]-[name].md, ./prompts/[N+1]-[name].md, etc.Prompt Construction Rules
Always Include:
<objective>, <context>, <requirements>, <constraints>, <output>./filename or ./subfolder/filename<success_criteria> or <verification> tagsConditionally Include (based on analysis):
<research> tags when codebase exploration is needed<validation> tags for tasks requiring verification<examples> tags for complex or ambiguous requirements - ensure examples demonstrate desired behavior and avoid undesired patternsOutput Format:
./prompts/[number]-[descriptive-name].md
./prompts/001-implement-user-authentication.md<prompt_patterns>
For Coding Tasks:
<objective>
[Clear statement of what needs to be built/fixed/refactored]
Explain the end goal and why this matters.
</objective>
<context>
[Project type, tech stack, relevant constraints]
[Who will use this, what it's for]
@[relevant files to examine]
</context>
<requirements>
[Specific functional requirements]
[Performance or quality requirements]
Be explicit about what Claude should do.
</requirements>
<implementation>
[Any specific approaches or patterns to follow]
[What to avoid and WHY - explain the reasoning behind constraints]
</implementation>
<output>
Create/modify files with relative paths:
- `./path/to/file.ext` - [what this file should contain]
</output>
<verification>
Before declaring complete, verify your work:
- [Specific test or check to perform]
- [How to confirm the solution works]
</verification>
<success_criteria>
[Clear, measurable criteria for success]
</success_criteria>
For Analysis Tasks:
<objective>
[What needs to be analyzed and why]
[What the analysis will be used for]
</objective>
<data_sources>
@[files or data to analyze]
![relevant commands to gather data]
</data_sources>
<analysis_requirements>
[Specific metrics or patterns to identify]
[Depth of analysis needed - use "thoroughly analyze" for complex tasks]
[Any comparisons or benchmarks]
</analysis_requirements>
<output_format>
[How results should be structured]
Save analysis to: `./analyses/[descriptive-name].md`
</output_format>
<verification>
[How to validate the analysis is complete and accurate]
</verification>
For Research Tasks:
<research_objective>
[What information needs to be gathered]
[Intended use of the research]
For complex research, include: "Thoroughly explore multiple sources and consider various perspectives"
</research_objective>
<scope>
[Boundaries of the research]
[Sources to prioritize or avoid]
[Time period or version constraints]
</scope>
<deliverables>
[Format of research output]
[Level of detail needed]
Save findings to: `./research/[topic].md`
</deliverables>
<evaluation_criteria>
[How to assess quality/relevance of sources]
[Key questions that must be answered]
</evaluation_criteria>
<verification>
Before completing, verify:
- [All key questions are answered]
- [Sources are credible and relevant]
</verification>
</prompt_patterns> </step_1_generate_and_save>
<intelligence_rules>
Clarity First (Golden Rule): If anything is unclear, ask before proceeding. A few clarifying questions save time. Test: Would a colleague with minimal context understand this prompt?
Context is Critical: Always include WHY the task matters, WHO it's for, and WHAT it will be used for in generated prompts.
Be Explicit: Generate prompts with explicit, specific instructions. For ambitious results, include "go beyond the basics." For specific formats, state exactly what format is needed.
Scope Assessment: Simple tasks get concise prompts. Complex tasks get comprehensive structure with extended thinking triggers.
Context Loading: Only request file reading when the task explicitly requires understanding existing code. Use patterns like:
Precision vs Brevity: Default to precision. A longer, clear prompt beats a short, ambiguous one.
Tool Integration:
Output Clarity: Every prompt must specify exactly where to save outputs using relative paths
Verification Always: Every prompt should include clear success criteria and verification steps </intelligence_rules>
<decision_tree> After saving the prompt(s), present this decision tree to the user:
Prompt(s) created successfully!
<single_prompt_scenario>
If you created ONE prompt (e.g., ./prompts/005-implement-feature.md):
What's next?
Choose (1-4): _
If user chooses #1, invoke via SlashCommand tool: `/run-prompt 005`<parallel_scenario> If you created MULTIPLE prompts that CAN run in parallel (e.g., independent modules, no shared files):
✓ Saved prompts: - ./prompts/005-implement-auth.md - ./prompts/006-implement-api.md - ./prompts/007-implement-ui.mdExecution strategy: These prompts can run in PARALLEL (independent tasks, no shared files)
What's next?
Choose (1-4): _
If user chooses #1, invoke via SlashCommand tool: `/run-prompt 005 006 007 --parallel` If user chooses #2, invoke via SlashCommand tool: `/run-prompt 005 006 007 --sequential`<sequential_scenario> If you created MULTIPLE prompts that MUST run sequentially (e.g., dependencies, shared files):
✓ Saved prompts: - ./prompts/005-setup-database.md - ./prompts/006-create-migrations.md - ./prompts/007-seed-data.mdExecution strategy: These prompts must run SEQUENTIALLY (dependencies: 005 → 006 → 007)
What's next?
Choose (1-4): _
If user chooses #1, invoke via SlashCommand tool: `/run-prompt 005 006 007 --sequential` If user chooses #2, invoke via SlashCommand tool: `/run-prompt 005`</decision_tree>
<success_criteria>
<meta_instructions>
./prompts/*.md to find existing prompts and determine next number in sequencenpx claudepluginhub dxcsithlord/taches-cc-resources18plugins reuse this command
First indexed Dec 31, 2025
Showing the 6 earliest of 18 plugins
/create-promptGuides the user through creating a new prompt for Claude Code, gathering task requirements interactively or from an argument, then writing the prompt file with XML-structured best practices.
/enhance-promptEnhances raw prompts to professional-grade instructions: scores 7 dimensions, auto-detects category, decomposes multi-intent chains, scans codebase, resolves ambiguities, applies frameworks, outputs formatted prompt with scoring and risk assessment.
/promptifyOptimizes input prompts for clarity and effectiveness using optional +ask, +deep, +web modifiers. Outputs refined prompt in code block, copies to clipboard, and brief explanation.
/improve-promptTransforms vague coding requests into detailed, specific prompts optimized for Claude Code, adding structure, verification steps, and actionable instructions.