precommit-workflow-management SKILL.md skillA

precommit-workflow-management from mishrashardendu22/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mishrashardendu22/agent-skills/precommit-workflow-management@git:20260914.e06e21c

Pins git:20260914.e06e21c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mishrashardendu22/agent-skills
Path
.agents/skills/precommit-workflow-management/SKILL.md
Versions recorded
4
Latest version
git:20260914.e06e21c, committed Sep 14, 2026
First version recorded
Aug 31, 2026
Size
2,490 bytes
Repository stars
6
License
MIT

Rules, architecture, and runbooks for configuring, updating, and operating the intelligent Git pre-commit workflow.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Pre-Commit Workflow Management Skill

This skill explains how to maintain, configure, and execute the intelligent pre-commit hook workflow across polyglot repositories.

---

## 1. Local Branch-First Development

> [!IMPORTANT]
> **CREATE A LOCAL BRANCH FIRST**: Always start by creating a dedicated local branch from `main`:
> ```bash
> git switch -c <developer-or-agent>/main/<feature-name>
> ```
> Never make changes directly on `main`.

---

## 2. Pre-Commit Architecture

The pre-commit workflow typically lives in `.githooks/pre-commit` and is tracked directly in version control.

```text
Staged Changes Detected (git diff --cached)
  │
  ├── Only Go files changed ───────► Run Go formatting, vet, tests, build
  ├── Only Python files changed ───► Run Pyright/Ruff, test suites
  ├── Only Frontend files changed ─► Run Biome/Linter, frontend build
  ├── Only Documentation changed ──► Fast-path bypass (<0.2s)
  └── Global / Config / Manual ────► Full monorepo validation gate
```

---

## 3. Key Features

1. **Selective Staged-File Execution**: Avoids unnecessary work by only running checks relevant to the files staged for the commit.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mishrashardendu22/agent-skills/precommit-workflow-management@sha256:a06a51ee0a432b0f

The line at the top of this page pins the label git:20260914.e06e21c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nsuwmxtlxgg5cpsw.svg)](https://markdownregistry.com/a/art_nsuwmxtlxgg5cpsw)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Aug 31, 2026 and Sep 14, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20260914.e06e21c latest2026-09-14 e06e21c 2,490 BA view · diff
git:20260905.a73d7ea2026-09-05 a73d7ea 2,475 BA view · diff
git:20260831.79e12da2026-08-31 79e12da 2,401 BA view · diff
git:20260831.0978e7e2026-08-31 0978e7e 2,515 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2490 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mishrashardendu22/agent-skills · 6 stars · license MIT · pushed 2026-09-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nsuwmxtlxgg5cpsw
GET https://markdownregistry.com/api/v1/resolve?ref=mishrashardendu22/agent-skills/precommit-workflow-management
GET https://markdownregistry.com/api/v1/blob/a06a51ee0a432b0f9245565133cb3309d0905c146872120e207c699c10aedcaf

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mishrashardendu22/agent-skills

agent-observatory-workflow SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/agent-observatory-workflow/SKILL.md · Step-by-step instructions for building and extending Python AI agent services: adding LangChain/LiteLLM tools…
git:20260914.e06e21c · audit A · 6 stars
careercafe-curiotech SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/careercafe-curiotech/SKILL.md · Official visual design system, typography, theme models, multi-surface UI protocols, and frozen landing page…
git:20260914.320e0e3 · audit A · 6 stars
ci-cd-workflow SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/ci-cd-workflow/SKILL.md · Rules, architectures, and guidelines for maintaining GitHub Actions CI/CD workflows, Docker Hub image publishing, and…
git:20260917.f685a8f · audit A · 6 stars
cli-tooling-guide SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/cli-tooling-guide/SKILL.md · Standard operating guide for first-class authenticated CLI tools in the repository: GitHub CLI (gh), Google Jules CLI…
git:20260914.e06e21c · audit A · 6 stars
code-quality-and-validation SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/code-quality-and-validation/SKILL.md · Standards, tools, and commands for code formatting, linting, and static type checking across Go, Python, and TypeScript.
git:20260914.e06e21c · audit A · 6 stars
codebase-simplification-guide SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/codebase-simplification-guide/SKILL.md · Rules and principles for keeping this codebase clean, minimal, maintainable, and free of unnecessary abstractions.
git:20260914.e06e21c · audit A · 6 stars
doc-synchronization SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/doc-synchronization/SKILL.md · High-priority rules and automated procedures for continuously keeping repository documentation, API references…
git:20260914.e06e21c · audit A · 6 stars
docker-first-architecture SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/docker-first-architecture/SKILL.md · Rules, architectures, multi-stage Dockerfile blueprints, and container-first workflows for all microservices…
git:20260914.e06e21c · audit A · 6 stars
git-branch-management SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/git-branch-management/SKILL.md · Rules and procedures for creating, naming, structuring, and navigating Git branches in the repository for both human…
git:20260914.e06e21c · audit A · 6 stars
git-commit-workflow SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/git-commit-workflow/SKILL.md · High-priority rules, message formats, commit design taxonomy, and strict permission boundaries for creating frequent…
git:20260914.e06e21c · audit A · 6 stars
git-post-merge-cleanup SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/git-post-merge-cleanup/SKILL.md · Rules, safety constraints, and automated procedures for post-merge local Git cleanup, synchronizing main with GitHub…
git:20260917.f685a8f · audit A · 6 stars
git-worktree-management SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/git-worktree-management/SKILL.md · Standard operating procedure for ephemeral Git worktree isolation, directory conventions, branch-to-worktree 1:1…
git:20260914.d2d9993 · audit A · 6 stars

Every file in mishrashardendu22/agent-skills

Browse by kind, by grade A, or by owner.