ShtukbaseStandard

包

标准包文件夹中的全部内容:74 个包,171 条规范。每个包都能用一条命令安装,命令就在各自的页面上。

核心

页面、包和动作,以及安装包的工具所遵循的规则

Shtukbase Basic

标准套件:一条命令即可安装,得到一个可用的常规项目
Shtukbase 基础包
basic · 0.1.2
标准包:一条命令即可安装,为普通项目提供集合、框架、层、流程轮廓、透镜视图、本体、规范、任务、决策、向负责人提出的问题以及缺陷。
Basic 套件包含 12
缺陷
bugs · 0.1.0
缺陷集合,附带流程轮廓,以及一页说明什么算作缺陷。
属于 Basic
集合
collections · 0.2.1
什么是集合:同一类型页面组成的文件夹,以及描述其字段的页面。一个页面上的字段种类,以及三条带检查的结构规范:关联字段须指向正确集合中的记录,值须来自列表,必填字段须已填写。
属于 Basic3 条规范3 项检查
流程轮廓
contours · 0.2.0
什么是流程轮廓:某一类记录的生命周期,包括状态、状态之间的转换以及转换的条件。它是项目所有流程轮廓的集合,并提供三条带检查的规范:状态属于其流程轮廓,流程轮廓是完整连接的,转换只能是允许的转换。
属于 Basic3 条规范3 项检查
决策
decisions · 0.2.0
一组带有流程轮廓的决策;检查已接受的决策是否记录了作者、日期和主题,以及决策是通过替换而非改写来变更的。
属于 Basic2 条规范2 项检查
项目框架
frame · 0.1.0
项目起步所需的内容:首页、“基础如何构建”页面,以及健康日志。基础结构中的其他页面由各自的包提供。
属于 Basic
层
layers · 0.2.0
项目的层是什么,由哪些部分组成;“各类内容的位置”图,以及带检查的规范“一类记录,一个地方”。
属于 Basic1 条规范1 项检查
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".
属于 Basic
规范
norms-core · 0.2.0
项目把规则、原则、默认项、信条和豁免保存在何处,它们的流程轮廓,以及规范本身格式的检查。
属于 Basic5 条规范5 项检查
通用本体
ontology · 0.2.1
项目的本体集中在一张图上:项目由哪些层组成,层之间如何链接,依据什么规则。本体页面、“基础结构”层的本体,以及两个本体透镜视图的构建。
属于 Basic
负责人的问题与任务
owner · 0.2.0
交给负责人的问题,以及由人(而非智能体)完成的任务,附带其流程轮廓;检查暂定决定是否已标注,并等待答复。
属于 Basic1 条规范1 项检查
任务
tasks · 0.2.0
方向、专项与智能体任务及其流程轮廓;什么算作任务;检查任务是否为产品带来收益、是否与专项相连,以及是否得到正确的关闭。
属于 Basic3 条规范3 项检查

蓝图

起步套件:创建项目时提出问题,并按回答安装合适的包
蓝图:内容工厂
blueprint-content-factory · 0.2.0
一个简单的内容工厂:主题、平台、想法与草稿;按计划运行的作者智能体从已批准的想法中写出草稿,编辑智能体依据平台风格进行检查,由人批准并发布。对外没有任何东西发出。
蓝图包含 12
蓝图:本地活动
blueprint-events · 0.2.0
某个地方的活动清单,按计划更新:收集智能体每天在给定的来源与网络上寻找活动,并将其放入“活动”集合(日期、时间、地点、链接、来源、类别,状态:new、interesting、going、past,即新的、有意思的、将参加、已过去);摘要智能体每周一次写出“本周有什么”。
蓝图包含 11
Blueprint: leads
blueprint-leads · 0.1.0
Пространство для малого бизнеса, где видно каждую заявку и дату следующего шага.
蓝图包含 4
蓝图:定时智能体
blueprint-scheduled-agent · 0.2.0
最简单的、带有智能体的项目:基础集、一个 harness 和一个计划。一个智能体每天早上把未完成任务的摘要写入 /notes/。起始问题:harness、时间、时区。
蓝图包含 11
蓝图:带技能的智能体
blueprint-skilled-agent · 0.2.0
带有技能的智能体:一组 Agent Skills 格式的技能(skills/<id>/SKILL.md:一条指令,以及何时应用它);智能体在任何 harness 上都把它们粘贴进提示词,Claude Code 的副本则放入 .claude/skills;两个示例技能,以及按计划或手动运行的自动化。
蓝图1 条规范1 项检查包含 11
蓝图:软件工厂
blueprint-software-factory · 0.2.0
用于代码仓库的软件工厂:任务、决定、缺陷;代码规范与标准;Claude Code 闸门;角色智能体(执行者、评审者、测试者)运行在一个 harness 上;每晚运行测试与检查,失败时发出警报;并定期评审新提交,仅出报告。
蓝图包含 26

智能体与自动化

