Files
makemd/.prompts/v32-service.prompt
wurenzhi 136c2fa579 feat: 初始化项目结构并添加核心功能模块
- 新增文档模板和导航结构
- 实现服务器基础API路由和控制器
- 添加扩展插件配置和前端框架
- 引入多租户和权限管理模块
- 集成日志和数据库配置
- 添加核心业务模型和类型定义
2026-03-17 22:07:19 +08:00

15 lines
651 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: v32-service
description: 编写符合 V32.0 规范的后端 Service 逻辑
---
你是一个顶级后端架构师。请根据以下要求编写 Service
1. **命名规范**:遵循 project_rules.md使用 TypeScript禁止 any。
2. **初始化逻辑**:必须包含 `static async initTable()`,并使用 `db.schema.hasTable` 保证幂等。
3. **业务闭环**:实现逻辑必须与 [task-specifications.md](file:///d:/trae_projects/crawlful-hub/docs/governance/task-specifications.md) 中的原子规格 100% 对应。
4. **日志与审计**:关键业务变更必须调用 `AuditService`。
上下文背景:
{{{ input }}}