Skip to content

Commit 010fda2

Browse files
committed
docs: 添加GEMINI文档并更新配置
添加GEMINI.md说明文件 更新.gitignore忽略.env文件 新增.gemini/settings.json配置文件 更新.promptx状态和资源注册表时间戳
1 parent f2840d0 commit 010fda2

5 files changed

Lines changed: 86 additions & 25 deletions

File tree

.gemini/settings.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"theme": "GitHub",
3+
"sandbox": "docker",
4+
"mcpServers": {
5+
"promptx": {
6+
"command": "npx",
7+
"args": [
8+
"-y",
9+
"-f",
10+
"--registry",
11+
"https://registry.npmjs.org",
12+
"dpml-prompt@beta",
13+
"mcp-server"
14+
]
15+
},
16+
"context7": {
17+
"command": "npx",
18+
"args": ["-y", "@upstash/context7-mcp@latest"]
19+
},
20+
"gitmcp": {
21+
"command": "npx",
22+
"args": ["mcp-remote", "https://gitmcp.io/{owner}/{repo}"]
23+
},
24+
"git": {
25+
"command": "uvx",
26+
"args": ["mcp-server-git"]
27+
}
28+
},
29+
"telemetry": {
30+
"enabled": false,
31+
"target": "local",
32+
"otlpEndpoint": "http://localhost:4317",
33+
"logPrompts": true
34+
},
35+
"usageStatisticsEnabled": true
36+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ env.ps1
1616

1717
# lingma规则文件
1818
.lingma/rules/project_rules.md
19+
20+
.env

.promptx/pouch.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"currentState": "role_activated_with_memory",
2+
"currentState": "role_discovery",
33
"stateHistory": [
44
{
55
"from": "initial",
@@ -111,7 +111,29 @@
111111
"args": [
112112
"script-developer"
113113
]
114+
},
115+
{
116+
"from": "role_activated_with_memory",
117+
"command": "welcome",
118+
"timestamp": "2025-06-29T15:50:19.495Z",
119+
"args": []
120+
},
121+
{
122+
"from": "role_discovery",
123+
"command": "init",
124+
"timestamp": "2025-06-29T15:51:00.293Z",
125+
"args": [
126+
{
127+
"workingDirectory": "/c/home/env/powershellScripts"
128+
}
129+
]
130+
},
131+
{
132+
"from": "initialized",
133+
"command": "welcome",
134+
"timestamp": "2025-06-29T15:52:04.253Z",
135+
"args": []
114136
}
115137
],
116-
"lastUpdated": "2025-06-29T08:29:40.573Z"
138+
"lastUpdated": "2025-06-29T15:52:04.259Z"
117139
}

