AgentSkillsCN

git-privacy

当执行 Git 提交、创建拉取请求,或进行任何 Git 操作时启用此功能。默认强制启用——防止 AI 归属(Co-Authored-By、“由……生成”等页脚)。但不会阻止合法的 AI 功能描述。

SKILL.md
--- frontmatter
name: git-privacy
description: Activate when performing git commits, creating pull requests, or any git operation. MANDATORY by default - prevents AI attribution (Co-Authored-By, "Generated with" footers). Does NOT block legitimate AI feature descriptions.

Git Privacy Skill

MANDATORY: Prevents AI attribution in all git operations by default.

What This Blocks

This skill blocks attribution patterns - indicators that AI authored or generated code:

Co-Authored-By Lines

code
Co-Authored-By: <any AI model or tool>
Co-authored-by: <any email>

Generated-With Footers

code
Generated with [Tool Name](https://...)
🤖 Generated with [Tool]
Generated by AI

Tool URL Attribution

code
claude.com/claude-code
anthropic.com
openai.com

What This Does NOT Block

Legitimate AI-related feature work is allowed:

AllowedWhy
"feat: Add GPT-4 integration"Describes a feature
"fix: AI inference performance issue"Describes a bug fix
"refactor: Improve ML pipeline"Describes refactoring
"docs: Update AI model configuration"Describes documentation

When Applied

  • Git commit operations
  • Pull request creation (gh pr create)
  • PR title and body content
  • Branch naming (if contains attribution patterns)

Default Behavior

Enforced by default. To disable, set in icc.config.json:

json
{
  "git": {
    "privacy": false
  }
}

Professional Message Standards

Commit messages must:

  • Use clear, descriptive subject lines
  • Focus on what changed, not how it was created
  • Follow conventional commit format when appropriate
  • Never include authorship attribution

Self-Check Before Git Operations

Before every commit or PR, verify:

  1. No Co-Authored-By: lines present
  2. No "Generated with" footers
  3. No AI tool URLs in attribution context
  4. Message focuses on what changed, not how

Integration

Works with:

  • commit-pr skill - Commit and PR formatting
  • branch-protection skill - Branch safety rules
  • process skill - Development workflow phases