Skill for agents
The shtukbase-standard skill: how an agent installs Basic, updates packages and runs checks.
On this site packages install from its registry: shtuk install <id> after install.sh. The commands below with a GitHub address work only with access to the Shtukbase repository, which is closed for now.
The standard is packages. The core: page, package, running an action. Everything else is packages in
apps/standard/packages/<id>/ of the Shtukbase repository. The standard set is basic (the core and twelve packages:
collections, frame, layers, contours, lenses, ontology, norms, tasks, decisions, owner, bugs).
The package and lock format is the page base/package-format.md; the core package installs it.
The shtuk tool (apps/shtuk/, Bun, no dependencies) installs and checks packages. There are no other tools:
the old Python flow (scripts/std, the registry, tools/checks) is in apps/standard/archive/; do not call it.
Commands
shtuk install https://github.com/Shtukbase/shtukbase.git#main:apps/standard/packages/basic --dir <project>
shtuk install <package-folder> --dir <project> [--dry-run]
shtuk update [<id>] --dir <project> [--dry-run]
shtuk list --dir <project>
shtuk check --dir <project>
shtuk run --dir <project> <package> <action>
shtuk init <folder> --blueprint <package>
In a working copy of the repository, shtuk is bun apps/shtuk/src/cli.ts. The main way is to install from git.
How the work goes
- New project.
shtuk install …/basic --dir <folder>, thenshtuk check: 0 failures. Need another package? Install it the same way.shtuk init --blueprintpicks packages by the facts of the project. - The project already exists (brownfield). Start with
--dry-run: it shows which pages will be laid and which already exist. The order and the usual mismatches are inreferences/brownfield.md. - Update.
shtuk update --dry-run, thenshtuk update, thenshtuk check. The tool does not overwrite a page that was edited in the project: the page stays as it is and is markededited. - Check.
shtuk checkruns all checks of the installed packages. A failure is a finding, not a reason to turn the check off: fix the record, the project schema or (if the package was wrong) the package, and raise its version. - Lenses. Actions of the
lensespackage:shtuk run --dir <project> lenses buildbuilds the lenses of the project.
References
| File | When |
|---|---|
references/brownfield.md | you install Basic into a project that already has pages |
references/boundary.md | the question is what this skill does and what shtukbase-operate does |
What not to do
- Do not edit
.shtukbase/packages.lockby hand, except for theremovedstate. - Do not create a second collection for a kind that is already in the placement map
/base/ontology/placement.md. - Anything outward (to a client, to publication) only after the owner's explicit "yes".
skills/shtukbase-standard/SKILL.md.