agentleFS
qiuzhi2046qiuzhi2046/Qclaw/.cursor/rules/git-workflow.mdc

Qclaw / rules

Cursor rule2.8k starsChanged 8 months agoApache-2.0View on GitHub

Qclaw 開源貢獻的 Git 工作流程、Commit 格式與分支命名

  • Commits and pushes

The file

Files
git-workflow.mdc
---
description: Qclaw 開源貢獻的 Git 工作流程、Commit 格式與分支命名
alwaysApply: true
---

# Git 工作流程

## Remote 設定

| Remote | 指向 | 用途 |
|--------|------|------|
| `origin` | `JasonYang318/Qclaw`(fork) | 推送改動 |
| `upstream` | `qiuzhi2046/Qclaw`(原始) | 同步最新版 |

## 同步上游

```powershell
git fetch upstream
git checkout main
git merge upstream/main
git push origin main
```

## 分支命名

- 新功能:`feat/<功能名>`
- 修 bug:`fix/<問題描述>`
- 文件:`docs/<主題>`

## Commit 訊息格式

```
<type>: <簡述>
```

| 前綴 | 用途 |
|------|------|
| `feat` | 新功能 |
| `fix` | 修 bug |
| `docs` | 文件變更 |
| `refactor` | 重構 |
| `test` | 測試 |
| `chore` | 工具 / 設定 |

## PR 流程

1. 先開 GitHub Issue,等維護者確認方向
2. 在自己的 fork 分支開發
3. 跑完三個驗證指令後再 commit
4. 推送到 `origin`,開 PR 指向 `qiuzhi2046/Qclaw`

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.