Thank you for your interest in this project.
- Node.js
^22.18.0or>=24.11.0(seeenginesinpackage.json) - pnpm 12.18.0 (pinned in
packageManagerinpackage.json) - Rust
1.95.0withrustfmtandclippy(see.github/workflows/rust.yml) - Tauri CLI prerequisites: https://tauri.app/start/prerequisites/
pnpm install
pnpm run tauri devBefore you open a pull request, run the full gate:
pnpm run checkpnpm install turns on two git hooks. .githooks/pre-commit checks the format and
lint of what the commit will contain (bun fmt --check --staged, bun lint --staged, rustfmt on each staged Rust file) and changes nothing. .githooks/pre-push runs
pnpm run check:fast, which is the gate without the Rust tests. When Rust
changed, it runs the full gate and the contract snapshots. When a workflow
changed, it also runs zizmor. CI runs everything.
For a small change, the scoped commands below are faster. Run the ones that match what you touched:
# TypeScript / frontend
pnpm run typecheck
pnpm run lint
pnpm run format:check
# Rust
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspaceCI runs the same checks (job test from rust.yml, job check from
web.yml) on every pull request.
- Fork the repository and create a branch off
main. - Make your change and commit it.
- Open a pull request against
main. - CI must go green on both required checks,
testandcheck. - If you are an outside contributor, every workflow run from your fork waits for a maintainer's approval; CI starts only after they approve it. This applies to each push, not just the first one.
- A maintainer squash-merges the pull request. There is no required review count, but a maintainer may still ask for changes.
Use Conventional Commits, for
example feat(cli): add the outdated command or fix(desktop): repair the park toggle. Run git log to see recent examples from this repository.
Each test name states the flow, the expectation it checks, and the failure it catches. A new test must fail without its matching production fix — a test that never goes red proves nothing. Do not assert on wall-clock time.
Do not add these tests:
- A second test of a behavior that a test at another level already proves. Extend the existing test instead.
- A test that checks what it just set up, or that a mock returns what the test told it to return.
- A test of exact copy, CSS classes, or DOM nesting. Find controls by role and accessible name, and check the outcome.
- A test of React, Zustand, serde, clap, or another library.
- A test of code that has no production caller. Delete the code.
- A table of hand-picked examples for a function with an invariant (round
trip, idempotency, confinement). Write a property test (
proptest,fast-check).
There is no coverage target and no retry setting. Fix a flaky test by injecting time or state; do not repeat it until it passes.
Form controls and buttons come from @skill-studio/ui
(packages/ui/src/index.ts). Raw <input>, <textarea>, <select>, and
<button> elements are only allowed inside that package; the
anti-slop/no-raw-form-elements lint rule enforces this.
Tests must never read or write a real home folder
(~/.claude, ~/.codex, ~/.config/opencode, and similar). Use a temporary
HOME directory or the project's fixture builder.
See CLAUDE.md (also read by AI agents as AGENTS.md) for naming
conventions, file layout, and language-specific style rules. This file does
not repeat them.
AI-assisted pull requests are welcome, as long as the author has read and run the change themselves before submitting it.
Open a GitHub issue for questions, bugs, and feature ideas.