Merge pull request 'refactor(content): Gitea 사용법/Git 워크플로우 가이드 스킬 기반 재구성' (#20) from feature/guide-skill-based-restructure into develop

This commit is contained in:
htlee 2026-03-01 18:46:32 +09:00
커밋 a78e57c29b
3개의 변경된 파일122개의 추가작업 그리고 54개의 파일을 삭제

파일 보기

@ -4,6 +4,9 @@
## [Unreleased]
### 변경
- Gitea 사용법/Git 워크플로우 가이드를 스킬 기반 워크플로우 중심으로 재구성
## [2026-03-01]
### 추가
- 프로젝트 초기 구성 (React 19 + TypeScript + Vite + Tailwind CSS v4)

파일 보기

@ -115,65 +115,101 @@ footer (선택)`}
</table>
</div>
<Alert type="info">
<code className="bg-bg-tertiary px-1 rounded">/push</code> .
. <code className="bg-bg-tertiary px-1 rounded">commit-msg</code> hook이 .
</Alert>
{/* 작업 흐름 */}
<h2 className="text-xl font-bold text-text-primary mt-10 mb-4"> </h2>
<h3 className="text-lg font-semibold text-text-primary mt-6 mb-3"> ()</h3>
<p className="text-text-secondary mb-4">
Claude Code의 MR .
</p>
<StepGuide
steps={[
{
title: '이슈 확인 및 브랜치 생성',
content: (
<CodeBlock
language="bash"
code={`git checkout develop
git pull origin develop
git checkout -b feature/ISSUE-42-user-login`}
/>
<>
<CodeBlock language="text" code="/fix-issue 42" />
<p className="text-sm text-text-muted mt-2">
<code className="bg-bg-tertiary px-1 rounded">feature/ISSUE-42-</code> .
</p>
</>
),
},
{
title: '개발 및 커밋',
content: (
<CodeBlock
language="bash"
code={`# 작업 후 커밋
git add src/auth/LoginForm.tsx
git commit -m "feat(auth): 로그인 폼 UI 구현 (#42)"`}
/>
),
},
{
title: '푸시 및 MR 생성',
title: '개발 및 중간 푸시',
content: (
<>
<p className="mb-2 text-text-secondary"> :</p>
<CodeBlock
language="bash"
code={`git push -u origin feature/ISSUE-42-user-login
# Gitea에서 MR (develop feature/ISSUE-42-user-login)`}
/>
<div className="mt-3 p-3 bg-accent-soft border border-accent/20 rounded-lg">
<p className="text-sm font-semibold text-accent mb-1">Claude Code ()</p>
<CodeBlock
language="text"
code={`/push → 커밋 + 푸시 (커밋 메시지 자동 제안)
/mr + + MR + `}
/>
<p className="text-xs text-text-muted mt-1">
<strong>Claude Code </strong> .
</p>
</div>
<CodeBlock language="text" code="/push" />
<p className="text-sm text-text-muted mt-2">
Conventional Commits .
</p>
</>
),
},
{
title: 'MR 생성',
content: (
<>
<CodeBlock language="text" code="/mr" />
<p className="text-sm text-text-muted mt-2">
+ + MR + .
/ .
</p>
</>
),
},
{
title: '리뷰 후 머지',
content: (
<p> 1 <strong>Squash Merge</strong> </p>
<p>
1 <strong>Squash Merge</strong> .{' '}
<code className="bg-bg-tertiary px-1 rounded">/mr</code> + .
</p>
),
},
]}
/>
<h3 className="text-lg font-semibold text-text-primary mt-8 mb-3"> </h3>
<p className="text-text-secondary mb-4">
Claude Code git .
</p>
<div className="bg-surface border border-border-default rounded-xl p-6 space-y-4">
<div className="flex items-start gap-3">
<span className="flex-shrink-0 w-6 h-6 bg-accent/10 text-accent rounded-full flex items-center justify-center text-sm font-semibold">1</span>
<div>
<p className="font-medium text-text-primary"> </p>
<CodeBlock language="bash" code={`git checkout develop && git pull origin develop\ngit checkout -b feature/ISSUE-42-user-login`} />
</div>
</div>
<div className="flex items-start gap-3">
<span className="flex-shrink-0 w-6 h-6 bg-accent/10 text-accent rounded-full flex items-center justify-center text-sm font-semibold">2</span>
<div>
<p className="font-medium text-text-primary"></p>
<CodeBlock language="bash" code={`git add src/auth/LoginForm.tsx\ngit commit -m "feat(auth): 로그인 폼 UI 구현 (#42)"`} />
</div>
</div>
<div className="flex items-start gap-3">
<span className="flex-shrink-0 w-6 h-6 bg-accent/10 text-accent rounded-full flex items-center justify-center text-sm font-semibold">3</span>
<div>
<p className="font-medium text-text-primary"> MR </p>
<CodeBlock language="bash" code={`git push -u origin feature/ISSUE-42-user-login\n# Gitea 웹 UI → 새 Pull Request → develop ← feature 브랜치`} />
</div>
</div>
<div className="flex items-start gap-3">
<span className="flex-shrink-0 w-6 h-6 bg-accent/10 text-accent rounded-full flex items-center justify-center text-sm font-semibold">4</span>
<div>
<p className="font-medium text-text-primary"> </p>
<p className="text-sm text-text-secondary"> 1 Squash Merge </p>
</div>
</div>
</div>
{/* 3계층 보호 정책 */}
<h2 className="text-xl font-bold text-text-primary mt-10 mb-4">3 </h2>
<div className="space-y-3">

