Configure Git Repository
技能 已验证 活跃Configure a Git repository with proper .gitignore, branch strategy, commit conventions, hooks, and remote setup. Covers initial setup and common patterns for R, Node.js, and Python projects. Use when initializing version control for a new project, adding a .gitignore for a specific language or framework, setting up branch protection and conventions, or configuring commit hooks.
To ensure new projects start with a robust and well-configured Git version control system, incorporating industry best practices for various project types.
功能
- Initial Git repository setup
- Creation of language-specific .gitignore files
- Configuration of branch strategies (trunk-based, Git Flow)
- Guidance on commit message conventions
- Setup of pre-commit hooks (optional)
- Connection to remote repositories
使用场景
- Initializing version control for a new project
- Adding a .gitignore for a specific language or framework
- Setting up branch protection and conventions
- Configuring commit hooks for automated checks
非目标
- Managing Git history beyond initial commit
- Advanced Git commands like rebasing or cherry-picking
- Setting up CI/CD pipelines or deployment strategies
工作流
- Initialize Git repository
- Create .gitignore
- Create initial commit
- Connect remote repository
- Set up branch conventions
- Configure commit conventions
- Set up pre-commit hooks (optional)
- Create README
实践
- Git best practices
- Code quality
- Version control
- Project initialization
先决条件
- Git installed and accessible in PATH
- Bash or compatible shell environment
- Project directory accessible
安装
/plugin install agent-almanac@pjt222-agent-almanac质量评分
已验证类似扩展
Project Session Manager
100Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions
Sync Profiles
100用于在用户想要列出、创建、切换、删除、比较或检查配置同步配置文件时使用。
Using Git Worktrees
100在开始需要与当前工作区隔离的功能性工作,或在执行实现计划之前使用 - 通过原生工具或 git worktree 回退确保存在隔离的工作区。
Unslop Commit
100重写提交消息,使其听起来像一个严谨的程序员编写的。去除 AI/营销术语(“全面的解决方案”、“健壮的实现”、“利用”、“增强”、“无缝地”、“此提交...”)。保留 Conventional Commits 格式。主题 ≤72 个字符(目标 ≤50),祈使语气。仅当“为什么”在主题中不明显时才写正文。在用户说“人性化提交”、“去营销术语化提交消息”、“让这个提交听起来像人话”、“/unslop-commit”、“/commit”、“写一个提交”或粘贴草稿提交以供清理时使用。暂存更改时自动触发。
Rule Effectiveness Analysis
100Analyze which rules are actively used vs inert. Detect coverage gaps. Recommend pruning to reduce token consumption.
Mcp Source
100切换已连接 Unity 项目中的 MCP for Unity 包源。使用 /mcp-source [main|beta|branch|local] 在上游发行版、远程分支或本地开发检出之间进行切换。