Esta página se muestra en inglés. Una traducción al español está en curso.
CLI ToolsMay 11, 2026·3 min de lectura

typos — Source Code Spell Checker for CI

typos catches spelling mistakes in code, docs, config, and comments with low false positives. Run it locally, in pre-commit, or as a CI gate.

Listo para agents

Staging seguro para este activo

Este activo primero queda en staging. El prompt copiado pide inspeccionar los archivos staged antes de activar scripts, config MCP o config global.

Stage only · 17/100Política: staging
Superficie agent
Cualquier agent MCP/CLI
Tipo
CLI Tool
Instalación
Single
Confianza
Confianza: New
Entrada
Asset
Comando de staging seguro
npx -y tokrepo@latest install 43250786-476f-4adc-a40e-751fba4100e4 --target codex

Primero deja archivos en staging; la activación requiere revisar el README y el plan staged.

Introducción

typos is a verified GitHub-backed tool for modern AI and developer workflows, sourced from crate-ci/typos with 3,935 stars and a Apache-2.0 license snapshot. Best for: teams that review docs, prompts, config keys, and user-visible strings where small typos create avoidable trust issues. Works with: Rust cargo installs, pre-commit, GitHub Actions, custom dictionaries, generated-file excludes. Setup time: 5 minutes. Use it when you need a concrete, repeatable path rather than another one-off shell snippet.


Operating Pattern

Fit check

Question Practical answer
What do you install? typos-cli from crate-ci/typos
What is the first command? typos .
What proves it works? typos --format brief .
How long should a pilot take? 5 minutes for a small repo or sandbox

Adoption loop

  1. Run the tool on a disposable branch or sandbox project.
  2. Capture before/after output so reviewers can see the exact effect.
  3. Add the smallest CI or local check that prevents regressions.
  4. Document owner, upgrade command, and rollback command in the repo.

Recommended use

Add it after formatting but before release notes. The fastest win is catching typos in README, prompt assets, CLI help text, and changelog entries.

Guardrails

Seed a project dictionary for product names and abbreviations; otherwise reviewers will waste time dismissing expected terms.

Rollout checklist

  • Pin the package or release version before using it in CI.
  • Keep credentials in environment variables or the platform secret store.
  • Add one owner who is responsible for upgrades and breaking-change triage.
  • Re-check the GitHub repo before writing docs that mention APIs or install paths.

FAQ

Q: Is this production-ready? A: The repo exists at https://github.com/crate-ci/typos and has 3,935 GitHub stars. Treat the first rollout as a controlled pilot until your team has tested install, rollback, and CI behavior.

Q: Why use it instead of a generic script? A: The value is repeatability: a named package, a documented command, a source repo, and a small verification path that can be reviewed by teammates.

Q: What should I measure first? A: Measure setup time against the 5 minutes target, count how many files or tasks it changes, and record whether the CI command catches the same issue locally.


🙏

Fuente y agradecimientos

Built from crate-ci/typos. License: Apache-2.0.

GitHub stars verified from api.github.com/repos/crate-ci/typos: 3,935.

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados