string-reviewer

Agir en tant que rédacteur UX senior. Rechercher les chaînes destinées aux utilisateurs qui sont trop longues, peu claires ou incohérentes. Cela inclut le texte en ligne, les messages d'erreur et autres textes destinés aux utilisateurs.

npx skills add https://github.com/google-gemini/gemini-cli --skill string-reviewer

String Reviewer

Instructions

Act as a Senior UX Writer. Look for user-facing strings that are too long, unclear, or inconsistent. This includes inline text, error messages, and other user-facing text.

Do NOT automatically change strings without user approval. You must only suggest changes and do not attempt to rewrite them directly unless the user explicitly asks you to do so.

Core voice principles

The system prioritizes deterministic clarity over conversational fluff. We provide telemetry, not etiquette, ensuring the user retains absolute agency..

  1. Deterministic clarity: Distinguish between certain system/service states (Cloud Billing, IAM, the System) and probabilistic AI analysis (Gemini).
  2. System transparency: Replace "Loading..." with active technical telemetry (e.g., Tracing stack traces...). Keep status updates under 5 words.
  3. Front-loaded actionability: Always use the [Goal] + [Action] pattern. Lead with intent so users can scan left-to-right.
  4. Agentic error recovery: Every error must be a pivot point. Pair failures with one-click recovery commands or suggested prompts.
  5. Contextual humility: Reserve disclaimers and "be careful" warnings for P0 (destructive/irreversible) tasks only. Stop warning-fatigue.

The writing checklist

Use this checklist to audit UI strings and AI responses.

Identity and voice

  • Eliminate the "I": Remove all first-person pronouns (I, me, my, mine).
  • Subject attribution: Refer to the AI as Gemini and the infrastructure as the - system or the CLI.
  • Active voice: Ensure the subject (Gemini or the system) is clearly performing the action.
  • Ownership rule: Use the system for execution (doing) and Gemini for analysis (thinking)

Structural scannability

  • The skip test: Do the first 3 words describe the user’s intent? If not, rewrite.
  • Goal-first sequence: Use the template: [To Accomplish X] + [Do Y].
  • The 5-word rule: Keep status updates and loading states under 5 words.
  • Telemetry over etiquette: Remove polite filler (Please wait, Thank you, Certainly). Replace with raw data or progress indicators.
  • Micro-state cycles: For tasks $> 3$ seconds, cycle through specific sub-states (e.g., Parsing logs... ➔ Identifying patterns...) to show momentum.

Technical accuracy and humility

  • Verb signal check: Use deterministic verbs (is, will, must) for system state/infrastructure.
    • Use probabilistic verbs (suggests, appears, may, identifies) for AI output.
  • No 100% certainty: Never attribute absolute certainty to model-generated content.
  • Precision over fuzziness: Use technical metrics (latency, tokens, compute) instead of "speed" or "cost."
  • Instructional warnings: Every warning must include a specific corrective action (e.g., "Perform a dry-run first" or "Review line 42").

Agentic error recovery

  • The one-step rule: Pair every error message with exactly one immediate path to a fix (command, link, or prompt).
  • Human-first: Provide a human-readable explanation before machine error codes (e.g., 404, 500).
  • Suggested prompts: Offer specific text for the user to copy/click like “Ask Gemini: 'Explain this port error.'”

Use consistent terminology

Ensure all terminology aligns with the project word list.

If a string uses a term marked "do not use" or "use with caution," provide a correction based on the preferred terms.

Ensure consistent style for settings

If packages/cli/src/config/settingsSchema.ts is modified, confirm labels and descriptions specifically follow the unique Settings guidelines.

Output format

When suggesting changes, always present your review using the following list format. Do not provide suggestions outside of this list..

1. **{Rationale/Principle Violated}**
  - ❌ "{incorrect phrase}"
  - ✅ `"{corrected phrase}"`

Plus de skills de google-gemini

greeter
google-gemini
Une compétence d'accueil amicale
official
async-pr-review
google-gemini
Déclenchez cette compétence lorsque l'utilisateur souhaite lancer une revue de PR asynchrone, exécuter des vérifications en arrière-plan sur une PR, ou vérifier le statut d'une revue de PR asynchrone déjà lancée…
official
behavioral-evals
google-gemini
Conseils pour créer, exécuter, corriger et promouvoir des évaluations comportementales. À utiliser lors de la vérification de la logique de décision d’un agent, du débogage d’échecs, du débogage d’invites…
official
ci
google-gemini
Une compétence spécialisée pour Gemini CLI qui offre des performances élevées et un échec rapide
official
code-reviewer
google-gemini
Révision automatisée du code pour les modifications locales et les pull requests distantes avec une analyse structurée couvrant la correction, la maintenabilité et la sécurité. Prend en charge les modifications du système de fichiers local (staged et unstaged) et les PR distantes (par numéro ou URL) avec extraction automatique via GitHub CLI. Analyse le code selon sept dimensions : correction, maintenabilité, lisibilité, efficacité, sécurité, gestion des cas limites et couverture de test. Exécute des suites de vérification préalable optionnelles (ex. : npm run preflight) pour détecter...
official
docs-changelog
google-gemini
Génère et formate les fichiers de changelog pour les nouvelles versions avec des modèles tenant compte des versions et une extraction des points forts. Gère trois types de versions : les versions mineures stables, les correctifs stables et les versions préliminaires, chacune avec des procédures de mise à jour de fichiers distinctes. Traite automatiquement les notes de version brutes en Markdown en reformatant les URL de PR en liens Markdown et en supprimant les sections des contributeurs. Génère des résumés concis de 3 à 5 points forts pour les annonces de version, en priorisant les nouvelles fonctionnalités par rapport aux corrections de bugs. Prend en charge...
official
docs-writer
google-gemini
Rédaction et révision techniques pour la documentation de Gemini CLI avec une adhésion stricte au style. Applique des normes documentaires complètes couvrant la voix, le ton, la grammaire, le formatage et la structure pour garantir la cohérence dans tous les fichiers .md et le contenu du répertoire /docs. Nécessite une investigation du code pertinent et de la documentation existante avant d'apporter des modifications, avec des vérifications des pages impactées et des mises à jour de la navigation latérale. Applique des règles spécifiques pour les titres, les listes, les procédures, les liens et l'accessibilité,...
official
github-issue-creator
google-gemini
Utilisez cette compétence lorsqu'on vous demande de créer un problème GitHub. Elle gère différents problèmes
official