review-data-analysis
정보
이 스킬은 데이터 품질, 모델 검증, 누수 탐지를 포함하여 데이터 분석의 품질, 정확성, 재현성을 검토합니다. 이는 프로덕션 전 ML 파이프라인 검증, 비즈니스 결정을 위한 보고서 감사, 규제 환경에서의 제2 분석가 검토를 위해 설계되었습니다. 출판 또는 배포 전 분석에 대한 체계적인 점검이 필요할 때 사용하세요.
빠른 설치
Claude Code
추천npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/review-data-analysisClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
審數析
評數析管之正、韌、可復。
用
- 審同事析簿或本於發前
- 驗 ML 管於生產發前
- 審析報為規或業決
- 估析支所述結乎
- 行第二析審於規環
入
- 必:析碼(本、簿、管定)
- 必:析出(果、表、圖、模指)
- 可:原數或數典
- 可:析計或協(預登或臨)
- 可:標群與決脈
行
一:估數質
評析前審入數:
## Data Quality Assessment
### Completeness
- [ ] Missing data quantified (% by column and by row)
- [ ] Missing data mechanism considered (MCAR, MAR, MNAR)
- [ ] Imputation method appropriate (if used) or complete-case analysis justified
### Consistency
- [ ] Data types match expectations (dates are dates, numbers are numbers)
- [ ] Value ranges are plausible (no negative ages, future dates in historical data)
- [ ] Categorical variables have expected levels (no misspellings, consistent coding)
- [ ] Units are consistent across records
### Uniqueness
- [ ] Duplicate records identified and handled
- [ ] Primary keys are unique where expected
- [ ] Join operations produce expected row counts (no fan-out or drop)
### Timeliness
- [ ] Data vintage appropriate for the analysis question
- [ ] Temporal coverage matches the study period
- [ ] No look-ahead bias in time-series data
### Provenance
- [ ] Data source documented
- [ ] Extraction date/version recorded
- [ ] Any transformations between source and analysis input documented
得:數質患書、含其對果或影。 敗:數不可審→自碼估質(何察與化施)。
二:察設
各統法或所用模:
| Method | Key Assumptions | How to Check |
|---|---|---|
| Linear regression | Linearity, independence, normality of residuals, homoscedasticity | Residual plots, Q-Q plot, Durbin-Watson, Breusch-Pagan |
| Logistic regression | Independence, no multicollinearity, linear logit | VIF, Box-Tidwell, residual diagnostics |
| t-test | Independence, normality (or large n), equal variance | Shapiro-Wilk, Levene's test, visual inspection |
| ANOVA | Independence, normality, homogeneity of variance | Shapiro-Wilk per group, Levene's test |
| Chi-squared | Independence, expected frequency ≥ 5 | Expected frequency table |
| Random forest | Sufficient training data, feature relevance | OOB error, feature importance, learning curves |
| Neural network | Sufficient data, appropriate architecture, no data leakage | Validation curves, overfitting checks |
## Assumption Check Results
| Analysis Step | Method | Assumption | Checked? | Result |
|---------------|--------|------------|----------|--------|
| Primary model | Linear regression | Normality of residuals | Yes | Q-Q plot shows mild deviation — acceptable for n>100 |
| Primary model | Linear regression | Homoscedasticity | No | Not checked — recommend adding Breusch-Pagan test |
得:各統法之設明察或認。 敗:設違→察作者處之乎(韌法、化、敏析)。
三:察數漏
數漏即訓集外訊影模、致過樂效:
常漏模:
- 標漏:直編標變之徵(如「treatment_outcome」用以測「treatment_success」)
- 時漏:未來訊用以測過(自測時不可得之數計徵)
- 訓測污:預處(縮、補、徵選)於分前合全集
- 群漏:相關察(同患、同器)跨訓測分
- 徵工漏:聚於整集計、非於訓折內
## Leakage Assessment
| Check | Status | Evidence |
|-------|--------|----------|
| Target leakage | Clear | No features derived from target |
| Temporal leakage | CONCERN | Feature X uses 30-day forward average |
| Train-test contamination | Clear | StandardScaler fit on train only |
| Group leakage | CONCERN | Patient IDs not used for stratified split |
得:諸常漏模察含潔/憂態。 敗:漏發見→重行無漏徵估其影(若可)或標令析者察。
四:驗模效
為測模:
- 應問之正指(非僅準——考精、召、F1、AUC、RMSE、MAE)
- 交驗或留策述且應
- 訓對測/驗集效較(過擬察)
- 基較(樸模、隨機、前法)
- 效指之信區或標誤
- 相子群效估(公、邊例)
為推/釋模:
- 模合統報(R²、AIC、BIC、deviance)
- 系正釋(向、量、義)
- 多共線估(VIF < 5–10)
- 影察識(Cook 距、leverage)
- 多規測時模較
得:模驗應用例(測對推)。 敗:測集效疑近訓效→標潛漏。
五:估可復
## Reproducibility Checklist
| Item | Status | Notes |
|------|--------|-------|
| Code runs without errors | [Yes/No] | Tested on [environment description] |
| Random seeds set | [Yes/No] | Line [N] in [file] |
| Dependencies documented | [Yes/No] | requirements.txt / renv.lock present |
| Data loading reproducible | [Yes/No] | Path is [relative/absolute/URL] |
| Results match reported values | [Yes/No] | Verified: Table 1 ✓, Figure 2 ✗ (minor discrepancy) |
| Environment documented | [Yes/No] | Python 3.11 / R 4.5.0 specified |
得:可復重行析驗(或數無時自碼估)。 敗:果不確復→定異於浮容內乎抑示問。
六:書審
## Data Analysis Review
### Overall Assessment
[1-2 sentences: Is the analysis sound? Does it support the conclusions?]
### Data Quality
[Summary of data quality findings, impact on results]
### Methodological Concerns
1. **[Title]**: [Description, location in code/report, suggestion]
2. ...
### Strengths
1. [What was done well]
2. ...
### Reproducibility
[Tier assessment: Gold/Silver/Bronze/Opaque with justification]
### Recommendations
- [ ] [Specific action items for the analyst]
得:審供可動饋含特碼處引。 敗:時限→質與漏察優於格患。
驗
- 數質跨完、恆、唯、時、源估
- 各所用法統設察
- 數漏系估
- 模效以應指與基驗
- 可復估(碼行、果合)
- 饋特、引碼行或報段
- 調建設且協
忌
- 唯審碼:析計與結與實同要
- 忽數質:壞數上精模生信誤答
- 由複設正:95% 準隨機林或有數漏;簡 t 或為正法
- 不行碼:可則行碼以驗可復。讀碼不足
- 失林為樹:勿迷碼格患而失基析誤
參
review-research— 廣研法與稿審validate-statistical-output— 雙程驗法generate-statistical-tables— 發備統表review-software-architecture— 碼構與設審
GitHub 저장소
연관 스킬
evaluating-llms-harness
테스팅이 Claude Skill은 MMLU, GSM8K를 포함한 60개 이상의 표준화된 학술 과제에서 LLM 성능을 벤치마크하기 위해 lm-evaluation-harness를 실행합니다. 개발자들이 모델 품질을 비교하고, 학습 진행 상황을 추적하거나 학술 결과를 보고할 수 있도록 설계되었습니다. 이 도구는 HuggingFace와 vLLM 모델을 포함한 다양한 백엔드를 지원합니다.
cloudflare-cron-triggers
테스팅이 스킬은 cron 표현식을 사용하여 Worker를 스케줄링하기 위한 Cloudflare Cron Triggers 구현에 관한 포괄적인 지식을 제공합니다. 주기적 작업, 유지보수 작업, 자동화된 워크플로우 설정 방법을 다루며, 잘못된 cron 표현식이나 시간대 문제 같은 일반적인 이슈들을 해결하는 방법을 포함합니다. 개발자들은 이를 통해 스케줄된 핸들러 구성, cron 트리거 테스트, Workflows 및 Green Compute와의 연동 작업을 수행할 수 있습니다.
webapp-testing
테스팅이 Claude Skill은 Python 스크립트를 통해 로컬 웹 애플리케이션을 테스트하기 위한 Playwright 기반 툴킷을 제공합니다. 프론트엔드 검증, UI 디버깅, 스크린샷 캡처, 로그 확인 기능을 지원하며 서버 라이프사이클을 관리합니다. 브라우저 자동화 작업에 사용하되 컨텍스트 오염을 방지하기 위해 소스 코드를 읽지 않고 스크립트를 직접 실행하세요.
finishing-a-development-branch
테스팅이 스킬은 테스트 통과를 확인한 후 체계적인 통합 옵션을 제시하여 개발자가 완성된 작업을 마무리하도록 돕습니다. 구현이 완료된 후 머지, PR 생성, 브랜치 정리와 같은 워크플로우를 안내합니다. 코드가 준비되고 테스트가 완료되었을 때 개발 프로세스를 체계적으로 마무리하기 위해 사용하세요.
