One checkout of the repository chores that are the same in every project: build, test and warnings, the git and
GitHub workflow, symbol search, SPDX headers, translations, container deploys, database access. A project does not
copy them. It carries an eight-line shim per script in Scripts/ and a Scripts/project.toml with what it differs
by, and every shim runs the one shared script.
python3 Scripts/dotnet.py verify # build without incremental shortcuts, test, warnings on changed lines
python3 Scripts/repo.py pr-create --title "..." --file body.md
python3 Scripts/find.py OrderService # where a symbol is declared and usedWhy: these scripts used to be copies, one per project, and the copies drifted. The same dotnet.py differed by
almost 500 lines between two repositories, and a fix made in one reached the others by hand, which mostly meant
never. One checkout means a fix is made once.
It is opinionated and grew out of one person's projects: .NET/Blazor, Rust, C++/Qt/KDE, Godot, PHP and web projects on Fedora Linux, worked on with Claude Code. The scripts work without Claude Code; the hooks, skills and guideline blocks are for those who use it.
- Linux and Python 3.11+ (standard library only,
tomllibfor the config) - git, and the GitHub CLI
ghforrepo.py's issue, pull request and CI commands - the toolchain of whatever a project builds: the .NET SDK, cargo, CMake, Godot, npm, rpmbuild, podman (
deploy.py,ops/server.py, andphp.pywhen there is no local PHP),psqlfordb.py, adb for the Android commands - bash and jq for the Claude Code hooks
- optional: graphify (
uv tool install graphifyy) forgraph.py, rust-script forrust.py script
A script that misses a tool or a config value refuses and names what is missing; it does not guess.
Linux is the target, and Fedora is the only system it is run on. The core is plain Python with the standard library
(dotnet.py, repo.py, find.py, db.py, translations.py, gen_resx.py, spdx.py and their kind) and has no reason
not to run on macOS; it has not been tried. What needs Linux:
system.py(systemd:journalctl,systemctl), and the deploy and server scripts, which expect Podman and Quadlet units- the packaging scripts (
rpm.py,godot.py desktop, parts ofcpp.py), which write RPMs,.desktopfiles and Unix file modes - the Claude Code hooks, which are bash scripts; on Windows they need Git Bash or WSL
- the caches, which live in
~/.cache
On Windows, use WSL. Nothing here has been run on macOS or Windows, so treat both as untested.
git clone https://github.com/Istarlabs/devscripts.git ~/dev/tools/devscripts
cd ~/dev/projects/SomeProject
python3 ~/dev/tools/devscripts/install.py . # add --claude for the Claude Code parts
$EDITOR Scripts/project.toml # fill in what the starter guessed, uncomment what applies
python3 ~/dev/tools/devscripts/install.py . # again: each filled-in block brings its scripts
python3 Scripts/spdx.py apply # only if the project uses [spdx]~/dev/tools/devscripts is the default location. A checkout anywhere else works when DEVSCRIPTS points at it.
The manual is the wiki.
| Page | What it covers |
|---|---|
| Installation and setup | What install.py writes into a project, where a shim finds this checkout, and how to put a project on it. |
| Project configuration | Scripts/project.toml: everything a project differs by, block by block. |
| Languages and toolchains | Rust scripts, PHP and JavaScript/TypeScript projects, and Firefox browser extensions. |
| Git and GitHub workflow | Parallel branches, a change without a pull request, the check before a repository goes public, and CI. |
| Machines and servers | ops/server.py for a machine over ssh and system.py for this one. |
| Claude Code integration | The hooks, the guideline blocks, the Istarnova building blocks and the shared skills. |
| Contributing and design notes | How the checkout is laid out, how to write a script that lives here, and what does not belong. |
Issues and pull requests are welcome. Each script has its checks next to it (*.test.py, hooks/*.test.sh);
run the ones for what you touched. Commits follow Conventional Commits.
devscripts is licensed under the GNU General Public License v3.0 or later.