파일 보기

@ -7,7 +7,7 @@ export default function GiteaUsage() {
<div className="max-w-4xl mx-auto py-12 px-6">
<h1 className="text-3xl font-bold text-text-primary mb-2">Gitea </h1>
<p className="text-text-secondary mb-8">
Git Gitea의 , , /MR .
Git Gitea의 , , , MR .
</p>
{/* 로그인 */}
@ -72,10 +72,17 @@ git clone https://gitea.gc-si.dev/gc/프로젝트명.git`}
),
},
{
title: '브랜치와 연결',
title: '이슈 기반 브랜치 생성',
content: (
<>
<p className="mb-2"> .</p>
<div className="p-3 bg-accent-soft border border-accent/20 rounded-lg mb-3">
<p className="text-sm font-semibold text-accent mb-1">Claude Code ()</p>
<CodeBlock language="text" code="/fix-issue 42" />
<p className="text-xs text-text-muted mt-1">
.
</p>
</div>
<p className="text-sm text-text-muted mb-2"> :</p>
<CodeBlock language="bash" code="git checkout -b feature/ISSUE-42-user-login develop" />
</>
),
@ -86,38 +93,60 @@ git clone https://gitea.gc-si.dev/gc/프로젝트명.git`}
<>
<p className="mb-2"> .</p>
<CodeBlock language="bash" code='git commit -m "feat(auth): 로그인 폼 구현 (#42)"' />
<p className="text-xs text-text-muted mt-2">
<code className="bg-bg-tertiary px-1 rounded">/push</code>, <code className="bg-bg-tertiary px-1 rounded">/mr</code> .
</p>
</>
),
},
]}
/>
{/* MR */}
<h2 className="text-xl font-bold text-text-primary mt-10 mb-4">MR (Merge Request)</h2>
<p className="text-text-secondary mb-4">
MR을 .
</p>
{/* MR 확인 및 리뷰 */}
<h2 className="text-xl font-bold text-text-primary mt-10 mb-4">MR </h2>
<div className="p-3 bg-accent-soft border border-accent/20 rounded-lg mb-4">
<p className="text-sm text-text-secondary">
MR <code className="bg-bg-tertiary px-1 rounded">/mr</code> .
Gitea UI에서 <strong>MR을 </strong> .
<strong>Claude Code </strong> .
</p>
</div>
<StepGuide
steps={[
{
title: '브랜치 푸시',
content: (
<CodeBlock language="bash" code="git push -u origin feature/ISSUE-42-user-login" />
),
},
{
title: 'MR 생성',
title: 'MR 목록 확인',
content: (
<p>
Gitea에서 <strong>"새 Pull Request"</strong> , <code className="bg-bg-tertiary px-1 rounded">develop</code> <code className="bg-bg-tertiary px-1 rounded">feature/ISSUE-42-user-login</code> . .
<strong>Pull Requests</strong> MR .
.
</p>
),
},
{
title: '리뷰 및 머지',
title: '변경 내용 리뷰',
content: (
<p>
, 1 <strong>Squash Merge</strong> . .
<strong> </strong> diff를 . .
<strong></strong> .
</p>
),
},
{
title: '승인 또는 수정 요청',
content: (
<p>
<strong>"승인"</strong> <strong>"수정 요청"</strong> .{' '}
<code className="bg-bg-tertiary px-1 rounded">main</code> MR은 1 .
</p>
),
},
{
title: 'Squash Merge',
content: (
<p>
<strong>Squash and Merge</strong> .
.{' '}
<code className="bg-bg-tertiary px-1 rounded">/mr</code> + .
</p>
),
},