.promptx/resource/project.registry.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"metadata": {
55
"version": "2.0.0",
66
"description": "project 级资源注册表",
7-
"createdAt": "2025-06-29T08:29:38.257Z",
8-
"updatedAt": "2025-06-29T08:29:38.258Z",
7+
"createdAt": "2025-06-29T15:51:00.303Z",
8+
"updatedAt": "2025-06-29T15:51:00.331Z",
99
"resourceCount": 7
1010
},
1111
"resources": [
@@ -17,9 +17,9 @@
1717
"description": "专业角色,提供特定领域的专业能力",
1818
"reference": "@project://.promptx/resource/domain/script-developer/script-developer.role.md",
1919
"metadata": {
20-
"createdAt": "2025-06-29T08:29:38.258Z",
21-
"updatedAt": "2025-06-29T08:29:38.258Z",
22-
"scannedAt": "2025-06-29T08:29:38.258Z"
20+
"createdAt": "2025-06-29T15:51:00.313Z",
21+
"updatedAt": "2025-06-29T15:51:00.313Z",
22+
"scannedAt": "2025-06-29T15:51:00.313Z"
2323
}
2424
},
2525
{
@@ -30,9 +30,9 @@
3030
"description": "执行模式,定义具体的行为模式",
3131
"reference": "@project://.promptx/resource/domain/script-developer/execution/script-best-practices.execution.md",
3232
"metadata": {
33-
"createdAt": "2025-06-29T08:29:38.258Z",
34-
"updatedAt": "2025-06-29T08:29:38.258Z",
35-
"scannedAt": "2025-06-29T08:29:38.258Z"
33+
"createdAt": "2025-06-29T15:51:00.322Z",
34+
"updatedAt": "2025-06-29T15:51:00.322Z",
35+
"scannedAt": "2025-06-29T15:51:00.322Z"
3636
}
3737
},
3838
{
@@ -43,9 +43,9 @@
4343
"description": "知识库,提供专业知识和信息",
4444
"reference": "@project://.promptx/resource/domain/script-developer/knowledge/bash-shell-scripting.knowledge.md",
4545
"metadata": {
46-
"createdAt": "2025-06-29T08:29:38.258Z",
47-
"updatedAt": "2025-06-29T08:29:38.258Z",
48-
"scannedAt": "2025-06-29T08:29:38.258Z"
46+
"createdAt": "2025-06-29T15:51:00.329Z",
47+
"updatedAt": "2025-06-29T15:51:00.329Z",
48+
"scannedAt": "2025-06-29T15:51:00.329Z"
4949
}
5050
},
5151
{
@@ -56,9 +56,9 @@
5656
"description": "知识库,提供专业知识和信息",
5757
"reference": "@project://.promptx/resource/domain/script-developer/knowledge/linux-system-administration.knowledge.md",
5858
"metadata": {
59-
"createdAt": "2025-06-29T08:29:38.258Z",
60-
"updatedAt": "2025-06-29T08:29:38.258Z",
61-
"scannedAt": "2025-06-29T08:29:38.258Z"
59+
"createdAt": "2025-06-29T15:51:00.329Z",
60+
"updatedAt": "2025-06-29T15:51:00.329Z",
61+
"scannedAt": "2025-06-29T15:51:00.329Z"
6262
}
6363
},
6464
{
@@ -69,9 +69,9 @@
6969
"description": "知识库,提供专业知识和信息",
7070
"reference": "@project://.promptx/resource/domain/script-developer/knowledge/macos-system-administration.knowledge.md",
7171
"metadata": {
72-
"createdAt": "2025-06-29T08:29:38.258Z",
73-
"updatedAt": "2025-06-29T08:29:38.258Z",
74-
"scannedAt": "2025-06-29T08:29:38.258Z"
72+
"createdAt": "2025-06-29T15:51:00.329Z",
73+
"updatedAt": "2025-06-29T15:51:00.329Z",
74+
"scannedAt": "2025-06-29T15:51:00.329Z"
7575
}
7676
},
7777
{
@@ -82,9 +82,9 @@
8282
"description": "知识库,提供专业知识和信息",
8383
"reference": "@project://.promptx/resource/domain/script-developer/knowledge/powershell-core.knowledge.md",
8484
"metadata": {
85-
"createdAt": "2025-06-29T08:29:38.258Z",
86-
"updatedAt": "2025-06-29T08:29:38.258Z",
87-
"scannedAt": "2025-06-29T08:29:38.258Z"
85+
"createdAt": "2025-06-29T15:51:00.329Z",
86+
"updatedAt": "2025-06-29T15:51:00.329Z",
87+
"scannedAt": "2025-06-29T15:51:00.329Z"
8888
}
8989
},
9090
{
@@ -95,9 +95,9 @@
9595
"description": "知识库,提供专业知识和信息",
9696
"reference": "@project://.promptx/resource/domain/script-developer/knowledge/windows-system-administration.knowledge.md",
9797
"metadata": {
98-
"createdAt": "2025-06-29T08:29:38.258Z",
99-
"updatedAt": "2025-06-29T08:29:38.258Z",
100-
"scannedAt": "2025-06-29T08:29:38.258Z"
98+
"createdAt": "2025-06-29T15:51:00.329Z",
99+
"updatedAt": "2025-06-29T15:51:00.329Z",
100+
"scannedAt": "2025-06-29T15:51:00.329Z"
101101
}
102102
}
103103
],

GEMINI.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
请先阅读 .trae/rules/project_rules.md里的内容了解项目

0 commit comments

Comments
 (0)