Repository navigation
Contributing
sclaude is installed as it is by every team that uses it: nobody forks it to customise it. What is a team's own lives in its product's repository; what everybody shares reaches everybody through this repository's pull requests. This page is the short way into both.
- Install sclaude (README, Installation) and run
sclaude doctor. - In the product's repository, run
sclaude new. Without a.sclaude/config.jsonit offers to write one: it reads the tests frompackage.json, the manuals and migrations from the layout, and the board from the repository's GitHub project, and shows everything before writing. - Read what it proposes against
sclaude/config.example.json, which explains every key, and commit the file.sclaude configchanges it later, with the same explanations beside your values.
Every section is optional, and nothing is guessed at run time: a product with no test suite simply has no test gate, and sclaude says so where it would have acted. The environment it is built for lists what each part of the cycle needs.
| path | what | committed |
|---|---|---|
config.json |
the product: its checks, environments, database, board, maintainers, where its metrics go | yes |
team/policy.json, team/prompts/<step>.md
|
the team's rules for sessions and its additions to sclaude's prompts, kept by the product's maintainers
|
yes |
people/<name>/… |
the same, for one developer | yes |
local/ |
what one machine keeps: a feature's working files, terminal recordings | never, and never deployed |
A team's rules, data and recordings stay in its product. Nothing about a product is ever committed here.
MAINTAINERS lists who commits sclaude straight to main; everybody else
proposes:
- Commit your change in your sclaude checkout as usual.
- Run
sclaude propose. The commits move to a branch of their own,dev/<name>, and go out as a pull request — pushed here if you may push, otherwise through a forkghmakes for you once.
Your name is the part of your git email before the @, or
git config --global sclaude.developer <name>.
A maintainer takes a pull request in without sending it back for changes: it is checked, finished and reviewed on its own branch, the fixes pushed to it, and merged as one commit with you as its author.
sclaude's sessions never change your checkout of this repository: a session
that finds a bug in sclaude fixes it in its feature's workshop, and sclaude
sends that the same way — a pull request for you, after checking it for your
product's details ("When a session finds a bug in
sclaude"). A change you make by hand
is what sclaude propose is for.
CLAUDE.md holds them in full; it is what Claude Code sessions read, and it is meant for people as much. The ones a first change meets:
- English only, in code, comments, prompts, output and commit messages, with three listed exceptions.
- No product details. No product names, numbers of issues or pull requests, paths, tables or infrastructure of any product. Describe a problem in the orchestrator's own terms.
-
Commit messages: a Conventional Commits subject, a body that says why,
and an unbroken trailer block.
githooks/commit-msgchecks the trailers. -
Strings coupled across files are listed in
CLAUDE.md; grep before you change one side. -
bin/sclaudeandbin/keepawakeedit themselves while running: keep their{ … } exitwrapping.
Each file in tests/ is standalone and exits non-zero on failure:
python3 tests/<name>.pyBefore a commit, the tests that name a changed file, side by side:
tests/run --changedBefore a pull request, all of them (about two minutes):
tests/runShell files have no runner of their own: check them with bash -n.
When a change adds or changes something a user meets — a command, a key, a
switch, a behaviour — update the user documentation in the same pull request: README.md
for what sclaude offers, the guides under docs/ (see the README's
"Documentation") for how to use it.
How a part works inside goes to docs/sclaude.md or
docs/keepawake.md.
sclaude is under the MIT licence. By contributing you agree that your contribution is published under it.
Generated from CONTRIBUTING.md; edit it there, then rebuild with wiki/build.py.
SClaude is open source under MIT · Repository · Landing page · Contact
Why
How it works
- The cycle
- Big features in parts
- Limits in code
- Fewer tokens
- Feedback loops
- Metrics and the replay
- For a team
- Working from the phone
- Stack and costs
- Privacy
Guide
- Getting started
- Setting up
- Using sclaude
- The config, key by key
- When something goes wrong
- Glossary
- Gates and rules
- Team setup
- Privacy in full
- The tools
- Decks and the map
- Contributing
Inside
Links