Context
I identified a need to modernize the project's documentation to reflect a more personal and cohesive tone across both English and Spanish guides. Additionally, the internal git staging logic required improvements to handle file states more robustly, and the internationalization (i18n) templates contained syntax errors that caused rendering issues during error scenarios.
Technical Details
- Rewrote
README.md, COMMANDS.md, and CONTRIBUTING.md (and their Spanish counterparts) to improve clarity and tone.
- Updated
internal/git/git_service.go to use the -A flag in git add, ensuring all file changes (including deletions) are staged correctly.
- Corrected i18n TOML templates in
active.en.toml and active.es.toml, replacing invalid {0} placeholders with Go template syntax {{.Error}}.
- Refactored
internal/commands/handler/suggestions.go to pass structured error maps to the template engine.
- Removed obsolete GoReleaser configuration files (
.goreleaser.yml and workflows) to clean up infrastructure.
Impact
- Users now have access to more engaging and accurate documentation.
- The CLI handles file staging operations more reliably, reducing potential git errors.
- Error messages during commit failures now render correctly without template parsing issues.
- The repository infrastructure is cleaner with the removal of unused release configurations.
Related PR: #59
Context
I identified a need to modernize the project's documentation to reflect a more personal and cohesive tone across both English and Spanish guides. Additionally, the internal git staging logic required improvements to handle file states more robustly, and the internationalization (i18n) templates contained syntax errors that caused rendering issues during error scenarios.
Technical Details
README.md,COMMANDS.md, andCONTRIBUTING.md(and their Spanish counterparts) to improve clarity and tone.internal/git/git_service.goto use the-Aflag ingit add, ensuring all file changes (including deletions) are staged correctly.active.en.tomlandactive.es.toml, replacing invalid{0}placeholders with Go template syntax{{.Error}}.internal/commands/handler/suggestions.goto pass structured error maps to the template engine..goreleaser.ymland workflows) to clean up infrastructure.Impact
Related PR: #59