Retriever's shared Claude Code operating rules live in the repo-root
CLAUDE.md. Keep user-facing Claude guidance there, and keep Retriever's
backend routing/reference material in skills/routing/SKILL.md.
For the repository map and architectural boundaries, see
ARCHITECTURE.md. For the current test-suite shape and the
planned split of the consolidated regression file, see
TESTING.md.
Use these commands before packaging or publishing:
./build.sh
python3 -m pytest tests/test_retriever_tools.py./build.sh is the canonical sync step. It synchronizes version metadata,
rebundles skills/tool-template/tools.py, refreshes the generated command
tables in skills/routing/SKILL.md, and rebuilds the bundled support
artifact retriever.plugin.
Use this loop for normal development:
- Edit the authored source or docs for the surface you are changing.
- Run
./build.shif the change touches generated backend or command-table material. - Run
python3 -m pytest tests/test_retriever_tools.py. - If you changed user-facing behavior, update the relevant docs:
README.md,docs/browse-reference.md,skills/routing/SKILL.md, or installer text as appropriate.
Keep these boundaries in mind:
skills/tool-template/src/is the authored generated-backend source of truthskills/tool-template/tools.pyis generated outputretriever/is the native Claude Code package surface- installer output, version metadata, and tests should stay aligned with both
Avoid making hand edits to generated artifacts without also updating the source that produces them.