Skip to content

[AI] Claude 커맨드 추가#1364

Merged
seongwon030 merged 3 commits intodevelop-fefrom
chore/#1363-claude-commands-MOA-772
Mar 30, 2026
Merged

[AI] Claude 커맨드 추가#1364
seongwon030 merged 3 commits intodevelop-fefrom
chore/#1363-claude-commands-MOA-772

Conversation

@seongwon030
Copy link
Copy Markdown
Member

@seongwon030 seongwon030 commented Mar 29, 2026

#️⃣연관된 이슈

ex) #1363

📝작업 내용

/commit

사용법: claude 실행 후 /commit 입력

사용 시점: 세션 종료 시 또는 작업 단위가 끝났을 때 실행합니다.

생성되는 결과물

┌──────────────┬──────────────────────────────────┬──────────────────────────────────────────┐                      
│    Phase     │            생성 파일             │                   설명                   │                      
├──────────────┼──────────────────────────────────┼──────────────────────────────────────────┤                      
│ 1. 세션 기록 │ dailyNote/YYYY-MM-DD.md          │ 논의 내용, Decision Log, 트러블슈팅 기록 │                      
├──────────────┼──────────────────────────────────┼──────────────────────────────────────────┤                      
│ 2. 문서화    │ docs/features/[기능]/[파일명].md │ 새 기능 구현 시 자동 문서화 (선택적)     │                      
├──────────────┼──────────────────────────────────┼──────────────────────────────────────────┤                      
│ 3. 커밋      │ git commit                       │ 변경 파일 스테이징 + 커밋 메시지 생성    │                      
└──────────────┴──────────────────────────────────┴──────────────────────────────────────────┘   

dailayNote는 로컬에서만 저장되는 개인 폴더입니다.

예시 결과

  dailyNote/2026-03-29.md                                                                                             
  # 2026-03-29                                                                                                        
                                                                                                                      
  ## [17:04] 세션 요약                                                                                                
                                                                                                                      
  ### 논의 내용                                                                                                       
  - copyToClipboard 유틸리티 함수 구현                                                                                
                                                                                                                      
  ### Decision Log                                                                                                    
  - Clipboard API + execCommand 폴백 패턴 적용                                                                       

docs/features/utils/copyToClipboard.md

  # 클립보드 복사 유틸리티                                                                                            
                                                                                                                      
  텍스트를 클립보드에 복사하는 유틸리티 함수...      

/test - 테스트 코드 작성

