ShtukbaseStandard

Packages

Everything in the packages folder of the standard: 74 packages, 171 norms. One command installs a package; you will find it on the page of each package.

Core

page, package and action, and the rules of the tool that installs packages

Shtukbase Basic

the standard set: one command installs it and gives you an ordinary project
Shtukbase Basic
basic · 0.1.2
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.
Basic setincludes 12
Bugs
bugs · 0.1.0
A collection of bugs with a contour and a page on what counts as a bug.
in Basic
Collections
collections · 0.2.1
What a collection is: a folder of pages of one type and a page describing their fields. The kinds of fields on one page and three schema norms with checks: a relation points to a record of the right collection, a value is from the list, a required field is filled.
in Basic3 norms3 checks
Contours
contours · 0.2.0
What a contour is: the life cycle of one kind of record: states, the moves between them and the conditions of the moves. A collection of all contours of the project and three norms with checks: a state is from the contour, a contour is connected as a whole, a move is only an allowed one.
in Basic3 norms3 checks
Decisions
decisions · 0.2.0
A collection of decisions with a contour; checks that an accepted decision is recorded with an author, a date and a subject, and that decisions are changed by replacement, not by rewriting.
in Basic2 norms2 checks
Project frame
frame · 0.1.0
What a project starts with: the home page, the page "How the base is built" and the health log. The other pages of the base's structure are brought by their own packages.
in Basic
Layers
layers · 0.2.0
What a project layer is and what it consists of, the "Where things lie" map and the norm "one kind of record, one place" with a check.
in Basic1 norm1 check
Lenses
lenses · 0.3.11
What a lens is — HTML built from the markdown of a base — and which templates exist. The lens kit lies in the package; the style and the skins ("Kit", "Draft") are in the package kit-style. Actions to build, check and show lenses; the service lenses "Project packages" and "Project checks".
in Basic
Norms
norms-core · 0.2.0
Where a project keeps its rules, principles, defaults, tenets and waivers, their contours, and checks for the form of the norms themselves.
in Basic5 norms5 checks
Common ontology
ontology · 0.2.1
A project's ontology on one map: what layers it consists of, how the layers are linked and by what laws. The ontology page, the ontology of the "Base structure" layer and the build of two ontology lenses.
in Basic
Owner questions and tasks
owner · 0.2.0
Questions to the owner and tasks done by a person, not an agent, with their contours; a check that a provisional decision is marked and waits for an answer.
in Basic1 norm1 check
Tasks
tasks · 0.2.0
Directions, initiatives and agent tasks with their contours; what counts as a task; checks that a task brings benefit to the product, is tied to an initiative and is closed properly.
in Basic3 norms3 checks

Blueprints

starter sets: questions when a project is created, and packages that fit the answers
Blueprint: content factory
blueprint-content-factory · 0.2.0
A simple content factory: topics, platforms, ideas and drafts; an author agent on a schedule writes a draft from an approved idea, an editor agent checks it against the platform style, and a person approves and publishes it. Nothing goes outside.
blueprintincludes 12
Blueprint: local events
blueprint-events · 0.2.0
A listing of events for a place, on a schedule: a collector agent looks for events every day in the given sources and on the web and puts them into the Events collection (date, time, place, link, source, category, status new - interesting - going - past); a digest agent writes "what is on this week" once a week.
blueprintincludes 11
Blueprint: leads
blueprint-leads · 0.1.0
Пространство для малого бизнеса, где видно каждую заявку и дату следующего шага.
blueprintincludes 4
Blueprint: scheduled agent
blueprint-scheduled-agent · 0.2.0
The simplest project with an agent: Basic, a harness and a schedule. One agent writes a digest of open tasks to /notes/ every morning. Start questions: harness, time, time zone.
blueprintincludes 11
Blueprint: agent with skills
blueprint-skilled-agent · 0.2.0
An agent with skills: a collection of skills in the Agent Skills format (skills/<id>/SKILL.md: an instruction and when to apply it); the agent gets them pasted into its prompt on any harness, and a copy for Claude Code goes to .claude/skills; two example skills and an automation on a schedule or by hand.
blueprint1 norm1 checkincludes 11
Blueprint: software factory
blueprint-software-factory · 0.2.0
A software factory for a code repository: tasks, decisions, bugs; code norms and standards; Claude Code gates; role agents (executor, reviewer, tester) on a harness; a nightly run of tests and checks with an alarm on failure, and a scheduled review of new commits, report only.
blueprintincludes 26

