gtrconfig-setup

Generate a .gtrconfig file with project-type templates for Git worktree setup.

2|Updated Apr 6, 2017
One-click install
npx skills add https://github.com/shiiman/dotfiles --skill gtrconfig-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gtrconfig-setup
Source: https://github.com/shiiman/dotfiles/tree/main/ai/codex/skills/gtrconfig-setup
Command: npx skills add https://github.com/shiiman/dotfiles --skill gtrconfig-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a .gtrconfig file to configure a project's Git worktree setup, enabling consistent worktree management and project scaffolding.

Core Features & Use Cases

  • Auto-detects project type from common files (package.json, pyproject.toml, go.mod, Cargo.toml, composer.json) and selects suitable copy rules, hooks, and defaults.
  • Generates a tailored .gtrconfig with sections for copy, hooks, and defaults to streamline worktree creation.
  • Guides user through editor and AI tool defaults, and provides templates for popular ecosystems to speed up new worktree setup.

Quick Start

Run the gtrconfig-setup skill in your project root to generate a .gtrconfig with sensible defaults and project-type templates.

Frequently Asked Questions about gtrconfig-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a .gtrconfig file for my Git worktree setup?

You can configure Git worktree settings by generating a .gtrconfig file in your project root. The skill auto-detects your project type and outputs templates for copy rules, hooks, and defaults to streamline worktree creation.

What project types does gtrconfig-setup support for worktree configuration?

Git worktree configuration supports Node.js, Python, Go, Rust, PHP, and generic projects. It auto-detects project types from files like package.json, pyproject.toml, go.mod, Cargo.toml, and composer.json to apply suitable templates.

Can I update an existing .gtrconfig without losing my current worktree settings?

Yes, you can update an existing .gtrconfig without losing current worktree settings. The process creates a safe backup of your current file before applying new templates for copy rules, hooks, and defaults.

What is the best way to configure Git worktree copy rules and hooks for a new project?

The best way to configure Git worktree copy rules and hooks is to generate a .gtrconfig file. The skill provides sensible defaults and ecosystem-specific templates to speed up worktree setup and ensure consistent project scaffolding.

Does the generated .gtrconfig include defaults for AI tools and editors?

Yes, the generated .gtrconfig includes defaults for AI tools and editors. The skill guides you through setting these preferences alongside copy rules and hooks to finalize your worktree setup efficiently.