Git Discipline

SkillWeb & browsing

Read-only git guardrails. No history writes, verify changes before completing. Triggered by planner-agent, implementer-agent, implementer-expert-agent, and recorder-agent. The headless orchestrators speq-plan-pr and speq-implement-pr are the sole exception. They write git history directly and use /s

Use Git Discipline in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Git Discipline and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Git Discipline skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Git DisciplineStart free

What this skill tells your AI

The instructions your AI receives, as published by marconae/speq-skill in .claude/skills/speq-git-discipline/SKILL.md and read by Ahel’s review.

Git read-only guardrails. User controls all git writes.

Allowed Commands

git status    git diff    git log    git show    git branch

Forbidden Commands

add    commit    push    pull    fetch
merge  rebase    cherry-pick
checkout    switch    restore
reset    revert    stash    tag

No exceptions.

Before Completing Work

Verify expected changes:

git status   # Check files changed
git diff     # Review actual changes

Tracked vs Gitignored Spec Paths

  • Everything under specs/_plans/<plan-name>/ is tracked and committed with the plan directory, never gitignored. This includes the evidence artifacts:
    • open-questions.md (present only while the plan is blocked)
    • review/ (plan-review findings, round-<N>.md)
    • review-findings.md (code-review findings)
    • tasks.md and verification-report.md
  • These commits put the evidence trail into history before /speq-record archives the plan (mv specs/_plans/<plan-name> specs/_recorded/NNN-<plan-name>).
  • specs/_recorded/ is gitignored by default. This is a default, not an enforced rule: a project can track _recorded/, and the archived plan then lands in history a second time.
  • /speq-audit's gitignore-hygiene checks default to this split (_plans/_decision tracked, _recorded ignored). They only offer to align a drifted project, never force it.

Security

Never commit secrets (API keys, passwords, credentials, tokens).

Commit Conventions

Follow the Conventional Commits specification:

<type>[scope]: <description>

[body]

[footer]
TypeUse
featNew feature (MINOR)
fixBug fix (PATCH)
perfPerformance
refactorRestructure, same behavior
testTests
docsDocumentation
specSpec changes
choreMaintenance

Breaking changes: Add ! after type or BREAKING CHANGE: footer → MAJOR version

Signals

GitHub stars
56
Forks
10
Last commit
Oct 2026
Advanced
Item type
skill
Key
speq-git-discipline
Source
github.com/marconae/speq-skill