From ee99c23294a1cacaf2eaf06d7c452439a6da15bc Mon Sep 17 00:00:00 2001 From: gin Date: Wed, 13 May 2026 09:54:45 +0800 Subject: [PATCH] refactor: remove skills --- .../skills/agileboot-backend-feature/SKILL.md | 27 ------------------- .../agents/openai.yaml | 4 --- .codex/skills/agileboot-web-feature/SKILL.md | 27 ------------------- .../agileboot-web-feature/agents/openai.yaml | 4 --- 4 files changed, 62 deletions(-) delete mode 100644 .codex/skills/agileboot-backend-feature/SKILL.md delete mode 100644 .codex/skills/agileboot-backend-feature/agents/openai.yaml delete mode 100644 .codex/skills/agileboot-web-feature/SKILL.md delete mode 100644 .codex/skills/agileboot-web-feature/agents/openai.yaml diff --git a/.codex/skills/agileboot-backend-feature/SKILL.md b/.codex/skills/agileboot-backend-feature/SKILL.md deleted file mode 100644 index 770879c..0000000 --- a/.codex/skills/agileboot-backend-feature/SKILL.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: agileboot-backend-feature -description: 在 AgileBoot/Spring Boot 项目中开发新的后端业务功能,并严格按照当前仓库已有架构组织代码。适用于新增或修改后台管理端模块、CRUD 功能、业务流程、数据库资源、Controller、ApplicationService、领域模型、Command、Query、DTO、MyBatis Plus Entity/Mapper/Service、权限、操作日志和测试;必须先阅读项目后端开发规范并复用既有分层方式,而不是使用通用 Spring 三层写法。 ---- - -# AgileBoot 后端业务功能开发 - -本 skill 是 Codex 的执行入口,不是完整规范副本。完整规范以 `docs/backend-feature-development.md` 为准。 - -## 必读 - -- `docs/backend-feature-development.md` -- `AGENTS.md` - -## 执行要求 - -1. 先阅读必读文档。 -2. 再检索并阅读最相似的现有后端模块,优先看 `post`、`user`、`role`、`notice` 和 `admin/controller/system`。 -3. 按 docs 中的架构、目录、类型边界、权限、日志、异常和测试规则实现。 -4. 如果 docs 未覆盖某个决策,先参考现有模块;不要自行引入新架构风格。 -5. 完成后按 docs 的验收清单自检,并运行相关 Maven 测试或说明未运行原因。 - -## 不要做 - -- 不要把本文当成规范来源来扩写;需要补充规范时更新 `docs/backend-feature-development.md`。 -- 不要绕过 `Controller -> ApplicationService -> Model -> db Service/Mapper`。 -- 不要直接返回 Entity 或 DO 给前端。 diff --git a/.codex/skills/agileboot-backend-feature/agents/openai.yaml b/.codex/skills/agileboot-backend-feature/agents/openai.yaml deleted file mode 100644 index c6a5081..0000000 --- a/.codex/skills/agileboot-backend-feature/agents/openai.yaml +++ /dev/null @@ -1,4 +0,0 @@ -interface: - display_name: "AgileBoot 后端功能" - short_description: "按现有 AgileBoot 架构组织后端业务功能开发流程" - default_prompt: "Use $agileboot-backend-feature to develop a new admin backend business feature following this repository's existing architecture." diff --git a/.codex/skills/agileboot-web-feature/SKILL.md b/.codex/skills/agileboot-web-feature/SKILL.md deleted file mode 100644 index f5b9c6c..0000000 --- a/.codex/skills/agileboot-web-feature/SKILL.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: agileboot-web-feature -description: 在 AgileBoot Vue Web 项目中开发新的 frontend/web 前端业务功能,并严格按照当前仓库已有页面、API、hook、表单、弹窗、页面私有组件和字典使用方式组织代码。适用于新增或修改后台页面、列表页、表单弹窗、API 类型封装、PureTable 表格、Element Plus 交互、页面 components、utils/hook.tsx、权限、路由和菜单相关前端功能;必须先阅读项目 Web 前端开发规范并复用既有模式。 ---- - -# AgileBoot Web 前端业务功能开发 - -本 skill 是 Codex 的执行入口,不是完整规范副本。完整规范以 `docs/web-feature-development.md` 为准。 - -## 必读 - -- `docs/web-feature-development.md` -- `AGENTS.md` - -## 执行要求 - -1. 先阅读必读文档。 -2. 再检索并阅读最相似的现有前端模块,优先看 `system/post`、`system/user`、`system/role`、`system/notice`、`login` 和对应 API 文件。 -3. 按 docs 中的页面结构、API、hook、表单、页面私有组件、字典、路由、权限和验证规则实现。 -4. 如果 docs 未覆盖某个决策,先参考现有模块;不要自行引入新前端组织方式。 -5. 完成后按 docs 的验证清单自检,并运行 `pnpm --dir frontend/web typecheck`、`pnpm --dir frontend/web lint` 或说明未运行原因。 - -## 不要做 - -- 不要把本文当成规范来源来扩写;需要补充规范时更新 `docs/web-feature-development.md`。 -- 不要绕过 `@/utils/http`。 -- 不要把复杂列表逻辑堆在 `index.vue`。 diff --git a/.codex/skills/agileboot-web-feature/agents/openai.yaml b/.codex/skills/agileboot-web-feature/agents/openai.yaml deleted file mode 100644 index 3731046..0000000 --- a/.codex/skills/agileboot-web-feature/agents/openai.yaml +++ /dev/null @@ -1,4 +0,0 @@ -interface: - display_name: "AgileBoot Web 前端功能" - short_description: "按现有 AgileBoot Web 架构开发前端业务功能" - default_prompt: "Use $agileboot-web-feature to develop a frontend web business feature following this repository's existing conventions."