Skip to content
Skills Library
Programming · Automation

twohearts-manage-github-flow

/twohearts-manage-github-flow

TwoHearts Git and GitHub workflow policy for branches, commits, issues, pull requests, issue approval, code review, merge preparation, branch protection, PR templates, and Conventional Commit titles. Use for any TwoHearts Git or GitHub read/write task after the mandatory root skill establishes repository scope and effective branch policy.

Licence
MIT
Last repository change
11.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

TwoHearts Git and GitHub workflow policy for branches, commits, issues, pull requests, issue approval, code review, merge preparation, branch protection, PR templates, and Conventional Commit titles. Use for any TwoHearts Git or GitHub read/write task after the mandatory root skill establishes repository scope and effective branch policy.

Original author description

TwoHearts Git and GitHub workflow policy for branches, commits, issues, pull requests, issue approval, code review, merge preparation, branch protection, PR templates, and Conventional Commit titles. Use for any TwoHearts Git or GitHub read/write task after the mandatory root skill establishes repository scope and effective branch policy.

How it works

  1. Workflow
  2. Generic Skill Boundary
  3. Hard Stops
  4. Output Contract
Original SKILL.md headings · 45 lines, 331 words
SKILL.md preview
---
name: twohearts-manage-github-flow
description: TwoHearts Git and GitHub workflow policy for branches, commits, issues, pull requests, issue approval, code review, merge preparation, branch protection, PR templates, and Conventional Commit titles. Use for any TwoHearts Git or GitHub read/write task after the mandatory root skill establishes repository scope and effective branch policy.
verified: 2026-08
---

# TwoHearts Manage GitHub Flow

Use this skill after `$twohearts-engineering-standards`. Verify the active repository's policy
status before enforcing product-repo branch rules.

## Workflow

1. Read repo instructions, contribution docs, project memory, and the approved issue/spec.
2. Inspect remotes, current/base branches, status, staged and unstaged changes, and existing PR
   or issue templates.
3. For product repos where the workflow is effective, cut feature work from fresh `dev`,
   reserve `main` for gated release promotion, and use no release branch. `dev` is where
   product PRs eventually land, but an agent never chooses a PR target itself: ask the user
   and get their explicit target-branch confirmation before creating any PR.
4. Validate branch naming against `<name>/<type>/<desc>` where that target is effective.
5. Build PR evidence: what/why, linked issue, approach and tradeoffs, scenario/test evidence,
   risk and rollback, docs, and UI screenshots when safe and relevant.
6. Check Standard or High-risk issue approval evidence before merge readiness.
7. Review implementation against the approved issue, tenant boundaries, and repo rules.
8. Post or recommend actionable findings only; track resolution before approval.

Read [references/github-controls.md](references/github-controls.md) for control details and
authority gates.

## Generic Skill Boundary

Use repository-native Git commands for mechanics, `$cx-code-review` for review passes, and
`$production-guard` before high-impact writes. Override generic main-based GitHub Flow, `develop` naming,
release branches, inferred intent, and generic commit-type lists when TwoHearts policy applies.

## Hard Stops

Require the user's exact written request before merge, protected-branch write, branch deletion,
release action, workflow trigger, or repository settings/ruleset change. Opening a pull request
is also gated: do not create any PR until the user has explicitly confirmed the target (base)
branch in the current conversation — never default to `dev` or `main`, and never treat a
general "create a PR" authorization as covering the target choice. Do not push automatically.
Do not commit unrelated files, secrets, environment files, or local artifacts.

## Output Contract

Report repository and policy status, base and target branches, issue/spec and approval state,
PR evidence completeness, actions performed, authority still required, and verification.
Files in this package (3)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB
  • references/github-controls.md 4 KB

Versions

The database has no other skills named twohearts-manage-github-flow.

Database snapshot: 13.11.2026 · package version f11615497f6f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100git-commit-and-workflow
    Git commit, branch and pull request best practices using Conventional Commits. Use whenever creating commits, naming branches, preparing pull requests, writing commit messages, or when asked to commit, push, merge or release code.
  • 88line-engineering
    Line's strict-production personal engineering standard and routing layer. Use for every meaningful non-TwoHearts repository, workspace, coding task, review, plan, audit, refactor, debug session, release-readiness check, backend/fullstack/AI/database/security/testing task, or…
  • 96use-git-conventions
    Use when repository Git conventions are configured or when branches, commits, pull requests, or issues are created or validated.
  • 100git-workflow
    Git workflow best practices. Covers branching, commits, and collaboration. Use for version control guidance. USE WHEN: user mentions "git", "commit", "branch", "pull request", "PR", "merge", "rebase", "version control", asks about "commit message", "branching strategy", "git…
  • 90twohearts-verify-delivery
    TwoHearts verification policy for scenario-to-test traceability, repository-native lint, typecheck, test and build checks, tenant isolation, AI behavior and prompt evaluations, daily red-dev classification, QA scripts, sign-off evidence, and release-readiness inputs. Use for…
  • 100git-practices
    Git conventions for branches, commits, and pull requests. Load this skill whenever creating branches, writing commit messages, or opening PRs. Trigger on any git workflow operation — commits, branches, pull requests, or merge operations.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.