auriga-cli 1.2.0 → 1.5.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 CHANGED
@@ -14,7 +14,7 @@ This repo itself is a fully configured harness project. You can clone it to see
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 (currently: `notify` — native macOS notification with brand icon + sound) |
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`) |
18
18
 
19
19
  ## Quick Start
20
20
 
@@ -57,6 +57,9 @@ Installs selected skills via `npx skills add`, targeting both Claude Code and Co
57
57
  | planning-with-files | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | File-based task planning and progress tracking |
58
58
  | playwright-cli | [microsoft/playwright-cli](https://github.com/microsoft/playwright-cli) | Browser automation and testing |
59
59
  | ui-ux-pro-max | [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | UI/UX design and development enhancement |
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
+ | test-designer | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | Independent-Evaluation test designer for TDD red phase |
62
+ | parallel-implementation | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | Slice planner for parallel multi-subagent code writing |
60
63
 
61
64
  Supports both project and global installation scopes.
62
65
 
@@ -77,6 +80,8 @@ Installs Claude Code hooks into a chosen scope. Each hook is self-contained unde
77
80
  | Hook | Description |
78
81
  |---|---|
79
82
  | notify | Native macOS notification when Claude needs your attention. Shows the brand mark in the small app-icon position, with click-to-activate that brings the originating terminal back to the foreground. Auto-installs `alerter` via Homebrew (`vjeantet/tap/alerter`). Customize sound and icon by editing `.claude/hooks/notify/config.json` and replacing `.claude/hooks/notify/icon.png`. macOS-only at runtime; silent no-op on other platforms. |
83
+ | 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` (must be archived to `docs/worklog-<date>-<branch>/` per the `Document Conventions` in CLAUDE.md), or 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`. |
80
85
 
81
86
  Scope choices:
82
87
 
package/README.zh-CN.md CHANGED
@@ -14,7 +14,7 @@
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 文档 / 未 push commits 拦截的 PreToolUse) |
18
18
 
19
19
  ## 快速开始
20
20
 
@@ -57,6 +57,9 @@ npx auriga-cli
57
57
  | planning-with-files | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | 文件化任务计划与进度跟踪 |
58
58
  | playwright-cli | [microsoft/playwright-cli](https://github.com/microsoft/playwright-cli) | 浏览器自动化与测试 |
59
59
  | ui-ux-pro-max | [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | UI/UX 设计与开发增强 |
60
+ | deep-review | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | 多维度 PR review 编排器(必选 + 条件 + punch list 汇总) |
61
+ | test-designer | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | TDD 红灯阶段的 Independent Evaluation 测试设计器 |
62
+ | parallel-implementation | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | 多 subagent 并行写代码时的切片计划器 |
60
63
 
61
64
  支持 project 和 global 两种安装范围。
62
65
 
@@ -77,6 +80,8 @@ npx auriga-cli
77
80
  | Hook | 说明 |
78
81
  |---|---|
79
82
  | notify | 当 Claude 需要你关注时弹一条原生 macOS 通知。在通知小图标位显示品牌图,点击通知可把发起 Claude 的终端拉回前台。会自动通过 Homebrew 安装 `alerter`(`vjeantet/tap/alerter`)。改 `.claude/hooks/notify/config.json` 即可换提示音、替换 `.claude/hooks/notify/icon.png` 即可换图标。仅 macOS 运行时生效,其它平台静默 no-op。 |
83
+ | 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。**只按结构信号**拦截:仓库根存在游离 planning 文档(`findings.md` / `progress.md` / `task_plan.md`),或 `docs/superpowers/specs/*.md` 未归档——这些必须按 CLAUDE.md 的"文档规范"迁到 `docs/worklog-<date>-<branch>/`;或者本地有未 push commits。**不做 PR 正文文本 regex 匹配**。放行时注入 PR body 快照。 |
80
85
 
81
86
  作用域选择:
82
87
 
package/dist/skills.js CHANGED
@@ -2,11 +2,17 @@ import fs from "node:fs";
2
2
  import path from "node:path";
3
3
  import { checkbox, select } from "@inquirer/prompts";
4
4
  import { exec, log, withEsc } from "./utils.js";
5
+ // Curated default-on set: skills that the workflow in the root CLAUDE.md
6
+ // directly references. Anything else in skills-lock.json is surfaced via
7
+ // installRecommendedSkills as an opt-in utility.
5
8
  const WORKFLOW_SKILLS = [
6
9
  "brainstorming",
10
+ "deep-review",
11
+ "parallel-implementation",
7
12
  "planning-with-files",
8
13
  "playwright-cli",
9
14
  "systematic-debugging",
15
+ "test-designer",
10
16
  "test-driven-development",
11
17
  "ui-ux-pro-max",
12
18
  "verification-before-completion",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auriga-cli",
3
- "version": "1.2.0",
3
+ "version": "1.5.0",
4
4
  "description": "Interactive CLI to install Claude Code harness modules (Workflow, Skills, Recommended Skills, Plugins, Hooks)",
5
5
  "type": "module",
6
6
  "bin": {