Skip to content

Text Processing

Using Claude Code for text processing and documentation tasks.

Documentation Generation

> Generate API documentation for this module
> Create a README for this project
> Document the function parameters and return values

Code Comments

> Add comments explaining the complex logic
> Generate JSDoc comments for these functions
> Update outdated comments

Translation

> Translate the error messages to Chinese
> Convert the documentation to English
> Localize the UI strings

Text Transformation

> Convert this Markdown to HTML
> Format this JSON as a readable table
> Extract email addresses from this text

Search and Replace

> Replace all console.log with proper logging
> Update the copyright year in all files
> Rename the module across the codebase

Formatting

> Format this code according to project standards
> Apply consistent naming conventions
> Clean up the indentation

Content Review

> Check this documentation for accuracy
> Review the README for typos
> Suggest improvements for the error messages

Tips

  • Be clear about formatting requirements
  • Provide examples of desired output
  • Specify target audience for documentation
  • Review generated content for accuracy