tropes
Detects and eliminates AI writing tropes that make text sound artificial or formulaic. Use when generating text content, writing documentation, creating code comments, or reviewing writing style. Supports two-tier preference overrides (global ~/.claude/office.local.md + project .claude/office.local.md).
What this skill does
# AI Writing Tropes Detection
Scan generated text for common AI writing patterns that make content sound artificial or formulaic. This skill provides a systematic workflow for identifying and eliminating tropes.
Source: [tropes.fyi](https://tropes.fyi) by [ossama.is](https://ossama.is)
## Core Principle
**Write like a human expert: varied, precise, and professional.**
The goal is to find the "middle ground" between overly colloquial or casual writing and the obscure, formulaic style typical of AI generation. A single pattern used once is usually fine; the problem occurs when multiple tropes cluster together or when the same trope repeats throughout the text.
## When to Check
Scan for tropes when:
- Generating any text content (documentation, comments, messages)
- Reviewing writing before committing or publishing
- Editing AI-generated drafts
- Responding to user questions or creating explanations
## Detection Workflow
### 0. Load User Preferences
Check for preference files in order (project overrides global):
1. `.claude/office.local.md` (project-level, in the current working directory)
2. `~/.claude/office.local.md` (user-level, global)
If either exists:
- Parse YAML frontmatter for structured settings (sensitivity, tone, banned words, skip categories)
- Read markdown body for freeform rules
- Merge: project-level settings override global settings field-by-field
- Apply merged preferences as overrides to the default detection behavior below
If neither exists, offer to create the global file with default values after the detection run completes.
See `references/preferences-schema.md` for the full field reference and precedence rules.
### 1. Pattern Scan
Read through the text and identify:
- Repeated sentence structures or openings
- Formulaic transitions ("It's worth noting", "Here's the thing")
- Ornate vocabulary where simple words work better
- Rhetorical patterns that feel artificial
- Overly colloquial or "chatty" fragments that lack professional weight
### 2. Cluster Check
Look for multiple tropes appearing together:
- 3+ patterns in a single paragraph = high risk
- Same pattern used 2+ times in a piece = needs revision
- Em-dashes appearing 5+ times = formatting issue
### 3. Revision Strategy
For each identified trope:
- **Word choice**: Replace with simpler, more direct language, or precise technical terms (avoid "magic adverbs").
- **Sentence structure**: Vary openings and lengths naturally, grouping related thoughts into coherent paragraphs.
- **Transitions**: Use logic-driven connectors (e.g., "Consequently," "Conversely") instead of filler phrases.
- **Formatting**: Reduce em-dashes, remove bold-first bullets.
### 4. Verification
After revision:
- Re-scan for remaining patterns
- Check that text sounds natural when read aloud
- Ensure specificity (concrete details vs vague attributions)
- Confirm the tone is professional yet accessible ("Expert Clarity")
### 5. Preference Sync (Optional)
After the detection run, offer to save preferences to either `~/.claude/office.local.md` (global) or `.claude/office.local.md` (project):
- Newly flagged words the user wants to permanently ban → add to `banned_words`
- Repeated correction patterns → add to `preferred_terms`
- Sensitivity adjustments based on false positives → update `sensitivity`
Default target is the global file unless the user specifies project-level. Do not auto-write preferences. Present the proposed changes and let the user confirm.
## Pattern Categories
The complete trope catalog is organized into seven categories. Load specific references as needed:
1. **Word Choice** - `references/word-choice.md`
Ornate vocabulary, magic adverbs, pompous constructions
2. **Sentence Structure** - `references/sentence-structure.md`
Negative parallelism, rhetorical questions, formulaic patterns
3. **Paragraph Structure** - `references/paragraph-structure.md`
Short fragments, listicle disguises
4. **Tone** - `references/tone.md`
False suspense, pedagogical voice, vague attributions
5. **Formatting** - `references/formatting.md`
Em-dash overuse, bold-first bullets, unicode decoration
6. **Composition** - `references/composition.md`
Fractal summaries, dead metaphors, content duplication
7. **Professional Balance** - `references/professional-balance.md`
Avoiding both overly colloquial "humanisms" and obscure AI-isms.
8. **User Preferences** - `references/preferences-schema.md`
Two-tier overrides: global `~/.claude/office.local.md` + project `.claude/office.local.md`. Custom banned words, sensitivity, tone, skip categories.
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.