string-reviewer

Hành động như một Senior UX Writer. Tìm kiếm các chuỗi văn bản hướng đến người dùng quá dài, không rõ ràng hoặc không nhất quán. Điều này bao gồm văn bản nội dòng, thông báo lỗi và các văn bản khác hướng đến người dùng.

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}"`

Thêm skills từ google-gemini

greeter
google-gemini
Một kỹ năng chào hỏi thân thiện
official
async-pr-review
google-gemini
Kích hoạt kỹ năng này khi người dùng muốn bắt đầu một đánh giá PR không đồng bộ, chạy kiểm tra nền trên một PR, hoặc kiểm tra trạng thái của một async PR đã được bắt đầu trước đó…
official
behavioral-evals
google-gemini
Hướng dẫn tạo, chạy, sửa lỗi và thúc đẩy các đánh giá hành vi. Sử dụng khi xác minh logic quyết định của tác nhân, gỡ lỗi lỗi, gỡ lỗi prompt…
official
ci
google-gemini
Một kỹ năng chuyên biệt cho Gemini CLI cung cấp hiệu suất cao, fail-fast
official
code-reviewer
google-gemini
Đánh giá mã tự động cho các thay đổi cục bộ và pull request từ xa với phân tích có cấu trúc về tính chính xác, khả năng bảo trì và bảo mật. Hỗ trợ cả thay đổi trên hệ thống tệp cục bộ (đã staged và chưa staged) và PR từ xa (theo số hoặc URL) với tính năng tự động checkout GitHub CLI. Phân tích mã trên bảy khía cạnh: tính chính xác, khả năng bảo trì, khả năng đọc, hiệu quả, bảo mật, xử lý trường hợp ngoại lệ và độ phủ kiểm thử. Chạy các bộ kiểm tra tiền xử lý tùy chọn (ví dụ: npm run preflight) để phát hiện...
official
docs-changelog
google-gemini
Tạo và định dạng các tệp changelog cho các bản phát hành mới với các mẫu nhận biết phiên bản và trích xuất điểm nổi bật. Xử lý ba loại phát hành: phiên bản phụ ổn định, bản vá ổn định và bản xem trước, mỗi loại có quy trình cập nhật tệp riêng biệt. Tự động xử lý các ghi chú phát hành markdown thô bằng cách định dạng lại URL PR thành liên kết markdown và loại bỏ các phần người đóng góp. Tạo các bản tóm tắt điểm nổi bật ngắn gọn từ 3–5 điểm cho các thông báo phát hành, ưu tiên các tính năng mới hơn các bản sửa lỗi. Hỗ trợ
official
docs-writer
google-gemini
Viết và biên tập kỹ thuật cho tài liệu Gemini CLI với sự tuân thủ nghiêm ngặt về phong cách. Áp dụng các tiêu chuẩn tài liệu toàn diện về giọng văn, sắc thái, ngữ pháp, định dạng và cấu trúc để đảm bảo tính nhất quán trên tất cả các tệp .md và nội dung trong thư mục /docs. Yêu cầu điều tra mã nguồn và tài liệu hiện có liên quan trước khi thực hiện thay đổi, kèm theo kiểm tra các trang bị ảnh hưởng và cập nhật điều hướng thanh bên. Áp dụng các quy tắc cụ thể cho tiêu đề, danh sách, quy trình, liên kết và khả năng tiếp cận,...
official
github-issue-creator
google-gemini
Sử dụng kỹ năng này khi được yêu cầu tạo một issue GitHub. Nó xử lý các issue khác nhau
official