@devflow-tools/plugin-git 0.8.9 → 0.8.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +26 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @devflow-tools/plugin-git
2
2
 
3
- Git expert plugin for DevFlow — commit conventions, branch review, changelog generation, and conflict resolution.
3
+ Git 专家插件 — 提交规范、分支审查、Changelog 生成、冲突解决。
4
4
 
5
5
  ## Installation
6
6
 
@@ -8,12 +8,34 @@ Git expert plugin for DevFlow — commit conventions, branch review, changelog g
8
8
  npm install @devflow-tools/plugin-git
9
9
  ```
10
10
 
11
+ ## MCP Tools
12
+
13
+ | Tool | 说明 | 关键参数 |
14
+ |------|------|---------|
15
+ | `git_commit` | 生成符合 Conventional Commits 规范的提交信息 | `projectRoot` |
16
+ | `git_release` | Changelog 生成 + 版本号 bump + tag 创建 | `projectRoot` |
17
+
18
+ ## Knowledge Sources
19
+
20
+ | 来源 | URL | SPA |
21
+ |------|-----|-----|
22
+ | Git 官方文档 | https://git-scm.com/docs | No |
23
+ | Conventional Commits | https://www.conventionalcommits.org | No |
24
+
25
+ ## Memory
26
+
27
+ 插件自动注入以下最佳实践:
28
+ - 提交格式:`type(scope): description`(feat/fix/docs/chore/test/refactor)
29
+ - 分支命名:`feat/<name>` / `fix/<name>` / `chore/<name>`
30
+ - PR 标题与 commit message 一致
31
+ - 冲突解决优先使用 rebase 而非 merge
32
+ - CHANGELOG 使用 conventional-changelog 自动生成
33
+
11
34
  ## Usage
12
35
 
13
36
  ```bash
14
- devflow init
15
- # Then in Claude Code:
16
- # /devflow:git 审查提交历史
37
+ # 在 Claude Code 中使用
38
+ /devflow:git release 1.2.0
17
39
  ```
18
40
 
19
41
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devflow-tools/plugin-git",
3
- "version": "0.8.9",
3
+ "version": "0.8.11",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "5c9a804d3c2e6e6822b516fde67d5b789dbdb5b3"
29
+ "gitHead": "a0a0b61377aa88ebbd380f50a5d532f63175ef45"
30
30
  }