본문으로 건너뛰기
cccskills
무료GitHub에 공개

git-control

Standardizes git operations, branch management, and disaster recovery. Use when committing, branching, or resolving conflicts. For commit formatting, see conventional-commits.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Git Control Skill

When to Use

  • Whenever performing version control operations.
  • When creating new features, fixing bugs, or managing releases.
  • For resolving merge conflicts or recovering from mistakes.

1. Core Workflow

Branching Strategy

  • Main Branch: Production-ready code only.
  • Feature Branches: feat/[feature-name] for new functionality.
  • Bug Fix Branches: fix/[bug-name] for corrections.
  • Hotfix Branches: hotfix/[issue] for urgent production fixes.

Staging & Committing

  • Always follow the Conventional Commits skill.
  • Stage only relevant changes: git add <file> (avoid git add . unless necessary).
  • Review changes before committing: git diff --staged.

2. Common Operations

Starting Work

git checkout main
git pull origin main
git checkout -b feat/my-new-feature

Synchronizing

git fetch --all
git pull origin [branch-name]
git push origin [branch-name]

Merging & Rebasing

  • Merge: Use for combining long-lived branches.

  • Rebase: Use to keep feature branches up-to-date with main and maintain a clean history.

    git checkout feat/my-feature
    git rebase main
    

3. Advanced Git Mastery

Conflict Resolution

  1. Identify files: git status.
  2. Edit files to resolve <<<<, ====, >>>> markers.
  3. Stage resolved files: git add <file>.
  4. Continue: git commit or git rebase --continue.

Disaster Recovery

  • Undo last commit (keep changes): git reset --soft HEAD~1.
  • Undo last commit (discard changes): git reset --hard HEAD~1.
  • Find lost commits: git reflog.
  • Revert a specific commit: git revert <commit-hash>.

Stashing

  • Save work temporarily: git stash push -m "work in progress".
  • Retrieve work: git stash pop.

4. Quality Gates

  • No merge commits on feature branches (prefer rebase).
  • Each commit must pass linting and tests.
  • Pull requests must be clear and focus on a single objective.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

changelog

무료

Generates and maintains changelogs following Keep a Changelog format. Use when updating release notes, finishing tasks, or tagging versions. For version bumps, see semantic-versioning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tuliosousapro/SaaS-blueprint52026년 8월 31일 업데이트

Structured competitor teardown skill. Use when scraping competitor sites, extracting pricing/features/positioning, or analyzing strategic gaps. For general research, see market-research.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tuliosousapro/SaaS-blueprint52026년 8월 31일 업데이트

Enforces Conventional Commits format for git commit messages. Use when formatting commits or validating message structures. For git commands, see git-control.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tuliosousapro/SaaS-blueprint52026년 8월 31일 업데이트

Creates an llms.txt file from scratch based on repository structure. Use when configuring LLM discovery files. For updating existing configurations, see update-llms.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tuliosousapro/SaaS-blueprint52026년 8월 31일 업데이트

Intelligent README.md generation prompt that analyzes project documentation structure and creates comprehensive repository documentation. Scans ./ directory files and creates a README.md file for the project. Only used when creating a new repository. or when the README.md file is missing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tuliosousapro/SaaS-blueprint52026년 8월 31일 업데이트

Structured validation framework that scores product ideas. Use when evaluating problem severity, willingness-to-pay, or founder-market fit. For market intelligence, see market-research.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tuliosousapro/SaaS-blueprint52026년 8월 31일 업데이트

tuliosousapro의 스킬 모두 보기

이 스킬의 문제 신고