Update CLAUDE.md with project overview and repository structure; add commit message guidelines in Korean. Create new commit rules document for consistent message formatting.
This commit is contained in:
24
.cursor/rules/commit-rules.md
Normal file
24
.cursor/rules/commit-rules.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
description: 한글 커밋 메시지 작성 규칙
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# 커밋 메시지 규칙
|
||||
|
||||
커밋 메시지는 아래 형식을 따른다.
|
||||
|
||||
- `feat: 내용`
|
||||
- `refactor: 내용`
|
||||
- `test: 내용`
|
||||
|
||||
## 작성 원칙
|
||||
|
||||
- `내용`은 반드시 한글로 작성한다.
|
||||
- 제목 한 줄로 작성하고 불필요한 기호를 사용하지 않는다.
|
||||
- 변경 의도가 드러나게 간결하게 작성한다.
|
||||
|
||||
## 예시
|
||||
|
||||
- `feat: 회원 가입 폼 유효성 검사 추가`
|
||||
- `refactor: 결제 모듈 상태 관리 로직 분리`
|
||||
- `test: 로그인 서비스 단위 테스트 케이스 보강`
|
||||
80
CLAUDE.md
80
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 <commit-hash>:<filename>
|
||||
|
||||
# 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.
|
||||
|
||||
Reference in New Issue
Block a user