You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 3 | TypeScript | TS2xxx errors, type mismatch | Fix the type error in source |
76
-
| 4 | Build failure | Compilation errors, missing exports | Fix imports/exports, verify with `npm run build:intelligence-service` or `npm run build:webhook-ingest`|
76
+
| 4 | Build failure | Compilation errors, missing exports | Fix imports/exports, verify with `npm run build:webhook-ingest`|
77
77
| 5 | Webapp tests | "FAIL" in webapp test output | Fix test or source, verify with `npm run test:webapp`|
78
78
| 5 | App server tests | Maven test failures, assertion errors | Fix test or source, verify with `cd server/application-server && ./mvnw test -Dsurefire.includedGroups="unit" -Dmaven.test.skip=false -T 2C --batch-mode -q`|
79
-
| 5 | Intelligence tests | Vitest failures in intelligence-service | Fix test or source, verify with `npm run test:intelligence-service:unit`|
80
79
| 5 | Webhook tests | Vitest failures in webhook-ingest | Fix test or source, verify with `npm run test:webhook-ingest`|
81
80
| 6 | OpenAPI sync | "OpenAPI out of sync" |`npm run generate:api`|
82
81
| 6 | DB schema | "Schema drift detected" |`npm run db:draft-changelog`|
83
82
| 6 | DB ERD | "ERD outdated" |`npm run db:generate-erd-docs`|
84
-
| 6 | DB models | "DB models out of sync" |`npm run db:generate-models:intelligence-service`|
85
83
86
84
## 5. Fix ALL Issues
87
85
@@ -108,8 +106,6 @@ npm run test:webapp
108
106
# If webhook-ingest tests failed:
109
107
npm run test:webhook-ingest
110
108
111
-
# If intelligence-service tests failed:
112
-
npm run test:intelligence-service:unit
113
109
114
110
# If app-server tests failed:
115
111
cd server/application-server && ./mvnw test -Dsurefire.includedGroups="unit" -Dmaven.test.skip=false -T 2C --batch-mode -q &&cd ../..
Copy file name to clipboardExpand all lines: .claude/skills/land-pr/SKILL.md
+2-25Lines changed: 2 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,14 +36,10 @@ git diff --name-only HEAD
36
36
Map paths to components (mirrors CI's dorny/paths-filter config):
37
37
-`webapp/**` → webapp changed
38
38
-`server/application-server/**` OR `scripts/db-utils.sh` → app-server changed
39
-
-`server/intelligence-service/**` OR `scripts/install-platform-binaries.mjs` OR `scripts/generate-mermaid-erd.ts` OR `scripts/postprocess-openapi-java.ts` → intelligence changed
40
39
-`server/webhook-ingest/**` → webhook changed
41
-
-`package.json` OR `package-lock.json` OR `.node-version` → webapp + intelligence + webhook changed
40
+
-`package.json` OR `package-lock.json` OR `.node-version` → webapp + webhook changed
42
41
-`docs/**` → docs-only (skip all validation if nothing else changed)
43
42
44
-
**Transitive dependency**: If app-server changed, also mark intelligence as changed
45
-
(intelligence-service depends on app-server schema for DB models).
46
-
47
43
## 3. Format
48
44
49
45
```bash
@@ -77,21 +73,8 @@ npm run db:draft-changelog
77
73
npm run db:generate-erd-docs
78
74
```
79
75
80
-
**Intelligence-service API changed:**
81
-
82
-
```bash
83
-
MODEL_NAME=fake:model npm run generate:api:intelligence-service:specs
84
-
npm run generate:api:intelligence-service:client
85
-
```
86
-
87
76
## 6. Build Affected TS Services
88
77
89
-
If intelligence changed:
90
-
91
-
```bash
92
-
npm run build:intelligence-service
93
-
```
94
-
95
78
If webhook changed:
96
79
97
80
```bash
@@ -116,12 +99,6 @@ If webapp changed:
116
99
npm run test:webapp
117
100
```
118
101
119
-
If intelligence changed:
120
-
121
-
```bash
122
-
npm run test:intelligence-service:unit
123
-
```
124
-
125
102
If app-server changed (and mvn available):
126
103
127
104
```bash
@@ -132,7 +109,7 @@ ALL tests must pass before proceeding.
| 3 | TypeScript | TS2xxx errors, type mismatch | Fix the type error in source |
61
-
| 4 | Build failure | Compilation errors, missing exports | Fix imports/exports, verify with `npm run build:intelligence-service` or `npm run build:webhook-ingest`|
61
+
| 4 | Build failure | Compilation errors, missing exports | Fix imports/exports, verify with `npm run build:webhook-ingest`|
62
62
| 5 | Webapp tests | "FAIL" in webapp test output | Fix test or source, verify with `npm run test:webapp`|
63
63
| 5 | App server tests | Maven test failures, assertion errors | Fix test or source, verify with `cd server/application-server && ./mvnw test -Dsurefire.includedGroups="unit" -Dmaven.test.skip=false -T 2C --batch-mode -q`|
64
-
| 5 | Intelligence tests | Vitest failures in intelligence-service | Fix test or source, verify with `npm run test:intelligence-service:unit`|
65
64
| 5 | Webhook tests | Vitest failures in webhook-ingest | Fix test or source, verify with `npm run test:webhook-ingest`|
66
65
| 6 | OpenAPI sync | "OpenAPI out of sync" |`npm run generate:api`|
67
66
| 6 | DB schema | "Schema drift detected" |`npm run db:draft-changelog`|
68
67
| 6 | DB ERD | "ERD outdated" |`npm run db:generate-erd-docs`|
69
-
| 6 | DB models | "DB models out of sync" |`npm run db:generate-models:intelligence-service`|
70
68
71
69
## 5. Fix ALL Issues
72
70
@@ -93,9 +91,6 @@ npm run test:webapp
93
91
# If webhook-ingest tests failed:
94
92
npm run test:webhook-ingest
95
93
96
-
# If intelligence-service tests failed:
97
-
npm run test:intelligence-service:unit
98
-
99
94
# If app-server tests failed:
100
95
cd server/application-server && ./mvnw test -Dsurefire.includedGroups="unit" -Dmaven.test.skip=false -T 2C --batch-mode -q &&cd ../..
Copy file name to clipboardExpand all lines: .github/prompts/land-pr.prompt.md
+2-25Lines changed: 2 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,10 @@ git diff --name-only HEAD
22
22
Map paths to components (mirrors CI's dorny/paths-filter config):
23
23
-`webapp/**` → webapp changed
24
24
-`server/application-server/**` OR `scripts/db-utils.sh` → app-server changed
25
-
-`server/intelligence-service/**` OR `scripts/install-platform-binaries.mjs` OR `scripts/generate-mermaid-erd.ts` OR `scripts/postprocess-openapi-java.ts` → intelligence changed
26
25
-`server/webhook-ingest/**` → webhook changed
27
-
-`package.json` OR `package-lock.json` OR `.node-version` → webapp + intelligence + webhook changed
26
+
-`package.json` OR `package-lock.json` OR `.node-version` → webapp + webhook changed
28
27
-`docs/**` → docs-only (skip all validation if nothing else changed)
29
28
30
-
**Transitive dependency**: If app-server changed, also mark intelligence as changed
31
-
(intelligence-service depends on app-server schema for DB models).
32
-
33
29
## 3. Format
34
30
35
31
```bash
@@ -63,21 +59,8 @@ npm run db:draft-changelog
63
59
npm run db:generate-erd-docs
64
60
```
65
61
66
-
**Intelligence-service API changed:**
67
-
68
-
```bash
69
-
MODEL_NAME=fake:model npm run generate:api:intelligence-service:specs
70
-
npm run generate:api:intelligence-service:client
71
-
```
72
-
73
62
## 6. Build Affected TS Services
74
63
75
-
If intelligence changed:
76
-
77
-
```bash
78
-
npm run build:intelligence-service
79
-
```
80
-
81
64
If webhook changed:
82
65
83
66
```bash
@@ -102,12 +85,6 @@ If webapp changed:
102
85
npm run test:webapp
103
86
```
104
87
105
-
If intelligence changed:
106
-
107
-
```bash
108
-
npm run test:intelligence-service:unit
109
-
```
110
-
111
88
If app-server changed (and mvn available):
112
89
113
90
```bash
@@ -118,7 +95,7 @@ ALL tests must pass before proceeding.
0 commit comments