@fitlab-ai/agent-infra 0.3.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.
Files changed (285) hide show
  1. package/License.txt +21 -0
  2. package/README.md +170 -0
  3. package/README.zh-CN.md +170 -0
  4. package/bin/cli.js +65 -0
  5. package/lib/defaults.json +45 -0
  6. package/lib/init.js +203 -0
  7. package/lib/log.js +27 -0
  8. package/lib/paths.js +48 -0
  9. package/lib/prompt.js +70 -0
  10. package/lib/render.js +99 -0
  11. package/lib/update.js +161 -0
  12. package/lib/version.js +7 -0
  13. package/package.json +48 -0
  14. package/templates/.agent-workspace/README.md +26 -0
  15. package/templates/.agent-workspace/README.zh-CN.md +26 -0
  16. package/templates/.agents/QUICKSTART.md +166 -0
  17. package/templates/.agents/QUICKSTART.zh-CN.md +166 -0
  18. package/templates/.agents/README.md +134 -0
  19. package/templates/.agents/README.zh-CN.md +134 -0
  20. package/templates/.agents/skills/analyze-task/SKILL.md +169 -0
  21. package/templates/.agents/skills/analyze-task/SKILL.zh-CN.md +169 -0
  22. package/templates/.agents/skills/block-task/SKILL.md +164 -0
  23. package/templates/.agents/skills/block-task/SKILL.zh-CN.md +163 -0
  24. package/templates/.agents/skills/check-task/SKILL.md +122 -0
  25. package/templates/.agents/skills/check-task/SKILL.zh-CN.md +122 -0
  26. package/templates/.agents/skills/close-codescan/SKILL.md +122 -0
  27. package/templates/.agents/skills/close-codescan/SKILL.zh-CN.md +122 -0
  28. package/templates/.agents/skills/close-dependabot/SKILL.md +130 -0
  29. package/templates/.agents/skills/close-dependabot/SKILL.zh-CN.md +130 -0
  30. package/templates/.agents/skills/commit/SKILL.md +218 -0
  31. package/templates/.agents/skills/commit/SKILL.zh-CN.md +217 -0
  32. package/templates/.agents/skills/complete-task/SKILL.md +139 -0
  33. package/templates/.agents/skills/complete-task/SKILL.zh-CN.md +137 -0
  34. package/templates/.agents/skills/create-pr/SKILL.md +126 -0
  35. package/templates/.agents/skills/create-pr/SKILL.zh-CN.md +125 -0
  36. package/templates/.agents/skills/create-release-note/SKILL.md +167 -0
  37. package/templates/.agents/skills/create-release-note/SKILL.zh-CN.md +166 -0
  38. package/templates/.agents/skills/create-task/SKILL.md +143 -0
  39. package/templates/.agents/skills/create-task/SKILL.zh-CN.md +143 -0
  40. package/templates/.agents/skills/implement-task/SKILL.md +229 -0
  41. package/templates/.agents/skills/implement-task/SKILL.zh-CN.md +227 -0
  42. package/templates/.agents/skills/import-codescan/SKILL.md +103 -0
  43. package/templates/.agents/skills/import-codescan/SKILL.zh-CN.md +103 -0
  44. package/templates/.agents/skills/import-dependabot/SKILL.md +107 -0
  45. package/templates/.agents/skills/import-dependabot/SKILL.zh-CN.md +107 -0
  46. package/templates/.agents/skills/import-issue/SKILL.md +119 -0
  47. package/templates/.agents/skills/import-issue/SKILL.zh-CN.md +119 -0
  48. package/templates/.agents/skills/init-labels/SKILL.md +74 -0
  49. package/templates/.agents/skills/init-labels/SKILL.zh-CN.md +74 -0
  50. package/templates/.agents/skills/init-labels/scripts/init-labels.sh +111 -0
  51. package/templates/.agents/skills/init-milestones/SKILL.md +74 -0
  52. package/templates/.agents/skills/init-milestones/SKILL.zh-CN.md +74 -0
  53. package/templates/.agents/skills/init-milestones/scripts/init-milestones.sh +169 -0
  54. package/templates/.agents/skills/plan-task/SKILL.md +225 -0
  55. package/templates/.agents/skills/plan-task/SKILL.zh-CN.md +225 -0
  56. package/templates/.agents/skills/refine-task/SKILL.md +200 -0
  57. package/templates/.agents/skills/refine-task/SKILL.zh-CN.md +200 -0
  58. package/templates/.agents/skills/refine-title/SKILL.md +84 -0
  59. package/templates/.agents/skills/refine-title/SKILL.zh-CN.md +83 -0
  60. package/templates/.agents/skills/release/SKILL.md +142 -0
  61. package/templates/.agents/skills/release/SKILL.zh-CN.md +141 -0
  62. package/templates/.agents/skills/release/scripts/manage-milestones.sh +80 -0
  63. package/templates/.agents/skills/review-task/SKILL.md +276 -0
  64. package/templates/.agents/skills/review-task/SKILL.zh-CN.md +276 -0
  65. package/templates/.agents/skills/sync-issue/SKILL.md +569 -0
  66. package/templates/.agents/skills/sync-issue/SKILL.zh-CN.md +569 -0
  67. package/templates/.agents/skills/sync-pr/SKILL.md +142 -0
  68. package/templates/.agents/skills/sync-pr/SKILL.zh-CN.md +142 -0
  69. package/templates/.agents/skills/test/SKILL.md +61 -0
  70. package/templates/.agents/skills/test/SKILL.zh-CN.md +61 -0
  71. package/templates/.agents/skills/test-integration/SKILL.md +70 -0
  72. package/templates/.agents/skills/test-integration/SKILL.zh-CN.md +69 -0
  73. package/templates/.agents/skills/update-agent-infra/SKILL.md +136 -0
  74. package/templates/.agents/skills/update-agent-infra/SKILL.zh-CN.md +124 -0
  75. package/templates/.agents/skills/update-agent-infra/scripts/package.json +3 -0
  76. package/templates/.agents/skills/update-agent-infra/scripts/sync-templates.js +469 -0
  77. package/templates/.agents/skills/upgrade-dependency/SKILL.md +88 -0
  78. package/templates/.agents/skills/upgrade-dependency/SKILL.zh-CN.md +87 -0
  79. package/templates/.agents/templates/handoff.md +60 -0
  80. package/templates/.agents/templates/handoff.zh-CN.md +60 -0
  81. package/templates/.agents/templates/review-report.md +67 -0
  82. package/templates/.agents/templates/review-report.zh-CN.md +67 -0
  83. package/templates/.agents/templates/task.md +65 -0
  84. package/templates/.agents/templates/task.zh-CN.md +65 -0
  85. package/templates/.agents/workflows/bug-fix.yaml +149 -0
  86. package/templates/.agents/workflows/bug-fix.zh-CN.yaml +149 -0
  87. package/templates/.agents/workflows/code-review.yaml +60 -0
  88. package/templates/.agents/workflows/code-review.zh-CN.yaml +60 -0
  89. package/templates/.agents/workflows/feature-development.yaml +150 -0
  90. package/templates/.agents/workflows/feature-development.zh-CN.yaml +150 -0
  91. package/templates/.agents/workflows/refactoring.yaml +154 -0
  92. package/templates/.agents/workflows/refactoring.zh-CN.yaml +154 -0
  93. package/templates/.claude/CLAUDE.md +163 -0
  94. package/templates/.claude/CLAUDE.zh-CN.md +163 -0
  95. package/templates/.claude/commands/analyze-task.md +8 -0
  96. package/templates/.claude/commands/analyze-task.zh-CN.md +8 -0
  97. package/templates/.claude/commands/block-task.md +8 -0
  98. package/templates/.claude/commands/block-task.zh-CN.md +8 -0
  99. package/templates/.claude/commands/check-task.md +8 -0
  100. package/templates/.claude/commands/check-task.zh-CN.md +8 -0
  101. package/templates/.claude/commands/close-codescan.md +8 -0
  102. package/templates/.claude/commands/close-codescan.zh-CN.md +8 -0
  103. package/templates/.claude/commands/close-dependabot.md +8 -0
  104. package/templates/.claude/commands/close-dependabot.zh-CN.md +8 -0
  105. package/templates/.claude/commands/commit.md +7 -0
  106. package/templates/.claude/commands/commit.zh-CN.md +7 -0
  107. package/templates/.claude/commands/complete-task.md +8 -0
  108. package/templates/.claude/commands/complete-task.zh-CN.md +8 -0
  109. package/templates/.claude/commands/create-pr.md +8 -0
  110. package/templates/.claude/commands/create-pr.zh-CN.md +8 -0
  111. package/templates/.claude/commands/create-release-note.md +8 -0
  112. package/templates/.claude/commands/create-release-note.zh-CN.md +8 -0
  113. package/templates/.claude/commands/create-task.md +8 -0
  114. package/templates/.claude/commands/create-task.zh-CN.md +8 -0
  115. package/templates/.claude/commands/implement-task.md +8 -0
  116. package/templates/.claude/commands/implement-task.zh-CN.md +8 -0
  117. package/templates/.claude/commands/import-codescan.md +8 -0
  118. package/templates/.claude/commands/import-codescan.zh-CN.md +8 -0
  119. package/templates/.claude/commands/import-dependabot.md +8 -0
  120. package/templates/.claude/commands/import-dependabot.zh-CN.md +8 -0
  121. package/templates/.claude/commands/import-issue.md +8 -0
  122. package/templates/.claude/commands/import-issue.zh-CN.md +8 -0
  123. package/templates/.claude/commands/init-labels.md +7 -0
  124. package/templates/.claude/commands/init-labels.zh-CN.md +7 -0
  125. package/templates/.claude/commands/init-milestones.md +8 -0
  126. package/templates/.claude/commands/init-milestones.zh-CN.md +8 -0
  127. package/templates/.claude/commands/plan-task.md +8 -0
  128. package/templates/.claude/commands/plan-task.zh-CN.md +8 -0
  129. package/templates/.claude/commands/refine-task.md +8 -0
  130. package/templates/.claude/commands/refine-task.zh-CN.md +8 -0
  131. package/templates/.claude/commands/refine-title.md +8 -0
  132. package/templates/.claude/commands/refine-title.zh-CN.md +8 -0
  133. package/templates/.claude/commands/release.md +8 -0
  134. package/templates/.claude/commands/release.zh-CN.md +8 -0
  135. package/templates/.claude/commands/review-task.md +8 -0
  136. package/templates/.claude/commands/review-task.zh-CN.md +8 -0
  137. package/templates/.claude/commands/sync-issue.md +8 -0
  138. package/templates/.claude/commands/sync-issue.zh-CN.md +8 -0
  139. package/templates/.claude/commands/sync-pr.md +8 -0
  140. package/templates/.claude/commands/sync-pr.zh-CN.md +8 -0
  141. package/templates/.claude/commands/test-integration.md +7 -0
  142. package/templates/.claude/commands/test-integration.zh-CN.md +7 -0
  143. package/templates/.claude/commands/test.md +7 -0
  144. package/templates/.claude/commands/test.zh-CN.md +7 -0
  145. package/templates/.claude/commands/update-agent-infra.md +7 -0
  146. package/templates/.claude/commands/update-agent-infra.zh-CN.md +7 -0
  147. package/templates/.claude/commands/upgrade-dependency.md +8 -0
  148. package/templates/.claude/commands/upgrade-dependency.zh-CN.md +8 -0
  149. package/templates/.claude/project-rules.md +65 -0
  150. package/templates/.claude/project-rules.zh-CN.md +65 -0
  151. package/templates/.claude/settings.json +20 -0
  152. package/templates/.codex/README.md +38 -0
  153. package/templates/.codex/README.zh-CN.md +37 -0
  154. package/templates/.editorconfig +15 -0
  155. package/templates/.gemini/commands/_project_/analyze-task.toml +8 -0
  156. package/templates/.gemini/commands/_project_/analyze-task.zh-CN.toml +8 -0
  157. package/templates/.gemini/commands/_project_/block-task.toml +8 -0
  158. package/templates/.gemini/commands/_project_/block-task.zh-CN.toml +8 -0
  159. package/templates/.gemini/commands/_project_/check-task.toml +8 -0
  160. package/templates/.gemini/commands/_project_/check-task.zh-CN.toml +8 -0
  161. package/templates/.gemini/commands/_project_/close-codescan.toml +8 -0
  162. package/templates/.gemini/commands/_project_/close-codescan.zh-CN.toml +8 -0
  163. package/templates/.gemini/commands/_project_/close-dependabot.toml +8 -0
  164. package/templates/.gemini/commands/_project_/close-dependabot.zh-CN.toml +8 -0
  165. package/templates/.gemini/commands/_project_/commit.toml +6 -0
  166. package/templates/.gemini/commands/_project_/commit.zh-CN.toml +6 -0
  167. package/templates/.gemini/commands/_project_/complete-task.toml +8 -0
  168. package/templates/.gemini/commands/_project_/complete-task.zh-CN.toml +8 -0
  169. package/templates/.gemini/commands/_project_/create-pr.toml +8 -0
  170. package/templates/.gemini/commands/_project_/create-pr.zh-CN.toml +8 -0
  171. package/templates/.gemini/commands/_project_/create-release-note.toml +8 -0
  172. package/templates/.gemini/commands/_project_/create-release-note.zh-CN.toml +8 -0
  173. package/templates/.gemini/commands/_project_/create-task.toml +8 -0
  174. package/templates/.gemini/commands/_project_/create-task.zh-CN.toml +8 -0
  175. package/templates/.gemini/commands/_project_/implement-task.toml +8 -0
  176. package/templates/.gemini/commands/_project_/implement-task.zh-CN.toml +8 -0
  177. package/templates/.gemini/commands/_project_/import-codescan.toml +8 -0
  178. package/templates/.gemini/commands/_project_/import-codescan.zh-CN.toml +8 -0
  179. package/templates/.gemini/commands/_project_/import-dependabot.toml +8 -0
  180. package/templates/.gemini/commands/_project_/import-dependabot.zh-CN.toml +8 -0
  181. package/templates/.gemini/commands/_project_/import-issue.toml +8 -0
  182. package/templates/.gemini/commands/_project_/import-issue.zh-CN.toml +8 -0
  183. package/templates/.gemini/commands/_project_/init-labels.toml +8 -0
  184. package/templates/.gemini/commands/_project_/init-labels.zh-CN.toml +8 -0
  185. package/templates/.gemini/commands/_project_/init-milestones.toml +10 -0
  186. package/templates/.gemini/commands/_project_/init-milestones.zh-CN.toml +10 -0
  187. package/templates/.gemini/commands/_project_/plan-task.toml +8 -0
  188. package/templates/.gemini/commands/_project_/plan-task.zh-CN.toml +8 -0
  189. package/templates/.gemini/commands/_project_/refine-task.toml +8 -0
  190. package/templates/.gemini/commands/_project_/refine-task.zh-CN.toml +8 -0
  191. package/templates/.gemini/commands/_project_/refine-title.toml +8 -0
  192. package/templates/.gemini/commands/_project_/refine-title.zh-CN.toml +8 -0
  193. package/templates/.gemini/commands/_project_/release.toml +8 -0
  194. package/templates/.gemini/commands/_project_/release.zh-CN.toml +8 -0
  195. package/templates/.gemini/commands/_project_/review-task.toml +8 -0
  196. package/templates/.gemini/commands/_project_/review-task.zh-CN.toml +8 -0
  197. package/templates/.gemini/commands/_project_/sync-issue.toml +8 -0
  198. package/templates/.gemini/commands/_project_/sync-issue.zh-CN.toml +8 -0
  199. package/templates/.gemini/commands/_project_/sync-pr.toml +8 -0
  200. package/templates/.gemini/commands/_project_/sync-pr.zh-CN.toml +8 -0
  201. package/templates/.gemini/commands/_project_/test-integration.toml +6 -0
  202. package/templates/.gemini/commands/_project_/test-integration.zh-CN.toml +6 -0
  203. package/templates/.gemini/commands/_project_/test.toml +6 -0
  204. package/templates/.gemini/commands/_project_/test.zh-CN.toml +6 -0
  205. package/templates/.gemini/commands/_project_/update-agent-infra.toml +6 -0
  206. package/templates/.gemini/commands/_project_/update-agent-infra.zh-CN.toml +6 -0
  207. package/templates/.gemini/commands/_project_/upgrade-dependency.toml +8 -0
  208. package/templates/.gemini/commands/_project_/upgrade-dependency.zh-CN.toml +8 -0
  209. package/templates/.gemini/settings.json +3 -0
  210. package/templates/.github/ISSUE_TEMPLATE/01_bug_report.yml +149 -0
  211. package/templates/.github/ISSUE_TEMPLATE/02_question.yml +101 -0
  212. package/templates/.github/ISSUE_TEMPLATE/03_feature_request.yml +131 -0
  213. package/templates/.github/ISSUE_TEMPLATE/04_documentation.yml +165 -0
  214. package/templates/.github/ISSUE_TEMPLATE/05_other.yml +147 -0
  215. package/templates/.github/ISSUE_TEMPLATE/config.yml +11 -0
  216. package/templates/.github/PULL_REQUEST_TEMPLATE.md +123 -0
  217. package/templates/.github/dependabot.yml +17 -0
  218. package/templates/.github/hooks/check-utf8-encoding.sh +25 -0
  219. package/templates/.github/release.yml +27 -0
  220. package/templates/.github/workflows/pr-title-check.yml +42 -0
  221. package/templates/.mailmap +4 -0
  222. package/templates/.opencode/COMMAND_STYLE_GUIDE.md +232 -0
  223. package/templates/.opencode/COMMAND_STYLE_GUIDE.zh-CN.md +232 -0
  224. package/templates/.opencode/README.md +76 -0
  225. package/templates/.opencode/README.zh-CN.md +77 -0
  226. package/templates/.opencode/commands/analyze-task.md +11 -0
  227. package/templates/.opencode/commands/analyze-task.zh-CN.md +11 -0
  228. package/templates/.opencode/commands/block-task.md +11 -0
  229. package/templates/.opencode/commands/block-task.zh-CN.md +11 -0
  230. package/templates/.opencode/commands/check-task.md +11 -0
  231. package/templates/.opencode/commands/check-task.zh-CN.md +11 -0
  232. package/templates/.opencode/commands/close-codescan.md +11 -0
  233. package/templates/.opencode/commands/close-codescan.zh-CN.md +11 -0
  234. package/templates/.opencode/commands/close-dependabot.md +11 -0
  235. package/templates/.opencode/commands/close-dependabot.zh-CN.md +11 -0
  236. package/templates/.opencode/commands/commit.md +9 -0
  237. package/templates/.opencode/commands/commit.zh-CN.md +9 -0
  238. package/templates/.opencode/commands/complete-task.md +11 -0
  239. package/templates/.opencode/commands/complete-task.zh-CN.md +11 -0
  240. package/templates/.opencode/commands/create-pr.md +11 -0
  241. package/templates/.opencode/commands/create-pr.zh-CN.md +11 -0
  242. package/templates/.opencode/commands/create-release-note.md +11 -0
  243. package/templates/.opencode/commands/create-release-note.zh-CN.md +11 -0
  244. package/templates/.opencode/commands/create-task.md +11 -0
  245. package/templates/.opencode/commands/create-task.zh-CN.md +11 -0
  246. package/templates/.opencode/commands/implement-task.md +11 -0
  247. package/templates/.opencode/commands/implement-task.zh-CN.md +11 -0
  248. package/templates/.opencode/commands/import-codescan.md +11 -0
  249. package/templates/.opencode/commands/import-codescan.zh-CN.md +11 -0
  250. package/templates/.opencode/commands/import-dependabot.md +11 -0
  251. package/templates/.opencode/commands/import-dependabot.zh-CN.md +11 -0
  252. package/templates/.opencode/commands/import-issue.md +11 -0
  253. package/templates/.opencode/commands/import-issue.zh-CN.md +11 -0
  254. package/templates/.opencode/commands/init-labels.md +9 -0
  255. package/templates/.opencode/commands/init-labels.zh-CN.md +9 -0
  256. package/templates/.opencode/commands/init-milestones.md +11 -0
  257. package/templates/.opencode/commands/init-milestones.zh-CN.md +11 -0
  258. package/templates/.opencode/commands/plan-task.md +11 -0
  259. package/templates/.opencode/commands/plan-task.zh-CN.md +11 -0
  260. package/templates/.opencode/commands/refine-task.md +11 -0
  261. package/templates/.opencode/commands/refine-task.zh-CN.md +11 -0
  262. package/templates/.opencode/commands/refine-title.md +11 -0
  263. package/templates/.opencode/commands/refine-title.zh-CN.md +11 -0
  264. package/templates/.opencode/commands/release.md +11 -0
  265. package/templates/.opencode/commands/release.zh-CN.md +11 -0
  266. package/templates/.opencode/commands/review-task.md +11 -0
  267. package/templates/.opencode/commands/review-task.zh-CN.md +11 -0
  268. package/templates/.opencode/commands/sync-issue.md +11 -0
  269. package/templates/.opencode/commands/sync-issue.zh-CN.md +11 -0
  270. package/templates/.opencode/commands/sync-pr.md +11 -0
  271. package/templates/.opencode/commands/sync-pr.zh-CN.md +11 -0
  272. package/templates/.opencode/commands/test-integration.md +9 -0
  273. package/templates/.opencode/commands/test-integration.zh-CN.md +9 -0
  274. package/templates/.opencode/commands/test.md +9 -0
  275. package/templates/.opencode/commands/test.zh-CN.md +9 -0
  276. package/templates/.opencode/commands/update-agent-infra.md +9 -0
  277. package/templates/.opencode/commands/update-agent-infra.zh-CN.md +9 -0
  278. package/templates/.opencode/commands/upgrade-dependency.md +11 -0
  279. package/templates/.opencode/commands/upgrade-dependency.zh-CN.md +11 -0
  280. package/templates/AGENTS.md +91 -0
  281. package/templates/AGENTS.zh-CN.md +91 -0
  282. package/templates/CONTRIBUTING.md +126 -0
  283. package/templates/CONTRIBUTING.zh-CN.md +124 -0
  284. package/templates/SECURITY.md +131 -0
  285. package/templates/SECURITY.zh-CN.md +131 -0
