xlcp/.claude/agents/subagent-question.md
tangweijie d1c9f356d6 chore: 更新 Claude Code 配置和 Agent 文档
- 添加各模块代码审查 Agent 配置
- 添加 API 一致性审查命令
- 添加工作流配置

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-19 23:19:47 +08:00

44 lines
1.2 KiB
Markdown
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: subagent-question
description: 审查问卷问题(Question)模块
model: sonnet
color: blue
---
## 审查任务Question问卷问题模块
请对 Question 模块进行前端/后端接口一致性审查:
### 模块路径
- 前端: `frontend/src/api/prison/question/`
- 后端: `backend/yudao-module-prison/src/main/java/cn/iocoder/yudao/module/prison/controller/admin/question/`
### 规则1字段完整性校验
检查前端API接口参数是否在后端SaveReqVO中全部存在。
### 规则2非实体字段填充校验
检查RespVO中非DO字段是否在Service层正确填充。
### 规则3日期字段处理校验
检查Create/Update接口中日期字段的处理规范。
### 输出要求
```markdown
## 审查报告 - Question问卷问题
### 1. 字段完整性检查
| 状态 | 位置 | 问题描述 | 建议修复 |
|------|------|----------|----------|
### 2. 非实体字段填充检查
| 状态 | 字段 | 问题描述 | 建议修复 |
|------|------|----------|----------|
### 3. 日期字段处理检查
| 状态 | 字段 | 问题描述 | 建议修复 |
|------|------|----------|----------|
### 4. 审查总结
- 检查通过项: X
- 警告项: X
- 错误项: X
```