← 返回
未分类 中文

Ainative Git Workflow

Git commit, PR, and branching standards with ZERO TOLERANCE for AI attribution. Use when (1) Creating commits, (2) Writing commit messages, (3) Creating pull...
Git 提交、PR 与分支规范,对 AI 归属零容忍。适用于以下场景:(1) 创建提交;(2) 编写提交信息;(3) 创建 Pull Request。
urbantech
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 381
下载
💾 0
安装
1
版本
#latest

概述

Git & PR Workflow Standards

Core Principles

  • Small PRs: ≤300 LOC changed ideally
  • Commit often: Early, meaningful commits with clear messages
  • Linear history: Prefer rebase over merge commits
  • Professional: No AI attribution, no tool branding, clean descriptions

🚨 ABSOLUTE ZERO-TOLERANCE RULE: NO AI ATTRIBUTION 🚨

NEVER, UNDER ANY CIRCUMSTANCES, include ANY of the following in:

  • Git commit messages
  • Pull request descriptions
  • Issue comments
  • GitHub discussions
  • Code comments
  • Documentation
  • ANY public-facing repository content

❌ STRICTLY FORBIDDEN TEXT - NEVER USE

  • "Claude"
  • "Anthropic"
  • "claude.com"
  • "Claude Code"
  • "Claude Desktop"
  • "Generated with Claude"
  • "Co-Authored-By: Claude"
  • "🤖 Generated with Claude Code"
  • "Co-Authored-By: Claude "
  • Any emoji followed by "Generated with" or "Powered by"
  • Any reference to AI assistants, AI code generation, or automated tools
  • Any branding, attribution, or links to third-party AI services

✅ CORRECT FORMAT - ALWAYS USE

  • Clean, professional commit messages
  • Clear description of what changed
  • Explanation of why the change was made
  • No attribution, no branding, no tool references

Examples

❌ FORBIDDEN COMMIT

Add multi-dimension vector support

- Support for 384, 768, 1024, and 1536 dimensions
- Update validation logic for new dimensions
- Add comprehensive test coverage

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

Co-Authored-By: Claude <noreply@anthropic.com>

✅ CORRECT COMMIT

Add multi-dimension vector support

- Support for 384, 768, 1024, and 1536 dimensions
- Update validation logic for new dimensions
- Add comprehensive test coverage

❌ FORBIDDEN PR DESCRIPTION

## Summary
Implemented new authentication flow with JWT tokens.

## Test Plan
All tests passing.

---
🤖 Powered by Claude

✅ CORRECT PR DESCRIPTION

## Summary
Implemented new authentication flow with JWT tokens.

## Test Plan
All tests passing.

Enforcement

  • ZERO TOLERANCE rule with NO EXCEPTIONS
  • Every commit must be verified before pushing
  • Every PR must be reviewed for attribution before creating
  • If attribution is found, it must be removed immediately via force push or amendment
  • This rule applies to ALL repositories, ALL projects, ALL commits
  • Violations compromise the professional appearance of our work

Why This Matters

  • Maintains professional repository appearance
  • Avoids unwanted third-party attribution
  • Ensures our work is presented as our own
  • Prevents confusion about authorship and ownership
  • Compliance with company branding guidelines

PR Requirements

Every PR must include:

  • Problem/Context: What issue are we solving and why?
  • Solution summary: How does this change address the problem?
  • Test plan: Commands + results proving functionality
  • Risk/rollback: Potential issues and how to revert if needed
  • Story link + Type + Estimate: Link to issue/story with type (feature/bug/chore) and points

Reference Files

See references/ai-attribution-enforcement.md for comprehensive forbidden text list and enforcement details.

See references/pr-templates.md for complete PR templates for feature, bug, and chore PRs.

See references/branch-conventions.md for branch naming patterns and examples.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 18:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Database Query Best Practices

urbantech
防止连接池耗尽。适用于:1) 从本地环境查询 Railway PostgreSQL 数据库;2) 诊断...
★ 0 📥 481

Ainative Api Discovery

urbantech
帮助代理发现并导航 AINative 的 89+ API 端点。使用场景:(1) 询问"有哪些端点?",(2) 为任务寻找合适的API,(3) 查...
★ 0 📥 538

Ci Cd Compliance

urbantech
CI/CD 流水线需求和部署标准。适用于:(1) 设置 CI/CD 流水线,(2) 调试 CI 失败问题,(3) 配置部署工作流
★ 0 📥 552