diff --git a/CLAUDE.md b/CLAUDE.md index 6901ea9..7231af9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -56,6 +56,12 @@ pnpm new-post # 创建新文章(自动生成 frontmatter 和图片目 ## 开发规范 +### 文章标签规范 +- 使用语言/框架的官方名称,首字母大写:`Go`(非 Golang)、`TypeScript`(非 typescript) +- 框架/库名保持官方写法:`Nuxt`、`SvelteKit`、`Tailwind CSS`、`Docker` +- 中文分类标签:`运维`、`后端`、`前端框架`、`踩坑`、`博客` +- 缩写保持大写:`MCP`、`CSS`、`API`、`SQL` + ### 工作流程 - 效率至上:快速单元式开发 - 改完即退:完成代码修改后立即退出,用户会手动测试 diff --git a/content/posts/docker-musl-build/index.md b/content/posts/docker-musl-build/index.md index f5fad5d..39ed0a1 100644 --- a/content/posts/docker-musl-build/index.md +++ b/content/posts/docker-musl-build/index.md @@ -3,7 +3,7 @@ title: Docker 编译 musl 可执行文件 published: 2025-03-27 image: /posts/docker-musl-build/img/cover.svg description: 解决 Go 语言跨平台编译问题,使用 Docker + musl 编译静态链接的可执行文件。 -tags: ['Docker', 'Golang', '运维'] +tags: ['Docker', 'Go', '运维'] draft: false --- diff --git a/content/posts/hello-world/index.md b/content/posts/hello-world/index.md index f239262..879a388 100644 --- a/content/posts/hello-world/index.md +++ b/content/posts/hello-world/index.md @@ -63,7 +63,7 @@ export const siteConfig = { title: 文章标题 published: 2026-05-31T08:00:00 description: 文章简介 -tags: ['标签1', '标签2'] +tags: ['Nuxt', 'TypeScript'] --- ```