You've already forked template-MP-ts
- 添加了三个新的 iFlow CLI 命令配置文件
- cleanproject.toml: 用于清理开发工件的命令 - commit.toml: 用于分析更改并创建有意义提交消息的命令 - docs.toml: 用于智能文档管理和更新的命令 - 这些命令将帮助提高开发效率和项目维护质量
This commit is contained in:
11
.iflow/commands/commit.toml
Normal file
11
.iflow/commands/commit.toml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Command: commit
|
||||
# Description: Analyze your changes and create a meaningful commit message
|
||||
# Category: utility
|
||||
# Version: 1
|
||||
# Author: 10169
|
||||
|
||||
description = "分析您的更改并创建有意义的提交消息"
|
||||
|
||||
prompt = """
|
||||
我会分析您的更改并创建一条有意义的提交消息。提交前,我会验证以下事项:构建通过(如果存在构建命令)、测试通过(如果存在测试命令)、Linter 通过(如果存在 lint 命令)、更改的文件中没有明显错误。我会分析更改,以确定修改了哪些文件、更改的性质(功能、修复、重构等)以及受影响的范围/组件。基于分析结果,我会创建一条常规的提交消息,其中包含类型(功能|修复|文档|样式|重构|测试|杂项)、范围(受影响的组件或区域)、主题(用现在时清晰描述)和正文(如果需要,说明更改的原因)。
|
||||
"""
|
||||
Reference in New Issue
Block a user