auriga-cli 1.30.2 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -13
- package/README.zh-CN.md +17 -13
- package/dist/catalog.json +2 -2
- package/dist/cli.js +1 -1
- package/dist/guide.d.ts +1 -1
- package/dist/guide.js +9 -7
- package/dist/help.js +2 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -6,6 +6,12 @@ A modular Claude Code harness — install only the parts you need.
|
|
|
6
6
|
|
|
7
7
|
This repo itself is a fully configured harness project. You can clone it to see the full setup, or use the CLI to install individual modules into your own project.
|
|
8
8
|
|
|
9
|
+
Auriga's harness design is inspired by several open-source skill and agent-workflow projects:
|
|
10
|
+
|
|
11
|
+
- [obra/superpowers skills](https://github.com/obra/superpowers/tree/main/skills)
|
|
12
|
+
- [addyosmani/agent-skills](https://github.com/addyosmani/agent-skills)
|
|
13
|
+
- [mattpocock/skills](https://github.com/mattpocock/skills/tree/main)
|
|
14
|
+
|
|
9
15
|
## What's Included
|
|
10
16
|
|
|
11
17
|
| Module | Description |
|
|
@@ -17,23 +23,21 @@ This repo itself is a fully configured harness project. You can clone it to see
|
|
|
17
23
|
|
|
18
24
|
## Quick Start
|
|
19
25
|
|
|
20
|
-
###
|
|
21
|
-
|
|
22
|
-
The easiest path is to let your current Agent read the install guide and follow it:
|
|
23
|
-
|
|
24
|
-
> Run `npx -y auriga-cli guide`, read the guide, then install the Auriga harness into this repository by following the steps it prints.
|
|
26
|
+
### Install
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
There are two recommended ways to install:
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Running inside `claude -p`, `claude -p --worktree`, or any non-interactive Agent session? Start here:
|
|
30
|
+
1. Run the installer yourself:
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
npx -y auriga-cli
|
|
33
|
+
npx -y auriga-cli
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
2. In an interactive Agent session, ask the Agent:
|
|
37
|
+
|
|
38
|
+
> Run `npx -y auriga-cli guide`, read the guide, then install the Auriga harness into this repository by following the steps it prints.
|
|
39
|
+
|
|
40
|
+
The guide command is intentionally non-interactive so an Agent can read the prerequisite checks, catalog inspection commands, install commands, reload step, and verification checklist in one place.
|
|
37
41
|
|
|
38
42
|
The leading `-y` belongs to `npx` (it auto-confirms package installation), **not** to `auriga-cli`.
|
|
39
43
|
|
|
@@ -52,7 +56,7 @@ npx -y auriga-cli --help # full catalog + flags
|
|
|
52
56
|
|
|
53
57
|
`--preset` is atomic — it cannot be combined with a `<type>` or any filter flag, but it accepts `--scope`, `--agent`, and `--lang` (preset defaults: `user` / `both` / `zh-CN`, which differ from the per-category defaults).
|
|
54
58
|
|
|
55
|
-
Exit codes: `0` success, `1` fatal (precheck / parse / fetch), `2` partial success — `stderr` lists per-category `[OK]/[FAIL]` and a `Retry:` hint. After install, reload the
|
|
59
|
+
Exit codes: `0` success, `1` fatal (precheck / parse / fetch), `2` partial success — `stderr` lists per-category `[OK]/[FAIL]` and a `Retry:` hint. After install, reload the Agent session so the new `AGENTS.md` / skills / plugins / hook-plugin registrations are picked up.
|
|
56
60
|
|
|
57
61
|
### Web UI (opt-in)
|
|
58
62
|
|
|
@@ -136,7 +140,7 @@ npx -y auriga-cli install plugins --agent codex --plugin session-instructions-lo
|
|
|
136
140
|
| claude-md-management | Claude Code / Codex | Audit and improve AGENTS.md / CLAUDE.md |
|
|
137
141
|
| playground | Claude Code / Codex | Build interactive HTML playgrounds |
|
|
138
142
|
| codex | Claude Code | Codex cross-model collaboration |
|
|
139
|
-
| auriga-workflow | Claude Code / Codex | The auriga workflow plugin — workflow skills plus the git lifecycle hooks that enforce them. Skills: `incremental-impl`, `test-designer`, `spec-design`, `arch-design`, `code-simplify`, `session-compound`, `goalify` (
|
|
143
|
+
| auriga-workflow | Claude Code / Codex | The auriga workflow plugin — workflow skills plus the git lifecycle hooks that enforce them. Skills: `incremental-impl`, `test-designer`, `spec-design`, `arch-design`, `code-simplify`, `session-compound`, `goalify` (turns a clarified objective into structured `/goal` text and starts it directly when the runtime supports that), `deep-review` (multi-dimensional PR review orchestrator — parallel per-dimension reviewers synthesized into an actionable punch list), `reviewer-creator` (scaffolds project-level custom reviewers under `docs/rules/review/` at the git repo root), `git-workflow` (git lifecycle skill), and `documentation-and-adrs` (architecture decision records and project documentation discipline — ADRs archived under `docs/architecture/`). Hooks: `commit-reminder` (PostToolUse on file edits — `Edit` / `Write` / `MultiEdit` in Claude Code, `apply_patch` in Codex — nudges to commit at the next semantic boundary when uncommitted diff vs `HEAD` exceeds 200 lines or 8 files), `pr-create-guard` (PostToolUse on `gh pr create` → injects a PR-body snapshot for five-element self-verification and flags non-Conventional-Commits titles), `pr-ready-guard` (PreToolUse on `gh pr ready` and non-draft `gh pr create` → blocks on stray planning docs, unfinalized active specs under `docs/specs/`, or unpushed commits), and `pr-merge-guard` (PreToolUse on `gh pr merge` → blocks while the PR body's Acceptance criteria or Test plan section still has unchecked checklist items). The two PostToolUse hooks reach full Claude Code / Codex parity; Codex currently fails open on `pr-ready-guard`'s PreToolUse `additionalContext` informational path (block path identical). Installed by default through the plugin path. |
|
|
140
144
|
| auriga-notify *(opt-in)* | Claude Code | macOS native notification plugin for Claude Code `Notification` events. Focus-aware sound-only mode, click-to-activate, per-project notification grouping, and migrated `config.json` / `icon.png` support. Not installed by `install --all`; install explicitly with `install plugins --plugin auriga-notify`. |
|
|
141
145
|
| session-instructions-loader | Codex | Codex-only SessionStart plugin that injects ancestor `AGENTS.md` files plus repo-configured extra instruction files. |
|
|
142
146
|
|
package/README.zh-CN.md
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
这个仓库本身就是一个完整配置好的 harness 项目。可以直接 clone 查看完整配置,也可以用 CLI 把各模块安装到你自己的项目中。
|
|
8
8
|
|
|
9
|
+
Auriga 的 harness 设计受以下几个开源 skill 与 Agent 工作流项目启发:
|
|
10
|
+
|
|
11
|
+
- [obra/superpowers skills](https://github.com/obra/superpowers/tree/main/skills)
|
|
12
|
+
- [addyosmani/agent-skills](https://github.com/addyosmani/agent-skills)
|
|
13
|
+
- [mattpocock/skills](https://github.com/mattpocock/skills/tree/main)
|
|
14
|
+
|
|
9
15
|
## 包含什么
|
|
10
16
|
|
|
11
17
|
| 模块 | 说明 |
|
|
@@ -17,23 +23,21 @@
|
|
|
17
23
|
|
|
18
24
|
## 快速开始
|
|
19
25
|
|
|
20
|
-
###
|
|
21
|
-
|
|
22
|
-
最简单的方式是让当前 Agent 先读取安装指南,再按指南执行:
|
|
23
|
-
|
|
24
|
-
> 运行 `npx -y auriga-cli guide`,阅读指南,然后按输出步骤把 Auriga harness 安装到当前仓库。
|
|
26
|
+
### 安装
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
推荐安装方式有两种:
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
在 `claude -p`、`claude -p --worktree` 或任何非交互 Agent 会话里想装整套 harness?从这里开始:
|
|
30
|
+
1. 用户自己在命令行运行安装器:
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
npx -y auriga-cli
|
|
33
|
+
npx -y auriga-cli
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
2. 在交互式 Agent 会话里输入提示词:
|
|
37
|
+
|
|
38
|
+
> 运行 `npx -y auriga-cli guide`,阅读指南,然后按输出步骤把 Auriga harness 安装到当前仓库。
|
|
39
|
+
|
|
40
|
+
`guide` 命令是非交互式的,方便 Agent 一次性读取前置检查、catalog 查看命令、安装命令、重启会话步骤和验证清单。
|
|
37
41
|
|
|
38
42
|
开头的 `-y` 是 **npx 自己的 flag**(用来跳过"是否要装这个包"的确认),**不是** auriga-cli 的参数。
|
|
39
43
|
|
|
@@ -52,7 +56,7 @@ npx -y auriga-cli --help # 完整 catalog + flag 说明
|
|
|
52
56
|
|
|
53
57
|
`--preset` 是原子标志 —— 不能与 `<type>` 或任何过滤标志同时使用,但可带 `--scope`、`--agent`、`--lang`(预设默认 `user` / `both` / `zh-CN`,与分类安装的默认不同)。
|
|
54
58
|
|
|
55
|
-
退出码:`0` 成功;`1` 致命错误(前置检查 / 解析 / 拉取失败);`2` 部分成功——`stderr` 会列出逐类 `[OK]/[FAIL]` 和 `Retry:` 提示。装完后请重启
|
|
59
|
+
退出码:`0` 成功;`1` 致命错误(前置检查 / 解析 / 拉取失败);`2` 部分成功——`stderr` 会列出逐类 `[OK]/[FAIL]` 和 `Retry:` 提示。装完后请重启 Agent 会话,让新的 `AGENTS.md` / skills / plugins / hook 插件注册生效。
|
|
56
60
|
|
|
57
61
|
### Web UI(可选)
|
|
58
62
|
|
|
@@ -136,7 +140,7 @@ npx -y auriga-cli install plugins --agent codex --plugin session-instructions-lo
|
|
|
136
140
|
| claude-md-management | Claude Code / Codex | 审计和改进 AGENTS.md / CLAUDE.md |
|
|
137
141
|
| playground | Claude Code / Codex | 构建交互式 HTML playground |
|
|
138
142
|
| codex | Claude Code | Codex 跨模型协作 |
|
|
139
|
-
| auriga-workflow | Claude Code / Codex | auriga 工作流插件 —— 工作流 skill 加上强制执行工作流的 git 生命周期 hook。Skills:`incremental-impl`、`test-designer`、`spec-design`、`arch-design`、`code-simplify`、`session-compound`、`goalify
|
|
143
|
+
| auriga-workflow | Claude Code / Codex | auriga 工作流插件 —— 工作流 skill 加上强制执行工作流的 git 生命周期 hook。Skills:`incremental-impl`、`test-designer`、`spec-design`、`arch-design`、`code-simplify`、`session-compound`、`goalify`(把已明确目标整理成结构化 `/goal` 文本,并在运行环境支持时直接启动)、`deep-review`(多维度 PR review 编排器——并行派发各维度 reviewer,汇总成可执行的 punch list)、`reviewer-creator`(在仓库根的 `docs/rules/review/` 下生成项目级自定义 reviewer)、`git-workflow`(git 生命周期 skill)、`documentation-and-adrs`(架构决策记录与项目文档规范,ADR 归档到 `docs/architecture/`)。Hooks:`commit-reminder`(文件编辑的 PostToolUse —— Claude Code 匹配 `Edit` / `Write` / `MultiEdit`,Codex 匹配 `apply_patch` —— 未提交 diff 对比 `HEAD` 超过 200 行或 8 个文件时,提醒在下一个语义边界 commit)、`pr-create-guard`(`gh pr create` 的 PostToolUse —— 注入 PR body 快照供五要素自检,并对不符合 Conventional Commits 的标题提示)、`pr-ready-guard`(`gh pr ready` 与非 draft `gh pr create` 的 PreToolUse —— 拦截游离规划文档、`docs/specs/` 内未结案的活跃 spec、未 push commits)、`pr-merge-guard`(`gh pr merge` 的 PreToolUse —— PR body 的验收标准或测试计划章节仍有未勾选清单项时拦截合并)。两个 PostToolUse hook 在 Claude Code / Codex 上完全对齐;Codex 仅对 `pr-ready-guard` 的 PreToolUse `additionalContext` 信息路径 fail-open(block 路径两边一致)。默认通过插件路径安装。 |
|
|
140
144
|
| auriga-notify *(opt-in)* | Claude Code | Claude Code `Notification` 事件的 macOS 原生通知插件。支持焦点感知仅提示音、点击唤起终端、按项目分组通知,并迁移旧 `config.json` / `icon.png`。不随 `install --all` 默认安装,需要显式执行 `install plugins --plugin auriga-notify`。 |
|
|
141
145
|
| session-instructions-loader | Codex | Codex-only SessionStart 插件,注入上层目录的 `AGENTS.md` 和仓库配置的额外 instruction 文件。 |
|
|
142
146
|
|
package/dist/catalog.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-
|
|
2
|
+
"generatedAt": "2026-06-10T18:03:54.558Z",
|
|
3
3
|
"workflowSkills": [
|
|
4
4
|
{
|
|
5
5
|
"name": "planning-with-files",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"name": "session-instructions-loader",
|
|
103
|
-
"description": "(Codex) Injects extra
|
|
103
|
+
"description": "(Codex) Injects extra instructions on startup, resume, clear, and compact",
|
|
104
104
|
"agents": [
|
|
105
105
|
"codex"
|
|
106
106
|
]
|
package/dist/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import { loadCatalog } from "./catalog.js";
|
|
|
11
11
|
import { renderHelp, renderTypeHelp } from "./help.js";
|
|
12
12
|
import { renderGuide } from "./guide.js";
|
|
13
13
|
import { CATEGORY_NAMES } from "./types.js";
|
|
14
|
-
const RELOAD_REMINDER = "\n⚠ Reload your
|
|
14
|
+
const RELOAD_REMINDER = "\n⚠ Reload your Agent session to pick up the new harness (AGENTS.md / skills / plugins are loaded at session startup).\n";
|
|
15
15
|
const CATEGORY_SET = new Set(CATEGORY_NAMES);
|
|
16
16
|
const TYPE_FOR_FILTER = {
|
|
17
17
|
"--skill": "skills",
|
package/dist/guide.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export interface GuideOpts {
|
|
|
3
3
|
version: string;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
|
-
* Renders the Agent
|
|
6
|
+
* Renders the interactive Agent install guide. Plain-text when
|
|
7
7
|
* `color: false`; adds ANSI escapes for headings / command examples
|
|
8
8
|
* / warnings when `color: true`. Color detection happens at the call
|
|
9
9
|
* site (`process.stdout.isTTY && !process.env.NO_COLOR`); this
|
package/dist/guide.js
CHANGED
|
@@ -7,7 +7,7 @@ function c(color, code, text) {
|
|
|
7
7
|
return color ? `${code}${text}${RESET}` : text;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Renders the Agent
|
|
10
|
+
* Renders the interactive Agent install guide. Plain-text when
|
|
11
11
|
* `color: false`; adds ANSI escapes for headings / command examples
|
|
12
12
|
* / warnings when `color: true`. Color detection happens at the call
|
|
13
13
|
* site (`process.stdout.isTTY && !process.env.NO_COLOR`); this
|
|
@@ -19,9 +19,12 @@ export function renderGuide(opts) {
|
|
|
19
19
|
const warn = (s) => c(opts.color, YELLOW, s);
|
|
20
20
|
return `${h(`# auriga-cli bootstrap SOP (v${opts.version})`)}
|
|
21
21
|
|
|
22
|
-
This guide
|
|
22
|
+
This guide helps an interactive Agent install the auriga harness
|
|
23
23
|
(AGENTS.md + skills + plugins) into the current repository.
|
|
24
24
|
|
|
25
|
+
It is meant to be read by an Agent after the user asks it to install
|
|
26
|
+
Auriga from an interactive session.
|
|
27
|
+
|
|
25
28
|
Run each step in order. If any step fails with exit 1, stop and report.
|
|
26
29
|
If exit 2, see stderr for per-category status and follow the "Retry"
|
|
27
30
|
hint.
|
|
@@ -95,13 +98,12 @@ Exit codes:
|
|
|
95
98
|
2 — partial success. stderr lists per-category status. Retry only the
|
|
96
99
|
failed category (the retry line is printed verbatim on stderr).
|
|
97
100
|
|
|
98
|
-
${h("## Step 4 — Reload session
|
|
101
|
+
${h("## Step 4 — Reload session after install")}
|
|
99
102
|
|
|
100
103
|
${warn("⚠")} AGENTS.md, .agents/skills/, and plugin enablement /
|
|
101
|
-
registrations are loaded at session startup. If you
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
will NOT see the new harness.
|
|
104
|
+
registrations are loaded at session startup. If you installed Auriga
|
|
105
|
+
from an existing Agent session, the current session will NOT see the new
|
|
106
|
+
harness until it is reloaded.
|
|
105
107
|
|
|
106
108
|
Action:
|
|
107
109
|
- Commit any in-flight work first
|
package/dist/help.js
CHANGED
|
@@ -8,7 +8,7 @@ export function renderHelp(catalog, version) {
|
|
|
8
8
|
return `auriga-cli v${version} — install Claude Code harness modules
|
|
9
9
|
|
|
10
10
|
USAGE
|
|
11
|
-
npx auriga-cli guide Agent
|
|
11
|
+
npx auriga-cli guide interactive Agent install guide
|
|
12
12
|
npx auriga-cli install (TTY only) checkbox menu
|
|
13
13
|
npx auriga-cli install --preset [--scope <s>] [--agent <a>] [--lang <code>]
|
|
14
14
|
curated default set: workflow doc
|
|
@@ -24,7 +24,7 @@ USAGE
|
|
|
24
24
|
open the local Web UI (spec §4)
|
|
25
25
|
npx auriga-cli --help
|
|
26
26
|
|
|
27
|
-
For
|
|
27
|
+
For copy-paste or Agent use, prepend npx's own -y flag:
|
|
28
28
|
npx -y auriga-cli guide
|
|
29
29
|
npx -y auriga-cli install --preset
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auriga-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.0",
|
|
4
4
|
"description": "Interactive CLI to install Claude Code harness modules (Workflow, Skills, Recommended Skills, Plugins)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"pretest:web-ui-e2e": "npm run build && npm --prefix ui ci && npm --prefix ui run build",
|
|
33
33
|
"test:web-ui-e2e": "tsc -p tsconfig.test.json && node --test dist-test/tests/web-ui-e2e.test.js",
|
|
34
34
|
"test:session-instructions-loader": "node tests/session-instructions-loader.test.mjs",
|
|
35
|
+
"test:session-compound": "node tests/session-compound-analyzers.test.mjs",
|
|
35
36
|
"test:git-guards": "node tests/commit-reminder.test.mjs && node tests/pr-create-guard.test.mjs && node tests/pr-ready-guard.test.mjs && node tests/pr-merge-guard.test.mjs"
|
|
36
37
|
},
|
|
37
38
|
"engines": {
|