Cross Repo State Inspection Before Commit

Use when the user issues a vague git instruction like "commit hub", "push that to the repo", "should go in git", "put that under version control", "stage the changes", "deploy that to GitHub" — without specifying scope (which files, which repo, which branch, push-or-just-commit, new-repo-or-existing). Jumping to action without verifying repo state risks picking the wrong scope: committing everything when only one subdir was meant, creating a new repo when one already exists, pushing modifications meant to be deferred. The agent must run `git status` + `git log origin/main..HEAD` + `git remote -v` before acting. Trigger phrases like "commit X", "push that", "into the repo", "into git", "stage that", "bring to GitHub", "new commit needed". Do NOT load when the user has given fully-specified instructions, for clearly-single-project repos, when the working tree is clean, or for fresh `git init` workflows.

Ed3Design e6be674 7.9 KB Updated

File contents

Ed3Design/ed3design-skill-bundles/tree/main/code-quality/skills/cross-repo-state-inspection-before-commit commit e6be6744bd

Frequently asked questions

npx skillmds@latest add ed3design/cross-repo-state-inspection-before-commit