Grammar Lee
fraygit/grammar-lee
Reescreva textos em tons formal ou natural com IA Claude
Ver no GitHubAplicação web que reescreve textos em diferentes tons (formal ou natural) usando Claude via API Anthropic. Interface intuitiva em Gradio com armazenamento seguro da chave API no navegador, ideal para profissionais que precisam adaptar o tom de comunicações.
Instalação
npx convez-ai fraygit/grammar-lee1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Adaptar tom de emails e mensagens profissionais
- Converter textos acadêmicos para linguagem natural
- Formalizar conteúdo informal para contextos corporativos
Veredito

Ferramenta prática e focada para reescrita de tom via Claude, com interface limpa em Gradio. Útil para profissionais de escrita, mas o escopo é bastante específico — não oferece funcionalidades avançadas como análise gramatical ou sugestões contextuais.
README
A tradução para o português deste README ainda está na fila.
Grammar Lee
Project Overview
Grammar Lee is a web application designed to help users reword text in different tones using advanced AI models. This project was code-generated using vibe coding principles, Windsurf, and GPT-4.1.
Workflow
The development process for this project follows an incremental and iterative workflow:
- Incremental requirements are documented in Markdown files inside the
promptsfolder (e.g.,requirements-1.1.md,requirements-1.2.md). - The application is developed and refined through multiple iterations over these requirements files, ensuring the implementation stays aligned with evolving needs.
Application Features
- Gradio Web Application: The app is built using Gradio, providing an intuitive web interface.
- API Key Management: Users provide their Claude API key through a textbox. The key is securely stored in the browser's local storage (BrowserState:
grammar-lee-claude-api-key). Blank submissions are not allowed. - User Interface:
- Two-column layout:
- Left Panel:
- Dropdown to select the tone (
FormalorNatural). - Text area for user input.
- Button to trigger the rewording process.
- Dropdown to select the tone (
- Right Panel:
- Displays the reworded text generated by the AI.
- Left Panel:
- Two-column layout:
- Rewording Functionality:
- Uses the Anthropic SDK to call the
claude-sonnet-4-20250514model with a maximum of 500 tokens. - The system prompt is: "you are an assistant expert that is an expert writer."
- The user message format is:
reword and sound <Tone value>. '<Text value>'. - The API key for Anthropic is retrieved from the browser's local storage.
- Uses the Anthropic SDK to call the
Technologies Used
- Gradio
- Anthropic SDK
- Python
How It Works
- User enters their Claude API key (required).
- User selects a tone and inputs the text to reword.
- Upon clicking the button, the app sends a request to the Anthropic API to generate the reworded text.
- The response is displayed in the right panel.
This project demonstrates an automated, requirements-driven approach to building AI-powered applications using modern coding workflows.