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

/l-text-polish

Text Polish Skill

The user wants to polish rough text they provided after /l-text-polish into properly formatted article text.

Your Task

1. Find the Source Location

Locate which file contains this text. Use these strategies in order:

  1. Check current unstaged changes (PRIMARY) - Run git diff to see the actual content of unstaged changes.
  2. Search for the text - If not found in unstaged changes, use grep to find the exact location
  3. Check recently modified files

2. Read Context

Read the surrounding content to understand the overall topic and flow.

3. Read Writing Rules

Read these files to understand the proper article writing style:

  • doc/docs/overview/writing-style.md
  • doc/docs/overview/markdown-writing-rule.md
  • doc/docs/overview/vocabulary-rule.md

4. Polish the Text

Transform the rough text into properly formatted article text:

  • If English: Translate to Japanese
  • Bullet points/notes: Convert to flowing prose paragraphs
  • Incomplete sentences: Complete them naturally
  • Missing context: Add appropriate transitions and explanations
  • Follow writing style: Match Takazudo's voice and style from the guides

5. Replace the Text

After polishing, directly replace the rough text in the file with the polished version using the Edit tool.

6. Show the Result

After making the edit, show the user the original and polished text.

Arguments

$ARGUMENTS - The rough text to polish