智能体、动作、计划任务、运行日志、钩子和关卡
智能体
agents · 0.1.1
项目中的执行者:智能体定义(类别、运行时、模型、推理强度、限额),以及检查定义能否重复使用的检查。它是工厂包的基础:自动化、运行和告警。
1 条规范1 项检查
工厂告警
alarms · 0.1.1
工厂监视器触发的告警,附带流程轮廓(打开 → 关闭或误报):不重复创建和关闭告警的动作;检查告警是否说明了触发内容和结束方式,以及每个监视器是否只有一个未关闭的告警。
2 条规范2 项检查
动作与自动化
automations · 0.1.1
工厂能运行什么(动作:脚本、智能体或对记录的编辑),以及什么会自行运行(自动化:事件、反应和限额);检查动作是否有可执行的东西,以及自动化是否有事件、反应和限额。
2 条规范2 项检查
“done”闸门
gate · 0.1.1
智能体的修改若留下新的失败检查,则不得结束工作;会话开始时已存在的失败不算它的错。这是 Claude Code 在工作开始和结束时运行的钩子。
2 条规范
Repository hooks
hooks · 0.1.2
Connects Git and Claude Code to the repository dispatcher and runs package hooks on their events.
3 条规范1 项检查
人工批准
human-gate · 0.1.0
Claude Code 钩子上的闸门:智能体只有在批准记录中得到人的“是”之后,才会运行清单中的命令(发布、给人发消息、改写历史);只有人可以写入答复。
2 条规范
运行日志
runs · 0.1.1
工厂运行的日志,附流程轮廓:运行了什么,谁唤醒了它,开始与结束的时间,证明或理由;动作的开始与结束写入一条运行记录,检查则确认运行被完整记录且其结束有所说明。
2 条规范2 项检查
计划
schedule · 0.1.0
按计划(cron、every、at)运行的自动化:节拍(tick)依据运行日志找出到期的自动化,守住限额并执行其反应(经由 harness 的智能体,或一个动作);为所有者提供 crontab 行和 launchd plist;并检查计划能否在无人值守时运行。
1 条规范1 项检查
会话开始
taskstart · 0.1.1
会话开始时,智能体看到项目全貌:包、阻塞性规范、进行中的任务,以及面向所有者的未决问题。这是 Claude Code 的 SessionStart 钩子。
1 条规范

智能体运行环境

用同一种方式运行不同 CLI 的智能体
Harness(共用部分)
harness · 0.1.0
harness 的共享部分:智能体页面会变成一次智能体 CLI(Claude Code、Codex、OpenCode、DeepSeek Harness、Hermes)的运行,带有超时,在项目文件夹中执行,并记入运行日志;检查智能体能否无人值守地在 harness 上运行。
1 条规范1 项检查
Harness:Claude Code
harness-claude · 0.1.1
Claude Code 上的智能体:以 claude -p 无人值守运行,仅能在文件夹内使用文件工具,没有命令行,也没有网络;传感器检查 CLI 是否存在。
1 项检查
Harness:Codex
harness-codex · 0.1.1
Codex CLI 上的智能体:以 codex exec 无人值守运行,在项目文件夹中有操作系统沙箱,网络关闭,且不提问;传感器检查 CLI 是否存在。
1 项检查
Harness:DeepSeek Harness
harness-dsh · 0.1.0
DeepSeek Harness 上的智能体:以 dsh --profile headless 无人值守运行,在项目文件夹中有文件沙箱,模型由配置补丁设定;传感器检查 CLI 是否存在。
1 项检查
Harness:Hermes
harness-hermes · 0.1.0
Hermes Agent 上的智能体:以 hermes -z 无人值守运行,只有文件工具,没有终端,也没有网络;坦白地说,Hermes 无法限定在项目文件夹内,也无法做到“只读”;传感器检查 CLI 是否存在。
1 项检查
Harness:OpenCode
harness-opencode · 0.1.0
OpenCode 上的智能体(OpenCode Go 订阅):以 opencode run 无人值守运行,仅在项目文件夹中编辑文件,没有命令行,也没有网络;传感器检查 CLI 是否存在。
1 项检查

质量与测试

指标、风险、测试

设计

样式、设计令牌、组件、无障碍
符合 WCAG 2.2 AA 的无障碍
design-a11y · 0.1.0
依据 WCAG 公式,检查主题 CSS 变量中文字与背景组合的对比度;检查图片的 alt、表单字段的标签、按钮和链接的名称、标题顺序以及页面语言。颜色是否为唯一提示,以及键盘操作,则交由评审判断。
8 条规范6 项检查
设计检查的基础
design-base · 0.1.0
design-* 与 shadcn 包的共享库:检查哪些项目文件,CSS 解析,依据 WCAG 的颜色与对比度,HTML 和 TSX 标记。它自身没有规范。
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 条规范5 项检查
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 · 0.1.0
间距采用 4 像素的刻度,字号取自简短的刻度,圆角和阴影取自一组固定值,文本行长为 45–75 个字符。对 CSS、Tailwind 类名和 TSX 样式进行检查;由评审判断行长。
4 条规范3 项检查
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 条规范4 项检查
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 条规范3 项检查
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 条规范2 项检查
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.
随 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 条规范4 项检查

