Awesome-Agent-Skills-for-Empirical-Research commit
Stage, commit, create PR, and merge to main. Use for the standard commit-PR-merge cycle.
install
source · Clone the upstream repo
git clone https://github.com/brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/14-luischanci-claude-code-research-starter/dot-claude/skills/commit" ~/.claude/skills/brycewang-stanford-awesome-agent-skills-for-empirical-research-commit-f8a473 && rm -rf "$T"
manifest:
skills/14-luischanci-claude-code-research-starter/dot-claude/skills/commit/SKILL.mdsource content
Commit Workflow
Perform the full commit-PR-merge cycle.
Steps
-
Check current state:
git status git diff --stat git log --oneline -5 -
Create branch:
git checkout -b [descriptive-branch-name] -
Stage files:
- Stage specific files (never
)git add -A - Exclude:
,settings.local.json
, credentials, large data files.env - Review what's being staged
- Stage specific files (never
-
Commit:
- Use
as commit message if provided$ARGUMENTS - Otherwise, analyze changes and write a descriptive message
- Format: imperative mood, concise, explains WHY not WHAT
- Use
-
Push and create PR:
git push -u origin [branch-name] gh pr create --title "[message]" --body "[summary of changes]" -
Merge (with user approval):
gh pr merge --merge --delete-branch git checkout main git pull
Important
- Never commit directly to main
- Never use
orgit add -Agit add . - Never commit sensitive files
- Always review staged changes before committing