skills/28-maxwell2732-paper-replicate-agent-demo/dot-claude/skills/commit/SKILL.md
Stage, commit, create PR, and merge to main. Use for the standard commit-PR-merge cycle.
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research commitInstall 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.
Stage changes, commit with a descriptive message, create a PR, and merge to main.
git status
git diff --stat
git log --oneline -5
git checkout -b <short-descriptive-branch-name>
git add -A):git add <file1> <file2> ...
Do NOT stage .claude/settings.local.json or any files containing secrets.
If $ARGUMENTS is provided, use it as the commit message. Otherwise, analyze the staged changes and write a message that explains why, not just what.
git commit -m "$(cat <<'EOF'
<commit message here>
EOF
)"
git push -u origin <branch-name>
gh pr create --title "<short title>" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points>
## Test plan
<checklist>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
gh pr merge <pr-number> --merge --delete-branch
git checkout main
git pull
settings.local.json and sensitive files from staging--merge (not --squash or --rebase) unless asked otherwise$ARGUMENTS is provided, use it exactlytools
Show mcp-stata identity, connected tools, and status. Use when the user asks if mcp-stata is available, asks about access to the toolkit, or asks what Stata tools are connected.
tools
Activate when users mention Stata commands, .do files, regressions, econometrics, stored results, graphs, dataset inspection, replication, or Stata errors. Route the task through mcp-stata tools and the specialized research skills instead of treating it as plain text coding.
development
Build and review paper-ready regression, balance, and summary tables from Stata outputs. Use when the user needs a clean table for a draft, appendix, or coauthor share-out.
tools
Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.