用户在本 fork **推送代码**、发 PR、或问「push 失败 / LFS / Unprocessable entity」时启用。 > 完整说明:`ai/docs/GIT_LFS.md`
Scanned 9/12/2026
Install to Claude Code
npx -y skills add mouxangithub/ai --skill git-lfs-fork --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Git Lfs Fork?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/mouxangithub-git-lfs-fork)More formats (shields.io, HTML) on the badges page.
# Git LFS 推送策略(fork)
用户在本 fork **推送代码**、发 PR、或问「push 失败 / LFS / Unprocessable entity」时启用。
> 完整说明:`ai/docs/GIT_LFS.md`
## 策略(必须遵守)
1. **拉取**:`git lfs pull` 从 `.lfsconfig`(GitLab sunnypilot-new-lfs)拉大文件 — **正常执行**
2. **推送**:**不向 LFS 上传** — 使用 `GIT_LFS_SKIP_PUSH=1`
3. **自改 UI 字体/训练图**:已在 `.gitattributes` 排除 LFS,走普通 Git
## op助手 行为
- `git_push`、`git_publish_pull_request`、`publish_changes` **已自动** `GIT_LFS_SKIP_PUSH=1`
- 用户手动 shell push 时,提醒设置环境变量或 `lfs.allowincompletepush true`
## 推送前(AI 应做)
```
git_status → git_diff
git lfs push --dry-run origin HEAD # 应为 0 个上传对象
git_push / git_publish_pull_request(confirm=true)
```
## 用户手动命令
**CMD**
```cmd
set GIT_LFS_SKIP_PUSH=1
git push origin master-c3
```
**PowerShell**
```powershell
$env:GIT_LFS_SKIP_PUSH=1
git push origin master-c3
```
**持久(本仓)**
```bash
git config --local lfs.allowincompletepush true
```
## 常见错误
| 错误 | 处理 |
|------|------|
| LFS upload `Unprocessable entity` | `GIT_LFS_SKIP_PUSH=1` 后重试 push |
| push 含新 LFS 指针 | 改为普通 Git 或不要提交大文件到 LFS 跟踪路径 |
| CI `git lfs pull` 失败 | 检查 runner 能否访问 `.lfsconfig` URL |
## 禁止
- 未经用户明确要求,不要设 `GIT_LFS_SKIP_PUSH=0` 上传 LFS
- 不要把密钥写进 `.lfsconfig` pushurl 来「绕过」权限
## 相关
- 技能 `git-pr-workflow`
- 文档 `ai/docs/GIT_PR.md`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.
Generate a comprehensive VC investment assessment report for a company
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.
Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...
Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...