grokkit/cmd
Greg Gauthier 0aa806be70
Some checks failed
CI / Test (push) Failing after 25s
CI / Lint (push) Has been skipped
CI / Build (push) Has been skipped
feat(cmd): add AI documentation generation and command tests
- Implemented `grokkit docs` command for generating language-specific documentation comments (godoc, PEP 257, Doxygen, etc.) with previews, backups, and auto-apply option
- Extracted message builder functions for commit, history, pr-describe, and review commands
- Added comprehensive unit tests for all command message builders (commit_test.go, docs_test.go, history_test.go, lint_test.go, prdescribe_test.go, review_test.go)
- Enforced 70% test coverage threshold in CI workflow
- Added .golangci.yml configuration with linters like govet, errcheck, staticcheck
- Updated Makefile to include -race in tests and add help target
- Updated README.md with new docs command details, workflows, and quality features
- Added .claude/ to .gitignore
- Configured default model for docs command in config.go
2026-03-02 20:13:50 +00:00
..
agent_test.go chore(build): add Makefile and tests for commands and utilities 2026-03-01 00:24:48 +00:00
agent.go feat(config): add per-command model defaults 2026-03-02 16:56:56 +00:00
chat_test.go refactor(cmd): improve error handling in commands and tests 2026-03-01 14:10:24 +00:00
chat.go feat(config): add per-command model defaults 2026-03-02 16:56:56 +00:00
commit_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
commit.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
commitmsg.go feat(config): add per-command model defaults 2026-03-02 16:56:56 +00:00
completion.go refactor(cmd): improve error handling in commands and tests 2026-03-01 14:10:24 +00:00
docs_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
docs.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
edit_helper_test.go test: add unit tests for chat history, edit helper, and code cleaning 2026-03-01 12:44:20 +00:00
edit_test.go refactor(cmd): improve error handling in commands and tests 2026-03-01 14:10:24 +00:00
edit.go feat(config): add per-command model defaults 2026-03-02 16:56:56 +00:00
history_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
history.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
lint_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
lint.go feat(config): add per-command model defaults 2026-03-02 16:56:56 +00:00
prdescribe_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
prdescribe.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
review_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
review.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
root.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00