Agents and automations

agents, actions, schedule, run log, hooks and gates
Agents
agents · 0.1.1
Who works in the project: agent definitions (kind, runtime, model, effort, limits) and a check that a definition can be repeated. The base of the factory packages: automations, runs, alarms.
1 norm1 check
Factory alarms
alarms · 0.1.1
Alarms raised by the factory watchers, with a contour (open → closed or false): raise and close actions without duplicates, checks that an alarm says what fired and how it ended, and that a watcher has one open alarm.
2 norms2 checks
Actions and automations
automations · 0.1.1
What the factory can run (actions: a script, an agent, an edit of a record) and what runs by itself (automations: an event, a reaction, limits); checks that an action has something to run it and that an automation has an event, a reaction and a limit.
2 norms2 checks
The "done" gate
gate · 0.1.1
An agent does not finish work while its edits leave new red checks; red at the start of a session is not its fault. Claude Code hooks for the start and the end of work.
2 norms
Repository hooks
hooks · 0.1.2
Connects Git and Claude Code to the repository dispatcher and runs package hooks on their events.
3 norms1 check
Human approves
human-gate · 0.1.0
A gate on Claude Code hooks: an agent runs a command from the list (publishing, messages to people, history rewriting) only after a person's "yes" in an approval record; only a person writes the answer.
2 norms
Run log
runs · 0.1.1
A log of factory runs with a contour: what was run, who woke it, the start and the end, the proof or the reason; the actions start and finish write a run, the checks verify that a run is recorded whole and its end is explained.
2 norms2 checks
Schedule
schedule · 0.1.0
Automations on a schedule (cron, every, at): a tick finds who is due by the run log, holds the limits and runs the reaction, an agent through a harness or an action; a crontab line and a launchd plist for the owner; a check that the schedule can run without a person.
1 norm1 check
Session start
taskstart · 0.1.1
At the start of a session the agent sees the project: packages, blocking norms, tasks in progress and open questions to the owner. A Claude Code SessionStart hook.
1 norm

Harnesses

one way to run agents of different CLIs

Quality and tests

metrics, risks, testing

Design

