git-workflow
Perform safe Git branch, stage, commit, and push operations for engineering work.
Skill by dprakash2101
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dprakash2101-git-workflow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/git-workflow
What's inside
- Skill name
git-workflow- Description
- Perform safe Git branch, stage, commit, and push operations for engineering work. Use only when the user requests Git operations or they are an explicit required step; never infer permission to commit or push.
- License
- MIT
- Instructions
- 41 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Fast, safe Git workflow Apply `safe-terminal` before execution and on command failure. Keep the working directory in the intended project, verify the repository root when context is not established, and never recover by moving into Git's installation folder. Executable lookup does not select the repository. Split diagnostic recovery from the mutation sequence below; resume only when the cause is corrected and repository context is verified. Minimize terminal calls and token-heavy output without weakening review. Batch compatible Git commands into the fewest practical invocations, and reuse branch, status, diff, validation, and remote facts already established in the current task when no intervening operation could have changed them. Do not issue one tool call per Git command by default. For a fresh preflight, prefer one combined inspection such as `git status --short --branch` instead of separate status and branch commands. Inspect only the relevant diff; do not repeat a full diff review that was just completed. Preserve unrelated user changes and stage explicit intended paths or hunks only. After staging, use one focused staged check that detects whitespace errors and confirms the staged scope, such as `git diff --cached --check --stat`. Expand to the full staged diff only when it has not already been reviewed or the staged scope is surprising. Follow the repository's branch and commit naming rules. If the team requires a Jira ID, reuse one from the current branch or user input and never invent one. Ask only if the requested operation requires an unavailable identifier. ## Strict authorship policy - Never add `Co-authored-by:` trailers (case-insensitive), co-author metadata, or equivalent attribution to commits or pull requests. This applies to every coding agent, including GitHub Copilot, Codex, Claude, and Cursor. - Never append AI/agent signatures, credits, or footers such as "Generated with Copilot" or "Assisted by Claude" to commit messages or pull request titles/descriptions. - Do not supply attribution through `git commit --trailer`, commit-message templates, API fields, or another indirect mechanism. Do not change the configured Git author/committer identity or use `--author` to credit an agent. - Before creating a commit or pull request, inspect the complete proposed message, including its body and trailers, and remove any automatically suggested attribution. Before pushing, inspect the new commits' complete messages with `git log <base>..HEAD --format=full` and verify the same policy. - If a hook, tool, or host adds forbidden attribution, stop before publishing and report the blocker. Do not bypass hooks, change tool configuration, amend existing commits, or rewrite published history without explicit authorization. Before committing, confirm required validation and scan the intended changes for secrets/artifacts. Do not include unrelated changes. Do not change Git identity, credentials, credential helpers, or authentication configuration. When the user authorizes both commit and push, treat them as one continuous workflow: do not pause between them or rerun status/branch checks unless the commit result is ambiguous, hooks changed the worktree, or another actor may have changed repository state. Push the committed current branch with `git push -u <authorized-remote> HEAD`; this avoids another branch-name lookup. Inspect remotes only when the destination is not already known, and obtain any host-required approval before external transfer. Do not run a final status merely for ceremony. Commit and push output normally provide sufficient confirmation; recheck only to investigate an error, hook mutation, partial operation, or when the user explicitly requests a clean-tree report. Group already-authorized sequential operations in one terminal invocation using `&&`, so execution stops at the first failure and later mutations do not run. Do not add banners, `echo` separators, or duplicate inspection commands that inflate output. Keep separate calls only where the result of one step must be reviewed before authorizing or deciding the next step. ## Efficient default When the exact paths and diff were reviewed, validation passed, the commit message is known, and commit plus push are both authorized, use at most two terminal invocations: 1. `git status --short --branch` for the fresh preflight. 2. A short-circuiting sequence that stages only the intended paths, checks the staged scope, commits, and pushes `HEAD`, for example: `git add -- <paths> && git diff --cached --check --stat && git commit -m "<message>" && git push -u <authorized-remote> HEAD`. If the preflight facts are already known from the current task, skip the first invocation and run only the combined mutation sequence. For a commit without push, omit the final push segment. For read-only review, combine compatible output in one invocation or use multi-purpose forms such as `git status --short --branch` and `git diff --check --stat` instead of separate branch, status, whitespace, and summary calls. Do not use the combined mutation sequence when staging needs hunk selection, changes have not been reviewed, validation is incomplete, the remote is unknown, push was not authorized, or the environment requires separate approvals. In those cases, split only the steps needed to resolve that uncertainty. Never force-push unless explicitly requested and the target/ref consequences are understood. Pushing, rebasing, resetting, deleting branches/tags, and other remote or destructive actions require clear scope and authorization.
From dprakash2101/dotnet-production-agent-skills, MIT.
More from dprakash2101/dotnet-production-agent-skills
- 0.574score
google-cloud-pubsub-dotnet
dprakash2101
Use when implementing, modifying, reviewing, or troubleshooting Google Cloud Pub/Sub publishers, subscribers, pull workers, acknowledgements, concurrency…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
google-bigquery-dotnet
dprakash2101
Use when implementing, modifying, reviewing, troubleshooting, or optimizing Google BigQuery integrations in .NET, including BigQueryClient, authentication…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
google-firestore-dotnet
dprakash2101
Use when implementing, reviewing, or troubleshooting .NET Firestore document models, queries, transactions, batched writes, indexes, optimistic concurrency…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
exception-handling
dprakash2101
Use when implementing, modifying, or reviewing .NET exception handling, customer-facing API error translation, recovery boundaries, cancellation, and safe…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
api-endpoint-deprecation
dprakash2101
Use when planning, implementing, or reviewing API deprecation, replacement versions, sunset headers, migration windows, consumer verification, or endpoint…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
aspnet-core-api-development
dprakash2101
Use when building a new ASP.NET Core customer-facing API endpoint or version, including routing, header and request validation, service boundaries…
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
dotnet-implementation
dprakash2101
Implement production .NET or ASP.NET Core behavior within an existing codebase.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
dotnet-architecture
dprakash2101
Design or assess architecture for substantial .NET and ASP.NET Core changes.
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
dependency-management
dprakash2101
Assess, remove, add, or upgrade .NET/NuGet dependencies safely.
SkillBFreshness: B★ 4Claude Code +9 - 0.564score
api-contract-safety
dprakash2101
Use when changing or reviewing existing API routes, versions, verbs, headers, request/response DTOs, serialization, status codes, error shapes, authorization…
SkillBFreshness: B★ 4Claude Code +9 - 0.564score
distributed-workflows
dprakash2101
Use when designing or changing .NET message handlers, background workers, idempotency, duplicate delivery, partial failures, or existing retry behavior.
SkillBFreshness: B★ 4Claude Code +9 - 0.564score
poc-development
dprakash2101
Build a clearly identified .NET proof of concept or experiment to test technical feasibility.
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 6, 2026 (22 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from dprakash2101
- 0.574score
google-cloud-pubsub-dotnet
dprakash2101
Use when implementing, modifying, reviewing, or troubleshooting Google Cloud Pub/Sub publishers, subscribers, pull workers, acknowledgements, concurrency…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
google-bigquery-dotnet
dprakash2101
Use when implementing, modifying, reviewing, troubleshooting, or optimizing Google BigQuery integrations in .NET, including BigQueryClient, authentication…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
exception-handling
dprakash2101
Use when implementing, modifying, or reviewing .NET exception handling, customer-facing API error translation, recovery boundaries, cancellation, and safe…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
aspnet-core-api-development
dprakash2101
Use when building a new ASP.NET Core customer-facing API endpoint or version, including routing, header and request validation, service boundaries…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
api-endpoint-deprecation
dprakash2101
Use when planning, implementing, or reviewing API deprecation, replacement versions, sunset headers, migration windows, consumer verification, or endpoint…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
google-firestore-dotnet
dprakash2101
Use when implementing, reviewing, or troubleshooting .NET Firestore document models, queries, transactions, batched writes, indexes, optimistic concurrency…
SkillBFreshness: B★ 4Claude Code +9
Cite this page
git-workflow skill. Agent Mart. https://agentmart.dev/skills/dprakash2101-git-workflow (last updated 2026-10-24)