Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
geek-policy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
frontend
geek-policy
Commits
ef927b10
Commit
ef927b10
authored
Sep 12, 2026
by
hewenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: document setup and constrain Node.js versions
parent
a08e3afe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
AGENTS.md
AGENTS.md
+29
-0
CLAUDE.md
CLAUDE.md
+1
-0
No files found.
AGENTS.md
0 → 100644
View file @
ef927b10
# AGENTS.md
适用于本仓库:HTML 协议与政策静态页面仓库。
## 1. Setup
-
根目录没有
`package.json`
和锁文件;无需 Yarn/npm 安装。
-
没有开发服务、构建或 lint 脚本;直接用浏览器打开需修改的 HTML 页面预览。
-
静态样式和图片位于
`static/`
,预览时保持相对路径关系。
-
验证修改页面的排版、链接和静态资源加载;不存在
`yarn dev`
或
`yarn lint`
命令。
## 2. 代码规范
-
未发现 ESLint、Prettier、EditorConfig 或 TypeScript 配置。
-
页面包含普通 HTML 和 Word 导出 HTML,例如
`user-service.html`
;保留已有命名空间及排版结构。
-
沿用被修改文件的缩进、属性引号和 CSS 写法,避免整篇自动格式化带来文本噪声。
-
协议正文、标题层级、链接目标和适用主体均按当前任务精准修改;共用样式变更需核对其他页面。
## 3. 埋点规范
-
所有可点击元素添加
`name="元素标识"`
,自定义组件透传到实际点击节点,保留已有业务 name。
-
标识使用稳定、可读的“页面-动作”,不含个人信息。
示例:
```
html
<button
name=
"order-submit"
onclick=
"handleSubmit()"
>
提交
</button>
```
CLAUDE.md
0 → 100644
View file @
ef927b10
@AGENTS.md
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment