/research-core:git-conventionsfrom research-core
Guides Git commit practices, message formatting, branch creation, and PR workflows. Activates when committing, writing messages, or creating branches.
Ships in research-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
# Check current branch and status
git status
git branch
# Pull only after checking that the branch, upstream, worktree and incoming history are compatible
git fetch
git status
When the current branch has an upstream, compare incoming and outgoing history:
git log --oneline --decorate --left-right HEAD...@{upstream}
Without an upstream, inspect the intended base and destination. Do not create or change tracking merely to make this comparison run.
git status
git diff --staged
Prefer multiple -m flags for short, reviewable commit messages. If a longer body needs a file, use
a literal body file or another non-interpolating method supported by the current client and project.
Do not assume one client's shell-approval rules apply everywhere.
Title only:
git commit -m "Title line here"
Title and body:
git commit -m "Title line here" -m "Body paragraph explaining the why."
Each -m flag adds a separate paragraph. Add any truthful, approved attribution trailer as
another paragraph.
.gitignore).env, credentials.json, etc.)When the current task and native user or project instructions authorize Git writes, make coherent task-owned commits and working-branch pushes without asking again merely because a logical unit is ready. This public skill grants no Git write authority by itself. Inspect status and the complete staged diff, stage only owned paths, preserve unrelated dirty or staged work, and report what was committed and pushed.
When the user or project authorizes integration of accepted work, complete it without another permission question. Use the repository's normal route, preparing or updating a PR where used; review the exact head and full diff, confirm the target and permissions, resolve routine mechanical conflicts, check every required check, integrate, and verify the default-branch ref. Follow the repository's reviewer and exception policy; this skill grants no owner/admin exception. Never edit branch protection to make a merge possible.
A changed reviewed head or failed check pauses integration. Investigate and repair within agreed scope, then review the updated diff and rerun affected checks before proceeding. A changed target requires confirmation that it is still the authorized destination. Bring substantive holds, semantic conflicts, changes to others' work, public/deployment boundaries and history rewriting to the user. Do not squash, rebase away, or otherwise orphan a producing commit whose hash is recorded in retained scientific provenance.
Before retained scientific execution, make or reuse a commit containing the producer, wrapper, relevant local helpers and configuration, then verify those files match it. Record that full hash with the run; unrelated dirty files do not prevent a focused checkpoint. Commit and push are agent workflow actions, not operations embedded in scientific scripts. No new commit is needed when the relevant source is unchanged. Report local checkpoint and verified remote push separately; diagnose and report a failed push without claiming a remote backup. Git history is not scientific acceptance and does not itself preserve external inputs or recreate the software environment.
Bring the user a concrete conflict at the boundaries above. End-of-session work still uses the
done skill.
"Command not found" for git tools → Git should be available system-wide; check PATH if issues arise
Merge conflicts → Resolve routine task-owned conflicts when the intended result is clear; bring consequential or ambiguous semantic conflicts to the user with the affected paths and evidence
Git push fails with SSH permission denied → Inspect the current remote, intended destination and available authentication route; do not assume keys are unavailable or rewrite the remote automatically. Preserve the configured destination and obtain separate scope before making a real authentication or remote change.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub musserlab/lab-claude-skills --plugin research-core25 skills in this plugin
/analysis-distillationDistill exploratory or complex scientific analysis into the smallest readable workflow that supports a phase review, paper, report, or durable handoff. Use when a settled phase result needs consolidation, or selected results need publication-ready code, a newcomer reproduction route, or a maintained analysis path. Do not use to choose an unresolved scientific method, perform ordinary session cleanup, or rewrite a working pipeline merely to impose a preferred structure.
/analysis-review-dashboardBuild or refresh a browser dashboard for independently reviewing a scientific analysis, from a short workflow to a branching pipeline. Organize existing evidence into a pipeline overview, scientific task pages and complete script reviews with file and object previews. Use when the user asks for an analysis review dashboard or linked pipeline/task/script pages. Do not use for a task-status dashboard, source-code distillation alone, or a script audit alone.
/audit-projectReview project documentation, authority, navigation and workflow drift; propose careful, reversible consolidation when useful. Use for project health or documentation reconciliation, not script correctness (audit-script) or skill quality (a separate maintainer audit; use plugin-feedback for a student plugin report).
Other plugins' skills for the same job