┌─────────────────┬────────────┬───────────────┬────────────────────────────────┐                                   
│      유형       │    도구    │   파일 패턴   │              용도              │                                   
├─────────────────┼────────────┼───────────────┼────────────────────────────────┤                                   
│ 단위 테스트     │ Jest       │ *.test.ts     │ 유틸리티, 훅, 순수 로직        │                                   
├─────────────────┼────────────┼───────────────┼────────────────────────────────┤                                   
│ 컴포넌트 테스트 │ RTL        │ *.test.tsx    │ React 컴포넌트 렌더링/인터랙션 │                                   
├─────────────────┼────────────┼───────────────┼────────────────────────────────┤                                   
│ E2E 테스트      │ Playwright │ e2e/*.spec.ts │ 사용자 시나리오 통합 테스트    │                                   
└─────────────────┴────────────┴───────────────┴────────────────────────────────┘ 

중점적으로 리뷰받고 싶은 부분(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

논의하고 싶은 부분(선택)

논의하고 싶은 부분이 있다면 작성해주세요.

🫡 참고사항

Summary by CodeRabbit

  • Chores
    • 새로운 커밋 워크플로우 문서가 추가되었습니다. 세 단계(일일 노트 생성·요약, 선택적 기능 문서화, 구조화된 Git 커밋 흐름)를 안내하며 커밋 메시지 타입·스코프 규칙을 제시합니다. 일일 노트는 Git에서 무시되며, 기능 문서는 변경 중요도에 따라 선택적으로 생성하도록 안내합니다.
    • 새로운 테스트 작성 가이드 문서가 추가되었습니다. 단위·컴포넌트·E2E 테스트 유형별 워크플로우, 템플릿, 실행 명령어 및 작성 원칙을 제공합니다.

@seongwon030 seongwon030 self-assigned this Mar 29, 2026
@seongwon030 seongwon030 added ✨ Feature 기능 개발 💻 FE Frontend labels Mar 29, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
moadong Ready Ready Preview, Comment Mar 29, 2026 11:52am

@seongwon030 seongwon030 added 🚁AI claude, codex 활용 시 and removed ✨ Feature 기능 개발 labels Mar 29, 2026
@seongwon030 seongwon030 changed the title [feature] Claude 커맨드 추가 [AI] Claude 커맨드 추가 Mar 29, 2026
@seongwon030 seongwon030 changed the base branch from main to develop-fe March 29, 2026 08:11
@github-actions
Copy link
Copy Markdown

✅ UI 변경사항 없음

구분 링크
📖 Storybook https://67904e61c16daa99a63b44a7-zqelcsivla.chromatic.com/

전체 56개 스토리 · 22개 컴포넌트

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 29, 2026

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: Invalid regex pattern for base branch. Received: "**" at "reviews.auto_review.base_branches[0]"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

새로운 명령 문서 두 건이 추가되었습니다: frontend/.claude/commands/commit.md는 3단계 Git 커밋 워크플로우와 일일 노트/기능 문서 작성 지침을, frontend/.claude/commands/test.md는 테스트 작성·구성·실행 템플릿과 체크리스트를 설명합니다.

Changes

Cohort / File(s) Summary
커밋 워크플로우 명령 문서
frontend/.claude/commands/commit.md
작업 세션 기록(날짜별 dailyNote/YYYY-MM-DD.md 생성/추가), 기능→문서 매핑 및 구조화된 기능 문서 작성 지침, 변경 검사·Diff 분석·관련 파일 스테이징(단, dailyNote/ 제외)·사용자 확인·커밋 실행을 단계별로 정의.
테스트 작성 명령 문서
frontend/.claude/commands/test.md
Jest(유닛), RTL(컴포넌트), Playwright(E2E) 별 테스트 선택·분석·작성 템플릿과 파일명/위치 규칙(*.test.ts, *.test.tsx, e2e/*.spec.ts), 실행 명령 및 테스트 작성 원칙·설정 파일 참조 추가.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 분

Suggested reviewers

  • oesnuj
  • suhyun113
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목이 '[AI] Claude 커맨드 추가'로, 두 개의 Claude 커맨드(commit.md, test.md)를 추가하는 변경사항을 적절히 요약하고 있습니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/#1363-claude-commands-MOA-772

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@frontend/.claude/commands/commit.md`:
- Line 111: 문구 "2. `git diff`로 staged + unstaged 변경사항 확인"은 사실과 다르므로 해당 문장(문자열:
`git diff`로 staged + unstaged 변경사항 확인)을 수정해 `git diff`는 기본적으로 unstaged 변경사항만
보여준다는 설명을 추가하고, staged+unstaged를 모두 보려면 `git diff HEAD`를 사용하거나 `git diff`와 `git
diff --staged`를 함께 실행하라고 안내하도록 바꿔 주세요.
- Around line 122-127: The code block in the commit message example lacks a
language identifier; update the markdown in frontend/.claude/commands/commit.md
by changing the fenced code block from ``` to ```text so the example commit
template uses a language identifier (e.g., replace the opening fence in the
block showing "<type>(<scope>): <subject>" with "```text") and keep the closing
fence unchanged.
- Around line 98-102: The fenced code block containing the "## 문서화 완료" snippet
needs a language identifier to satisfy Markdown linting; update the opening
fence from ``` to ```text (or ```md) so the block becomes a labeled code fence
(e.g., ```text) wrapping the lines "- **경로**: `docs/features/[기능]/[파일명]`" and "-
**내용**: [1줄 요약]".
- Line 3: Update the allowed-tools specification to use the standard parenthesis
token format with a space-separated command and wildcard (no colon) and
normalize spacing before wildcards; specifically replace entries like
Bash(mkdir:*), Bash(ls:*), Bash(date:*) with Bash(mkdir *), Bash(ls *),
Bash(date *), and change Bash(git diff*) to Bash(git diff *) while keeping the
other entries (Bash(git status), Bash(git log *), Bash(git add *), Bash(git
commit *), Read, Write, Edit, Glob, Grep) unchanged so the allowed-tools line
uses consistent "Bash(command *)" syntax.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 886b4ac8-49e9-4bfb-865c-0b0f5f3ec134

📥 Commits

Reviewing files that changed from the base of the PR and between 6803a4e and 1a9126d.

📒 Files selected for processing (1)
  • frontend/.claude/commands/commit.md

Copy link
Copy Markdown
Contributor

@lepitaaar lepitaaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always Approve 정책에 따라 승인합니다.

인라인 코멘트로 중복 제거/근거 보강된 핵심 사항을 남겼습니다.

거절 사유(비차단 아님)

  • Severity: Medium
  • 항목: commit 커맨드 frontmatter에 disable-model-invocation 미설정
  • 영향: side-effect가 큰 git add/git commit 워크플로우가 모델 자동 호출 경로로 실행될 여지가 있어 의도치 않은 커밋 위험 증가
  • 수정방안: frontmatter에 disable-model-invocation: true 추가

- allowed-tools 와일드카드 문법 표준화
- 코드 블록 언어 식별자 추가
- git diff HEAD 사용법 명확화

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Jest 단위 테스트, RTL 컴포넌트 테스트, Playwright E2E 테스트 지원
- 프로젝트 테스트 패턴 및 체크리스트 포함
@seongwon030 seongwon030 merged commit 034e15e into develop-fe Mar 30, 2026
4 checks passed
@seongwon030 seongwon030 deleted the chore/#1363-claude-commands-MOA-772 branch March 30, 2026 00:48
@seongwon030 seongwon030 linked an issue Mar 30, 2026 that may be closed by this pull request
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚁AI claude, codex 활용 시 💻 FE Frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chore] MOA-772 Claude AI 커맨드 추가

2 participants