ai-governance
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path edits and dangerous commands,…
Analyze git diffs or staged changes and generate conventional commit messages that explain WHY a change was made. Supports auto-detecting type and scope, intelligent file staging, and interactive overrides. Use when asked to "write a commit message", "generate a commit",
> /plugin marketplace add nitinjain999/platform-skills > /plugin install platform-skills@platform-skills
How it fires
How this command gets triggered: by you, by Claude, or both.
/commitContext preview
What this command does when you run it.
Analyze git diffs or staged changes and generate conventional commit messages that explain WHY a change was made. Supports auto-detecting type and scope, intelligent file staging, and interactive overrides. Use when asked to "write a commit message", "generate a commit",
name: commit description: Analyze git diffs or staged changes and generate conventional commit messages that explain WHY a change was made. Supports auto-detecting type and scope, intelligent file staging, and interactive overrides. Use when asked to "write a commit message", "generate a commit", "describe my changes", "commit this", "summarize my diff", or "/commit". argument-hint: "[analyze|generate|stage|validate] [optional: type/scope override or description]" title: "Commit Command" sidebar_label: "commit" custom_edit_url: null
Analyze changes and generate a Conventional Commits message explaining the motivation behind the change.
Inspect staged or unstaged changes and classify the commit type and scope.
Steps: 1. Run `git diff --staged` — if empty, run `git diff HEAD` to capture unstaged changes 2. Group changed files by logical concern (feature, fix, refactor, docs, config, tests, ci) 3. Identify the type from the change pattern:
4. Infer scope from the most specific common ancestor: module name, service name, directory, or filename 5. Check for breaking changes: API removals, signature changes, config renames, behavior inversions — flag with `!` and add `BREAKING CHANGE:` footer 6. Report: detected type, scope, whether breaking, and a one-line WHY summary
Reference: `references/conventional-commits.md` → Type Classification, Scope Rules
Generate a complete conventional commit message from diff or description.
Steps: 1. Run `analyze` mode first to determine type, scope, and breaking status 2. Write the subject line:
3. Write the body (when the subject line is insufficient):
4. Write footers:
5. Output the full message in a code block ready to copy
Message structure:
<type>(<scope>): <subject> <body — optional, explains motivation and approach> <footers — optional>
Reference: `references/conventional-commits.md` → Message Structure, Body and Footer Rules
Intelligently stage files for a logical, atomic commit.
Steps: 1. Run `git status` to list all modified, added, and deleted files 2. Group files by logical change:
3. Separate unrelated changes into distinct groups — each group should be a separate commit 4. If multiple logical groups exist: present the groupings and ask which to stage first 5. Stage the chosen group: `git add <files>` 6. Confirm staged set with `git diff --staged --stat` 7. Run `generate` mode to produce the commit message for the staged group
Reference: `references/conventional-commits.md` → Atomic Commits
Validate an existing commit message against the Conventional Commits specification.
Steps: 1. Accept the message as input (or read from `git log -1 --format=%B`) 2. Check subject line:
3. Check body (if present):
4. Check footers (if present):
5. Report: PASS or list of violations with the exact rule broken and the corrected line
Reference: `references/conventional-commits.md` → Validation Rules
A production-grade field handbook for platform, DevOps, SRE, and cloud engineers covering Kubernetes, Flux CD, Terraform, GitHub Actions, AWS, OPA/Rego, KEDA, Karpenter, supply chain security, Falco, observability, and more.
Repo: nitinjain999/platform-skills
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path edits and dangerous commands,…
Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG patterns (architecture flow, lifecycle…
AWS profile management for MCP servers — discover profiles across SSO, Granted, and assumed-role chains, check credential TTL, switch profiles across VS Code…
Structured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront Functions, Firewall Manager multi-account enforcement, and IAM/IRSA…
Azure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns, RBAC scoping, and production-readiness review — with Terraform…
Design, run, and debug Chaos Engineering experiments on Kubernetes using Litmus Chaos v3 and Chaos Mesh v2. Covers fault injection (pod-delete, network-loss,…