fix: 全部 SDLC 规范技能 description 改三段式(触发场景+关键约束+不加载后果/边界)

让所有角色做事都能靠 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)
This commit is contained in:
yumoqing 2026-08-22 23:19:59 +08:00
parent aa756e5b4c
commit 6863f73728
8 changed files with 8 additions and 8 deletions

View File

@ -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: 定义 CRUDjson/*.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

View File

@ -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

View File

@ -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]
---

View File

@ -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
---

View File

@ -1,6 +1,6 @@
---
name: sdlc-repo-standard
description: SDLC 交付件规格——模块说明/模块级设计/应用说明的文件格式 + 各角色产出内容与行为准则。目录结构与落点路径以 project-directory-spec 为准。
description: 所有角色产出交付件前必读——各角色产出内容 + 交付件文件格式 + 通用交付约定deliver + files 列出产出路径)。不加载会只写文档不列文件、漏产出。目录落点以 project-directory-spec 为准。
---
# SDLC 交付件规格

View File

@ -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]
---

View File

@ -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
---

View File

@ -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
---