メインコンテンツまでスキップ

/l-text-fix-typos

Text Fix Typos Skill

Fix typos and rule violations in the latest article using the typo-fixer subagent.

Your Task

1. Find the Target Article

Find the article in /doc/docs/articles/. Use these strategies in order:

  1. Check current unstaged changes (PRIMARY) - Run git diff --name-only to see files with unstaged changes. This is the most likely target since the user just edited the file.
  2. Check recent commits - Run git log --oneline -5 --name-only for recently committed files
  3. Check file modification times - Use find doc/docs/articles -name "*.md" -o -name "*.mdx" | xargs ls -lt | head -10

If unclear, use AskUserQuestion to let user choose from candidates.

2. Launch Typo Fixer

Use the Task tool with subagent_type: "typo-fixer" and provide:

  • The absolute file path to fix

Example prompt:

Fix typos and rule violations in this file:
/path/to/article.mdx

3. Show Results

After the subagent completes, show the user what was fixed.

Arguments

$ARGUMENTS - Optional: specific file path to fix