{"id":49923612,"url":"https://github.com/drzioner/gitwise","last_synced_at":"2026-06-18T01:01:16.582Z","repository":{"id":358071321,"uuid":"1239857154","full_name":"drzioner/gitwise","owner":"drzioner","description":"Python CLI for optimized Git workflows and coding agents integration.","archived":false,"fork":false,"pushed_at":"2026-06-13T00:01:50.000Z","size":726,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-13T01:20:38.781Z","etag":null,"topics":["ai","ai-agents","automation","claude-code","cli","developer-tools","git","git-workflows","github","gpg","opencode","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drzioner.png","metadata":{"files":{"readme":"README.es.md","changelog":"CHANGELOG.es.md","contributing":"CONTRIBUTING.es.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.es.md","support":null,"governance":null,"roadmap":"ROADMAP.es.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":"drzioner"}},"created_at":"2026-05-15T14:10:42.000Z","updated_at":"2026-06-13T00:01:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/drzioner/gitwise","commit_stats":null,"previous_names":["drzioner/gitwise"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/drzioner/gitwise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzioner%2Fgitwise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzioner%2Fgitwise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzioner%2Fgitwise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzioner%2Fgitwise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drzioner","download_url":"https://codeload.github.com/drzioner/gitwise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzioner%2Fgitwise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34471639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agents","automation","claude-code","cli","developer-tools","git","git-workflows","github","gpg","opencode","python"],"created_at":"2026-05-16T22:04:41.658Z","updated_at":"2026-06-18T01:01:16.561Z","avatar_url":"https://github.com/drzioner.png","language":"Python","funding_links":["https://github.com/sponsors/drzioner"],"categories":[],"sub_categories":[],"readme":"# gitwise\n\nSource: README.md\nLast sync: 2026-05-22\n\n[English](README.md) | [Español](README.es.md)\n\nCLI de Python para optimizar flujos de Git e integración con agentes de código.\n\n[![CI](https://github.com/drzioner/gitwise/actions/workflows/ci.yml/badge.svg)](https://github.com/drzioner/gitwise/actions/workflows/ci.yml)\n[![Coverage](https://codecov.io/gh/drzioner/gitwise/graph/badge.svg)](https://codecov.io/gh/drzioner/gitwise)\n[![Version](https://img.shields.io/github/v/release/drzioner/gitwise?display_name=tag)](https://github.com/drzioner/gitwise/releases)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/downloads/)\n[![Docs: EN/ES](https://img.shields.io/badge/docs-EN%20%7C%20ES-0A7EA4)](docs/es/README.md)\n\ngitwise resuelve tres problemas comunes:\n\n1. Contexto excesivo para AI por usar `git diff` crudo\n2. Repos lentos sin configuraciones modernas de mantenimiento de Git\n3. Flujos de commit inseguros que evaden las reglas de GPG\n\n## Requisitos\n\n- Python \u003e= 3.10\n- git \u003e= 2.29\n- macOS o Linux\n\n## Instalación\n\n```bash\ngit clone https://github.com/drzioner/gitwise.git ~/.local/share/gitwise\nbash ~/.local/share/gitwise/install.sh\n```\n\nActualizar una instalación existente:\n\n```bash\ngitwise update\n```\n\n## Inicio rápido\n\n```bash\ngitwise doctor\ngitwise setup --dry-run\ngitwise setup-agents --local --dry-run\ngitwise summarize\n```\n\n## Comandos más usados\n\n| Comando | Propósito |\n|---|---|\n| `gitwise doctor` | Verifica Python, git, plataforma y herramientas opcionales |\n| `gitwise setup` | Aplica defaults modernos de Git de forma segura |\n| `gitwise setup-agents` | Instala layout canónico de agentes + configuración opcional de providers |\n| `gitwise audit` | Detecta ramas stale, gaps de graph/cache, blobs grandes |\n| `gitwise summarize` | Contexto compacto para humanos y agentes |\n| `gitwise diff` | Vista enfocada de cambios (`--stat`, `--staged`, `--patch`) |\n| `gitwise worktree` | Crea y limpia flujos por worktree |\n| `gitwise status` | Status mejorado con staged/unstaged y ahead/behind |\n| `gitwise commands --json` | Lista subcomandos con aliases y metadata |\n| `gitwise schema \u003ccommand\u003e --json` | Retorna JSON Schema versionado para inputs de comandos |\n| `gitwise completions \u003cshell\u003e` | Genera scripts de completions (bash/zsh/fish) |\n| `gitwise pr` | Lista/check/view de PRs con GitHub CLI |\n\nPara todos los comandos, ejemplos, aliases y uso JSON:\n\n- [Command reference (English)](docs/reference/commands.md)\n- [Referencia de comandos (Español)](docs/es/reference/commands.md)\n\n## Documentación\n\n- [Documentation index (English)](docs/README.md)\n- [Índice de documentación (Español)](docs/es/README.md)\n- [Contributing guide](CONTRIBUTING.md)\n- [Guía de contribución](CONTRIBUTING.es.md)\n- [Security policy](SECURITY.md)\n- [Política de seguridad](SECURITY.es.md)\n- [Code of Conduct](CODE_OF_CONDUCT.md)\n- [Código de conducta](CODE_OF_CONDUCT.es.md)\n- [Git conventions](CONVENTIONS.md)\n- [Convenciones Git](CONVENTIONS.es.md)\n\n## Modelo de seguridad y GPG\n\n`setup` y `setup-agents` nunca modifican `commit.gpgsign` ni `user.signingkey`.\n\n- Capa Git: `setup` gestiona hooks de forma segura (`--hooks-mode preserve|native|legacy|skip`) para validar disponibilidad de la clave y conventional commits.\n- Capa agente: deny-rules bloquean `--no-gpg-sign`, `--no-verify` y `-c commit.gpgsign=false`.\n\n## Variables de entorno\n\n| Variable | Descripción |\n|---|---|\n| `GITWISE_DEBUG=1` | Muestra cada comando `git` ejecutado por subprocess en stderr |\n| `GITWISE_LOG_JSON=1` | Emite logs estructurados en stderr como líneas JSON |\n| `GITWISE_JSON_PRETTY=1` | Formatea JSON en modo pretty por defecto |\n| `GITWISE_LANG=es` / `GITWISE_LANG=en` | Fuerza el locale de salida |\n| `GITWISE_THEME=dark` / `GITWISE_THEME=light` / `GITWISE_THEME=auto` | Fuerza selección de tema de color |\n| `GITWISE_NO_COLOR=1` | Desactiva salida ANSI con color |\n| `GITWISE_OUTPUT=agent` | Fuerza modo de salida orientado a máquina |\n| `GITWISE_AGENT=1` | Alias para habilitar modo agent |\n| `GITWISE_GIT_TIMEOUT=\u003csegundos\u003e` | Override del timeout de subprocess git |\n| `GITWISE_WIDTH=\u003ccolumnas\u003e` | Override del ancho de salida |\n| `GITWISE_BIN_DIR` | Directorio de instalación (default: `~/.local/bin`) |\n\n## Completions de shell\n\nGenera script de completions por shell:\n\n```bash\ngitwise completions bash \u003e ~/.local/share/bash-completion/completions/gitwise\ngitwise completions zsh \u003e ~/.zsh/completions/_gitwise\ngitwise completions fish \u003e ~/.config/fish/completions/gitwise.fish\n```\n\n## Demo\n\n[![asciicast](https://asciinema.org/a/6tm4TnYMygEQT7ef.svg)](https://asciinema.org/a/6tm4TnYMygEQT7ef)\n\n## Licencia\n\n[MIT](LICENSE) - Deiner\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrzioner%2Fgitwise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrzioner%2Fgitwise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrzioner%2Fgitwise/lists"}