mirror of
https://github.com/certd/certd.git
synced 2026-05-03 12:07:25 +08:00
docs(AGENTS): 更新文档以明确文件读取时的编码设置
添加关于在PowerShell中读取中文和文档文件时使用UTF-8编码的说明,并更新示例命令
This commit is contained in:
@@ -185,12 +185,12 @@ Certd 是一个支持私有化部署的 SSL/TLS 证书自动化管理平台。
|
||||
进入项目后,优先使用这些有目标的读取命令,而不是立刻全仓库扫描:
|
||||
|
||||
```powershell
|
||||
Get-Content package.json
|
||||
Get-Content pnpm-workspace.yaml
|
||||
Get-Content lerna.json
|
||||
Get-Content README_en.md -TotalCount 180
|
||||
Get-Content packages\ui\certd-server\package.json
|
||||
Get-Content packages\ui\certd-client\package.json
|
||||
Get-Content -Encoding utf8 package.json
|
||||
Get-Content -Encoding utf8 pnpm-workspace.yaml
|
||||
Get-Content -Encoding utf8 lerna.json
|
||||
Get-Content -Encoding utf8 README_en.md -TotalCount 180
|
||||
Get-Content -Encoding utf8 packages\ui\certd-server\package.json
|
||||
Get-Content -Encoding utf8 packages\ui\certd-client\package.json
|
||||
Get-ChildItem packages\ui\certd-server\src\modules
|
||||
Get-ChildItem packages\ui\certd-server\src\plugins
|
||||
Get-ChildItem packages\ui\certd-client\src\views\certd
|
||||
@@ -199,6 +199,7 @@ Get-ChildItem packages\ui\certd-client\src\views\certd
|
||||
## 本仓库 Agent 工作方式
|
||||
|
||||
- 先读本文件,再按用户任务查看相关 package/module。
|
||||
- 在 PowerShell 中读取中文、Markdown、locale、文档类文件时,显式使用 `Get-Content -Encoding utf8`;如果仍然显示乱码,再先执行 `[Console]::OutputEncoding = [System.Text.UTF8Encoding]::new()` 后重试。
|
||||
- 做后端任务时,先定位 `packages/ui/certd-server/src/modules` 下的模块,以及相关 entity/service/controller。
|
||||
- 做前端任务时,先定位 `packages/ui/certd-client/src/views/certd` 下的页面,再找对应 `src/api`。
|
||||
- 做服务商、DNS、部署、通知相关任务时,先看 `packages/ui/certd-server/src/plugins`,再看 `packages/plugins/plugin-lib` 里的共享辅助能力。
|
||||
|
||||
Reference in New Issue
Block a user