From ff5bd56b40ac243a6379fe422d11440797c95103 Mon Sep 17 00:00:00 2001 From: "NEW_GIL_HOME\\hyeon" Date: Sat, 21 Feb 2026 20:10:34 +0900 Subject: [PATCH] Update CLAUDE.md with project overview and repository structure; add commit message guidelines in Korean. Create new commit rules document for consistent message formatting. --- .cursor/rules/commit-rules.md | 24 +++++++++++ CLAUDE.md | 80 ++++++++++++++++++++++------------- 2 files changed, 75 insertions(+), 29 deletions(-) create mode 100644 .cursor/rules/commit-rules.md diff --git a/.cursor/rules/commit-rules.md b/.cursor/rules/commit-rules.md new file mode 100644 index 0000000..77f8b13 --- /dev/null +++ b/.cursor/rules/commit-rules.md @@ -0,0 +1,24 @@ +--- +description: 한글 커밋 메시지 작성 규칙 +alwaysApply: true +--- + +# 커밋 메시지 규칙 + +커밋 메시지는 아래 형식을 따른다. + +- `feat: 내용` +- `refactor: 내용` +- `test: 내용` + +## 작성 원칙 + +- `내용`은 반드시 한글로 작성한다. +- 제목 한 줄로 작성하고 불필요한 기호를 사용하지 않는다. +- 변경 의도가 드러나게 간결하게 작성한다. + +## 예시 + +- `feat: 회원 가입 폼 유효성 검사 추가` +- `refactor: 결제 모듈 상태 관리 로직 분리` +- `test: 로그인 서비스 단위 테스트 케이스 보강` diff --git a/CLAUDE.md b/CLAUDE.md index 8b2519b..f7a9db7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,35 +4,57 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project Overview -This directory is currently empty and ready for a new project. The parent repository (`D:/00.study/`) is a learning repository containing multiple framework projects (Vue, Nuxt, Next.js, React). +This is a minimal git learning repository used for practicing git commands and workflows. The parent directory (`D:/00.study/`) is a learning repository containing multiple framework projects (Vue, Nuxt, Next.js, React). + +## Repository Structure + +- **main branch**: Contains only CLAUDE.md +- **feature/study branch**: Contains CLAUDE.md and bug1.mg (버그수정) +- **Remote**: origin/main configured + +## 커밋 메시지 규칙 + +커밋 메시지는 아래 형식을 따른다. + +- `feat: 내용` +- `refactor: 내용` +- `test: 내용` + +### 작성 원칙 + +- `내용`은 반드시 한글로 작성한다. +- 제목 한 줄로 작성하고 불필요한 기호를 사용하지 않는다. +- 변경 의도가 드러나게 간결하게 작성한다. + +### 예시 + +- `feat: 회원 가입 폼 유효성 검사 추가` +- `refactor: 결제 모듈 상태 관리 로직 분리` +- `test: 로그인 서비스 단위 테스트 케이스 보강` + +## Common Git Commands + +```bash +# View all branches +git branch -a + +# Switch branches +git checkout feature/study +git checkout main + +# View commit history +git log --all --oneline --graph + +# View file changes in commits +git log --all --name-status --oneline + +# Show file content from specific commit +git show : + +# List files in current HEAD +git ls-tree -r HEAD --name-only +``` ## Repository Context -- **Initial commit**: Created from Next.js template (files were subsequently deleted) -- **Repository structure**: Study/learning repository with multiple project subdirectories -- **Current state**: Empty directory ready for project initialization - -## Development Commands - -Once the project is set up, update this section with relevant commands: - -```bash -# Install dependencies -# [Add command here] - -# Run development server -# [Add command here] - -# Build for production -# [Add command here] - -# Run tests -# [Add command here] - -# Lint code -# [Add command here] -``` - -## Architecture - -To be documented once project structure is established. +This is a practice repository for learning git workflows. The minimal structure allows focus on git operations rather than application code.