toolpass
CLAUDE.md4 starsChanged 44 days agoApache-2.0View on GitHub
Do not stop at a pushed branch. A merge into main ships in the next daily release (03:00 UTC), so merge only complete, working changes. 1. Update the documentation for what changed, every time: the lead example and the tables in README.md and toolpass-py/README.md when the way a tool is written changes, the guide and reference pages under docs/ that describe the changed behaviour, docs/README.md when a page is added, and docs/development/testing.md when a test directory is added. A page…
- Installs packages
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
14 rules. About 0 are common, 1 is distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 5
Do not stop at a pushed branch.
- Very specific: line 8
Update the documentation for what changed, every time: the lead example and the tables in README.md and toolpass-py/README.md when the way …
- Very specific: line 14
Run /code-review main high on the diff and fix every finding.
- Very specific: line 15
Run /security-review and fix every finding.
- Very specific: line 16
Run the local checks, after the review fixes, and get them clean (in toolpass-py/, with pip install -e ".[crypto]" pytest pytest-timeout …
- Very specific: line 20
when an integration or tests/harness changed: fetch the API descriptions with test/specs/fetch.sh /tmp/specs, then …
- Very specific: line 22
when a framework adapter (src/toolpass/<framework>.py) changed: install its extra (pip install -e ".[<extra>]") and run python -m pytest …
- Very specific: line 24
when the vault integration changed: TOOLPASS_REAL=1 python -m pytest tests/real (needs docker)
- Very specific: line 25
when packaging (pyproject.toml) changed: build the wheel (python -m build -o /tmp/dist .), install it into a fresh venv, then run tests …
- Very specific: line 27
when toolpass-ts changed: cd toolpass-ts && npm ci && npm test, and run the examples/agent-ts tests, which exercise it
- Very specific: line 29
when examples/agent-ts changed: cd examples/agent-ts && npm ci && npm test
- Very specific: line 30
when any Markdown changed: python3 test/docs/linkcheck.py
- Very specific: line 32
when the Dockerfile changed: docker build .
- Very specific: line 35
Wait for CI on the pull request to pass, then squash-merge with the PR title and (#N) suffix, as the history on main does.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Working in this repository
Finishing a change
Do not stop at a pushed branch. A merge into main ships in the next daily
release (03:00 UTC), so merge only complete, working changes.
- Update the documentation for what changed, every time: the lead example and the tables in
README.mdandtoolpass-py/README.mdwhen the way a tool is written changes, the guide and reference pages underdocs/that describe the changed behaviour,docs/README.mdwhen a page is added, anddocs/development/testing.mdwhen a test directory is added. A page that shows the old way of doing something is a bug in the pull request, not a follow-up. Runpython3 test/docs/linkcheck.pyafterwards. - Run
/code-review main highon the diff and fix every finding. - Run
/security-reviewand fix every finding. - Run the local checks, after the review fixes, and get them clean
(in
toolpass-py/, withpip install -e ".[crypto]" pytest pytest-timeout hypothesis ruff mypy types-PyYAML build):ruff format --check src tests examples,ruff check src tests examples,mypy --strict src/toolpass,python -m pytest -q- when an integration or
tests/harnesschanged: fetch the API descriptions withtest/specs/fetch.sh /tmp/specs, thenTOOLPASS_SPECS_DIR=/tmp/specs python -m pytest -q tests/integrations tests/harness_tests tests/contract - when a framework adapter (
src/toolpass/<framework>.py) changed: install its extra (pip install -e ".[<extra>]") and runpython -m pytest tests/frameworks/test_<framework>.py - when the vault integration changed:
TOOLPASS_REAL=1 python -m pytest tests/real(needs docker) - when packaging (
pyproject.toml) changed: build the wheel (python -m build -o /tmp/dist .), install it into a fresh venv, then runtestswith that venv's Python from outside the repository - when
toolpass-tschanged:cd toolpass-ts && npm ci && npm test, and run theexamples/agent-tstests, which exercise it - when
examples/agent-tschanged:cd examples/agent-ts && npm ci && npm test - when any Markdown changed:
python3 test/docs/linkcheck.py - when
deploy/helmchanged:helm lint deploy/helm/toolpass --strict --set apiKey.value=x - when the
Dockerfilechanged:docker build .and the smoke test in thedockerCI job
- Open a pull request using
.github/pull_request_template.md. Mention the issue it closes when there is one. - Wait for CI on the pull request to pass, then squash-merge with the PR
title and
(#N)suffix, as the history onmaindoes. If CI is red, fix and push; never merge over a failure, and never skip or disable a test to get green. A failure in code the change does not touch (a vendor spec, Prism or the argocd CLI failing to download, for example) may be re-run once; if it fails again, say so and stop.
The maintainer asked for this flow. Ask first only for changes that are destructive or clearly outside what was requested.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

