skills/pull/SKILL.md
Syncs the local main branch with the default remote by running git pull. Switches to main first (discarding any uncommitted changes) if not already on it. Resolves merge conflicts by reverting local changes in favor of remote. Use when user asks to "pull", "sync with remote", "update main", "pull from remote", or "sync main branch". Do NOT use for pushing changes or creating branches.
npx skillsauth add armandli/get-skilled pullInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Sync the local main branch with the default remote.
Work through these steps sequentially.
Run git branch --show-current.
main, skip to Step 3.Run git status to show the user what will be discarded.
Warn the user: "You have uncommitted changes on <branch>. They will be discarded."
Then run in sequence:
git restore --staged .
git restore .
git clean -fd
git checkout main
Run git pull.
Run in sequence:
git merge --abort
git fetch origin
git reset --hard origin/main
Warn the user: "Local changes on main were reverted to match origin/main."
Then run git pull again.
If it still fails, report the error and stop.
Run git log --oneline -5 to show recent commits.
Report:
Record this skill's usage:
python3 ${PWD}/.claude/skills/skill-stat/scripts/record-stat.py "pull"
Then, only if the stats file has changes, commit and push it so it stays synced with the remote:
if git status --porcelain .claude/skill-stats.md | grep -q .; then
git add .claude/skill-stats.md
git commit -m "update skill stats"
git push
fi
If the push fails (e.g., remote diverged), warn the user but do not stop.
tools
--- name: update-readme description: Updates a project README.md with build instructions, unit test instructions, and a mermaid architecture diagram. Use when a project README needs to be created or refreshed. Trigger phrases: "update readme", "generate readme", "create readme", "refresh readme docs". Emphasizes project interfaces, extension points, and customization hooks in the diagram — not concrete implementations. Do NOT use for documentation sites, wikis, or non-project READMEs. argument-h
business
--- name: skill-stat description: Records skill usage statistics and issue reports into .claude/skill-stats.md. Increments the Uses count for a skill name, and optionally logs an issue report that increments the Issues count and appends a row to the Issue Reports table. Use when tracking how often a skill is invoked, when a user reports a problem with a skill, or when another skill needs to log its own usage. Trigger phrases: "record skill stat", "log skill usage", "report skill issue". Do NOT u
testing
--- name: revert description: Reverts ALL git changes in the working directory: staged changes, unstaged modifications, and new untracked files. Use when user asks to "revert all changes", "undo all changes", "discard all changes", "reset all git changes", or "clean working directory". Do NOT use for reverting a specific file or a specific commit — those need targeted git commands. disable-model-invocation: true --- Revert all git changes in the working directory. This is destructive and cannot
tools
Scans a Python codebase for duplicate or near-duplicate logic patterns across functions, classes, and files, then extracts those patterns into typed utility classes in a shared module. Use when the user asks to "refactor this Python code", "find duplicate logic", "extract shared utilities", "apply DRY to Python", "deduplicate Python code", or "find repeated patterns in Python". Groups extracted helpers by the object type they operate on (strings, numbers, dates, collections, etc.). Do NOT use for performance optimization (use optimize-python), for debugging logic errors, or for explaining code. Do NOT extract code that appears only once. Run this skill before optimize-python.