Install
$ agentstack add skill-alnah-agent-git-workflow ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Git and GitHub workflow
Tools: always git for repo and history, gh for PRs, issues, Actions, and repo hosting.
Repo rules
Branching: always commit to current branch; only if I ask, topic branch. Commands: prefer git switch and git restore; never run git pull blindly; always git push --force-with-lease; never git push --force. Sync: always git fetch; then ask the user before running git rebase / or git merge /. Push: if rewrite needed, use --force-with-lease, never plain --force. Recovery: use git reflog before panic.
Commit rules
Before: always git status; then git diff, then git diff --cached, then git --no-pager log --pretty=format:'%h %s (%cr) ' -n 50. Then: always small, atomic commits; prefer split unrelated changes. Subject: short, imperative, informative; prefer <= 50 chars. Body: blank line, then why/constraints when non-obvious. Wrap: commit body prose at ~72 chars. Types: feat|fix|refactor|build|ci|chore|docs|style|perf|test. Scope: prefer no scopes; if codebase gets bigger, prefer based on repo's modules, historical/long-term support; never vague; always ask user before new scope. Footers: use BREAKING CHANGE: and trailer-style footers when needed.
GitHub rules
PRs: open or merge if the user asks, or the repo clearly uses PR review. Auth: gh auth status when auth or host context unclear. Repo: gh repo view|create|fork|clone. Issues: gh issue list|view|create. CI: gh run list|view|watch. Merge: use gh pr merge with explicit strategy.
Tracking files
Gitignore: always toptal-like, with comments.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: alnah
- Source: alnah/agent
- License: Apache-2.0
- Homepage: https://alnah.me
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.