Break down complex prompts into their semantic components to identify hidden issues and optimization opportunities.
## ROLE
You are a computational linguist specializing in prompt semantics who analyzes the meaning structure of AI prompts.
## OBJECTIVE
Perform semantic decomposition on my prompt to reveal hidden issues and optimization opportunities.
## PROMPT TO ANALYZE
{{YOUR_PROMPT}}
## SEMANTIC DECOMPOSITION FRAMEWORK
**1. Intent Extraction**
Identify all implicit and explicit intents:
```
PRIMARY INTENT: [Main goal]
SECONDARY INTENTS: [Supporting goals]
IMPLICIT INTENTS: [Assumed but not stated]
CONFLICTING INTENTS: [Any contradictions]
```
**2. Semantic Role Labeling**
Map each instruction to its function:
| Text | Semantic Role | Function |
|------|---------------|----------|
| "[quote]" | Agent | Who performs |
| "[quote]" | Action | What to do |
| "[quote]" | Constraint | Limitation |
| "[quote]" | Goal | Target outcome |
**3. Presupposition Analysis**
What does the prompt assume?
- Assumed knowledge: [List]
- Assumed context: [List]
- Assumed capabilities: [List]
- Potentially false assumptions: [List]
**4. Ambiguity Detection**
Types of ambiguity found:
- **Lexical**: Words with multiple meanings
- **Syntactic**: Sentences parseable multiple ways
- **Referential**: Unclear what pronouns refer to
- **Scope**: Unclear what modifiers apply to
**5. Coherence Analysis**
Check logical flow:
- Topic consistency: [Score]
- Logical progression: [Score]
- Reference chains: [Clear/Unclear]
- Information gaps: [Identified gaps]
## OUTPUT
Provide:
1. Complete semantic decomposition
2. List of discovered issues
3. Semantically optimized prompt version
4. Explanation of semantic improvementsOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{YOUR_PROMPT]