Skip to content

[docs] 클로드 mixpanel 커맨드 추가#1383

Merged
seongwon030 merged 3 commits intodevelop-fefrom
docs/#1382-mixpanel-command-MOA-784
Apr 6, 2026
Merged

[docs] 클로드 mixpanel 커맨드 추가#1383
seongwon030 merged 3 commits intodevelop-fefrom
docs/#1382-mixpanel-command-MOA-784

Conversation

@seongwon030
Copy link
Copy Markdown
Member

@seongwon030 seongwon030 commented Apr 4, 2026

#️⃣연관된 이슈

ex) #이슈번호, #이슈번호

📝작업 내용

/mixpanel로 클로드에게 명령해 사용합니다.

  • 예시
/mixpanel 4월 3일 하루동안 가장 상세페이지 접속률이 많았던 동아리

이렇게 하면 분석결과가 나오고 docs에 자동 저장됩니다.

mcp 필수

mixpanel mcp를 붙여서 사용해야 합니다

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

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

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

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

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

🫡 참고사항

Summary by CodeRabbit

  • Documentation
    • 사용자 이벤트 분석용 새로운 워크플로우 문서가 추가되었습니다.
    • 트렌드·코호트·TOP N·퍼널·주간보고 등 분석 유형과 표준 명령 패턴을 제시합니다.
    • 쿼리 구조·메트릭·분해(브레이크다운) 설정 예시와 결과 해석(중앙값·평균, 지속시간·클릭수 해석) 가이드를 포함합니다.
    • 전환율 규칙과 보고서 자동 저장 및 템플릿 운영 규칙을 명시합니다.

@seongwon030 seongwon030 self-assigned this Apr 4, 2026
@seongwon030 seongwon030 added 💻 FE Frontend 🚁AI claude, codex 활용 시 labels Apr 4, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 4, 2026

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

Project Deployment Actions Updated (UTC)
moadong Ready Ready Preview, Comment Apr 6, 2026 0:53am

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 4, 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

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 00176eac-2ac1-4f60-a16c-8e94434c7707

📥 Commits

Reviewing files that changed from the base of the PR and between 0c87e7e and d518682.

📒 Files selected for processing (1)
  • frontend/.claude/commands/mixpanel.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • frontend/.claude/commands/mixpanel.md

Walkthrough

Mixpanel 사용자 이벤트 데이터 분석을 위한 MCP 도구 기반 워크플로우 문서(frontend/.claude/commands/mixpanel.md)가 추가되었습니다. 문서는 명시된 프로젝트/워크스페이스 ID, 이벤트/속성 명세, MCP 명령 패턴, 쿼리 및 리포트 생성·저장 규칙을 포함합니다.

Changes

Cohort / File(s) Summary
Mixpanel 분석 워크플로우 문서
frontend/.claude/commands/mixpanel.md
Mixpanel 데이터 분석용 end-to-end 워크플로우 문서 추가: MCP 사용 규칙(스키마 검사 필수), 분석 유형(트렌드/코호트/TOP N/펀널/주간 리포트), 예시 MCP 명령문, 쿼리 스키마 검색 방법, 결과 해석 가이드, 리포트 자동 저장 규칙(docs/weekly-reports/), 재사용 템플릿 및 운영 지침.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Suggested reviewers

  • lepitaaar
  • oesnuj
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목이 주요 변경사항을 명확하게 요약합니다. 클로드용 Mixpanel 커맨드 문서 추가라는 핵심 변경사항을 정확하게 나타냅니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/#1382-mixpanel-command-MOA-784

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: 2

🧹 Nitpick comments (1)
frontend/.claude/commands/mixpanel.md (1)

3-3: allowed-tools 권한 범위를 최소화하는 것을 권장합니다.

현재 Edit, Glob, Grep까지 허용되어 있는데, 문서의 주된 목적(조회 + 리포트 저장) 기준으로는 권한이 과할 수 있습니다. 필요한 도구만 남기면 오작동/오남용 여지를 줄일 수 있습니다.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@frontend/.claude/commands/mixpanel.md` at line 3, The allowed-tools setting
currently grants broad permissions via the allowed-tools entry (value
"Bash(mcp-cli *), Read, Write, Edit, Glob, Grep"); narrow this to the minimal
set required for the document's purpose (viewing and saving reports) by removing
unnecessary tools like Edit, Glob and Grep and keeping only the specific Bash
invocation plus Read and Write as needed; update the allowed-tools line
accordingly so the single symbol "allowed-tools" reflects the reduced permission
set.
🤖 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/mixpanel.md`:
- Around line 521-523: The fenced code blocks containing example prompts (e.g.,
the blocks with "사용자: /mixpanel 지난주 주간 리포트 생성해줘", "사용자: /mixpanel 2주간 체류시간 TOP10
동아리", "사용자: /mixpanel 지원하기 클릭한 유저 vs 안 한 유저 체류시간 비교", "사용자: /mixpanel 백경 유스호스텔
체류시간 급증 원인 분석", "사용자: /mixpanel 내부 지원서 사용 동아리의 지원 완료율", and "사용자: /mixpanel 지원하기
버튼 클릭률 분석") are missing a fenced-code language and causing MD040 warnings; fix
by adding the language specifier (use text) after each opening triple-backtick
(e.g., change ``` to ```text) for those prompt blocks so markdownlint no longer
flags MD040.
- Line 10: The file contains hardcoded local absolute paths like
'/Users/seokyoung-won/Desktop/moadong/docs/weekly-reports/' which expose a
username and break other environments; replace those literal strings (the
occurrences of that absolute path) with a repository-relative path (e.g.,
'docs/weekly-reports/...') and construct the full path dynamically using a
robust method (e.g., path.join(process.cwd(), 'docs', 'weekly-reports', ...)) or
a configurable base output dir from env/config, updating the relevant usages in
frontend/.claude/commands/mixpanel.md where that absolute path is used.

---

Nitpick comments:
In `@frontend/.claude/commands/mixpanel.md`:
- Line 3: The allowed-tools setting currently grants broad permissions via the
allowed-tools entry (value "Bash(mcp-cli *), Read, Write, Edit, Glob, Grep");
narrow this to the minimal set required for the document's purpose (viewing and
saving reports) by removing unnecessary tools like Edit, Glob and Grep and
keeping only the specific Bash invocation plus Read and Write as needed; update
the allowed-tools line accordingly so the single symbol "allowed-tools" reflects
the reduced permission set.
🪄 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: 1b474adb-dbef-4a34-a62e-6268ec75dc15

📥 Commits

Reviewing files that changed from the base of the PR and between 5527141 and 0c87e7e.

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

Copy link
Copy Markdown
Member

@Zepelown Zepelown left a comment

Choose a reason for hiding this comment

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

매우 편리하고 좋네요

- 코드 블록 언어 태그를 'text'로 변경하여 가독성 향상
@seongwon030 seongwon030 merged commit a2dca15 into develop-fe Apr 6, 2026
4 checks passed
@seongwon030 seongwon030 deleted the docs/#1382-mixpanel-command-MOA-784 branch April 6, 2026 00:57
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.

2 participants