Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Anti-Patterns

Prism automatically detects these anti-patterns in your sessions. Each one reduces your PRISM score and wastes tokens.

What it is: Repeating the same or very similar prompt multiple times without adding context.

Detection: >80% word overlap between consecutive prompts within 60 seconds.

Impact: Wastes tokens on duplicate requests. Signals low IE (Recovery).

Fix: Add constraints or error messages. Change your approach instead of repeating.

What it is: Prompts with no file paths, function names, or specific context.

Detection: Prompt lacks all specificity markers (paths, names, line numbers, errors).

Impact: AI guesses wrong, leading to corrections. Low PQ (Specificity).

Fix: Always include the file path and function name you’re working on.

What it is: Cramming multiple unrelated tasks into a single prompt.

Detection: Multiple action verbs, list items, or bundling phrases (“and also”).

Impact: AI handles none of them well. Low PQ (Decomposition).

Fix: One task per prompt. Queue tasks sequentially.

What it is: Pasting large blocks of code or logs without indicating what matters.

Detection: Large input with no guiding question or specific reference.

Impact: Wastes context window. AI may focus on irrelevant parts.

Fix: Quote the specific section and ask about it directly.

What it is: Accepting AI-generated changes without running tests or reviewing.

Detection: No test runs, type-checks, or review prompts in the session.

Impact: Bugs compound. Low VD (Review and Validation).

Fix: Add “then run the tests” to your workflow after every change.

What it is: Continuously expanding the task mid-session.

Detection: Task scope grows across turns without completion of initial goal.

Impact: Context bloats, focus is lost, tokens wasted on half-finished changes.

Fix: Complete the current task before adding new ones. Use plan mode for complex work.

What it is: Using Opus (most expensive model) for simple tasks like typo fixes or renaming.

Detection: Opus producing <200 tokens of output.

Impact: 10–15x cost premium for work Sonnet could handle.

Fix: Use /model sonnet for simple tasks. Switch to Opus for complex reasoning.

What it is: Long sessions without using /compact or /clear.

Detection: Input token count growing >3x from the first turn, or >80 turns without compaction.

Impact: Slower responses, higher cost per turn, degraded output quality.

Fix: Use /compact every 15–20 turns. Use /clear when switching tasks.

What it is: A chain of corrections where each fix introduces new issues.

Detection: Alternating pattern of “fix X” → “that broke Y” → “fix Y” → “that broke Z”.

Impact: Multiplies token spend. Signals the initial approach was wrong.

Fix: Stop, re-read the code, and plan a different approach. Use plan mode.

What it is: Working without a CLAUDE.md file, so the AI has no project conventions.

Detection: No CLAUDE.md in the project root.

Impact: AI makes wrong assumptions about style, patterns, and tools. Low AF (Configuration).

Fix: Create a CLAUDE.md with project structure, conventions, and common commands.

What it is: Using Bash for everything when dedicated tools (Read, Grep, Edit) are available.

Detection: Frequent cat, grep, sed in Bash when specialized tools would work.

Impact: Less efficient, harder to review. Low TU (Selection).

Fix: Use Read to inspect files, Grep to search, Edit for modifications.

Each detected anti-pattern applies a penalty to the relevant dimension:

Anti-PatternAffected DimensionTypical Penalty
Retry StormIE (Recovery)-1.0 to -2.0
Vague PromptPQ (Specificity)-1.5 to -3.0
Multi-Task BundlingPQ (Decomposition)-1.5 to -2.5
Context DumpingPQ (Specificity)-1.0 to -2.0
No VerificationVD (both)-2.0 to -3.0
Scope CreepIE (Convergence)-1.0 to -2.0
Model OverkillTU (Selection)-1.0
Context BloatIE (Convergence)-0.5 to -1.5
Correction CascadeIE (Recovery)-1.5 to -2.5
Missing ContextAF (Configuration)-1.0 to -2.0
Ignoring ToolsTU (Selection)-0.5 to -1.0