Prompt
0 copies · 0 said it worked
Apply a trunk-based git workflow with clean commits and PRs
A set of git workflow rules for a trunk-based team covering branches, commit messages, pull requests, protected main, releases, and secret scanning.
People use this for
- git workflow for trunk-based teams
- trunk based development git rules
- pull request guidelines for git
- clean git commit message practices
- how to set up protected main branch
Imported on Nov 29, 2026 from Git Workflow taste . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
# Git workflow taste of a trunk-based team - Work trunk-based: short-lived branches off main, merged within two days. Confidence: 0.90 - Name branches as <type>/<short-topic>, for example fix/login-redirect. Confidence: 0.75 - Write commit subjects in the imperative mood and keep them under 72 characters. Confidence: 0.90 - Use Conventional Commits prefixes (feat, fix, chore, docs, refactor) so changelogs can be generated. Confidence: 0.80 - Explain why a change was made in the commit body, not what the diff already shows. Confidence: 0.85 - Keep each commit buildable and focused on one logical change. Confidence: 0.85 - Rebase your branch onto main instead of merging main into it. Confidence: 0.80 - Squash-merge pull requests so main has one commit per change. Confidence: 0.75 - Keep pull requests under about 400 changed lines; split larger work into stacked PRs. Confidence: 0.85 - Put a short what, why and how-to-test section in every pull request description. Confidence: 0.85 - Require one approving review and green CI before merging to main. Confidence: 0.90 - Protect main: no direct pushes and no force pushes. Confidence: 0.95 - Only force push your own branch, and always with --force-with-lease. Confidence: 0.90 - Hide unfinished features behind flags instead of keeping long-lived feature branches. Confidence: 0.85 - Tag releases with semantic version tags such as v1.4.2 on main. Confidence: 0.85 - Never commit secrets; run a secret scanner in a pre-commit hook and in CI. Confidence: 0.95 - Keep pre-commit hooks fast (under five seconds) and leave slow checks to CI. Confidence: 0.80 - Use a .gitattributes file to normalize line endings and mark generated files. Confidence: 0.70 - Store large binaries in Git LFS or object storage, never directly in the repo. Confidence: 0.85 - Use git bisect with a scripted test to hunt down regressions. Confidence: 0.70 - Revert a bad commit on main first and investigate afterwards. Confidence: 0.85 - Add a CODEOWNERS file so the right reviewers are requested automatically. Confidence: 0.75 - Delete branches automatically after they are merged. Confidence: 0.90
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Stale Git branch cleanup auditor for safe remote branch pruning
Audits a shared repository's remote branches, sorts each into delete, archive-then-delete, ask-owner, open-PR, active or protected actions, flags risky names and stale PRs, and prints a reviewable tag-then-delete script without deleting anything.
Coding · @f
- Build a Keep a Changelog release section from Conventional Commits
Turns a git log in Conventional Commits format into a grouped Keep a Changelog release section with breaking-change notes, flagged commits and a suggested SemVer version.
Coding · @f
- Git repository bloat finder: diagnose large files and suggest safe cleanup
Agent skill that measures a Git repository, scans reachable blobs for large, deleted, versioned, generated and credential-like files, and proposes least-disruptive fixes without rewriting history itself.
Coding · @f
- Kubernetes container requests and limits rightsizing assistant
System-style skill that turns per-container CPU and memory usage percentiles into safer Kubernetes requests and limits, flags OOM, throttling and eviction risks first, estimates freed capacity, and plans a staged rollout via manifest patches.
Coding · @f
- Security guardrails that keep an AI email assistant from being hijacked by malicious messages
A full system prompt giving an AI assistant that reads or manages email a security mindset: treat email as untrusted data, require approval for outward actions, avoid leaking private data, and report phishing and injection attempts calmly.
Productivity · @thanos0000
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.