Files
template-MP/.iflow/commands/commit.toml
袁涛 101e3eb2a1 - 添加了三个新的 iFlow CLI 命令配置文件
- cleanproject.toml: 用于清理开发工件的命令
  - commit.toml: 用于分析更改并创建有意义提交消息的命令
  - docs.toml: 用于智能文档管理和更新的命令
  - 这些命令将帮助提高开发效率和项目维护质量
2025-10-15 01:21:22 +08:00

12 lines
916 B
TOML
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.

# Command: commit
# Description: Analyze your changes and create a meaningful commit message
# Category: utility
# Version: 1
# Author: 10169
description = "分析您的更改并创建有意义的提交消息"
prompt = """
我会分析您的更改并创建一条有意义的提交消息。提交前我会验证以下事项构建通过如果存在构建命令、测试通过如果存在测试命令、Linter 通过(如果存在 lint 命令)、更改的文件中没有明显错误。我会分析更改,以确定修改了哪些文件、更改的性质(功能、修复、重构等)以及受影响的范围/组件。基于分析结果,我会创建一条常规的提交消息,其中包含类型(功能|修复|文档|样式|重构|测试|杂项)、范围(受影响的组件或区域)、主题(用现在时清晰描述)和正文(如果需要,说明更改的原因)。
"""