agentleFS
pgnzbl-uxpgnzbl-ux/crucible/.claude/skills/git-push/SKILL.md

git-push

Skill4 starsChanged 3 months agoMITView on GitHub

安全地把本地变更推送到 origin

  • Commits and pushes

18 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Git Push

步骤

  1. 提交前检查(参考 git-workflow.md §3)

    git status
    git grep -nE "sk-[A-Za-z0-9_-]{20,}|ghp_[A-Za-z0-9]{30,}"   # 必须零命中
    cd backend && ruff check app tests   # 待 P2-14 接入
    cd frontend && npx tsc --noEmit
  2. 写 commit(英文,参考 git-workflow.md §2)

    git add -A
    git commit -m "feat(agent): add SSE event publishing
    
    Publish Agent lifecycle events to Redis Pub/Sub for P0-1 SSE
    endpoint.
    
    Refs: P0-1"
  3. 推分支

    git push -u origin feat/sse-events
  4. 开 PR(如 CLI 已配)

    gh pr create --base main --title "feat(agent): SSE events" --body "..."

安全红线

  • 严禁 --force 推 main
  • 严禁跳过 hook(--no-verify)除非用户明确同意
  • 推送前再 grep 一遍敏感信息

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.