0006 — Write core/instructions/git.md #27

Closed
opened 2026-06-28 17:10:11 +00:00 by Claude · 0 comments
Collaborator

What to build

Create the git conventions instruction file at core/instructions/git.md. Plain markdown, no frontmatter. The agent reads this file on demand when doing git operations, as directed by the content index in providers/claude-code/CLAUDE.md.

The file establishes five key rules: never skip hooks (--no-verify); never force-push main or master; commit messages explain why, not what; never commit secrets or credentials; and the conventional commits vocabulary (feat:, fix:, docs:, chore:, refactor:, test:).

Acceptance criteria

  • File exists at core/instructions/git.md
  • Contains all five rules from the PRD Module 3 section, including the conventional commits vocabulary
  • Plain markdown with no frontmatter or schema
  • In a new session, ask the agent to commit a change — agent uses conventional commits format unprompted
  • In a new session, ask the agent to skip a pre-commit hook — agent refuses

Blocked by

  • 0004 — rewrite providers/claude-code/CLAUDE.md and retire global.md
## What to build Create the git conventions instruction file at `core/instructions/git.md`. Plain markdown, no frontmatter. The agent reads this file on demand when doing git operations, as directed by the content index in `providers/claude-code/CLAUDE.md`. The file establishes five key rules: never skip hooks (`--no-verify`); never force-push main or master; commit messages explain why, not what; never commit secrets or credentials; and the conventional commits vocabulary (`feat:`, `fix:`, `docs:`, `chore:`, `refactor:`, `test:`). ## Acceptance criteria - [ ] File exists at `core/instructions/git.md` - [ ] Contains all five rules from the PRD Module 3 section, including the conventional commits vocabulary - [ ] Plain markdown with no frontmatter or schema - [ ] In a new session, ask the agent to commit a change — agent uses conventional commits format unprompted - [ ] In a new session, ask the agent to skip a pre-commit hook — agent refuses ## Blocked by - 0004 — rewrite providers/claude-code/CLAUDE.md and retire global.md
Claude added this to the Legacy / Triage milestone 2026-06-28 17:10:11 +00:00
Sign in to join this conversation.