← ClaudeAtlas

prompt-analyzerlisted

Analyze prompts for constraint complexity, audit failure risks, and generate optimized rewrites for Claude and GPT. Based on "How LLMs Follow Instructions" (Rocchetti & Ferrara, 2026) constraint taxonomy research. Use when reviewing prompt files, optimizing prompt bases, or auditing instruction quality. Trigger phrases — "analyze prompt", "prompt audit", "optimize prompts", "constraint analysis", "prompt review", "check prompts".
citedy/skills · ★ 1 · AI & Automation · score 72
Install: claude install-skill citedy/skills
# Prompt Constraint Analyzer Analyze prompts using the constraint taxonomy from "How LLMs Follow Instructions: Skillful Coordination, Not a Universal Mechanism" (Rocchetti & Ferrara, Universita degli Studi di Milano, 2026). ## Core Research Findings (Your Knowledge Base) These findings drive ALL analysis decisions: 1. **Compositional, not monolithic.** LLMs do NOT have a single "instruction-following module." They coordinate separate skills for different constraint types. More types mixed = harder coordination = higher failure risk. 2. **Layer stratification.** Constraints process at different network depths: - **Structural** (word count, format, JSON) — early layers, fast to detect - **Lexical** (include/exclude words) — middle layers - **Semantic** (topic, sentiment, tone) — late layers, slow to detect - **Stylistic** (register, formality, persona) — late layers 3. **Monitoring, not planning.** The model does NOT pre-plan constraint satisfaction before generating. It monitors constraints dynamically during token generation. Constraints mentioned earlier in the prompt are monitored longer. Order matters. 4. **Asymmetric dependencies.** Some skill pairs share representations (topic<->sentiment, exclusion<->toxicity), others are independent. Combining dependent skills is easier than combining independent ones. 5. **Model-specific strategies.** Claude tends toward constraint-specific encoding (better separation). GPT models vary. Same prompt may need differe