From 6863f73728c6f3dba3d9cc54ed3c56480b865067 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 22 Aug 2026 23:19:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=A8=E9=83=A8=20SDLC=20=E8=A7=84?= =?UTF-8?q?=E8=8C=83=E6=8A=80=E8=83=BD=20description=20=E6=94=B9=E4=B8=89?= =?UTF-8?q?=E6=AE=B5=E5=BC=8F=EF=BC=88=E8=A7=A6=E5=8F=91=E5=9C=BA=E6=99=AF?= =?UTF-8?q?+=E5=85=B3=E9=94=AE=E7=BA=A6=E6=9D=9F+=E4=B8=8D=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E5=90=8E=E6=9E=9C/=E8=BE=B9=E7=95=8C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 让所有角色做事都能靠 description 判断加载哪个技能: - database-table-definition-spec/crud-definition-spec/dspy-file-implementation-spec/sqlor-database-module 由英文「Standardized/Comprehensive...」改为中文触发式(定义表结构/CRUD/dspy/写DB时必读+不加载后果) - project-directory-spec/sdlc-repo-standard/webapp-deploy/database-design 补「不加载后果」+ 互相指路边界(表四段式↔database-design、目录落点↔project-directory-spec) --- skills_library/all/crud-definition-spec/SKILL.md | 2 +- skills_library/all/database-table-definition-spec/SKILL.md | 2 +- skills_library/all/dspy-file-implementation-spec/SKILL.md | 2 +- skills_library/all/project-directory-spec/SKILL.md | 2 +- skills_library/all/sdlc-repo-standard/SKILL.md | 2 +- skills_library/all/sqlor-database-module/SKILL.md | 2 +- skills_library/all/webapp-deploy/SKILL.md | 2 +- .../sdlc_general/roles/agent.design/database-design/SKILL.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/skills_library/all/crud-definition-spec/SKILL.md b/skills_library/all/crud-definition-spec/SKILL.md index be41221..e8f8e7b 100644 --- a/skills_library/all/crud-definition-spec/SKILL.md +++ b/skills_library/all/crud-definition-spec/SKILL.md @@ -1,7 +1,7 @@ --- name: crud-definition-spec version: 1.0.0 -description: Standardized specification for defining CRUD operations using JSON format with support for both list and tree view interfaces, integrated with bricks-framework frontend components. +description: 定义 CRUD(json/*.json,根键 tblname+params)时必读——CRUD 定义格式、list/tree 两种视图、同表多逻辑才加 alias(目录=tblname,单逻辑不加)。不加载会产出不符合规范的 CRUD json、alias 滥用。表结构定义用 database-table-definition-spec。 trigger_conditions: - User needs to create or modify CRUD definition files in JSON format - Task involves generating CRUD configurations for the json directory diff --git a/skills_library/all/database-table-definition-spec/SKILL.md b/skills_library/all/database-table-definition-spec/SKILL.md index a2ba163..ea93d2d 100644 --- a/skills_library/all/database-table-definition-spec/SKILL.md +++ b/skills_library/all/database-table-definition-spec/SKILL.md @@ -1,7 +1,7 @@ --- name: database-table-definition-spec version: 1.0.0 -description: Standardized specification for defining database tables using JSON format with proper field types, constraints, indexes, and code references. +description: 定义业务表结构(models/*.json 四段式 summary/fields/indexes/codes)时必读——字段类型/约束/索引/编码引用的标准格式。不加载会产出不规范表定义(缺审计/软删除字段、金额类型用错)。设计库整体架构时用 database-design。 trigger_conditions: - User needs to create or modify database table definitions in JSON format - Task involves generating table definition files for the models directory diff --git a/skills_library/all/dspy-file-implementation-spec/SKILL.md b/skills_library/all/dspy-file-implementation-spec/SKILL.md index a13a0bd..ce49b6d 100644 --- a/skills_library/all/dspy-file-implementation-spec/SKILL.md +++ b/skills_library/all/dspy-file-implementation-spec/SKILL.md @@ -1,6 +1,6 @@ --- name: dspy-file-implementation-spec -description: Standardized specification for implementing .dspy files in ahserver applications with proper return format and module integration +description: 实现 .dspy 接口(wwwroot/api/*.dspy)时必读——exec-context 规则、返回格式、模块集成。不加载会产出不规范的 dspy(返回格式错、环境未注册)。 author: Hermes Agent tags: [ahserver, dspy, backend, web-development, python] --- diff --git a/skills_library/all/project-directory-spec/SKILL.md b/skills_library/all/project-directory-spec/SKILL.md index 21563bd..d826216 100644 --- a/skills_library/all/project-directory-spec/SKILL.md +++ b/skills_library/all/project-directory-spec/SKILL.md @@ -1,6 +1,6 @@ --- name: project-directory-spec -description: 项目目录规范——项目工作空间目录结构与各目录作用(README.md 项目说明 + repos/ 下按 项目工程文档(_pc)/应用(_app)/独立模块 三类独立仓库组织)。所有 SDLC 角色产出与检查前必读,路径以此为准。 +description: 所有 SDLC 角色产出/检查交付件落点前必读——工作空间目录结构(README.md + env/ + repos/)、repos/ 下按 项目工程文档(_pc)/应用(_app)/独立模块 三类仓库组织、env/ 部署信息单一事实源。不加载会把文件落到错误路径(工作空间根 vs repos/ 下)。 essential: true --- diff --git a/skills_library/all/sdlc-repo-standard/SKILL.md b/skills_library/all/sdlc-repo-standard/SKILL.md index 9fc7af9..2e8c8b3 100644 --- a/skills_library/all/sdlc-repo-standard/SKILL.md +++ b/skills_library/all/sdlc-repo-standard/SKILL.md @@ -1,6 +1,6 @@ --- name: sdlc-repo-standard -description: SDLC 交付件规格——模块说明/模块级设计/应用说明的文件格式 + 各角色产出内容与行为准则。目录结构与落点路径以 project-directory-spec 为准。 +description: 所有角色产出交付件前必读——各角色产出内容 + 交付件文件格式 + 通用交付约定(deliver + files 列出产出路径)。不加载会只写文档不列文件、漏产出。目录落点以 project-directory-spec 为准。 --- # SDLC 交付件规格 diff --git a/skills_library/all/sqlor-database-module/SKILL.md b/skills_library/all/sqlor-database-module/SKILL.md index 4a4bc65..8554ace 100644 --- a/skills_library/all/sqlor-database-module/SKILL.md +++ b/skills_library/all/sqlor-database-module/SKILL.md @@ -1,6 +1,6 @@ --- name: sqlor-database-module -description: Comprehensive guide to using the SQLor Python database API framework for multi-database support with async/sync operations, connection pooling, and advanced features +description: 写后端数据库操作(模块 init.py 里)时必读——sqlor 标准 API:只用 sor.C/U/D/R/I/sqlExe,禁编造 save/list/insert 等不存在的接口。不加载会编造 API 导致运行报错。 author: Hermes Agent tags: [python, database, sql, async, connection-pooling, multi-database] --- diff --git a/skills_library/all/webapp-deploy/SKILL.md b/skills_library/all/webapp-deploy/SKILL.md index 87ddf83..9603c8a 100644 --- a/skills_library/all/webapp-deploy/SKILL.md +++ b/skills_library/all/webapp-deploy/SKILL.md @@ -1,6 +1,6 @@ --- name: webapp-deploy -description: 所有 Web 应用通用部署规范:build.sh 标准、目录结构、测试环境、venv、git 仓库管理 +description: 部署 Web 应用(应用脚手架部署到测试/生产机)时必读——build.sh 标准、目录结构、测试环境、venv、git 仓库管理。不加载会漏 build.sh 标准步骤、部署目录不规范。业务模块开发用 module-development-spec,部署环境信息从 env/{test,prod}.json 读。 category: devops version: 1.0.0 --- diff --git a/skills_library/pipelines/sdlc_general/roles/agent.design/database-design/SKILL.md b/skills_library/pipelines/sdlc_general/roles/agent.design/database-design/SKILL.md index 8cdece0..e8d05bb 100644 --- a/skills_library/pipelines/sdlc_general/roles/agent.design/database-design/SKILL.md +++ b/skills_library/pipelines/sdlc_general/roles/agent.design/database-design/SKILL.md @@ -1,6 +1,6 @@ --- name: database-design -description: 产线设计师数据库设计规范——字段语义到类型/长度/精度的映射规则、系统不加外键的关联方式、编码字典(appcodes/appcodes_kv)初始化数据设计、build.sh种子数据落库、运行时环境变量约定。触发:设计新模块的数据表、定义表字段、准备编码字典/初始化数据。 +description: 设计数据库(新模块数据表、字段类型/长度/精度映射)时必读——字段语义到类型映射规则、系统不加外键的关联方式、编码字典(appcodes/appcodes_kv)初始化、build.sh 种子数据落库、运行时环境变量约定。不加载会产出字段类型/精度不规范的设计。表定义四段式格式用 database-table-definition-spec。 capability: task_capability ---