Development tools management package for aglabo projects.
It bundles tool wrappers (bin/) and lint/test runners (runners/).
It also provides shared tool configs (configs/) and Git hooks.
- Tool wrappers in
bin/that delegate to the shared runnerbin/libs/run-node-bin- POSIX shell and Windows
.cmd(no bash needed on Windows) commitlint,concurrently,ls-lint,rimraf,secretlint
- POSIX shell and Windows
- Runner scripts in
runners/for linting, formatting, and testingjactionlint,ghalint,markdownlint,shellcheck,shellspec,shfmt,textlint,betterleaks
- Shared tool configs in
configs/(betterleaks, git-cliff, commitlint, secretlint, shellcheck) - Git hooks powered by
lefthookpre-commit: secret scanning withbetterleaksandsecretlintprepare-commit-msg: AI-generated commit message draft (scripts/prepare-commit-msg.sh)commit-msg: Conventional Commits check withcommitlint
Requirements: Node.js 24+, pnpm 12+, and bash.
git clone https://github.com/aglabo/agla-dev-tools.git
cd agla-dev-tools
pnpm install # the `prepare` script runs scripts/setup-dev-env.shscripts/setup-dev-env.sh sets up the local environment (lefthook hooks, shellspec, aglabo tools).
It does nothing in CI.
| Command | Description |
|---|---|
pnpm run scan:secrets |
Scan for secrets (secretlint, betterleaks) |
pnpm run check:sh / pnpm run format:sh |
Check / format shell scripts (shfmt) |
pnpm run lint:sh |
Lint shell scripts (shellcheck) |
pnpm run test:sh / pnpm run test:sh:all |
Run ShellSpec tests |
pnpm run lint:gha |
Lint GitHub Actions (jactionlint, ghalint) |
pnpm run lint:text / lint:markdown |
Lint documents (textlint, markdownlint) |
pnpm run lint:spells |
Spell check (cspell) |
pnpm run check:dprint / format:dprint |
Check / format with dprint |
| Tool | Description |
|---|---|
| lefthook | Git hook manager |
| commitlint | Commit message format linting |
| betterleaks | Detects secrets and credentials in the repo |
| secretlint | Static analysis tool to catch secrets in files |
| ls-lint | File and directory name linting |
| shellcheck | Static analysis for shell scripts |
| shfmt | Shell script formatter |
| shellspec | BDD testing framework for shell scripts |
| jactionlint | GitHub Actions workflow linter |
| ghalint | GitHub Actions security linter |
| textlint | Text linting for documents |
| markdownlint | Markdown linting |
| cspell | Spellchecker for code and documentation |
| dprint | Code formatter |
Note
commitlint,concurrently,ls-lint,rimraf, andsecretlintare installed by pnpm. The other tools are installed separately and must be available onPATH.
This project is licensed under the MIT License. For more details, see LICENSE.