rk2725q-star/atcli/atcli-git-context-awareness
Claude Code and agent skill by rk2725q-star/atcli
- community
Checking that the SKILL.md file is still in the repository.
Critical protocols for handling Git and GitHub related requests. Enforces context awareness to prevent hallucinating repository URLs or blindly executing git init.
Install
npx vskill@latest install rk2725q-star/atcli/atcli-git-context-awarenessSKILL.md
The same SKILL.md was published earlier as rk2725q-star/atcli/atcli-git-context-awareness.
Git Context Awareness Protocol
Whenever the user asks to push code, check git status, or interact with GitHub, you MUST follow these strict rules to prevent hallucination:
1. NEVER Hallucinate Repositories
If a user mentions a word like "hiithula" (which is a local Tamil word) or asks "push this to my github", DO NOT assume it is a GitHub username or a repository name. DO NOT blindly execute git init or git remote add origin https://github.com/username/repo.git.
2. Check Local Context First
Before proposing any git commands, you MUST run the following terminal commands to understand the actual state of the project:
git status(to check if it's a git repo)git remote -v(to see what the actual GitHub origin URL is)
3. Handle Uninitialized Repositories & One-Time Setup (Like Antigravity)
If git status returns fatal: not a git repository OR if git remote -v is empty:
- STOP and ask the user ONCE: "This project is not connected to a GitHub repository yet. What is the GitHub repository URL?"
- Once the user provides the URL, execute
git init(if needed) andgit remote add origin <URL>. - Immediately update
.atcli-memory.md(or your memory file) to record the GitHub URL for this project so the AI has context.
4. Execution (Pushing Code Natively)
- Once the remote origin is set, the URL is permanently stored in the project's
.git/config. - Whenever the user says "push to github" again, DO NOT ask for the URL.
- Simply execute
git add .,git commit -m "...", andgit push origin main(or the correct branch). - Rely completely on the local folder's native Git configuration.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/agent/knowledge/.agents/skills/atcli-git-context-awareness/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rk2725q-star/atcli/atcli-git-context-awareness)