mirror of
https://github.com/ivuorinen/gibidify.git
synced 2026-01-26 11:34:03 +00:00
* chore(ci): update go to 1.25, add permissions and envs * fix(ci): update pr-lint.yml * chore: update go, fix linting * fix: tests and linting * fix(lint): lint fixes, renovate should now pass * fix: updates, security upgrades * chore: workflow updates, lint * fix: more lint, checkmake, and other fixes * fix: more lint, convert scripts to POSIX compliant * fix: simplify codeql workflow * tests: increase test coverage, fix found issues * fix(lint): editorconfig checking, add to linters * fix(lint): shellcheck, add to linters * fix(lint): apply cr comment suggestions * fix(ci): remove step-security/harden-runner * fix(lint): remove duplication, apply cr fixes * fix(ci): tests in CI/CD pipeline * chore(lint): deduplication of strings * fix(lint): apply cr comment suggestions * fix(ci): actionlint * fix(lint): apply cr comment suggestions * chore: lint, add deps management
51 lines
1.3 KiB
Markdown
51 lines
1.3 KiB
Markdown
# CLAUDE.md
|
|
|
|
Go CLI aggregating code files into LLM-optimized output. Supports markdown/JSON/YAML with concurrent processing.
|
|
|
|
## Architecture (42 files, 8.2K lines)
|
|
|
|
**Core**: `main.go` (37), `cli/` (4), `fileproc/` (27), `config/` (3), `utils/` (4), `testutil/` (2)
|
|
|
|
**Modules**: Collection, processing, writers, registry (~63ns cache), resource limits
|
|
|
|
**Patterns**: Producer-consumer, thread-safe registry, streaming, modular (50-200 lines)
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
make lint-fix && make lint && make test
|
|
./gibidify -source <dir> -format markdown --verbose
|
|
```
|
|
|
|
## Config
|
|
|
|
`~/.config/gibidify/config.yaml`
|
|
Size limit 5MB, ignore dirs, custom types, 100MB memory limit
|
|
|
|
## Quality
|
|
|
|
**CRITICAL**: `make lint-fix && make lint` (0 issues), 120 chars, EditorConfig, 30+ linters
|
|
|
|
## Testing
|
|
|
|
**Coverage**: 84%+ (utils 90.9%, fileproc 83.8%), race detection, benchmarks
|
|
|
|
## Standards
|
|
|
|
EditorConfig (LF, tabs), semantic commits, testing required
|
|
|
|
## Status
|
|
|
|
**Health: 10/10** - Production-ready, 84%+ coverage, modular, memory-optimized
|
|
|
|
**Done**: Errors, benchmarks, config, optimization, modularization, CLI (progress/colors), security (path validation, resource limits, scanning)
|
|
|
|
**Next**: Documentation, output customization
|
|
|
|
## Workflow
|
|
|
|
1. `make lint-fix` first
|
|
2. >80% coverage
|
|
3. Follow patterns
|
|
4. Update docs
|