What problem does it solve?
This Skill establishes a new project directory as a Git repository, enforcing a strict trunk-based development workflow from the very first commit to prevent direct commits to the main branch and ensure all code changes are reviewed via pull requests.
Core Features & Use Cases
- Git Initialization: Sets up a new Git repository in the current directory.
- Trunk-Based Workflow: Enforces a PR-first approach where
main is sacred and only accepts changes through pull requests.
- Versioned Feature Branches: Creates feature branches prefixed with project versioning (e.g.,
v0.1.0/my-feature).
- Use Case: Use this skill when starting a new project or initializing an existing folder as a Git repository to immediately adopt best practices for collaborative development and maintain a stable
main branch.
Quick Start
Initialize the current folder as a git repository using the trunk-first workflow, setting the version prefix to 'v0.1.0' and the branch context to 'init-project'.