agentleFS
lukashouthoofdlukashouthoofd/cenekathon/.agents/skills/git-github/SKILL.md

git-github

Skill1 starsChanged 10 days agoMITView on GitHub

Use for any git or GitHub operation in the team repo — creating the repo from the template, branches, PRs with gh, issues, resolving conflicts, and recovering from mistakes.

  • Reads credentials
  • Commits and pushes

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check CI: gh run list --limit 3, gh run watch.

    line 30

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Git & GitHub (team flow)

# one person: create the team repo from the template, add collaborators in Settings → Collaborators
gh repo create <team> --template lukashouthoofd/cenekathon-starter --public --clone
# everyone else
git clone <url> && cd <repo> && cp .env.example .env

# every task
git switch main && git pull
git switch -c <initials>/<task>
git add <your files> && git commit -m "feat: short message"
git push -u origin HEAD
gh pr create --fill          # template asks for what/verified/not-verified
gh pr merge --squash --delete-branch
  • Issues as tasks: gh issue create --title "..." --body "...", gh issue list, gh issue close N.
  • Conflicts: git fetch && git merge origin/main on your branch, fix the marked files, run ./scripts/verify.sh, commit. Prefer merging over rebasing under time pressure. The second merger resolves.
  • Undo safely: unstage git restore --staged <f>; discard file git restore <f>; undo a pushed commit git revert <sha>. Don't reset --hard or force-push shared branches.
  • Committed a secret? Rotate the key first, then remove it from history; assume it's leaked.
  • Never git add -A blindly (catches .env, build output). Review git status and git diff --staged.
  • Worktrees for parallel agents: git worktree add ../wt-<task> -b <initials>/<task>.
  • Commit messages: imperative, one line, feat: / fix: / docs: prefix.
  • Check CI: gh run list --limit 3, gh run watch.

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.