Skip to content

Add CI, pre-commit hooks, and proto plugin layout#1

Merged
jlouazel merged 10 commits into
mainfrom
jlouazel/ci-and-layout
Jun 19, 2026
Merged

Add CI, pre-commit hooks, and proto plugin layout#1
jlouazel merged 10 commits into
mainfrom
jlouazel/ci-and-layout

Conversation

@jlouazel

Copy link
Copy Markdown
Collaborator
  • One directory per tool (plugin.toml + README.md); .prototools pins and registers every plugin
  • CI installs each pinned tool through its plugin on Linux, macOS x64/arm64, and Windows
  • pre-commit hooks via prek: file hygiene, plus typos and taplo run through proto
  • .envrc auto-installs the toolchain on entry for direnv users
  • Plugins: taplo, typos, prek, direnv

- .prototools with telemetry disabled for CI and contributor runs
- .envrc auto-installs the pinned toolchain on entry via direnv
- ignore the .direnv cache

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
@jlouazel jlouazel force-pushed the jlouazel/ci-and-layout branch from 46e682c to 5a2016e Compare June 19, 2026 12:14
jlouazel added 6 commits June 19, 2026 14:17
- validate job runs prek hooks (file hygiene)
- install job installs every pinned tool through its plugin across
  Linux, macOS x64/arm64, and Windows as an end-to-end smoke test
- taplo formatting config

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
- TOML plugin for the taplo formatter/linter
- register and pin it in .prototools
- run taplo format + lint as pre-commit hooks via proto

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
- TOML plugin for the typos spell checker
- register and pin it in .prototools
- run typos as a pre-commit hook via proto

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
- TOML plugin for prek, the pre-commit-compatible hook runner
- register and pin it in .prototools

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
- TOML plugin for direnv, the shell environment switcher
- register and pin it in .prototools

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
- README points contributors at per-plugin install instructions
- CONTRIBUTING documents the repo contract, plugin schema, and local checks

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
@jlouazel jlouazel force-pushed the jlouazel/ci-and-layout branch from 5a2016e to 4508f04 Compare June 19, 2026 12:17
Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
@jlouazel jlouazel force-pushed the jlouazel/ci-and-layout branch from b6129ad to ec59403 Compare June 19, 2026 12:27
@jlouazel jlouazel requested a review from pylaligand June 19, 2026 12:45
@jlouazel jlouazel self-assigned this Jun 19, 2026

@pylaligand pylaligand left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add a CLAUDE.md for good measure? It can just point to CONTRIBUTING.md.

Comment thread .pre-commit-config.yaml
Comment thread .pre-commit-config.yaml
jlouazel added 2 commits June 19, 2026 21:38
- add .typos.toml setting ignore-hidden = false so typos checks dot-directories such as .github
- exclude .git/ since disabling ignore-hidden would otherwise descend into it

Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
Signed-off-by: Jean-Baptiste Louazel <jb.louazel@genesis-ai.company>
@jlouazel jlouazel merged commit 46f79ff into main Jun 19, 2026
5 checks passed
@jlouazel jlouazel deleted the jlouazel/ci-and-layout branch June 19, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants