跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

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

工作流

  1. Initialize Git repository
  2. Create .gitignore
  3. Create initial commit
  4. Connect remote repository
  5. Set up branch conventions
  6. Configure commit conventions
  7. Set up pre-commit hooks (optional)
  8. 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

质量评分

已验证
97 /100
about 24 hours ago 分析

信任信号

最近提交2 days ago
星标14
许可证MIT
状态
查看源代码

类似扩展

Project Session Manager

100

Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions

技能
Yeachan-Heo

Sync Profiles

100

用于在用户想要列出、创建、切换、删除、比较或检查配置同步配置文件时使用。

技能
rohithzr

Using Git Worktrees

100

在开始需要与当前工作区隔离的功能性工作,或在执行实现计划之前使用 - 通过原生工具或 git worktree 回退确保存在隔离的工作区。

技能
obra

Unslop Commit

100

重写提交消息,使其听起来像一个严谨的程序员编写的。去除 AI/营销术语(“全面的解决方案”、“健壮的实现”、“利用”、“增强”、“无缝地”、“此提交...”)。保留 Conventional Commits 格式。主题 ≤72 个字符(目标 ≤50),祈使语气。仅当“为什么”在主题中不明显时才写正文。在用户说“人性化提交”、“去营销术语化提交消息”、“让这个提交听起来像人话”、“/unslop-commit”、“/commit”、“写一个提交”或粘贴草稿提交以供清理时使用。暂存更改时自动触发。

技能
MohamedAbdallah-14

Rule Effectiveness Analysis

100

Analyze which rules are actively used vs inert. Detect coverage gaps. Recommend pruning to reduce token consumption.

技能
luiseiman

Mcp Source

100

切换已连接 Unity 项目中的 MCP for Unity 包源。使用 /mcp-source [main|beta|branch|local] 在上游发行版、远程分支或本地开发检出之间进行切换。

技能
CoplayDev