gorig-cli 1.0.23 → 1.0.24
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/package.json +1 -1
- package/templates/skills/claude/gorig-backend/SKILL.md +630 -53
- package/templates/skills/claude/gorig-backend/references/onboarding-files.md +18 -12
- package/templates/skills/codex/gorig-backend/SKILL.md +624 -47
- package/templates/skills/codex/gorig-backend/references/onboarding-files.md +18 -12
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Read these files before implementation.
|
|
4
4
|
|
|
5
|
-
## gorig
|
|
5
|
+
## gorig framework files
|
|
6
6
|
- `AGENTS.md`
|
|
7
7
|
- `README.md`
|
|
8
8
|
- `bootstrap/startup.go`
|
|
@@ -15,20 +15,26 @@ Read these files before implementation.
|
|
|
15
15
|
- `serv/serv.go`
|
|
16
16
|
- `utils/errors/*`
|
|
17
17
|
- `utils/logger/*`
|
|
18
|
+
- `cache/cache.go`
|
|
19
|
+
- `cronx/cron.go`
|
|
20
|
+
- `mid/messagex/broker.go`
|
|
21
|
+
- `mid/messagex/serv.go`
|
|
22
|
+
- `httpx/ssex/mid.sse.go`
|
|
18
23
|
- `test/dx_test.go`
|
|
24
|
+
- `test/cache_test.go`
|
|
25
|
+
- `test/cron_test.go`
|
|
26
|
+
- `test/message_test.go`
|
|
27
|
+
- `test/ssex_test.go`
|
|
28
|
+
- `test/gin_mid_test.go`
|
|
19
29
|
|
|
20
|
-
##
|
|
21
|
-
|
|
22
|
-
- `
|
|
23
|
-
- `domain
|
|
24
|
-
- `domain/**/controller.go`
|
|
25
|
-
- `
|
|
26
|
-
- `domain/**/model/*.go`
|
|
27
|
-
- `test/*`
|
|
30
|
+
## User project files
|
|
31
|
+
Read the user's own project before implementation. Look for:
|
|
32
|
+
- Entry point: `_cmd/api/main.go` or `simple/main.go`
|
|
33
|
+
- Domain init: `domain/init.go`
|
|
34
|
+
- Existing modules: `domain/**/router.go`, `domain/**/controller.go`, `domain/**/service.go`, `domain/**/model/*.go`
|
|
35
|
+
- Existing tests: `test/*`
|
|
28
36
|
|
|
29
|
-
|
|
30
|
-
- Target to modify: `/Users/doz/Desktop/project/open/gorig`
|
|
31
|
-
- Reference only: `/Users/doz/Desktop/project/personal/news`
|
|
37
|
+
If the project does not follow this layout, ask the user where modules live before proceeding.
|
|
32
38
|
|
|
33
39
|
## Reading Strategy
|
|
34
40
|
1. Trace startup and service registration.
|