qcc-git

Use for Git workflow, branch strategy, and commit conventions in qcc_plus project

16 stars

Best use case

qcc-git is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Use for Git workflow, branch strategy, and commit conventions in qcc_plus project

Teams using qcc-git should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/qcc-git/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/cli-automation/qcc-git/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/qcc-git/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How qcc-git Compares

Feature / Agentqcc-gitStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use for Git workflow, branch strategy, and commit conventions in qcc_plus project

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# QCC Plus Git 工作流

## 分支策略(强制)

**强制规则**: 所有开发工作必须在 `test` 分支进行,编写代码前必须确认当前分支。

| 分支 | 用途 | 说明 |
|------|------|------|
| `test` | 日常开发 | ✅ 在这里开发,推送后自动部署到测试环境(端口 8001) |
| `main` | 正式发布 | 合并测试通过的代码,用于打 tag 发布版本 |
| `prod` | 生产部署 | 部署到生产服务器(端口 8000) |

## 编写代码前检查

```bash
# 确认在 test 分支
git branch --show-current

# 如不在 test 分支
git checkout test
```

## 工作流程

```bash
# 1. 开发
git checkout test
# 编写代码
git push origin test

# 2. 发布
git checkout main
git merge test
git tag vX.Y.Z
git push origin vX.Y.Z

# 3. 部署
git checkout prod
git merge main
git push origin prod
```

## Commit 格式

使用 Conventional Commits 格式:`type: description`

| 类型 | 说明 | 版本影响 |
|------|------|----------|
| `feat` | 新功能 | minor 升级 |
| `fix` | Bug 修复 | patch 升级 |
| `feat!` / `fix!` | 重大变更 | major 升级 |
| `docs` | 文档更新 | 不触发 |
| `refactor` | 代码重构 | 不触发 |
| `test` | 测试相关 | 不触发 |
| `chore` | 构建/工具 | 不包含在 CHANGELOG |

### 示例
```
feat: 添加健康检查 API 端点
fix: 修复节点切换延迟问题
docs: 更新 CLAUDE.md 文档结构
feat!: 重构 API 接口,移除 v1 兼容性
```

## 提交规范

### Git 安全协议
- **永不**更新 git config
- **永不**运行破坏性命令(如 push --force, hard reset)除非用户明确请求
- **永不**跳过 hooks(--no-verify, --no-gpg-sign)除非用户明确请求
- **永不**强制推送到 main/master
- 避免 `git commit --amend`,仅在用户明确请求或添加 pre-commit hook 的编辑时使用
- 修改前总是检查作者:`git log -1 --format='%an %ae'`
- **永不**提交更改除非用户明确要求

### 提交消息格式

使用 HEREDOC 确保格式正确:
```bash
git commit -m "$(cat <<'EOF'
Commit message here.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
EOF
)"
```

## 质量保证

### 测试要求
- 核心业务逻辑必须有单元测试
- 使用真实数据测试,避免过度 mock
- 测试边界条件和错误场景
- 使用 `go test -race` 检测竞态条件

### 代码审查
- 所有合并到 main 的代码必须经过审查
- 检查错误处理是否完善
- 检查是否有资源泄漏(goroutine、文件句柄)
- 检查并发安全性

Related Skills

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

partner-revenue-desk

16
from diegosouzapw/awesome-omni-skill

Operating model for tracking, attributing, and accelerating partner-sourced revenue.

parallel-data-enrichment

16
from diegosouzapw/awesome-omni-skill

Structured company and entity data enrichment using Parallel AI Task API with core/base processors. Returns typed JSON output. No binary install — requires PARALLEL_API_KEY in .env.local.

parallel-agents

16
from diegosouzapw/awesome-omni-skill

Multi-agent orchestration patterns. Use when multiple independent tasks can run with different domain expertise or when comprehensive analysis requires multiple perspectives.

paper-writing-assistant

16
from diegosouzapw/awesome-omni-skill

Assist in drafting research papers and meeting notes, enforcing academic rigor and formatting.

pandas-data-manipulation-rules

16
from diegosouzapw/awesome-omni-skill

Focuses on pandas-specific rules for data manipulation, including method chaining, data selection using loc/iloc, and groupby operations.

pagent

16
from diegosouzapw/awesome-omni-skill

Guide for using pagent - a PRD-to-code orchestration tool. Use when users ask how to use pagent, run agents, create PRDs, or transform requirements into code.

page-annotator

16
from diegosouzapw/awesome-omni-skill

AI驱动的网页标注工具,支持高亮元素和添加文字批注。智能防重复、自动滚动、碰撞检测。兼容 GitHub 等严格 CSP 网站。适用场景:(1) 标记网页元素进行讲解 (2) 添加文字批注和注释 (3) 代码审查和设计评审 (4) 教学演示和用户引导 (5) Bug 报告和问题标记

package-json-modification-protection

16
from diegosouzapw/awesome-omni-skill

Protects lines with the specific 'Do not touch this line Cursor' comment within package.json.

orchestrator

16
from diegosouzapw/awesome-omni-skill

Multi-agent orchestrator that delegates all work to specialized subagents. Enforces parallelism, tracks progress, and coordinates agent teams for complex tasks.

orchestrator-conductor

16
from diegosouzapw/awesome-omni-skill

This skill should be used when the user asks to "orchestrate agents", "run /orchestrate", "manage parallel agents", "coordinate multiple agents", "decompose this task", or needs patterns for multi-agent workflows with parallel execution and task decomposition.

orchestration

16
from diegosouzapw/awesome-omni-skill

MANDATORY - Your default operating system. Adaptive workflow that routes simple tasks to direct execution and complex tasks to PRD iterations with agent swarms. Auto-creates skills when patterns emerge.