ShtukbaseStandard
Working now: 68 packages and the shtuk tool 0.1.0

A project is a folder of pages. Packages make it a system.

The Shtukbase Standard describes how a project is built: Markdown pages, collections, norms with checks, lenses and actions. All of it comes in packages. The small tool shtuk installs them with one command, updates them without touching your edits, and checks that the norms hold.

68packages
171norms
131checks
440pages
CoreShtukbase BasicBugsCollectionsContoursDecisionsProject frameLayersLensesNormsCommon ontologyOwner questions and tasksTasksBlueprint: content factoryBlueprint: local eventsBlueprint: leadsBlueprint: scheduled agentBlueprint: agent with skillsBlueprint: software factoryAgentsFactory alarmsActions and automationsThe "done" gateRepository hooksHuman approvesRun logScheduleSession startHarnessesHarness: Claude Code
coreShtukbase BasicEach icon is a package from the catalog.

The core and packages

The core has three concepts. Everything else is packages: the tool has no project norms and no project checks of its own. It only installs packages and runs their actions.

01

Page

A project file, usually Markdown with a YAML header. Everything the project knows and has decided lies in pages.

02

Package

A folder with pages and actions. It puts its pages into the project and brings its actions. A package can require other packages (requires) and include them (includes). The format is on the page Package and lock format.

03

Action

A package file that can be run. An action marked check: true is a check: it says whether a norm holds. An action marked on: install or on: update is a step after install or update; it runs by itself, only if the package is from a trusted source. Lenses, the server and other commands are also actions of their packages.

The Shtukbase formula

Four principles the standard stands on. The texts are written down from the owner's words and are still drafts.

We record everythingdraft

Work on a project gives birth to many things: requirements, decisions, tasks, people, components, meetings. Each becomes a record of its own type in its own collection, with its own fields and links. Nothing stays only in someone's head or in a chat: what is not in a record is not in the project.

Lenses give understandingdraft

A lens gives a bird's-eye understanding of the project: what we have, what exists, how it is linked together, plus overall statistics. The form does not matter: a page is only one form of a lens; a lens can be a text or anything else.

Rules hold it togetherdraft

Rules say what must be linked to what: code to the specification, the specification to a requirement, a requirement to the contract. A program checks the rule, not a promise, so the layers do not drift apart. And so you can trust a lens: what it shows is held by the rules. In the standard, rules are called norms.

A project has a structuredraft

A project has a structure. It includes this: records are grouped into collections, everything is split into layers, the project has certain bundles, and it has an ontology. Lenses are not part of the structure: they are considered separately.

Shtukbase Basic

The standard package: installed with one command and gives an ordinary project — collections, a frame, layers, contours, lenses, an ontology, norms, tasks, decisions, questions to the owner and bugs. With it a project passes shtuk check with no failures from the start.

Together with them comes what they require: The lens kit style.

Install Basic into the project in the current folder
shtuk install basic

Start in a minute

You need macOS or Linux and Bun 1.3 or newer: package checks and actions are TypeScript, and Bun runs them.

Install the tool

The script downloads shtuk and the package registry of this site, verifies the checksums and puts the tool in ~/.local/bin. More, and the manual way.

curl -fsSL https://standard.shtukbase.com/install.sh | sh

Create a project

From Basic or from a blueprint, a starter set for your kind of project. The tool creates the folder and installs the packages.

shtuk init my-project --blueprint basic --defaults

Check it

This runs all checks of the installed packages. A new project passes them with no failures; after that the norms keep it in shape.

cd my-project && shtuk check

What works now, and what is in progress

Works

  • The core and 68 packages: see the catalog. 171 norms, 131 checks.
  • The shtuk tool 0.1.0: install, update, list, check, run, init. Bun, no dependencies.
  • Shtukbase Basic installs with one command and passes shtuk check. The standard's own project runs on it.
  • Lenses: HTML overviews of a project, no server. An action of the Lenses package.
  • The shtukbase-standard skill: an agent runs a project by the standard. More.

In progress

  • Blueprints: starter sets with questions. The first 6 are here; more will come.
  • The texts of the standard: the formula, the basis, the concepts. Still drafts.
  • Ready shtuk binaries that need no Bun. For now only a script for Bun.
  • A registry at an address, with no archive to download. For now install.sh puts the site's registry in a folder.
  • An open repository on GitHub. Closed for now: see the package sources on this site.
  • Shtukharness: an agent environment with norms built into the environment itself. In development.
  • The Shtukbase app is a separate product. shtukbase.com.