Skip to content
Back to skills

Git Rules

ASecurity

Git + repo discipline — git-workflow (per-org identity, conventional commits, PR workflow), repo-setup-checklist (20-point first-touch security audit), docs-sync-with-code (every PR ships docs + code together), documentation-requirements (Diátaxis four-quadrant: tutorials / how-tos / reference / explanation). Select explicitly when this guidance applies.

  • 12 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 6, 2026
ai-agentsgonodegitapisecuritydocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned October 6, 2026

npx -y skills add Nmor/the-council --skill git-rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Rules?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nmor-git-rules-the-council/badge)](https://www.skillsdirectory.com/skills/nmor-git-rules-the-council)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: git-rules
description: Git + repo discipline — git-workflow (per-org identity, conventional commits, PR workflow), repo-setup-checklist (20-point first-touch security audit), docs-sync-with-code (every PR ships docs + code together), documentation-requirements (Diátaxis four-quadrant: tutorials / how-tos / reference / explanation). Select explicitly when this guidance applies.
paths:
  - "**/.gitignore"
  - "**/.gitattributes"
  - ".git/**"
  - ".githooks/**"
  - "CONTRIBUTING.md"
  - "README.md"
  - "**/CONTRIBUTING.md"
  - "**/README.md"
  - "docs/**/*.md"
  - "**/docs/**/*.md"
disable-model-invocation: true
---

# git-rules

> **Size budget: 25 KB.** Check: wc -c. Gate: node ~/.claude/scripts/token-budget.mjs --check
>
> Migrated 2026-06-02 from `~/.claude/rules/common/` as part of the lazy-rules-loading plan. Phase H
> will delete the source files to close the eager-load loop.

## Purpose

Git and repo discipline: who a commit is authored as, what a repo must satisfy
before work starts in it, and the documentation that ships alongside the code.
This file is a ROUTING TABLE — the detail lives in `references/`, one file per
concern, read on demand rather than carried on every turn that touches a
`README.md` or a `docs/` page.

## Routing table

| Row | Read when | Reference file |
| --- | --- | --- |
| **Git workflow** | Committing, branching, opening a PR, or first-touching a repo in a different GitHub org (per-org identity + signing keys) | [`references/git-workflow.md`](references/git-workflow.md) |
| **Repo setup checklist** | A repo is cloned, initialised, first-touched this session, or last touched > 30 days ago — the 20-point tracked-state / dependency / infra / secrets / CI audit | [`references/repo-setup-checklist.md`](references/repo-setup-checklist.md) |
| **Docs sync with code** | A change alters user-visible behaviour, or a stale doc / landing page is encountered while working on something else | [`references/docs-sync-with-code.md`](references/docs-sync-with-code.md) |
| **Documentation requirements** | Authoring or reviewing any doc surface — README, architecture, ADR, runbook, API reference, tutorials — or choosing a doc toolchain | [`references/documentation-requirements.md`](references/documentation-requirements.md) |

## Source files migrated

- `rules-library/common/git-workflow.md`
- `rules-library/common/repo-setup-checklist.md`
- `rules-library/common/docs-sync-with-code.md`
- `rules-library/common/documentation-requirements.md`

Files in this skill

  • SKILL.md2.5 KB
  • references/docs-sync-with-code.md7.6 KB
  • references/documentation-requirements.md14.5 KB
  • references/git-workflow.md4.2 KB
  • references/repo-setup-checklist.md10.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…