From tlab
Stage, commit, create PR, and merge to main. Use for the standard commit-PR-merge cycle.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tlab:commit [optional: commit message][optional: commit message]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Stage changes, commit with a descriptive message, create a PR, and merge to main.
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 remote -v to determine the merge path.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> --squash --delete-branch
git checkout main
git pull
git checkout main
git merge --squash <branch-name>
git commit -m "$(cat <<'EOF'
<same commit message>
EOF
)"
-D because squash merge breaks ancestry):git branch -D <branch-name>
settings.local.json and sensitive files from staging--squash (not --merge or --rebase) unless asked otherwise$ARGUMENTS is provided, use it exactlyGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub tasdemir-lab/tlab-research --plugin tlab