Style check

From Alexander-M-Dickerson/ai-asset-pricing · View interactive version

Style check is an AI agent skill from the GitHub repository Alexander-M-Dickerson/ai-asset-pricing. Analyze LaTeX text for violations of academic writing standards

How to use this skill

Skill file

Style Check Skill

When this skill is invoked, analyze the provided text for violations of the academic writing standards in .claude/rules/academic-writing.md.

Examples

Input

The user provides a .tex file path or text block to analyze.

Workflow

  1. Read .claude/rules/academic-writing.md for the full rule set
  2. Read the project's CLAUDE.md for project-specific terminology
  3. Read the target text (from file path or section markers)
  4. Run all 13 analysis categories below
  5. Check citations against the project's .bib file
  6. Produce the structured report

Analysis Categories

1. Banned Word Scan

Check for all terms in academic-writing.md Section 1 and flag each occurrence:

2. Throat-Clearing Detection

Flag openings that don't state a concrete finding:

3. Passive Voice Check

Flag passive constructions:

4. Superlative Stacking

Flag sequences of emphasis words:

5. Vague Quantitative Claims

Flag imprecise language when numbers should be given:

6. Terminology Violations (project-configurable)

Check for incorrect terminology per the project's CLAUDE.md. Each project defines its own preferred/banned terminology. If no project-specific terminology is defined, skip this category.

7. Self-Praise Detection

Flag adjectives that praise the work:

8. Domain-Specific Consistency (project-configurable)

Check for consistency in how results are presented, per the project's conventions. For example, if the project requires decomposing costs into components, flag any place where costs are lumped together.

9. Citation Check

For each \cite{} or \citep{} in the text:

10. Structural AI Tells

Check for patterns flagged by Kobak et al. (2025) and Liang et al. (2024):

11. Hedge Words & Previewing (Cochrane, Nikolov)

Flag filler hedge words:

Flag previewing/recalling:

Flag nominalizations:

12. Finance-Specific Formulaic Patterns

Flag cliche constructions:

13. Editorial Artifact Detection

Scan for leftover editing comments and placeholders in active prose:

Severity: Always Critical. These are submission-blocking artifacts.

Output Format

STYLE CHECK REPORT
==================

File: [filename]
Lines analyzed: [count]

BANNED WORDS FOUND:
- Line X: "delve" -> suggest "examine" or "investigate"         [Critical]
- Line Y: "utilize" -> suggest "use"                            [Critical]

THROAT-CLEARING:
- Line W: "The literature has long..." -> Start with concrete claim  [Critical]

PASSIVE VOICE:
- Line V: "it is shown that" -> "we show that"                 [Suggestion]

[... all categories ...]

SUMMARY:
- Total issues: N
- Critical (must fix): M
- Suggestions: K

Severity Levels

Usage Notes

  1. Run on any .tex file, text block, or full document
  2. Prioritize issues by severity (Critical first)
  3. Provide specific line numbers where possible
  4. Always suggest concrete replacements
  5. Focus on actionable feedback
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.