auriga-cli 1.5.1 → 1.7.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 +5 -4
- package/README.zh-CN.md +5 -4
- package/dist/skills.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,11 +10,11 @@ This repo itself is a fully configured harness project. You can clone it to see
|
|
|
10
10
|
|
|
11
11
|
| Module | Description |
|
|
12
12
|
|---|---|
|
|
13
|
-
| **Workflow** | `CLAUDE.md`
|
|
13
|
+
| **Workflow** | `CLAUDE.md` auriga workflow: requirement clarification -> TDD -> Review, Harness principles, Subagent usage guide |
|
|
14
14
|
| **Skills** | Development process skills — brainstorming, systematic-debugging, TDD, verification, planning, playwright |
|
|
15
15
|
| **Recommended Skills** | Optional utility skills (e.g. `ui-ux-pro-max`) you can add on top of the workflow skills |
|
|
16
16
|
| **Plugins** | Recommended Claude Code plugins — skill-creator, claude-md-management, codex |
|
|
17
|
-
| **Hooks** | Claude Code hooks: `notify` (macOS notification), `pr-create-guard` (PostToolUse body snapshot after `gh pr create`), `pr-ready-guard` (PreToolUse block on stray planning docs / unpushed commits before `gh pr ready`) |
|
|
17
|
+
| **Hooks** | Claude Code hooks: `notify` (macOS notification, focus-aware sound-only when terminal is frontmost), `pr-create-guard` (PostToolUse body snapshot after `gh pr create`), `pr-ready-guard` (PreToolUse block on stray planning docs / active specs in `docs/specs/` / unpushed commits before `gh pr ready`) |
|
|
18
18
|
|
|
19
19
|
## Quick Start
|
|
20
20
|
|
|
@@ -60,6 +60,7 @@ Installs selected skills via `npx skills add`, targeting both Claude Code and Co
|
|
|
60
60
|
| deep-review | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | Multi-dimensional PR review orchestrator (required + conditional reviewers + punch list) |
|
|
61
61
|
| test-designer | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | Independent-Evaluation test designer for TDD red phase |
|
|
62
62
|
| parallel-implementation | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | Slice planner for parallel multi-subagent code writing |
|
|
63
|
+
| auriga-go | [Ben2pc/auriga-cli](https://github.com/Ben2pc/auriga-cli) | Workflow autopilot for the auriga workflow; reminder-based navigation across the 12 steps with an Experimental hook-backed `ship` mode |
|
|
63
64
|
|
|
64
65
|
Supports both project and global installation scopes.
|
|
65
66
|
|
|
@@ -79,9 +80,9 @@ Installs Claude Code hooks into a chosen scope. Each hook is self-contained unde
|
|
|
79
80
|
|
|
80
81
|
| Hook | Description |
|
|
81
82
|
|---|---|
|
|
82
|
-
| notify | Native macOS notification when Claude needs your attention. Shows the brand mark in the small app-icon position
|
|
83
|
+
| notify | Native macOS notification when Claude needs your attention. Shows the brand mark in the small app-icon position; click brings the originating terminal back to focus. **Focus-aware**: when the launching terminal is already frontmost, drops the banner and plays the sound only (toggle via `soundOnlyWhenFocused` in `config.json`). **Per-project group ID**: new notifications cleanly replace older ones in Notification Center, no process accumulation, no cross-project interference. Auto-installs `alerter` via Homebrew (`vjeantet/tap/alerter`). Customize sound and icon by editing `.claude/hooks/notify/config.json` and `.claude/hooks/notify/icon.png`. macOS-only at runtime; silent no-op on other platforms. |
|
|
83
84
|
| pr-create-guard | PostToolUse hook for `gh pr create`. Queries the newly-created PR via `gh pr view` and injects a body snapshot (headings found + TODO-checkbox counts) as `additionalContext` for the Agent to self-verify against the step-10 scope / acceptance / risks / TODO contract. Never blocks — PostToolUse runs after the fact. Graceful degradation when gh is unavailable. |
|
|
84
|
-
| pr-ready-guard | PreToolUse hook for `gh pr ready`. Blocks on structural signals only: stray planning docs at `findings.md` / `progress.md` / `task_plan.md` / `docs/superpowers/specs/*.md`
|
|
85
|
+
| pr-ready-guard | PreToolUse hook for `gh pr ready`. Blocks on structural signals only: (1) stray planning docs at `findings.md` / `progress.md` / `task_plan.md` / `docs/superpowers/specs/*.md` — must be archived to `docs/worklog/worklog-<date>-<branch>/` (or deleted) per CLAUDE.md `Document Conventions`; (2) unfinalized active specs at `docs/specs/*.md` — must be promoted to `docs/architecture/`, archived, or deleted; (3) unpushed commits on the current branch. No text regex of PR content is ever used as a block signal. On pass, injects a PR body snapshot as `additionalContext`. |
|
|
85
86
|
|
|
86
87
|
Scope choices:
|
|
87
88
|
|
package/README.zh-CN.md
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
| 模块 | 说明 |
|
|
12
12
|
|---|---|
|
|
13
|
-
| **Workflow** | `CLAUDE.md`
|
|
13
|
+
| **Workflow** | `CLAUDE.md` 里的 auriga 工作流:需求澄清 → TDD → Review,Harness 原则,Subagent 使用指南 |
|
|
14
14
|
| **Skills** | 开发流程 skills —— brainstorming、systematic-debugging、TDD、verification、planning、playwright |
|
|
15
15
|
| **Recommended Skills** | 可选的工具类 skills(如 `ui-ux-pro-max`),在 workflow skills 之外按需追加 |
|
|
16
16
|
| **Plugins** | 推荐的 Claude Code 插件 —— skill-creator、claude-md-management、codex |
|
|
17
|
-
| **Hooks** | Claude Code hooks:`notify`(macOS
|
|
17
|
+
| **Hooks** | Claude Code hooks:`notify`(macOS 通知,终端在焦点时仅放声不弹横幅)、`pr-create-guard`(`gh pr create` 后注入 PR body 快照的 PostToolUse)、`pr-ready-guard`(`gh pr ready` 前按游离 planning 文档 / `docs/specs/` 内未清理的 spec / 未 push commits 拦截的 PreToolUse) |
|
|
18
18
|
|
|
19
19
|
## 快速开始
|
|
20
20
|
|
|
@@ -60,6 +60,7 @@ npx auriga-cli
|
|
|
60
60
|
| deep-review | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | 多维度 PR review 编排器(必选 + 条件 + punch list 汇总) |
|
|
61
61
|
| test-designer | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | TDD 红灯阶段的 Independent Evaluation 测试设计器 |
|
|
62
62
|
| parallel-implementation | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | 多 subagent 并行写代码时的切片计划器 |
|
|
63
|
+
| auriga-go | [Ben2pc/auriga-cli](https://github.com/Ben2pc/auriga-cli) | auriga 工作流的自动驾驶:在 12 步内做 reminder-based 导航;包含 Experimental 的 hook-backed `ship` 模式 |
|
|
63
64
|
|
|
64
65
|
支持 project 和 global 两种安装范围。
|
|
65
66
|
|
|
@@ -79,9 +80,9 @@ npx auriga-cli
|
|
|
79
80
|
|
|
80
81
|
| Hook | 说明 |
|
|
81
82
|
|---|---|
|
|
82
|
-
| notify | 当 Claude 需要你关注时弹一条原生 macOS 通知。在通知小图标位显示品牌图,点击通知可把发起 Claude
|
|
83
|
+
| notify | 当 Claude 需要你关注时弹一条原生 macOS 通知。在通知小图标位显示品牌图,点击通知可把发起 Claude 的终端拉回前台。**焦点感知**:发起 Claude 的终端正处于前台时,仅放提示音不弹横幅(通过 `config.json` 的 `soundOnlyWhenFocused` 切换)。**按项目分组**:新通知会干净地替换通知中心里的旧条目,不会进程堆积,也不会跨项目互相覆盖。会自动通过 Homebrew 安装 `alerter`(`vjeantet/tap/alerter`)。改 `.claude/hooks/notify/config.json` 即可换提示音、替换 `.claude/hooks/notify/icon.png` 即可换图标。仅 macOS 运行时生效,其它平台静默 no-op。 |
|
|
83
84
|
| pr-create-guard | `gh pr create` 的 PostToolUse hook。创建成功后通过 `gh pr view` 拉真实 PR body,扫 `^##` / `^###` headings 并统计 `- [ ]` / `- [x]`,通过 `additionalContext` 注入快照让 Agent 对照 step 10 的"范围 / 验收标准 / 风险 / 剩余 TODO"四要素。不 block——PostToolUse 发生在动作之后。gh 不可用时静默降级。 |
|
|
84
|
-
| pr-ready-guard | `gh pr ready` 的 PreToolUse hook
|
|
85
|
+
| pr-ready-guard | `gh pr ready` 的 PreToolUse hook。**只按结构信号**拦截:(1) 仓库根存在游离 planning 文档(`findings.md` / `progress.md` / `task_plan.md`)或 `docs/superpowers/specs/*.md` 未归档——按 CLAUDE.md 的"文档规范"迁到 `docs/worklog/worklog-<date>-<branch>/` 或删除;(2) `docs/specs/*.md` 内有未结案的活跃 spec——晋升到 `docs/architecture/`、归档或删除;(3) 本地有未 push commits。**不做 PR 正文文本 regex 匹配**。放行时注入 PR body 快照。 |
|
|
85
86
|
|
|
86
87
|
作用域选择:
|
|
87
88
|
|
package/dist/skills.js
CHANGED
|
@@ -6,6 +6,7 @@ import { exec, log, withEsc } from "./utils.js";
|
|
|
6
6
|
// directly references. Anything else in skills-lock.json is surfaced via
|
|
7
7
|
// installRecommendedSkills as an opt-in utility.
|
|
8
8
|
const WORKFLOW_SKILLS = [
|
|
9
|
+
"auriga-go",
|
|
9
10
|
"brainstorming",
|
|
10
11
|
"deep-review",
|
|
11
12
|
"parallel-implementation",
|