shipgate-cli 0.0.0-stage → 0.2.2
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/LICENSE +21 -0
- package/README.md +261 -2
- package/agents/context-builder.md +158 -0
- package/agents/debug-executor.md +234 -0
- package/assets/gates/classifier.js +245 -0
- package/assets/gates/dsh/index.js +767 -0
- package/assets/gates/dsh/policy.json +93 -0
- package/assets/gates/index.js +3 -0
- package/assets/gates/pi/index.js +1131 -0
- package/assets/gates/pi/policy.json +93 -0
- package/assets/gates/policy.js +4267 -0
- package/assets/gates/profiles/ai4s-dry-lab.json +64 -0
- package/assets/gates/profiles/ai4s-quant.json +36 -0
- package/assets/pi-extensions/auto-continue.ts +176 -0
- package/assets/pi-extensions/goal-mode.ts +313 -0
- package/bin/shipgate.mjs +9 -0
- package/commands/ai-spec.md +9 -0
- package/commands/api-first.md +33 -0
- package/commands/code-review.md +7 -0
- package/commands/codebase-context.md +19 -0
- package/commands/debug-ui.md +147 -0
- package/commands/debug.md +101 -0
- package/commands/dev-env-scan.md +18 -0
- package/commands/dev-host-init.md +28 -0
- package/commands/discover-skill-opportunities.md +33 -0
- package/commands/fork-sync.md +17 -0
- package/commands/gh-actions.md +26 -0
- package/commands/goal-driven-development.md +7 -0
- package/commands/intent-grill.md +7 -0
- package/commands/iteration-manager.md +7 -0
- package/commands/loop-engineer.md +21 -0
- package/commands/nodejs-npm-auto-release.md +12 -0
- package/commands/prd.md +7 -0
- package/commands/project-health-audit.md +7 -0
- package/commands/ralph-yolo.md +346 -0
- package/commands/ralph.md +226 -0
- package/commands/security-audit.md +7 -0
- package/commands/ux-experience-audit.md +133 -0
- package/docs/ARCHITECTURE.md +63 -0
- package/docs/GATES.md +106 -0
- package/docs/HARNESS.md +257 -0
- package/package.json +48 -4
- package/references/ADR-FORMAT.md +67 -0
- package/references/CONTEXT-FORMAT.md +62 -0
- package/references/mcp-config-template.json +54 -0
- package/scripts/fix-skill-frontmatter.mjs +66 -0
- package/scripts/migrate-skillpack.mjs +257 -0
- package/skills/ai-spec/SKILL.md +90 -0
- package/skills/api-first-modular/SKILL.md +411 -0
- package/skills/code-debugger/SKILL.md +379 -0
- package/skills/code-review/SKILL.md +62 -0
- package/skills/codebase-context/SKILL.md +139 -0
- package/skills/debug-ui/SKILL.md +220 -0
- package/skills/dev-env-scan/SKILL.md +147 -0
- package/skills/dev-host-init/SKILL.md +198 -0
- package/skills/dev-host-init/scripts/fill-placeholders.py +226 -0
- package/skills/dev-host-init/scripts/host-scan.ps1 +159 -0
- package/skills/dev-host-init/scripts/host-scan.sh +201 -0
- package/skills/dev-host-init/scripts/render-now.py +488 -0
- package/skills/dev-host-init/scripts/tools-catalog.py +229 -0
- package/skills/dev-host-init/templates/graph-first-gate.ts +291 -0
- package/skills/dev-host-init/templates/host-injection.template.md +725 -0
- package/skills/discover-skill-opportunities/SKILL.md +145 -0
- package/skills/discover-skill-opportunities/references/accounting-finance-ops.md +24 -0
- package/skills/discover-skill-opportunities/references/business-consulting.md +24 -0
- package/skills/discover-skill-opportunities/references/evidence-and-privacy.md +39 -0
- package/skills/discover-skill-opportunities/references/finance-investment.md +24 -0
- package/skills/discover-skill-opportunities/references/legal-and-compliance.md +24 -0
- package/skills/discover-skill-opportunities/references/output-contract.md +75 -0
- package/skills/discover-skill-opportunities/references/product-and-operations.md +24 -0
- package/skills/discover-skill-opportunities/references/quant-trading.md +24 -0
- package/skills/discover-skill-opportunities/references/scientific-research.md +24 -0
- package/skills/discover-skill-opportunities/references/scoring-rubric.md +45 -0
- package/skills/discover-skill-opportunities/references/session-skill-review.md +78 -0
- package/skills/discover-skill-opportunities/references/software-development.md +24 -0
- package/skills/fork-sync/SKILL.md +86 -0
- package/skills/gh-actions-architect/SKILL.md +395 -0
- package/skills/goal-driven-development/SKILL.md +132 -0
- package/skills/intent-grill/SKILL.md +46 -0
- package/skills/iteration-manager/SKILL.md +53 -0
- package/skills/loop-engineer/SKILL.md +108 -0
- package/skills/nodejs-npm-auto-release/SKILL.md +141 -0
- package/skills/prd/SKILL.md +63 -0
- package/skills/project-health-audit/SKILL.md +64 -0
- package/skills/ralph/SKILL.md +329 -0
- package/skills/ralph-yolo/SKILL.md +623 -0
- package/skills/security-audit/SKILL.md +114 -0
- package/skills/security-audit/references/audit-checklist.md +135 -0
- package/skills/security-audit/references/evidence-conventions.md +54 -0
- package/skills/security-audit/references/findings-schema.md +37 -0
- package/skills/security-audit/references/stack-signatures.md +66 -0
- package/skills/shipgate/SKILL.md +40 -0
- package/skills/shipgate-install/SKILL.md +87 -0
- package/skills/shipgate-quality/SKILL.md +80 -0
- package/skills/shipgate-security/SKILL.md +97 -0
- package/skills/shipgate-spec/SKILL.md +67 -0
- package/skills/ux-experience-audit/SKILL.md +202 -0
- package/src/cli.mjs +118 -0
- package/src/commands/ask.mjs +82 -0
- package/src/commands/deploy.mjs +587 -0
- package/src/commands/gates.mjs +83 -0
- package/src/commands/policy.mjs +116 -0
- package/src/gates/quality.mjs +123 -0
- package/src/gates/security.mjs +92 -0
- package/src/gates/ship.mjs +74 -0
- package/src/gates/spec.mjs +88 -0
- package/src/harness/index.mjs +203 -0
- package/src/inject/render.mjs +75 -0
- package/src/lib/cfg.mjs +66 -0
- package/src/lib/duration.mjs +41 -0
- package/src/lib/engines.mjs +182 -0
- package/src/lib/exec.mjs +80 -0
- package/src/lib/fsx.mjs +119 -0
- package/src/lib/gate.mjs +329 -0
- package/src/lib/log.mjs +31 -0
- package/src/lib/skills.mjs +347 -0
- package/src/lib/state.mjs +50 -0
- package/src/lib/update.mjs +67 -0
- package/src/version.mjs +14 -0
- package/templates/agents-snippet.md +82 -0
- package/templates/dev-profile.schema.json +119 -0
- package/templates/prd.json.example +64 -0
- package/templates/rule.json.example +28 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fork-sync
|
|
3
|
+
description: 开源项目 Fork 分支同步管理器。检测本地 fork 与上游仓库的分歧,智能分析冲突,自动合并非冲突代码,逐冲突项决策(保留本地功能 vs 采用上游更新),在新版本基础上嵌入本地功能,测试后灵活推送。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Fork Sync — 开源 Fork 分支同步管理器
|
|
7
|
+
|
|
8
|
+
## 触发方式
|
|
9
|
+
|
|
10
|
+
当用户看到类似消息:
|
|
11
|
+
> This branch is 20 commits ahead of and 279 commits behind magicyuan876/mineru-tianshu:main
|
|
12
|
+
|
|
13
|
+
或直接说"同步上游"、"更新 fork"、"merge upstream"时激活。
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 工作流程(5 阶段)
|
|
18
|
+
|
|
19
|
+
### Phase 0:前置检测
|
|
20
|
+
|
|
21
|
+
执行:
|
|
22
|
+
```
|
|
23
|
+
git fetch upstream
|
|
24
|
+
git rev-list --count HEAD..upstream/main → behind
|
|
25
|
+
git rev-list --count upstream/main..HEAD → ahead
|
|
26
|
+
git log upstream/main..HEAD --oneline → 你的定制
|
|
27
|
+
git log HEAD..upstream/main --oneline → 上游更新
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
输出诊断报告:ahead/behind 数 + 提交摘要。behind=0 则退出;ahead=0 则可直接 fast-forward。
|
|
31
|
+
|
|
32
|
+
### Phase 1:冲突分析
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
git merge-base HEAD upstream/main → 共同祖先
|
|
36
|
+
git diff <base>..HEAD --stat → 你的改动范围
|
|
37
|
+
git diff <base>..upstream/main --stat → 上游改动范围
|
|
38
|
+
交叉比对 → 列出同时修改的文件 → 逐文件判定冲突类型
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
输出冲突矩阵:文件 | 本地改动 | 上游改动 | 类型 | 风险
|
|
42
|
+
|
|
43
|
+
### Phase 2:分层合并
|
|
44
|
+
|
|
45
|
+
**2a** — 自动合并非冲突文件:
|
|
46
|
+
```bash
|
|
47
|
+
git merge upstream/main --no-commit --no-ff
|
|
48
|
+
git add <non-conflicting-files>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**2b** — 逐冲突项三层决策:
|
|
52
|
+
|
|
53
|
+
1. **上游是否已覆盖?** — 语义分析上游新代码是否等价/超越你的定制
|
|
54
|
+
2. **用户选择**:
|
|
55
|
+
- A) 采用上游,放弃本地
|
|
56
|
+
- B) 保留本地,忽略上游
|
|
57
|
+
- C) 嵌入改造(在新版基础上重写本地功能)
|
|
58
|
+
- D) 查看详细 diff 再定
|
|
59
|
+
3. **执行**:A→`--theirs`, B→`--ours`, C→进入 Phase 3
|
|
60
|
+
|
|
61
|
+
### Phase 3:嵌入改造
|
|
62
|
+
|
|
63
|
+
将本地独有功能移植到新版代码:
|
|
64
|
+
- 分析本地功能的核心逻辑
|
|
65
|
+
- 在新版代码中定位最佳嵌入点
|
|
66
|
+
- 最小侵入原则:优先用 hook/配置扩展
|
|
67
|
+
- 用 `# [FORK-CUSTOM]` 标记所有定制代码
|
|
68
|
+
- 保持向后兼容
|
|
69
|
+
|
|
70
|
+
### Phase 4:测试验证
|
|
71
|
+
|
|
72
|
+
必须执行:构建验证、上游测试套件、本地功能测试、上游新功能冒烟、端到端集成测试。
|
|
73
|
+
|
|
74
|
+
### Phase 5:版本管理
|
|
75
|
+
|
|
76
|
+
- **推送选择**:直接 push main / 开新分支 / 手动操作
|
|
77
|
+
- **PR 选择**:是否将本地功能整理为 PR 提交到上游
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## 安全原则
|
|
82
|
+
|
|
83
|
+
- 合并前确保工作区干净
|
|
84
|
+
- 大规模合并(behind>100)先在分支上进行
|
|
85
|
+
- 不改写已推送的历史
|
|
86
|
+
- 所有 merge 使用 `--no-commit --no-ff`
|
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gh-actions-architect
|
|
3
|
+
description: Generate correct, production-ready GitHub Actions workflow YAML files for any ecosystem. Covers lint/format checks, multi-platform multi-architecture builds (.exe/.msi/.apk/.dmg/.deb/.rpm/.AppImage), Docker images, and release pipelines. Includes pitfall-check and auto-validation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GitHub Actions Architect
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
|
|
10
|
+
You are a GitHub Actions CI/CD architect. Given a project description and requirements, you generate complete, correct, immediately usable `.github/workflows/*.yml` files — no debugging required.
|
|
11
|
+
|
|
12
|
+
## Core Philosophy: "Write Once, Run Green"
|
|
13
|
+
|
|
14
|
+
Every workflow you produce MUST pass validation on first push. To achieve this, you follow a strict internal checklist before outputting any YAML.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Input Contract
|
|
19
|
+
|
|
20
|
+
When invoked, you will receive (or should ask for):
|
|
21
|
+
|
|
22
|
+
| Field | Required | Example |
|
|
23
|
+
|-------|----------|---------|
|
|
24
|
+
| Project ecosystem | Yes | `python`, `node`, `rust`, `go`, `docker`, `cpp`, `java`, `r`, `dotnet`, `flutter` |
|
|
25
|
+
| Workflow type | Yes | `lint`, `build`, `test`, `release`, `deploy`, `full-pipeline` |
|
|
26
|
+
| Target platforms | Conditional | `linux/amd64`, `linux/arm64`, `windows/amd64`, `macos/amd64`, `macos/arm64` |
|
|
27
|
+
| Package format | Conditional | `.exe`, `.msi`, `.apk`, `.aab`, `.dmg`, `.deb`, `.rpm`, `.AppImage`, `.whl`, `.tar.gz`, docker image, npm package |
|
|
28
|
+
| Trigger | No (default: push+PR) | `push`, `pull_request`, `schedule`, `workflow_dispatch`, `release` |
|
|
29
|
+
| Additional needs | No | caching, matrix, services, secrets, environments |
|
|
30
|
+
|
|
31
|
+
## Workflow
|
|
32
|
+
|
|
33
|
+
### Phase 1: Intake & Classification
|
|
34
|
+
|
|
35
|
+
1. Parse the user's request to identify:
|
|
36
|
+
- **Ecosystem** (determines toolchain actions)
|
|
37
|
+
- **Workflow type** (determines job structure)
|
|
38
|
+
- **Target matrix** (determines `runs-on` + `strategy`)
|
|
39
|
+
2. If critical info is missing, ask exactly 1-2 clarifying questions — no more.
|
|
40
|
+
3. Classify into a template family (see Section: Template Families).
|
|
41
|
+
|
|
42
|
+
### Phase 2: Generate Workflow YAML
|
|
43
|
+
|
|
44
|
+
Produce the complete YAML following these rules:
|
|
45
|
+
|
|
46
|
+
#### 2.1 Structural Rules (MANDATORY)
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
Workflow file structure (top-to-bottom order):
|
|
50
|
+
1. name — Always present, human-readable
|
|
51
|
+
2. run-name — Optional, for dynamic display
|
|
52
|
+
3. on — Trigger configuration
|
|
53
|
+
4. permissions — ALWAYS set, minimum necessary
|
|
54
|
+
5. concurrency — Recommended for PR workflows
|
|
55
|
+
6. env — Workflow-level env vars
|
|
56
|
+
7. defaults — run.shell, run.working-directory
|
|
57
|
+
8. jobs — One or more jobs
|
|
58
|
+
8.1 <job-id> — Valid YAML key (letters, hyphens, underscores)
|
|
59
|
+
8.1.1 name — Human-readable job name
|
|
60
|
+
8.1.2 if — Conditional execution
|
|
61
|
+
8.1.3 needs — Job dependencies
|
|
62
|
+
8.1.4 permissions — Job-level override
|
|
63
|
+
8.1.5 runs-on — Runner selection or matrix expression
|
|
64
|
+
8.1.6 strategy — Matrix + fail-fast + max-parallel
|
|
65
|
+
8.1.7 timeout-minutes — ALWAYS set (prevent runaway jobs)
|
|
66
|
+
8.1.8 env — Job-level env
|
|
67
|
+
8.1.9 steps — Ordered list of actions/commands
|
|
68
|
+
8.1.10 outputs — Job output mapping
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
#### 2.2 YAML Safety Checklist
|
|
72
|
+
|
|
73
|
+
Before outputting, verify EVERY item:
|
|
74
|
+
|
|
75
|
+
- [ ] **Indentation**: 2-space indent, NO tabs anywhere
|
|
76
|
+
- [ ] **String quoting**: Any value containing `${{ }}`, `:`, `#`, `&`, `*`, `?`, `|`, `-`, `<`, `>`, `=`, `!`, `%`, `@`, `` ` `` MUST be quoted
|
|
77
|
+
- [ ] **Boolean trap**: `true/false/yes/no/on/off` used as strings MUST be quoted: `"true"`, `"yes"`
|
|
78
|
+
- [ ] **Null trap**: `null/~` used as strings MUST be quoted: `"null"`
|
|
79
|
+
- [ ] **Expression syntax**: `${{ }}` in `if` conditions does NOT need `${{ }}` wrapping (implicit eval); everywhere else it DOES
|
|
80
|
+
- [ ] **Multi-line run**: Use `|` for scripts, `>` for folded text
|
|
81
|
+
- [ ] **Action version pinning**: ALWAYS pin to SHA or major version tag (e.g., `@v4`, NEVER `@main`)
|
|
82
|
+
- [ ] **GITHUB_OUTPUT**: Use `echo "key=value" >> $GITHUB_OUTPUT` (NOT deprecated `::set-output`)
|
|
83
|
+
- [ ] **GITHUB_ENV**: Use `echo "KEY=value" >> $GITHUB_ENV` (NOT deprecated `::set-env`)
|
|
84
|
+
- [ ] **Shell compatibility**: Windows steps use `shell: bash` or `shell: pwsh` explicitly
|
|
85
|
+
|
|
86
|
+
#### 2.3 Security Checklist
|
|
87
|
+
|
|
88
|
+
- [ ] `permissions:` set at workflow level (minimum necessary)
|
|
89
|
+
- [ ] No hardcoded secrets — always use `${{ secrets.* }}`
|
|
90
|
+
- [ ] `GITHUB_TOKEN` used with minimal scopes
|
|
91
|
+
- [ ] Third-party actions pinned to SHA when security-critical
|
|
92
|
+
- [ ] No `pull_request_target` unless explicitly justified with risk acknowledgment
|
|
93
|
+
- [ ] `fetch-depth: 0` only when full history is needed
|
|
94
|
+
|
|
95
|
+
### Phase 3: Pitfall Auto-Check
|
|
96
|
+
|
|
97
|
+
Run this internal checklist and report any warnings:
|
|
98
|
+
|
|
99
|
+
| Check | Common Mistake | Fix |
|
|
100
|
+
|-------|---------------|-----|
|
|
101
|
+
| Event filter conflict | `paths` + `paths-ignore` on same event | Use only one |
|
|
102
|
+
| Branch glob | `feature/*` matches single level only | Use `feature/**` for nested |
|
|
103
|
+
| Schedule timezone | `cron` is UTC, not local | Document UTC in comment |
|
|
104
|
+
| macOS cost | macOS runners consume 10x minutes | Warn user; suggest `macos-13` (Intel, cheaper) |
|
|
105
|
+
| fail-fast default | Default `true` cancels other matrix combos | Set `fail-fast: false` for build matrix |
|
|
106
|
+
| Artifact name clash | Same artifact name across matrix jobs | Include `${{ matrix.* }}` in artifact name |
|
|
107
|
+
| Docker layer cache | No caching = slow multi-arch builds | Use `docker/setup-buildx-action` + cache |
|
|
108
|
+
| Cross-compilation | Some targets need QEMU emulation | Add `docker/setup-qemu-action` for arm64 |
|
|
109
|
+
| Windows path | Backslash in `run:` causes issues | Use forward slashes or `shell: bash` |
|
|
110
|
+
| npm ci vs install | `npm install` ignores lockfile | Use `npm ci` in CI |
|
|
111
|
+
| pip cache key | Static key never invalidates | Use `hashFiles('**/requirements*.txt')` |
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Template Families
|
|
116
|
+
|
|
117
|
+
### Family A: Lint / Format Check
|
|
118
|
+
|
|
119
|
+
Universal lint workflow. Select tools by ecosystem:
|
|
120
|
+
|
|
121
|
+
| Ecosystem | Format Tool | Lint Tool | Type Check |
|
|
122
|
+
|-----------|------------|-----------|------------|
|
|
123
|
+
| Python | `black --check` / `ruff format --check` | `ruff check` / `flake8` | `mypy` |
|
|
124
|
+
| Node.js | `prettier --check` | `eslint` | `tsc --noEmit` |
|
|
125
|
+
| Rust | `cargo fmt --check` | `cargo clippy` | built-in |
|
|
126
|
+
| Go | `gofmt -d .` | `golangci-lint run` | built-in |
|
|
127
|
+
| Docker | — | `hadolint` | — |
|
|
128
|
+
| C/C++ | `clang-format --dry-run` | `cppcheck` / `clang-tidy` | — |
|
|
129
|
+
| Java | `google-java-format --dry-run` | `checkstyle` / `spotless` | — |
|
|
130
|
+
| R | `styler::style_dir()` | `lintr::lint_dir()` | — |
|
|
131
|
+
| .NET | `dotnet format --verify-no-changes` | built-in | — |
|
|
132
|
+
| Flutter/Dart | `dart format --set-exit-if-changed` | `dart analyze` | — |
|
|
133
|
+
|
|
134
|
+
**Output**: Single-job workflow, fast (< 5 min), triggered on push+PR.
|
|
135
|
+
|
|
136
|
+
### Family B: Build — Multi-Platform Multi-Architecture (CORE)
|
|
137
|
+
|
|
138
|
+
This is the most complex and most needed template. Structure:
|
|
139
|
+
|
|
140
|
+
```yaml
|
|
141
|
+
jobs:
|
|
142
|
+
build:
|
|
143
|
+
strategy:
|
|
144
|
+
fail-fast: false
|
|
145
|
+
matrix:
|
|
146
|
+
include:
|
|
147
|
+
- target: <triple>
|
|
148
|
+
os: <runner>
|
|
149
|
+
artifact: <name-for-upload>
|
|
150
|
+
runs-on: ${{ matrix.os }}
|
|
151
|
+
timeout-minutes: 30
|
|
152
|
+
steps:
|
|
153
|
+
- checkout
|
|
154
|
+
- setup toolchain
|
|
155
|
+
- build
|
|
156
|
+
- upload artifact
|
|
157
|
+
|
|
158
|
+
release:
|
|
159
|
+
needs: build
|
|
160
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
161
|
+
runs-on: ubuntu-latest
|
|
162
|
+
steps:
|
|
163
|
+
- download all artifacts
|
|
164
|
+
- create GitHub Release with all files
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
#### B1: Native Binary Build Targets (Reference Table)
|
|
168
|
+
|
|
169
|
+
| Target Triple | OS Runner | Arch | Output Format | Notes |
|
|
170
|
+
|---------------|-----------|------|---------------|-------|
|
|
171
|
+
| `x86_64-unknown-linux-gnu` | `ubuntu-latest` | amd64 | `.tar.gz`, `.deb`, `.rpm`, `.AppImage` | Standard Linux |
|
|
172
|
+
| `aarch64-unknown-linux-gnu` | `ubuntu-latest` + QEMU | arm64 | `.tar.gz`, `.deb` | Needs cross-compiler or QEMU |
|
|
173
|
+
| `x86_64-pc-windows-msvc` | `windows-latest` | amd64 | `.exe`, `.msi`, `.zip` | Use `shell: bash` for scripts |
|
|
174
|
+
| `aarch64-pc-windows-msvc` | `windows-latest` | arm64 | `.exe`, `.zip` | Limited support |
|
|
175
|
+
| `x86_64-apple-darwin` | `macos-13` | amd64 | `.dmg`, `.pkg` | Intel Mac (cheaper runner) |
|
|
176
|
+
| `aarch64-apple-darwin` | `macos-latest` | arm64 | `.dmg`, `.pkg` | Apple Silicon (10x cost!) |
|
|
177
|
+
| `armv7-unknown-linux-gnueabihf` | `ubuntu-latest` + QEMU | armhf | `.tar.gz`, `.deb` | Raspberry Pi etc. |
|
|
178
|
+
|
|
179
|
+
#### B2: Ecosystem-Specific Build Patterns
|
|
180
|
+
|
|
181
|
+
**Python Package (.whl / .tar.gz)**
|
|
182
|
+
```yaml
|
|
183
|
+
- run: pip install build twine
|
|
184
|
+
- run: python -m build
|
|
185
|
+
- uses: pypa/cibuildwheel@v2
|
|
186
|
+
with:
|
|
187
|
+
archs: auto64 aarch64
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**Rust Binary (cross-platform)**
|
|
191
|
+
```yaml
|
|
192
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
193
|
+
with:
|
|
194
|
+
targets: ${{ matrix.target }}
|
|
195
|
+
- uses: cross-rs/cross-action@v2
|
|
196
|
+
with:
|
|
197
|
+
target: ${{ matrix.target }}
|
|
198
|
+
command: build --release
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Go Binary**
|
|
202
|
+
```yaml
|
|
203
|
+
- uses: actions/setup-go@v5
|
|
204
|
+
with:
|
|
205
|
+
go-version: '1.22'
|
|
206
|
+
- run: |
|
|
207
|
+
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} \
|
|
208
|
+
go build -ldflags="-s -w" -o ${{ matrix.artifact }}
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
**Node.js Electron App (.exe / .dmg / .AppImage)**
|
|
212
|
+
```yaml
|
|
213
|
+
- uses: actions/setup-node@v4
|
|
214
|
+
with:
|
|
215
|
+
node-version: '20'
|
|
216
|
+
- run: npm ci
|
|
217
|
+
- run: npm run build
|
|
218
|
+
- uses: samuelmeuli/action-electron-builder@v1
|
|
219
|
+
with:
|
|
220
|
+
args: --${{ matrix.platform }}
|
|
221
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Flutter/Dart (.apk / .aab / .ipa)**
|
|
225
|
+
```yaml
|
|
226
|
+
- uses: subosito/flutter-action@v2
|
|
227
|
+
with:
|
|
228
|
+
flutter-version: '3.22'
|
|
229
|
+
- run: flutter build apk --release
|
|
230
|
+
- run: flutter build appbundle --release
|
|
231
|
+
- run: flutter build ios --release --no-codesign
|
|
232
|
+
if: runner.os == 'macOS'
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
**Docker Multi-Arch Image**
|
|
236
|
+
```yaml
|
|
237
|
+
- uses: docker/setup-qemu-action@v3
|
|
238
|
+
- uses: docker/setup-buildx-action@v3
|
|
239
|
+
- uses: docker/login-action@v3
|
|
240
|
+
with:
|
|
241
|
+
registry: ghcr.io
|
|
242
|
+
username: ${{ github.actor }}
|
|
243
|
+
password: ${{ secrets.GITHUB_TOKEN }}
|
|
244
|
+
- uses: docker/build-push-action@v6
|
|
245
|
+
with:
|
|
246
|
+
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
|
247
|
+
push: true
|
|
248
|
+
tags: ghcr.io/${{ github.repository }}:latest
|
|
249
|
+
cache-from: type=gha
|
|
250
|
+
cache-to: type=gha,mode=max
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
**C/C++ (CMake Multi-Platform)**
|
|
254
|
+
```yaml
|
|
255
|
+
- uses: lukka/get-cmake@latest
|
|
256
|
+
- run: |
|
|
257
|
+
cmake -B build -DCMAKE_BUILD_TYPE=Release \
|
|
258
|
+
-DCMAKE_SYSTEM_NAME=${{ matrix.cmake_system }}
|
|
259
|
+
cmake --build build --config Release
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
**Java (Gradle/Maven)**
|
|
263
|
+
```yaml
|
|
264
|
+
- uses: actions/setup-java@v4
|
|
265
|
+
with:
|
|
266
|
+
distribution: 'temurin'
|
|
267
|
+
java-version: '17'
|
|
268
|
+
- run: ./gradlew build
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
**R Package**
|
|
272
|
+
```yaml
|
|
273
|
+
- uses: r-lib/actions/setup-r@v2
|
|
274
|
+
with:
|
|
275
|
+
r-version: 'release'
|
|
276
|
+
- run: R CMD build .
|
|
277
|
+
- run: R CMD check --as-cran *.tar.gz
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
#### B3: Packaging Format Guide
|
|
281
|
+
|
|
282
|
+
| Format | Tool/Action | Ecosystem | Notes |
|
|
283
|
+
|--------|------------|-----------|-------|
|
|
284
|
+
| `.exe` | Native build output | Windows/C++/Go/Rust/Electron | May need signing |
|
|
285
|
+
| `.msi` | `wix` / `msitools` | Windows installer | WiX Toolset |
|
|
286
|
+
| `.apk` | `flutter build apk` / `gradlew assembleRelease` | Android | Need signing key |
|
|
287
|
+
| `.aab` | `flutter build appbundle` / `gradlew bundleRelease` | Android Play Store | Upload key |
|
|
288
|
+
| `.dmg` | `hdiutil` / `create-dmg` | macOS | Code signing recommended |
|
|
289
|
+
| `.pkg` | `pkgbuild` / `productbuild` | macOS | Signed with Developer ID |
|
|
290
|
+
| `.deb` | `dpkg-deb` / `cargo deb` | Debian/Ubuntu | Architecture-aware |
|
|
291
|
+
| `.rpm` | `rpmbuild` | RHEL/Fedora | spec file needed |
|
|
292
|
+
| `.AppImage` | `linuxdeploy` / `appimage-builder` | Linux portable | Single file |
|
|
293
|
+
| `.whl` | `python -m build` / `cibuildwheel` | Python | Cross-platform wheel |
|
|
294
|
+
| `.nupkg` | `dotnet pack` | .NET/NuGet | |
|
|
295
|
+
| `.jar` | `mvn package` / `gradle build` | Java | Fat jar with dependencies |
|
|
296
|
+
|
|
297
|
+
### Family C: Test Suite
|
|
298
|
+
|
|
299
|
+
```yaml
|
|
300
|
+
jobs:
|
|
301
|
+
test:
|
|
302
|
+
strategy:
|
|
303
|
+
fail-fast: false
|
|
304
|
+
matrix:
|
|
305
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
306
|
+
version: ['3.10', '3.11', '3.12']
|
|
307
|
+
runs-on: ${{ matrix.os }}
|
|
308
|
+
timeout-minutes: 15
|
|
309
|
+
steps:
|
|
310
|
+
- checkout
|
|
311
|
+
- setup toolchain (with matrix.version)
|
|
312
|
+
- install dependencies (with cache)
|
|
313
|
+
- run tests
|
|
314
|
+
- upload coverage (optional)
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### Family D: Release Pipeline
|
|
318
|
+
|
|
319
|
+
```yaml
|
|
320
|
+
on:
|
|
321
|
+
push:
|
|
322
|
+
tags: ['v*']
|
|
323
|
+
workflow_dispatch:
|
|
324
|
+
inputs:
|
|
325
|
+
prerelease:
|
|
326
|
+
type: boolean
|
|
327
|
+
default: false
|
|
328
|
+
|
|
329
|
+
jobs:
|
|
330
|
+
release:
|
|
331
|
+
needs: [build]
|
|
332
|
+
runs-on: ubuntu-latest
|
|
333
|
+
permissions:
|
|
334
|
+
contents: write
|
|
335
|
+
timeout-minutes: 10
|
|
336
|
+
steps:
|
|
337
|
+
- uses: actions/download-artifact@v4
|
|
338
|
+
with:
|
|
339
|
+
path: artifacts/
|
|
340
|
+
- uses: softprops/action-gh-release@v2
|
|
341
|
+
with:
|
|
342
|
+
files: artifacts/**/*
|
|
343
|
+
prerelease: ${{ inputs.prerelease }}
|
|
344
|
+
generate_release_notes: true
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
### Family E: Full Pipeline (Lint → Build → Test → Release)
|
|
348
|
+
|
|
349
|
+
```
|
|
350
|
+
lint ──┐
|
|
351
|
+
├──→ build ──→ test ──→ release (tag only)
|
|
352
|
+
format ┘
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
## Official Action Version Reference (2024-2025)
|
|
358
|
+
|
|
359
|
+
| Action | Version | Purpose |
|
|
360
|
+
|--------|---------|---------|
|
|
361
|
+
| `actions/checkout` | `@v4` | Clone repository |
|
|
362
|
+
| `actions/setup-python` | `@v5` | Python + pip cache |
|
|
363
|
+
| `actions/setup-node` | `@v4` | Node.js + npm cache |
|
|
364
|
+
| `actions/setup-go` | `@v5` | Go + module cache |
|
|
365
|
+
| `actions/setup-java` | `@v4` | Java JDK |
|
|
366
|
+
| `actions/setup-dotnet` | `@v4` | .NET SDK |
|
|
367
|
+
| `actions/cache` | `@v4` | Generic cache |
|
|
368
|
+
| `actions/upload-artifact` | `@v4` | Upload build artifacts |
|
|
369
|
+
| `actions/download-artifact` | `@v4` | Download artifacts |
|
|
370
|
+
| `actions/github-script` | `@v7` | GitHub API scripting |
|
|
371
|
+
| `docker/setup-buildx-action` | `@v3` | Docker Buildx |
|
|
372
|
+
| `docker/setup-qemu-action` | `@v3` | QEMU for cross-arch |
|
|
373
|
+
| `docker/build-push-action` | `@v6` | Build + push Docker |
|
|
374
|
+
| `softprops/action-gh-release` | `@v2` | GitHub Release |
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
|
|
378
|
+
## Output Contract
|
|
379
|
+
|
|
380
|
+
For every request, output:
|
|
381
|
+
|
|
382
|
+
1. **Workflow File(s)**: Complete `.github/workflows/*.yml` — ready to copy
|
|
383
|
+
2. **Required Secrets**: List of secrets that must be configured
|
|
384
|
+
3. **Required Variables**: List of repository variables (if any)
|
|
385
|
+
4. **Setup Steps**: Any one-time setup (e.g., signing keys, registry login)
|
|
386
|
+
5. **Pitfall Warnings**: Any gotchas specific to this workflow
|
|
387
|
+
6. **Cost Estimate**: Approximate Actions minutes consumption per run
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## Related Skills
|
|
392
|
+
|
|
393
|
+
- `nodejs-npm-auto-release`: Specialized Node.js npm publish workflow
|
|
394
|
+
- `code-review`: Pre-merge code quality gates
|
|
395
|
+
- `skill-governor`: Skill package governance
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goal-driven-development
|
|
3
|
+
description: Execute an approved engineering SPEC through a persistent, evidence-backed development goal loop. Use after intent, project health, PRD, and SPEC are approved to implement milestones, run deterministic checks, enforce spec-aware review, and stop at separate commit and push authorization gates. Use a native goal/plan API when available and a goal-state file adapter otherwise. Do not use for vague requirements, unapproved specs, one-off explanations, or autonomous commit/push without explicit authorization.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Goal-Driven Development
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Act as the default coding harness after `SPEC_APPROVED`. Advance one verifiable milestone at a time, persist state and evidence, and keep implementation, review, commit, push, and outcome feedback as explicit transitions.
|
|
11
|
+
|
|
12
|
+
## Input Contract
|
|
13
|
+
|
|
14
|
+
Require or resolve:
|
|
15
|
+
|
|
16
|
+
- repository entry instructions and current Git status;
|
|
17
|
+
- `CHANGE.md`, approved `PRD.md`, approved `SPEC.md`, and `TRACEABILITY.md`;
|
|
18
|
+
- project health/debt baseline when modifying an existing system;
|
|
19
|
+
- acceptance criteria, deterministic check commands, milestone dependencies, and approval boundaries.
|
|
20
|
+
|
|
21
|
+
If essential input is missing, stop before code changes and route to `intent-grill`, `project-health-audit`, `prd`, or `ai-spec`.
|
|
22
|
+
|
|
23
|
+
## Goal adapter
|
|
24
|
+
|
|
25
|
+
1. Use the runtime's native goal API when one actually exists. Set the concrete objective from the approved SPEC and preserve the platform's completion/blocking semantics.
|
|
26
|
+
2. Otherwise create or update `tasks/<change-id>/goal-state.yaml` with the same objective, milestones, current state, evidence, blockers, and authorization fields.
|
|
27
|
+
3. Never claim to have called `/goal`, `create_goal`, or an equivalent API when it is unavailable.
|
|
28
|
+
4. Do not close a goal because context, time, or budget is low. Close only when acceptance is met; mark blocked only under the runtime's genuine blocking rules.
|
|
29
|
+
|
|
30
|
+
Minimal adapter schema:
|
|
31
|
+
|
|
32
|
+
```yaml
|
|
33
|
+
change_id: CHG-000
|
|
34
|
+
spec_version: 1
|
|
35
|
+
state: GOAL_ACTIVE
|
|
36
|
+
objective: ""
|
|
37
|
+
milestones: []
|
|
38
|
+
current_milestone: ""
|
|
39
|
+
evidence: []
|
|
40
|
+
blockers: []
|
|
41
|
+
authorization:
|
|
42
|
+
commit: false
|
|
43
|
+
push: false
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Workflow
|
|
47
|
+
|
|
48
|
+
### Phase 1: Initialize or resume
|
|
49
|
+
|
|
50
|
+
1. Read repository instructions, change artifacts, goal state, Git status, and prior evidence.
|
|
51
|
+
2. Reject stale or superseded SPEC versions.
|
|
52
|
+
3. Convert the SPEC into dependency-ordered milestones, each small enough for one implementation/check/review loop.
|
|
53
|
+
4. Map every acceptance criterion to at least one milestone and verification method.
|
|
54
|
+
5. Enter `GOAL_ACTIVE` only when dependencies and working-tree ownership are understood.
|
|
55
|
+
|
|
56
|
+
### Phase 2: Execute one milestone
|
|
57
|
+
|
|
58
|
+
1. Select the highest-priority incomplete milestone whose dependencies are satisfied.
|
|
59
|
+
2. Declare the intended files, acceptance criteria, checks, risks, and rollback before editing.
|
|
60
|
+
3. Implement the smallest coherent change; preserve unrelated user work.
|
|
61
|
+
4. Run repository-native lint, type, unit, integration, build, security, or manual checks appropriate to the change.
|
|
62
|
+
5. Store concise commands, exit status, and artifact pointers under `evidence/`; never mark success from narrative alone.
|
|
63
|
+
|
|
64
|
+
**🧹 Test Artifact Hygiene (mandatory around every test/checkfix)** — Testing is the leakiest step in the dev loop. Before and after any test/verify/checkfix run, enforce T0–T3:
|
|
65
|
+
|
|
66
|
+
- **T0 · Pre-test Sweep** — Before running tests, scan the worktree for leftover artifacts from the *previous* round: un-ignored test artifacts, temp dbs/caches/screenshots/exports, fixture residue, `__pycache__`. Report the list to the user before starting this round. **Scan test artifacts only — never touch another agent's in-flight code changes.**
|
|
67
|
+
- **T1 · Post-test Cleanup** — After tests, sweep this round's droppings: run residue, temp output, debug snapshots, un-ignored generated files. Report the list, then clean.
|
|
68
|
+
- **T2 · Distinguish three classes — deleting runtime data is an incident**
|
|
69
|
+
|
|
70
|
+
| Class | Criteria | Action |
|
|
71
|
+
|-------|----------|--------|
|
|
72
|
+
| **Test artifact** | test-framework temp output, fixture residue, test temp db/cache/screenshot/mock data, `__pycache__`, .gitignore-covered generated files | report, then **auto-delete** |
|
|
73
|
+
| **Runtime data** | real DB records, logs, user uploads, real cached data, prod/hot-dev live state | **never delete**, even if it looks temp |
|
|
74
|
+
| **Ambiguous / unconfirmed** | neither clearly a test artifact nor confirmable runtime data; or another agent's in-flight work | **ask the user per item** |
|
|
75
|
+
|
|
76
|
+
- **T3 · Code-level Turd Sweep** — After tests pass, clean code residue: `print`/`console.log`/debug output, `debugger`/breakpoint statements, commented-out test blocks, temp TODO/FIXME, hardcoded test data/magic numbers, uncleared mock injections, commented-out old implementations. These "turds" mislead hot-dev and prod debugging; remove them with the test loop.
|
|
77
|
+
- **Delete safety net**: use `/bin/rm -f` or `command rm -f` (bypass the `rm -i` alias); report the list + classification before deleting; never touch runtime data; ask on ambiguity; delete only this round's own test artifacts, never another agent's work.
|
|
78
|
+
|
|
79
|
+
### Phase 3: Enforce compliance and review
|
|
80
|
+
|
|
81
|
+
1. Move to `CHECKING`, then compare the diff against SPEC, traceability, acceptance criteria, project rules, and debt constraints.
|
|
82
|
+
2. Move to `REVIEWING` and invoke or follow `code-review`.
|
|
83
|
+
3. On `FAIL`, enter `FIX_REQUIRED`, fix within scope, and rerun checks and review.
|
|
84
|
+
4. On `PASS_WITH_DEBT`, record accepted findings in the debt register with owner/reason/follow-up.
|
|
85
|
+
5. Mark a milestone complete only when deterministic evidence and review verdict exist.
|
|
86
|
+
|
|
87
|
+
### Phase 4: Delivery gates
|
|
88
|
+
|
|
89
|
+
1. When all milestones pass, update `TRACEABILITY.md`, `goal-state.yaml`, plan documents, and reusable repository learnings.
|
|
90
|
+
2. Enter `COMMIT_READY`; report the exact diff and evidence.
|
|
91
|
+
3. Commit only when commit authorization is explicit. Then enter `COMMITTED` and record the commit hash.
|
|
92
|
+
4. Push only when push authorization is separately explicit. Then enter `PUSHED` and record the remote/ref.
|
|
93
|
+
5. Do not treat approval to edit, test, run a goal, or commit as push authorization.
|
|
94
|
+
|
|
95
|
+
### Phase 5: Outcome and continuation
|
|
96
|
+
|
|
97
|
+
1. Route delivered, stopped, or partially accepted work to `iteration-manager`.
|
|
98
|
+
2. Classify residuals as bug, debt, PRD amendment, SPEC amendment, or new change.
|
|
99
|
+
3. Continue the existing goal only for in-scope incomplete milestones under the same approved SPEC; otherwise create a new change/version.
|
|
100
|
+
4. Complete only when acceptance, traceability, review, and required delivery state are all satisfied.
|
|
101
|
+
|
|
102
|
+
## Completion rule
|
|
103
|
+
|
|
104
|
+
Never use a model-emitted `COMPLETE` string as proof. Completion requires:
|
|
105
|
+
|
|
106
|
+
- all required milestones complete;
|
|
107
|
+
- all acceptance criteria mapped to passing evidence;
|
|
108
|
+
- review verdict `PASS` or approved `PASS_WITH_DEBT`;
|
|
109
|
+
- no Critical/High findings;
|
|
110
|
+
- traceability and goal state updated;
|
|
111
|
+
- Git/delivery state accurately reported;
|
|
112
|
+
- outcome review performed or explicitly deferred.
|
|
113
|
+
|
|
114
|
+
## Output Contract
|
|
115
|
+
|
|
116
|
+
Report each turn with:
|
|
117
|
+
|
|
118
|
+
1. change/spec and current state;
|
|
119
|
+
2. milestone advanced and files affected;
|
|
120
|
+
3. checks and evidence;
|
|
121
|
+
4. review verdict/findings;
|
|
122
|
+
5. blockers or debt;
|
|
123
|
+
6. next transition and required authorization.
|
|
124
|
+
|
|
125
|
+
## Related skills
|
|
126
|
+
|
|
127
|
+
| Relation | Skill | Scenario |
|
|
128
|
+
|---|---|---|
|
|
129
|
+
| Requires | intent-grill / project-health-audit / prd / ai-spec | Prepare approved change contract |
|
|
130
|
+
| Calls | codebase-context / code-debugger / code-review | Context, repair, and quality gate |
|
|
131
|
+
| Returns to | iteration-manager | Outcome and next-cycle routing |
|
|
132
|
+
| Legacy alternative | ralph / ralph-yolo | Compatibility only; not the default harness |
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: intent-grill
|
|
3
|
+
description: Align an ambiguous development request before PRD or SPEC by asking one high-value question at a time, checking answers against accessible code and project evidence, and producing a structured Change Brief with goals, current behavior, scope, non-goals, constraints, assumptions, risks, success signals, and unresolved questions. Do not design or implement before the intent exit criteria are met.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Intent Grill
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Turn an initial request into an evidence-backed Change Brief that product and engineering contracts can consume.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. Capture the stated problem, desired outcome, affected users, current behavior, and urgency.
|
|
15
|
+
2. Inspect accessible project evidence before asking questions that code, docs, issues, or configuration can answer.
|
|
16
|
+
3. Ask one material question per turn and include a recommended answer with its tradeoff.
|
|
17
|
+
4. Traverse scope, non-goals, compatibility, data, risk, operational impact, success signals, approval boundaries, and likely affected modules.
|
|
18
|
+
5. Record assumptions, contradictions, and unresolved questions. Route health/debt uncertainty to `project-health-audit`.
|
|
19
|
+
6. Write `tasks/<change-id>/CHANGE.md`; update `CONTEXT.md` only with reusable domain terms and relationships.
|
|
20
|
+
7. Present an alignment summary and request confirmation before marking `INTENT_ALIGNED`.
|
|
21
|
+
|
|
22
|
+
## Exit criteria
|
|
23
|
+
|
|
24
|
+
Intent is aligned only when:
|
|
25
|
+
|
|
26
|
+
- problem and desired outcome are distinct;
|
|
27
|
+
- current and expected behavior are recorded;
|
|
28
|
+
- scope and non-goals are explicit;
|
|
29
|
+
- primary users/stakeholders and success signals are known;
|
|
30
|
+
- constraints, assumptions, risks, and open questions are visible;
|
|
31
|
+
- affected system area is at least provisionally identified;
|
|
32
|
+
- the user confirms the summary or explicitly accepts remaining uncertainty.
|
|
33
|
+
|
|
34
|
+
## Output Contract
|
|
35
|
+
|
|
36
|
+
`CHANGE.md` must contain: change ID, status, problem, outcome, current behavior, scope, non-goals, users, constraints, assumptions, risks, affected modules, success signals, unresolved questions, evidence pointers, and next route.
|
|
37
|
+
|
|
38
|
+
Do not turn inferred preferences into requirements. Do not hide unresolved questions inside prose.
|
|
39
|
+
|
|
40
|
+
## Related skills
|
|
41
|
+
|
|
42
|
+
| Relation | Skill | Scenario |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| Calls | project-health-audit / codebase-context | Existing-system evidence |
|
|
45
|
+
| Hands off | prd / ai-spec | Product or engineering contract |
|
|
46
|
+
| Receives | iteration-manager | New demand or amendment requiring realignment |
|