Git Workflow

Enforce conventional Git commit formatting and run pre-commit build and lint checks.

Updated Nov 13, 2025
One-click install
npx skills add https://github.com/changjian-wang/dawning --skill git-workflow-changjian-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Git Workflow
Source: https://github.com/changjian-wang/dawning/tree/main/.github/skills/git-workflow
Command: npx skills add https://github.com/changjian-wang/dawning --skill git-workflow-changjian-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enforces a standardized and conventional format for Git commits, ensuring clarity, consistency, and automated checks for both backend and frontend codebases.

Core Features & Use Cases

  • Conventional Commits: Adheres to the type(scope): subject format for clear commit messages.
  • Pre-commit Checks: Runs automated build and linting checks for backend (.NET) and frontend (Vue/pnpm) code before allowing a commit.
  • Use Case: When making a new feature addition to the admin UI, you would use this skill to ensure your commit message is descriptive (e.g., feat(admin-ui): add user profile page) and that all frontend linting checks pass.

Quick Start

Use the git-workflow skill to commit your changes with a feat type and admin scope.

Frequently Asked Questions about Git Workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce conventional commits format for frontend and backend code?

To enforce conventional commits, this Skill validates the `type(scope): subject` format and runs pre-commit lint checks for Vue/pnpm and .NET codebases. It supports types like feat, fix, docs, and scopes like admin-ui, gateway, and core to ensure commit clarity and consistency.

What are conventional commit types and scopes for automated Git workflows?

Conventional commit types include feat, fix, refactor, perf, test, chore, and ci. Supported scopes cover admin, gateway, identity, sdk, core, auth, user, admin-ui, router, store, i18n, api, caching, extensions, logging, messaging, orm, resilience, deploy, docker, and docs.

Does this pre-commit check tool work with .NET and Vue pnpm projects?

Yes, this pre-commit check tool works with .NET backend and Vue/pnpm frontend projects. It executes automated build and linting processes specific to these frameworks before allowing a commit to ensure code quality standards are met.

How do I commit a new admin UI feature using a conventional commit message?

To commit a new admin UI feature, you format your message as `feat(admin-ui): add user profile page` or similar. This Skill validates the feat type and admin-ui scope, then runs frontend linting checks before the commit is accepted.

What is the best way to automate linting and builds before a Git commit?

The best way to automate linting and builds before a Git commit is using a pre-commit Skill that executes automated build and linting processes. This ensures backend and frontend code quality checks pass before conventional commit formatting is accepted.