AGENT SKILL

demo

暂无简介

License 许可
MIT
所属仓库
garrytan/gbrain
最近更新
2026-11-14
Stars
★ 3.3w
Forks
4.9k

03 SKILL.md 正文

Demo skill

Commit with scripts/brain-commit-push.sh "<msg>" people/alice-example.md.

gbrain git commit-push -m "people: add alice-example" -- people/alice-example.md
git add -A -- people/alice-example.md
git push --dry-run origin HEAD:main
git stash store -m "rescued" "$(cat .git/rebase-merge/autostash)"
git push --force origin main  # gbrain-allow-shared-tree-git: confirmed purge of a private clone

<!-- gbrain-allow-shared-tree-git: names what never to run --> Never run git pull --rebase in a shared checkout.

<!-- gbrain-allow-shared-tree-git-begin: the forbidden list -->

  • git stash
  • git reset --hard <!-- gbrain-allow-shared-tree-git-end -->

A git push in plain prose, outside a code span, is not an instruction.

04 同仓库更多 Skills