Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Qcc Git

ASecurity

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

42 stars
0 votes
0 copies
21 views
Added 12/19/2025
developmentgobashgitapi

Works with

claude codeapi

Security Analysis

A100/100

Scanned 2/12/2026

Install to Claude Code

$npx -y skills add yxhpy/qcc_plus --skill qcc-git --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qcc Git?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Qcc Git
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yxhpy-qcc-git/badge)](https://www.skillsdirectory.com/skills/yxhpy-qcc-git)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: qcc-git
description: Use for Git workflow, branch strategy, and commit conventions in qcc_plus project
---

# 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、文件句柄)
- 检查并发安全性

Attribution

yxhpyyxhpy
View sourceMore from yxhpy →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284072 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →