/cc-skills-meta:prompt_refinerfrom cc-skills-meta
Executable prompt specification system with constitutional compliance and cognitive techniques
Ships in cc-skills-meta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Meta-prompt system for high-reliability LLM systems.
Executable prompt specification system with constitutional compliance and cognitive techniques for high-reliability LLM interactions.
P:/__csf/docs/prompt_refiner.md/nse for intelligent recommendations/standards and /design for comprehensive workflow/prompt_refiner analyze "your prompt here"
/prompt_refiner triage "task description"
Confirm triage routing with quantitative scores (0.0-1.0).
length_score = min(1.0, len(query) / 500)
vocab_score = min(1.0, count(complexity_keywords) / 3)
structural_score = 0.2 * has("?") + 0.3 * has(connectors) + 0.2 * (sentences > 2)
complexity = min(1.0, (length + vocab + structural) / 3)
Complexity keywords: implement, design, analyze, optimize, integrate,
coordinate, multiple, various, several, complex, advanced, comprehensive
For each domain, count keyword matches in query:
security: authentication, authorization, encryption, vulnerability, threat
architecture: architecture, design, structure, system, component, scalability
performance: performance, optimization, speed, latency, throughput, efficiency
development: code, implement, develop, programming, software, application
research: research, study, analyze, investigate, explore, examine
domain_specificity = min(1.0, max(domain_keyword_count) / 2)
ambiguity_indicators = something, anything, help, fix, improve, better,
some, maybe, perhaps, possibly, could, might, should, generally, usually
specificity_indicators = specific, exact, precise, particular, detailed,
concrete, implement, build, create, design, optimize
raw_ambiguity = min(1.0, count(ambiguity_words) / 3)
specificity_penalty = min(0.5, count(specificity_words) * 0.15)
ambiguity = max(0.0, raw_ambiguity - specificity_penalty)
connector_count = count("and", "or", "but", "while", "also", "additionally")
question_count = count(question-starting words)
sentence_count = count(sentences with content)
multi_faceted = min(1.0, (connectors + questions + (sentences - 1)) / 4)
Apply the selected technique by appending its template to the user's prompt.
Please think step-by-step and explain your reasoning:
1. Break down the problem into components
2. Analyze each component systematically
3. Identify relationships and dependencies
4. Synthesize findings into comprehensive solution
5. Validate the solution against requirements
Please approach this with Socratic inquiry:
- What are the underlying assumptions?
- What evidence supports these assumptions?
- Are there alternative perspectives?
- What are the potential implications?
- How can we verify the conclusions?
- What questions remain unaddressed?
Please provide a response and then refine it:
1. Initial response based on the query
2. Self-critique and identify areas for improvement
3. Refined response addressing identified issues
4. Final validation of the refined solution
Please use Chain-of-Verification methodology:
1. Provide initial answer to the query
2. Identify key claims and assumptions
3. Verify each claim with supporting evidence
4. Cross-check consistency and accuracy
5. Final verified response with confidence levels
Please use Tree-of-Thoughts reasoning:
- Generate multiple potential approaches
- Evaluate each approach step-by-step
- Self-critique and identify potential issues
- Explore alternative paths if needed
- Synthesize findings into optimal solution
- Provide confidence assessment for final answer
Please address this query from multiple perspectives:
- Technical implementation considerations
- Practical implications and constraints
- Alternative approaches and trade-offs
- Best practices and recommendations
- Potential challenges and mitigation strategies
| Score Range | Complexity | Ambiguity | Multi-Faceted | Recommended Technique |
|---|---|---|---|---|
| 0.0-0.3 | low | low | low | Chain-of-Thought |
| 0.3-0.6 | moderate | low | low | Self-Refine |
| 0.3-0.6 | moderate | high | any | Socratic |
| 0.6-1.0 | high | low | high | Tree-of-Thoughts |
| 0.6-1.0 | high | any | high | QueryFanout |
| any | any | any | any (security/research) | Chain-of-Verification |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (enduser123/cc-skills-meta) — no native marketplace selected
npx claudepluginhub p/enduser123-cc-skills-meta51 skills in this plugin
/behaveStructured behavioral analysis for LLM performance debugging — hypothesis testing for session patterns (loops, context degradation, decision inefficiency, cognitive overload, attention drift)/cksConstitutional Knowledge System - unified command for search, add, and session extraction/concept-mapperUnified concept mapping for learning, system architecture, and text analysis. Creates Mermaid diagrams for mind maps, concept maps, system diagrams, and knowledge structures. Use for studying, documentation, architecture visualization, or converting articles/text into visual maps./config-auditAudit Claude Code configuration artifacts (hooks, skills, CLAUDE.md, agents) for over-engineering, redundancy, and token waste. Uses model routing (haiku for research, sonnet for analysis) with decision memory./constitutional-patternsStandards for constitutional compliance and pattern enforcement./constraintsShow active project constraints from CLAUDE.md