@@ -0,0 +1,91 @@
1
+ # agent-infra - AI Development Guide
2
+
3
+ This repository contains the agent-infra template and skill repository for multi-AI collaboration infrastructure.
4
+
5
+ ## Quick Start Commands
6
+
7
+ <!-- TODO: Add your project's build commands here -->
8
+ ```bash
9
+ # Example (replace with your project's commands):
10
+ # npm install / mvn clean install / pip install -r requirements.txt
11
+ # npm run build / mvn package / make build
12
+ # npm test / mvn test / pytest
13
+ # npm run lint / mvn checkstyle:check / flake8
14
+ ```
15
+
16
+ ## Coding Standards (Required)
17
+
18
+ <!-- TODO: Add your project's coding standards here -->
19
+
20
+ ### Copyright Header Update Rules
21
+ When modifying any file with a copyright header, you must update the copyright year:
22
+ 1. Run `date +%Y` to get the current year (never hardcode)
23
+ 2. Update format example (assuming current year is 2026):
24
+ - `2024-2025` -> `2024-2026`
25
+ - `2024` -> `2024-2026`
26
+
27
+ ### Branch Naming
28
+ Use project prefix: `{{project}}-feature-xxx`, `{{project}}-bugfix-yyy`
29
+
30
+ ## Project Structure
31
+
32
+ <!-- TODO: Add your project's directory structure here -->
33
+
34
+ ## Testing Requirements
35
+
36
+ <!-- TODO: Add your project's test framework and commands here -->
37
+
38
+ ## Commit and PR Conventions
39
+
40
+ ### Commit Message Format (Conventional Commits)
41
+ ```
42
+ <type>(<scope>): <subject>
43
+
44
+ Examples:
45
+ feat(module): add new feature
46
+ fix(module): fix critical bug
47
+ docs(module): update documentation
48
+ refactor(module): refactor internal logic
49
+ ```
50
+
51
+ - **type**: `feat`, `fix`, `docs`, `refactor`, `test`, `chore`
52
+ - **scope**: module name (optional)
53
+ - **subject**: English, imperative mood, max 50 characters
54
+
55
+ ### PR Checklist
56
+ Before submitting a PR, ensure:
57
+ - [ ] All tests pass
58
+ - [ ] Lint checks pass
59
+ - [ ] Build succeeds
60
+ - [ ] Public APIs have documentation
61
+ - [ ] Copyright headers updated (if applicable)
62
+
63
+ ## Security Notes
64
+
65
+ - Do not commit sensitive files: `.env`, `credentials.json`, keys, etc.
66
+ - Report security issues per `SECURITY.md` guidelines (do not open public Issues)
67
+
68
+ ## Multi-AI Collaboration Support
69
+
70
+ This project supports Claude Code, Codex, Gemini CLI, OpenCode and other AI tools working together.
71
+
72
+ **Collaboration config directory**:
73
+ - `.agents/` - AI configuration and workflow definitions (version controlled)
74
+
75
+ **Language conventions**:
76
+
77
+ All code-level content uses **English**. Documentation provides **multilingual versions** (English as primary).
78
+
79
+ | Context | Language | Notes |
80
+ |---------|----------|-------|
81
+ | Code identifiers, JSDoc/TSDoc | English | Code is documentation |
82
+ | CLI help text, error messages | English | For all users |
83
+ | Git commit messages | English | Conventional Commits imperative mood |
84
+ | Project documentation | English (primary) + Chinese translation | e.g. `README.md` + `README.zh-CN.md` |
85
+ | AI responses | Follow user's input language | Chinese question -> Chinese answer |
86
+
87
+ <!-- TODO: Add your project's tech stack here -->
88
+
89
+ ---
90
+
91
+ **Based on standard**: [AGENTS.md](https://agents.md) (Linux Foundation AAIF)
@@ -0,0 +1,91 @@
1
+ # agent-infra - AI 开发指南
2
+
3
+ 本仓库包含 agent-infra 模板和技能仓库,用于多 AI 协作基础设施。
4
+
5
+ ## 快速开始命令
6
+
7
+ <!-- TODO: 在此添加你的项目构建命令 -->
8
+ ```bash
9
+ # 示例(替换为你的项目命令):
10
+ # npm install / mvn clean install / pip install -r requirements.txt
11
+ # npm run build / mvn package / make build
12
+ # npm test / mvn test / pytest
13
+ # npm run lint / mvn checkstyle:check / flake8
14
+ ```
15
+
16
+ ## 编码规范(必须遵守)
17
+
18
+ <!-- TODO: 在此添加你的项目编码规范 -->
19
+
20
+ ### 版权头更新规则
21
+ 修改任意带版权头的文件时,必须更新版权年份:
22
+ 1. 先运行 `date +%Y` 获取当前年份(不要硬编码)
23
+ 2. 更新格式示例(假设当前年份为 2026):
24
+ - `2024-2025` -> `2024-2026`
25
+ - `2024` -> `2024-2026`
26
+
27
+ ### 分支命名
28
+ 使用项目前缀:`{{project}}-feature-xxx`、`{{project}}-bugfix-yyy`
29
+
30
+ ## 项目结构
31
+
32
+ <!-- TODO: 在此添加你的项目目录结构 -->
33
+
34
+ ## 测试要求
35
+
36
+ <!-- TODO: 在此添加你的项目测试框架和命令 -->
37
+
38
+ ## 提交与 PR 规范
39
+
40
+ ### 提交信息格式(Conventional Commits)
41
+ ```
42
+ <type>(<scope>): <subject>
43
+
44
+ 示例:
45
+ feat(module): add new feature
46
+ fix(module): fix critical bug
47
+ docs(module): update documentation
48
+ refactor(module): refactor internal logic
49
+ ```
50
+
51
+ - **type**: `feat`, `fix`, `docs`, `refactor`, `test`, `chore`
52
+ - **scope**: 模块名(可省略)
53
+ - **subject**: 英文,简洁祈使语气,不超过 50 字符
54
+
55
+ ### PR 检查清单
56
+ 提交 PR 前必须确保:
57
+ - [ ] 所有测试通过
58
+ - [ ] 代码检查通过
59
+ - [ ] 构建成功
60
+ - [ ] 公共 API 有文档
61
+ - [ ] 版权头年份已更新(如适用)
62
+
63
+ ## 安全注意事项
64
+
65
+ - 不要提交敏感文件:`.env`, `credentials.json`, 密钥等
66
+ - 安全问题请按 `SECURITY.md` 指引私下提交(不要公开 Issue)
67
+
68
+ ## 多 AI 协作支持
69
+
70
+ 本项目支持 Claude Code、Codex、Gemini CLI、OpenCode 等多个 AI 工具协同工作。
71
+
72
+ **协作配置目录**:
73
+ - `.agents/` - AI 配置和工作流定义(版本控制)
74
+
75
+ **语言规范**:
76
+
77
+ 项目代码层面统一使用**英文**,文档提供**多语言版本**(英文为主版本)。
78
+
79
+ | 场景 | 语言 | 说明 |
80
+ |------|------|------|
81
+ | 代码标识符、JSDoc/TSDoc | 英文 | 代码即文档 |
82
+ | CLI 帮助文本、错误信息 | 英文 | 面向所有用户 |
83
+ | Git commit message | 英文 | Conventional Commits 祈使语气 |
84
+ | 项目文档 | 英文(主) + 中文翻译 | 如 `README.md` + `README.zh-CN.md` |
85
+ | AI 回复 | 跟随用户输入语言 | 中文问→中文答 |
86
+
87
+ <!-- TODO: 在此添加你的项目技术栈 -->
88
+
89
+ ---
90
+
91
+ **基于标准**: [AGENTS.md](https://agents.md) (Linux Foundation AAIF)
@@ -0,0 +1,126 @@
1
+ # Developer Guide
2
+
3
+ ## Introduction
4
+
5
+ This guide provides detailed development guidance for contributors, including branch management, tagging, commit rules, and code review.
6
+
7
+ ## Development Model
8
+
9
+ We use [Git](https://git-scm.com/) for version control, following a multi-version Git-Flow model:
10
+
11
+ - `main` branch is the primary development branch; all features branch from and merge into it
12
+ - `{{project}}-feature-*` branches for feature development
13
+ - `{{project}}-{majorVersion}.{minorVersion}.x` for version branches
14
+ - `{{project}}-bugfix-*` branches for bug fixes
15
+ - All bug fixes or enhancements must start from the lowest applicable version branch and merge upward to `main`
16
+
17
+ ## Environment Setup
18
+
19
+ ### Prerequisites
20
+
21
+ <!-- TODO: Add your project's prerequisites here -->
22
+
23
+ ### Quick Start
24
+
25
+ ```bash
26
+ # Clone the project
27
+ git clone <repository-url>
28
+
29
+ # Install dependencies
30
+ # TODO: Add your project's install command
31
+
32
+ # Build
33
+ # TODO: Add your project's build command
34
+
35
+ # Run tests
36
+ # TODO: Add your project's test command
37
+
38
+ # Lint
39
+ # TODO: Add your project's lint command
40
+ ```
41
+
42
+ See the project's `README.md` for more details on configuring the development environment.
43
+
44
+ ## Branch Management
45
+
46
+ - Create a new branch for each feature or bug fix; never develop directly on `main`.
47
+ - Branch naming should be concise and describe the branch's purpose.
48
+ - Branches start with `{{project}}-`.
49
+ - Feature branches: `{{project}}-feature-*`, enhancements: `{{project}}-enhancement-*`, tasks: `{{project}}-task-*`, bug fixes: `{{project}}-bugfix-*`.
50
+ - Use hyphens `-` to separate words.
51
+ - Version branches end with two version numbers and `x`: `{{project}}-1.0.x`.
52
+ - Release branches end with three version numbers: `{{project}}-1.0.0`.
53
+
54
+ ### Version Branch Merge Rules
55
+
56
+ - Version branches must merge from lower to higher versions, without skipping.
57
+ - After any feature, enhancement, or bugfix merges into a version branch, it must be merged upward through each subsequent version branch until reaching `main`.
58
+
59
+ ## Tag Management
60
+
61
+ - Tag names must match release branch names, e.g. `{{project}}-1.0.0`.
62
+ - Purely numeric versions use a `v` prefix, e.g. `v0.1.0`.
63
+ - Release candidates use special suffixes, e.g. `{{project}}-1.0.0-alpha1`.
64
+ - After a tag is created, the corresponding release branch should be deleted.
65
+ - All Issues and PRs must have at least two labels: `in: {module}` and `type: {type}`.
66
+
67
+ ## Development Standards
68
+
69
+ ### Code Style
70
+
71
+ <!-- TODO: Add your project's code style requirements here -->
72
+
73
+ ### Comments
74
+
75
+ - Each module file should include comments explaining its purpose.
76
+ - All exported classes, functions, and interfaces need documentation comments.
77
+
78
+ ## Commit Rules
79
+
80
+ ### Commit Message Format
81
+
82
+ We follow [Conventional Commits](https://www.conventionalcommits.org/):
83
+ `<type>(<scope>): <subject>`
84
+
85
+ - **type**: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore`
86
+ - **scope**: Module name. Use `*` or leave empty for cross-module changes.
87
+ - **subject**: Brief description in English imperative mood, max 50 characters, no trailing period.
88
+
89
+ Add a blank line after the subject for detailed description if necessary.
90
+
91
+ **Examples:**
92
+ - `feat(ai): add multi-agent collaboration workflow`
93
+ - `fix(github): fix PR title validation regex`
94
+ - `docs(ai): update collaboration quick start guide`
95
+
96
+ ## Code Review
97
+
98
+ - Create a pull request to merge changes into the main branch. Describe your changes and invite team members for review.
99
+ - Keep the main branch always deployable; ensure merged code is tested and follows coding standards.
100
+
101
+ ## Testing
102
+
103
+ <!-- TODO: Add your project's testing requirements here -->
104
+
105
+ ## Release Process
106
+
107
+ Follow the project's release plan. When releasing a new version, create a tag per the tag management rules.
108
+
109
+ ## Issue and Requirement Tracking
110
+
111
+ Use the project's Issue tracker to report and track issues, requirements, and feature suggestions. Provide detailed information when creating new Issues.
112
+
113
+ ## Contribution Guide
114
+
115
+ For contributors:
116
+
117
+ 1. Fork the project.
118
+ 2. Clone your fork locally.
119
+ 3. Create a new branch for development.
120
+ 4. Follow the commit conventions in this document.
121
+ 5. Create a PR to merge into the corresponding branch (one commit per PR).
122
+ 6. Participate in code review and make necessary changes.
123
+ 7. Once accepted and merged, your contribution becomes part of the project.
124
+
125
+ > - Maintainers may suggest modifications. Stay open and communicate actively.
126
+ > - If you find an issue but don't plan to fix it, submit an Issue. For questions, use the Discussions section.
@@ -0,0 +1,124 @@
1
+ # 开发者指导手册
2
+
3
+ ## 简介
4
+
5
+ 本指导手册旨在为项目的开发者提供一份详细的开发指导,包括分支管理、标签管理、提交规则、代码审查等内容。遵循这些指导有助于项目的高效开发和良好协作。
6
+
7
+ ## 开发模式
8
+
9
+ 我们使用 [Git](https://git-scm.com/) 作为版本控制工具,项目开发模式遵从多版本的 `Git-Flow` 模式:
10
+
11
+ - `main` 分支为主干开发分支,所有特性都从该分支检出并合入
12
+ - `{{project}}-feature-*` 分支为特性开发分支
13
+ - `{{project}}-{$majorVersion}.{$minorVersion}.x` 为指定版本分支
14
+ - `{{project}}-bugfix-*` 分支为问题修复分支
15
+ - 所有问题修复或者功能增强,均需要找到合适的最低版本分支进行处理,然后逐级分支往上合入,最终合入 `main` 分支
16
+
17
+ ## 环境配置
18
+
19
+ ### 前置条件
20
+
21
+ <!-- TODO: 在此添加你的项目前置条件 -->
22
+
23
+ ### 快速开始
24
+
25
+ ```bash
26
+ # 克隆项目
27
+ git clone <repository-url>
28
+
29
+ # 安装依赖
30
+ # TODO: 添加你的项目安装命令
31
+
32
+ # 构建
33
+ # TODO: 添加你的项目构建命令
34
+
35
+ # 运行测试
36
+ # TODO: 添加你的项目测试命令
37
+
38
+ # 代码检查
39
+ # TODO: 添加你的项目检查命令
40
+ ```
41
+
42
+ 请参考项目的 `README.md` 文件以获取更多关于如何配置开发环境的指导。
43
+
44
+ ## 分支管理
45
+
46
+ - 为每个功能或问题修复创建一个新的分支,避免在主分支(如 `main`)上直接开发。
47
+ - 分支命名应简洁明了,描述分支的主要目的。
48
+ - 分支以 `{{project}}-` 开头。
49
+ - 特性分支以 `{{project}}-feature-` 开头,功能增强分支以 `{{project}}-enhancement-` 开头,任务型分支以 `{{project}}-task-` 开头,问题修复分支以 `{{project}}-bugfix-` 开头。
50
+ - 使用短划线 `-` 来分隔单词。
51
+ - 版本分支最后跟两个版本号和一个 `x` 字母,例如:`{{project}}-1.0.x`。
52
+ - 发布分支后面跟三个版本号,例如:`{{project}}-1.0.0`。
53
+
54
+ ### 版本分支合并规则
55
+
56
+ - 版本分支合并必须遵循低版本向高版本合并的原则,且不可跨越某一个版本。
57
+ - 当任意 `feature`、`enhancement` 或 `bugfix` 合入指定版本分支之后,需要依次向上合并直到 `main` 分支为止。
58
+
59
+ ## 标签管理
60
+
61
+ - 每个标签的名字和发布分支的名字需要保持一致,例如:`{{project}}-1.0.0`。
62
+ - 纯数字版本的分支需要以 `v` 开头,例如:`v0.1.0`。
63
+ - 候选版本以特殊词组结尾,例如:`{{project}}-1.0.0-alpha1`。
64
+ - 当标签被打出后,对应的发布分支应当删除。
65
+ - 所有的 Issue 和 PR 都需要至少包含两种标签:`in: {$module}` 和 `type: {$type}`。
66
+
67
+ ## 开发规范
68
+
69
+ ### 代码风格
70
+
71
+ <!-- TODO: 在此添加你的项目代码风格要求 -->
72
+
73
+ ### 注释信息
74
+
75
+ - 每一个模块文件都建议包含注释,说明其职责和用途。
76
+ - 所有被 `export` 的类、函数、接口等都需要添加文档注释。
77
+
78
+ ## 提交规则
79
+
80
+ ### 提交信息格式
81
+
82
+ 我们采用 [Conventional Commits](https://www.conventionalcommits.org/) 规范:
83
+ `<type>(<scope>): <subject>`
84
+
85
+ - **type(类型)**:`feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore`
86
+ - **scope(范围/模块)**:对应项目模块名。如果涉及多个模块或全局变动,可以使用 `*` 或留空。
87
+ - **subject(描述)**:简短描述主要内容,使用英文祈使语气,不超过 50 字符,结尾不需要句号。
88
+
89
+ **样例:**
90
+ - `feat(ai): add multi-agent collaboration workflow`
91
+ - `fix(github): fix PR title validation regex`
92
+ - `docs(ai): update collaboration quick start guide`
93
+
94
+ ## 代码审查
95
+
96
+ - 开发完成后,通过创建合并请求将变更合并到主分支。在合并请求中描述所做的更改,并邀请其他项目成员进行代码审查。
97
+ - 保持主分支始终可部署,确保合并的代码经过充分测试。
98
+
99
+ ## 测试
100
+
101
+ <!-- TODO: 在此添加你的项目测试要求 -->
102
+
103
+ ## 发布流程
104
+
105
+ 遵循项目的发布计划和流程。在发布新版本时,请按照标签管理的规定创建一个新的 `tag`。
106
+
107
+ ## 问题和需求跟踪
108
+
109
+ 使用项目的 `Issue` 跟踪器来报告和跟踪问题、需求和功能建议。在创建新 `Issue` 时,请尽量提供详细的信息。
110
+
111
+ ## 贡献指南
112
+
113
+ 对于希望参与项目的贡献者,请遵循以下步骤:
114
+
115
+ 1. Fork 当前项目。
116
+ 2. 克隆 Fork 后的仓库到本地。
117
+ 3. 在本地仓库中创建一个新的分支,进行开发。
118
+ 4. 遵循本文档中的提交规范,将更改提交到新分支。
119
+ 5. 通过页面创建一个 PR,请求将更改合并到该项目的对应分支,PR 中仅能包含一次提交。
120
+ 6. 参与代码审查和讨论,根据反馈进行必要的修改。
121
+ 7. 一旦更改被接受并合并,您的贡献将成为项目的一部分。
122
+
123
+ > - 项目维护者可能会提出修改建议,请保持开放态度并积极沟通。
124
+ > - 如果您发现了一个问题但并不准备自己修复,可以仅提交一个 Issue。如果对方案存在疑问,可以在"讨论"模块中提问。
@@ -0,0 +1,131 @@
1
+ # Security Policy
2
+
3
+ [中文版](SECURITY.zh-CN.md)
4
+
5
+ ## Supported Versions
6
+
7
+ Please use the following table to understand which versions are currently supported with security updates.
8
+
9
+ | Version | Support Status |
10
+ | -------- | --------------------- |
11
+ | v1.0.x | Supported |
12
+ | < v1.0.0 | Not Supported |
13
+
14
+ ## Reporting Vulnerabilities
15
+
16
+ We take security issues very seriously. If you discover a security vulnerability, please follow these steps to report it:
17
+
18
+ ### How to Report
19
+
20
+ **Please do not report security vulnerabilities in public GitHub issues.**
21
+
22
+ Instead, please report privately through the following methods:
23
+
24
+ 1. **GitHub Security Advisory** (Recommended)
25
+ - Go to the project's "Security" tab
26
+ - Click "Report a vulnerability"
27
+ - Fill out the security advisory form
28
+
29
+ ### Report Content
30
+
31
+ Please include the following information in your report:
32
+
33
+ - **Vulnerability Type**: Briefly describe the nature of the vulnerability
34
+ - **Impact Scope**: Affected components, versions, or features
35
+ - **Reproduction Steps**: Detailed steps on how to reproduce the vulnerability
36
+ - **Proof of Concept**: If possible, provide PoC code or screenshots
37
+ - **Impact Assessment**: Potential security impact and risk level
38
+ - **Suggested Fix**: If you have fix suggestions, please provide them
39
+
40
+ ### Response Timeline
41
+
42
+ We commit to responding to security reports according to the following timeline:
43
+
44
+ - **Acknowledgment**: Within 24 hours
45
+ - **Initial Assessment**: Within 72 hours
46
+ - **Detailed Analysis**: Within 7 business days
47
+ - **Fix Release**: 1-30 days depending on severity
48
+
49
+ ### Vulnerability Severity
50
+
51
+ We use the following criteria to assess vulnerability severity:
52
+
53
+ #### Critical
54
+ - Remote Code Execution
55
+ - Authentication bypass
56
+ - Unauthorized access to sensitive data
57
+
58
+ #### High
59
+ - Cross-Site Scripting (XSS)
60
+ - Privilege escalation
61
+ - Sensitive data exposure
62
+
63
+ #### Medium
64
+ - Information disclosure
65
+ - Denial of Service (DoS)
66
+ - Weak cryptography
67
+
68
+ #### Low
69
+ - Configuration issues
70
+ - Information gathering vulnerabilities
71
+
72
+ ### Handling Process
73
+
74
+ 1. **Report Reception**: We receive your report and acknowledge it
75
+ 2. **Vulnerability Verification**: Our security team verifies the vulnerability's existence and impact
76
+ 3. **Impact Assessment**: Assess vulnerability severity and impact scope
77
+ 4. **Fix Development**: Develop and test fix solutions
78
+ 5. **Coordinated Release**: Coordinate disclosure timing with reporter
79
+ 6. **Public Disclosure**: Release security updates and announcements
80
+
81
+ ### Responsible Disclosure
82
+
83
+ We follow responsible disclosure principles:
84
+
85
+ - We will publicly disclose after fixing the vulnerability
86
+ - Please do not publicly discuss the vulnerability before the fix is released
87
+ - We will appropriately thank reporters in security announcements (unless you prefer to remain anonymous)
88
+
89
+ ### Security Update Notifications
90
+
91
+ To receive security update notifications, please:
92
+
93
+ 1. **Watch this Repository** and enable security alerts
94
+ 2. **Subscribe to Releases** to get new version notifications
95
+
96
+ ### Security Best Practices
97
+
98
+ When using this project, we recommend following these security best practices:
99
+
100
+ - Always use the latest supported version
101
+ - Regularly update dependencies
102
+ - Enable appropriate logging and monitoring
103
+ - Implement the principle of least privilege
104
+ - Conduct regular security audits
105
+
106
+ ### Scope
107
+
108
+ This security policy applies to:
109
+
110
+ - All code in this GitHub repository
111
+ - Official releases
112
+
113
+ This security policy does NOT apply to:
114
+
115
+ - Third-party plugins or extensions
116
+ - User configuration errors
117
+
118
+ ### Acknowledgments
119
+
120
+ We thank the following researchers for their contributions to project security:
121
+
122
+ <!--
123
+ Acknowledgment list will be updated here
124
+ - [Researcher Name] - Discovered and reported [Vulnerability Type]
125
+ -->
126
+
127
+ ---
128
+
129
+ **Note**: This security policy may be updated regularly. Please check the latest version periodically.
130
+
131
+ **Last Updated**: March 2026
@@ -0,0 +1,131 @@
1
+ # 安全政策
2
+
3
+ [English](SECURITY.md)
4
+
5
+ ## 支持的版本
6
+
7
+ 请参考下表了解当前支持安全更新的版本。
8
+
9
+ | 版本 | 支持状态 |
10
+ | -------- | --------------------- |
11
+ | v1.0.x | 支持中 |
12
+ | < v1.0.0 | 不再支持 |
13
+
14
+ ## 报告漏洞
15
+
16
+ 我们非常重视安全问题。如果您发现安全漏洞,请按照以下步骤报告:
17
+
18
+ ### 如何报告
19
+
20
+ **请勿在公开的 GitHub Issue 中报告安全漏洞。**
21
+
22
+ 请通过以下方式私下报告:
23
+
24
+ 1. **GitHub Security Advisory**(推荐)
25
+ - 进入项目的 "Security" 标签页
26
+ - 点击 "Report a vulnerability"
27
+ - 填写安全公告表单
28
+
29
+ ### 报告内容
30
+
31
+ 请在报告中包含以下信息:
32
+
33
+ - **漏洞类型**:简要描述漏洞性质
34
+ - **影响范围**:受影响的组件、版本或功能
35
+ - **复现步骤**:详细的漏洞复现步骤
36
+ - **概念验证**:如有可能,提供 PoC 代码或截图
37
+ - **影响评估**:潜在的安全影响和风险等级
38
+ - **修复建议**:如有修复建议,请一并提供
39
+
40
+ ### 响应时间
41
+
42
+ 我们承诺按照以下时间线响应安全报告:
43
+
44
+ - **确认回复**:24 小时内
45
+ - **初步评估**:72 小时内
46
+ - **详细分析**:7 个工作日内
47
+ - **修复发布**:根据严重程度,1-30 天
48
+
49
+ ### 漏洞严重程度
50
+
51
+ 我们使用以下标准评估漏洞严重程度:
52
+
53
+ #### 严重(Critical)
54
+ - 远程代码执行
55
+ - 认证绕过
56
+ - 未授权访问敏感数据
57
+
58
+ #### 高危(High)
59
+ - 跨站脚本攻击(XSS)
60
+ - 权限提升
61
+ - 敏感数据泄露
62
+
63
+ #### 中危(Medium)
64
+ - 信息泄露
65
+ - 拒绝服务(DoS)
66
+ - 弱加密
67
+
68
+ #### 低危(Low)
69
+ - 配置问题
70
+ - 信息收集类漏洞
71
+
72
+ ### 处理流程
73
+
74
+ 1. **接收报告**:我们收到您的报告并确认
75
+ 2. **漏洞验证**:安全团队验证漏洞的存在性和影响
76
+ 3. **影响评估**:评估漏洞严重程度和影响范围
77
+ 4. **修复开发**:开发并测试修复方案
78
+ 5. **协调发布**:与报告者协调披露时间
79
+ 6. **公开披露**:发布安全更新和公告
80
+
81
+ ### 负责任披露
82
+
83
+ 我们遵循负责任披露原则:
84
+
85
+ - 我们将在修复漏洞后公开披露
86
+ - 请在修复发布前不要公开讨论该漏洞
87
+ - 我们会在安全公告中适当感谢报告者(除非您希望保持匿名)
88
+
89
+ ### 安全更新通知
90
+
91
+ 要接收安全更新通知,请:
92
+
93
+ 1. **Watch 本仓库** 并启用安全警报
94
+ 2. **订阅 Releases** 以获取新版本通知
95
+
96
+ ### 安全最佳实践
97
+
98
+ 使用本项目时,我们建议遵循以下安全最佳实践:
99
+
100
+ - 始终使用最新的受支持版本
101
+ - 定期更新依赖
102
+ - 启用适当的日志记录和监控
103
+ - 实施最小权限原则
104
+ - 定期进行安全审计
105
+
106
+ ### 适用范围
107
+
108
+ 本安全政策适用于:
109
+
110
+ - 本 GitHub 仓库中的所有代码
111
+ - 官方发布版本
112
+
113
+ 本安全政策不适用于:
114
+
115
+ - 第三方插件或扩展
116
+ - 用户配置错误
117
+
118
+ ### 致谢
119
+
120
+ 我们感谢以下研究人员对项目安全的贡献:
121
+
122
+ <!--
123
+ 致谢名单将在此处更新
124
+ - [研究人员姓名] - 发现并报告了 [漏洞类型]
125
+ -->
126
+
127
+ ---
128
+
129
+ **注意**:本安全政策可能会定期更新,请定期查看最新版本。
130
+
131
+ **最后更新**:2026 年 3 月