styles, tokens, components, accessibility
Accessibility to WCAG 2.2 AA
design-a11y · 0.1.0
Contrast of text/background pairs from the theme's CSS variables by the WCAG formula, alt on images, field labels, button names, heading order, lang on the page; color as the only signal and the keyboard are left to a judge.
8 norms6 checks
Base of the design checks
design-base · 0.1.0
The shared library of the design-* and shadcn packages: which project files to look at, CSS parsing, colors and contrast by WCAG, HTML and TSX markup. It has no norms of its own.
Design components
design-components · 0.1.6
The component collection of a design: headers in component files become pages, a data file for lenses, a Custom Elements Manifest and Storybook stories; checks that the pages are fresh, uses exist, a level uses only levels below, and component CSS has tokens only.
5 norms5 checks
Design lenses
design-lenses · 0.2.3
Two lenses for the project's design, on the lens shell: the style specimen (a calm document of every token of the chosen style by group, in the page's theme, its pictures and pages) and the component catalog (the chosen one on the stage; the components by level, its States and its Settings in the right panel; links to the source and the page). They read any style and any library that keep the token contract.
Design scales
design-scales · 0.1.0
Spacing on a 4 px scale, font sizes from a short scale, radii and shadows from a set, line length of 45–75 characters. Checks on CSS, Tailwind classes and TSX styles; a judge looks at line length.
4 norms3 checks
Design tokens (W3C DTCG)
design-tokens · 0.2.2
Design tokens in the W3C Design Tokens Community Group format: validation, a build into CSS variables (light and dark schemes), and the token contract v1 (shadcn theme names + Tailwind v4 namespaces) with a check that a style meets it.
4 norms4 checks
The keer-style style
keer-style · 0.1.2
A graphite-and-champagne style taken from an earlier product: tokens in one CSS file, elements in plain CSS, showcases and three norms: color, corner radius and shadow only from tokens.
3 norms3 checks
The keer-ui component library
keer-ui · 0.1.1
56 React + Tailwind components from an earlier product in the keer-style style; the code is placed in the project, as with shadcn, and the project sets the folder itself.
2 norms2 checks
The lens kit style
kit-style · 0.4.0
The Shtukbase lens kit style as connectable CSS for any HTML pages of a project: classes (header, chips, cards, text, board) and skins, Calm (the quiet look of the package map, the default for pages), Kit, Draft (an earlier product's style) and Shtukbase (the names of the token contract, so a lens wears the chosen style), each in a light and a dark theme; page.js, the style and theme switch for any page, shared with the lenses; plus a showcase. The lenses package builds its own style from it.
comes with Basic
shadcn/ui
shadcn · 0.1.1
The shadcn/ui approach: 29 components on Radix and Tailwind are placed in the project and belong to it, a theme on CSS variables in a light and a dark scheme, cn(), components.json. Norms: components in one folder, colors only from the theme, a complete theme, a valid config.
4 norms4 checks

Code

how to write and check code
Code: deep modules after Ousterhout
code-deep-modules · 0.1.0
The school of John Ousterhout ("A Philosophy of Software Design", 2018): deep modules, hidden knowledge, no pass-through layers, errors designed out, complexity pushed down; two heuristics and four judges.
6 norms2 checks
Code: a pure core, effects at the edges
code-functional-core · 0.1.0
The school of Gary Bernhardt ("Functional Core, Imperative Shell", 2012) and Mark Seemann ("impureim sandwich", 2020): decisions live in a pure core, input and output in a thin shell; three heuristics over the named core and two judges.
5 norms3 checks
Code: shared library
code-lib · 0.1.0
The shared part of the code-norm packages: a rough dependency-free parse of TypeScript/JavaScript, Python and Rust, shared settings (which code to read), running checks in observe or enforce mode, and a prompt for a reviewing agent.
Code: the pragmatic programmer
code-pragmatic · 0.1.0
The school of Hunt and Thomas ("The Pragmatic Programmer", 1999; ed. 2019): DRY as one piece of knowledge in one place, orthogonality, no broken windows, tracer bullets, crash early; three heuristics and judges.
5 norms3 checks
Code: smells after Fowler
code-refactoring · 0.1.0
The school of Martin Fowler ("Refactoring", 1999; 2nd ed. 2018): code smells: long function, large class, duplicates, long parameter list, deep nesting, feature envy, shotgun surgery; six heuristics and two judges.
8 norms6 checks
Code: the Unix philosophy
code-unix · 0.1.0
The Unix philosophy (McIlroy, 1978; Raymond, "The Art of Unix Programming", 2003): one program, one job, text as the interface, composition, silence on success, loud failure, policy apart from mechanism; two heuristics and three judges.
5 norms2 checks

Industry standards

common standards as norms with checks
Standard: Conventional Commits
std-conventional-commits · 0.1.0
Conventional Commits 1.0.0: commit messages in the form "type(scope)!: description"; three norms, a check of the last commits or a range, and a commit-msg hook that the owner installs themselves.
3 norms3 checks
Standard: EditorConfig
std-editorconfig · 0.1.0
EditorConfig: the project has an .editorconfig with root = true, and files follow it: line endings, a final newline, trailing whitespace, encoding; indentation and line length are observed.
3 norms3 checks
Standard: Keep a Changelog
std-keep-a-changelog · 0.1.0
Keep a Changelog 1.1.0: a CHANGELOG.md with an Unreleased section on top, ISO 8601 dates, versions in descending order and six groups of changes; four norms.
4 norms4 checks
Standard: secrets hygiene (OWASP)
std-owasp-secrets · 0.1.0
Secrets hygiene by OWASP (Secrets Management Cheat Sheet, ASVS 4.0.3 V2.10.4): no keys or tokens in repository files, .env does not get into git; a finding is only the file, the line and the kind, the value is not printed.
4 norms3 checks
Standard: SemVer
std-semver · 0.1.0
Semantic Versioning 2.0.0: versions in manifests and release tags are valid, a breaking change raises the major; three norms and a hint for the next version from commits.
3 norms3 checks
Standard: The Twelve-Factor App
std-twelve-factor · 0.1.0
The Twelve-Factor App: dependencies declared and pinned by a lock file, config in the environment, logs to stdout; what cannot be seen in files is left to a judge for the other factors.
4 norms3 checks

Other

Chat
chat · 0.1.0
A chat with an agent that knows Shtukbase and works on the space with the same tools as MCP.
Content
content · 0.1.0
The collections of a content factory: topics, platforms, ideas and drafts; the contour "idea → draft → in review → approved → published"; norms: only a person approves and publishes, a draft rests on an approved idea and a platform, the text keeps the platform style.
3 norms3 checks
Explore kit
explore-kit · 0.1.2
The control panel for exploration pages and lenses: a right side panel with foldable sections, presets, every control kind of the design control schema (select, segment, toggle, slider, colour dots, text), state kept in localStorage and the URL, reset and copy link. Plain JS and CSS on the token contract; the lens build copies it next to the lenses.
Page icons
icons · 0.2.2
Icons for pages, as in Notion and further: an emoji, an icon from a shared set or an SVG an agent draws for the page. Tiers say which pages get which, so 20 000 service pages never get bespoke art; norms with checks, a prompt for the agent, validate and sanitize for SVG. Style-agnostic: a style plugs in with an IconStyle page; an icon set follows the convention icon-set (a registry, flat drawings, no plate), and the icon lens shows every set in every style.
4 norms4 checks
The basic layout
layout-basic · 0.1.0
The app shell of a space in the browser: a top bar with the space name and a light/dark switch, a sidebar with the space tree, the lens area with lens tabs for a collection, and an empty right panel. Lenses run in sandboxed frames and talk to the shell through lens.js (window.shtuk). The shell loads once; a lens is swapped in only after it has drawn.
Minimal lens layout
layout-minimal · 0.1.1
A lens frame with content-height sheets, folded corner buttons and search in the sidebar head.
The studio layout
layout-studio · 0.1.0
A richer app shell of a space: pages open as tabs, the main area splits in two, and a resizable right panel holds lenses that packages contribute to the panel slot. Lenses are the same as in layout-basic and link its lens.js.
Record lenses
lenses-records · 0.1.0
Table and board views for collections and a reading view for records.
Live server
live · 0.1.0
A small Bun server that makes a project's HTML interactive: lenses and your own pages read and change records (fields, text, phases along a contour), create records, run allowed actions and update themselves. Only on this computer, writing needs a session token.
3 norms3 checks
LLM provider
llm-provider · 0.1.0
Settings for an OpenAI-compatible model provider and a tiny streaming client (llm.js) that lenses use.
Shtukbase icons
shtukbase-icons · 0.1.1
The Shtukbase icon set: 131 flat drawings (the package icons of the package map and common interface icons) with one registry of what each means, style 79 (sticker, soft coloured outline) as the base IconStyle with its half-sticker variant and nine reserves, a build that renders the set into the shared set folder and as Iconify JSON, rules for agents to reuse before drawing, and a check that a drawing keeps the style.
1 norm1 check
The Shtukbase style
shtukbase-style · 0.1.2
The Shtukbase identity as a style package: raspberry on white paper, a 12-hue palette, Outfit and Onest, the Viewfinder mark, even edges. Tokens in DTCG filling the shadcn theme names, built CSS, fonts, group backgrounds, the mark and wordmark, and six norms.
6 norms4 checks
The shtukbase-ui-html component library
shtukbase-ui-html · 0.3.4
The Shtukbase components in plain HTML and CSS: the shadcn set and our composites (record card, property row, details card, empty state, tree item, toolbar, search field, status dot, settings group), the package card with its presets, areas, the package grid and the settings bar; every state and data state, long text never overflows; CSS on the token contract only, so any style fits.
3 norms3 checks
The Shtukbase React component library
shtukbase-ui-react · 0.3.3
The same components as shtukbase-ui-html in React: the shadcn primitives with our classes and the Shtukbase composites; the code is placed in the project, as with shadcn, and draws with the CSS of the HTML library on the tokens of the chosen style.
3 norms3 checks
Text interface
tui · 0.1.0
The project in a terminal: a sidebar, pages, collections, boards and node screens (contours, rules, runs) through `shtukbase tui`. Open it, capture one screen without a terminal (for agents and checks), and a sensor: the binary exists, the project is readable, what the TUI does not show yet.
1 check