# dify-gitcommit-generator **Repository Path**: pandegong/dify-gitcommit-generator ## Basic Information - **Project Name**: dify-gitcommit-generator - **Description**: vscode插件, 使用AI,git,能力, 生成 git commit 信息。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-01-17 - **Last Updated**: 2025-01-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # VSCode Project This is a template VSCode project with a basic structure. ## Project Structure ``` . ├── .vscode/ # VSCode configuration files ├── src/ # Source code ├── test/ # Test files └── package.json # Project configuration and dependencies ``` ## Getting Started 1. Clone this repository 2. Run `npm install` to install dependencies 3. Run `npm start` to start the project 4. Run `npm test` to run tests ## License ISC # Commit AI VSCode 插件,使用 AI 生成规范的 Git commit 信息。 ## 功能特点 - 🤖 AI 驱动:基于 Dify AI 生成智能的 commit 信息 - 📝 自定义提示词:支持自定义提示词模板 - 🔍 Git 变更分析:自动分析暂存区的代码变更 - 📋 Markdown 支持:生成格式化的 Markdown commit 信息 ## 安装 1. 在 VSCode 扩展商店中搜索 "Commit AI" 2. 点击安装 3. 重启 VSCode ## 使用方法 1. 修改的代码暂存:确保要提交的代码已通过 git add 添加到暂存区 2. 编辑提示词(可选):可以根据需要修改提示词模板 3. 添加 Dify API Key:输入你的 Dify API Key(格式:app-*****) 4. 生成 commit 信息:点击按钮生成规范的 commit 信息 ## 配置说明 - Dify API Key:需要在 [Dify](https://dify.ai) 注册并获取 API Key - 提示词模板:使用 [data] 作为数据占位符,会被替换为实际的 Git 变更数据 ## 问题反馈 如果你在使用过程中遇到任何问题,欢迎在 [Gitee](https://gitee.com/git-commit-ai) 提交 Issue。 ## 许可证 MIT License