代码

如何编写和检查代码
代码:Ousterhout 的深模块
code-deep-modules · 0.1.0
Ousterhout 学派(《A Philosophy of Software Design》,2018):深模块、隐藏知识、不设直通层、从设计上消除错误、把复杂度下沉;两个启发式检查和四个评审。
6 条规范2 项检查
代码:纯核心,副作用在边缘
code-functional-core · 0.1.0
Gary Bernhardt("Functional Core, Imperative Shell",2012)与 Mark Seemann("impureim sandwich",2020)的学派:决定放在纯核心中,输入与输出放在精简的外壳中;对指定核心的三项启发式检查和两项评审。
5 条规范3 项检查
代码:共享库
code-lib · 0.1.0
代码规范包的共享部分:对 TypeScript/JavaScript、Python 和 Rust 进行粗略的、无依赖的解析,共享设置(读取哪些代码),以 observe 或 enforce 模式运行检查,以及供评审智能体使用的提示。
代码:务实程序员
code-pragmatic · 0.1.0
Hunt 与 Thomas 的学派(《The Pragmatic Programmer》,1999;2019 年版):DRY 即一份知识放在一个地方、正交性、不留破窗、示踪子弹(tracer bullets)、尽早崩溃;三项启发式检查以及评审。
5 条规范3 项检查
代码:Fowler 的坏味道
code-refactoring · 0.1.0
Martin Fowler 的学派(《Refactoring》,1999;第二版 2018):代码坏味道,包括过长函数、过大类、重复代码、过长参数列表、深层嵌套、特性依恋和霰弹式手术;六项启发式检查和两项评审。
8 条规范6 项检查
代码:Unix 哲学
code-unix · 0.1.0
Unix 哲学(McIlroy,1978;Raymond,《The Art of Unix Programming》,2003):一个程序只做一件事,以文本为接口,可组合,成功时保持沉默,失败时大声报错,策略与机制分离;两项启发式检查和三项评审。
5 条规范2 项检查

行业标准

把通用标准写成带检查的规范
标准:约定式提交
std-conventional-commits · 0.1.0
约定式提交 1.0.0:提交信息的形式为 "type(scope)!: description";三条规范,对最近若干提交或一个区间的检查,以及一个由所有者亲自安装的 commit-msg 钩子。
3 条规范3 项检查
标准:EditorConfig
std-editorconfig · 0.1.0
EditorConfig:项目有一个 root = true 的 .editorconfig,文件遵循它:行尾、末尾换行、行尾空白、编码;缩进与行长只作观察。
3 条规范3 项检查
标准:Keep a Changelog
std-keep-a-changelog · 0.1.0
Keep a Changelog 1.1.0:CHANGELOG.md 顶部为“未发布”(Unreleased)一节,日期采用 ISO 8601,版本按降序排列,变更分为六组;四条规范。
4 条规范4 项检查
标准:机密卫生(OWASP)
std-owasp-secrets · 0.1.0
依据 OWASP 的机密卫生(机密管理速查表,ASVS 4.0.3 V2.10.4):仓库文件中不含密钥或令牌,.env 不进入 git;发现的内容只包括文件、行和类型,不打印值本身。
4 条规范3 项检查
标准:SemVer
std-semver · 0.1.0
语义化版本 2.0.0:清单中的版本与发布标签有效,破坏性变更提升主版本号;三条规范,以及根据提交提示下一个版本。
3 条规范3 项检查
标准:十二要素应用
std-twelve-factor · 0.1.0
十二要素应用:依赖由锁文件声明并固定,配置在环境变量中,日志输出到标准输出;无法在文件中看到的部分,交由评审者检查其余要素。
4 条规范3 项检查

其他

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 · 0.1.0
内容工厂的集合:主题、平台、构想和草稿;流程轮廓“构想 → 草稿 → 审阅中 → 已批准 → 已发布”;规范:只有人批准并发布,草稿以已批准的构想和平台为基础,文本保持平台风格。
3 条规范3 项检查
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 条规范4 项检查
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 · 0.1.0
一个小型 Bun 服务器,使项目中的 HTML 可交互:透镜视图和你自己的页面可读取并修改记录(字段、正文、沿流程轮廓的阶段),创建记录,运行允许的动作,并自动更新。仅限本机使用;写入需要会话令牌。
3 条规范3 项检查
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 条规范1 项检查
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 条规范4 项检查
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 条规范3 项检查
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 条规范3 项检查
文本界面
tui · 0.1.0
项目在终端中的样子:侧栏、页面、集合、看板,以及节点屏幕(流程轮廓、规范、运行),通过 `shtukbase tui` 打开。可以不经终端截取一个屏幕(供智能体与检查使用),还有一个传感器:二进制文件是否存在,项目是否可读,以及侧栏尚未显示的内容。
1 项检查