Skip to content

feat(git): add a git skill for commits, pushes and pull requests - #5

Merged
Conava merged 7 commits into
mainfrom
feat/git-workflow
Nov 16, 2026
Merged

Conava merged 7 commits into
mainfrom
feat/git-workflow

Conversation

@Conava

@Conava Conava commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Description

Adds a git skill so devline commits, pushes and opens PRs the same way every time instead of improvising at the end of a run. Commit messages are Conventional Commits with a short body on why the change was needed; PR descriptions go to a file you edit before anything is posted.

/devline:git commit|push|pr, where each mode includes the previous one. quick and the devline final gate commit through it, and the final gate can now open a PR.

  • Asking only for a message ("write me a commit message") prints a draft and changes nothing.
  • On a protected branch it proposes a feature branch and asks before pushing. It never force-pushes on its own and never merges a PR.
  • PR bodies follow the repo's PR template when there is one, otherwise a short Description plus technical details.
  • .devline/ is kept out of commits through .git/info/exclude, so no tracked file changes; Stage 0 now does the same instead of editing .gitignore.
  • Exit cleanup keeps .devline/pr-assets/ so screenshots survive until they're uploaded.
  • All defaults sit in one section of the skill, ready for a later per-repo config to override.

https://claude.ai/code/session_01DQu2E2rLeQNoCjGF639ENr

Commits and PRs were written ad hoc at the end of each pipeline, with no
shared rules for message style or when pushing needs a confirmation.

The skill has three modes (commit, push, pr). Messages follow Conventional
Commits with a short body on why the change was needed and what it does
beyond the diff; PR bodies go to an editable file and are posted only after
the user says so. quick and the devline final gate commit through it, and the
final gate can open a PR.
A request for only a commit message or PR description committed and pushed;
it now only drafts. Exit cleanup kept deleting .devline/pr-assets before the
screenshots could be uploaded. The squash commit that lands on the target
branch now follows the skill's message rules, and protected-branch and
override rules are stated once.
Stage 0 edited the tracked .gitignore while the git skill already used the
local exclude file, so a fast-lane run left an unrelated tracked change.
The fixed Background / What it does / How to verify sections read as
generated and ignored the repo's own template. The body now uses the
template when one exists; otherwise a short Description of what and why,
the technical details, and a Verification section only when needed.
Refine description for clarity and conciseness in the git skill documentation.
@Conava
Conava merged commit 2a8701b into main Nov 16, 2026
1 check passed
@Conava
Conava deleted the feat/git-workflow branch November 16, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant