Excel & CSV Data Analyst
Attach an Excel or CSV file to automatically inspect missing values and baseline distributions, flag anomalies and KPI shifts, and compile a decision-ready analytical report. Ships as a SKILL.md zip with built-in numerical verification and sample outputs.
When to use it
For operations teams checking a monthly sales CSV for omissions and duplicates before reporting revenue changes.
File specifications
| File Info | excel-analyst-kr.zip · 14KB |
|---|---|
| Included files | SKILL.md · references/number-style.md · scripts/profile_csv.py |
| Format | Agent Skill (SKILL.md · ZIP) |
Full SKILL.md Specification196lines
---name: excel-analyst-krdescription: Audits Excel and CSV data (missing values, duplicates, formatting), defines the analytical question, aggregates results, and delivers 3 key findings with tables, charts, and executive-ready reporting copy. Enforces numerical reconciliation, consistent unit formatting (e.g., $, thousands, millions), and MoM, YoY, and percentage-point (pp) conventions. Always use this skill when a user shares an Excel (.xlsx), CSV, or tabular dataset and asks to "analyze this," "write a report," "summarize sales," "prepare a performance update," "check month-over-month changes," "tell me what stands out," or "put together an update for my manager," or asks for a numerical summary of tabular data such as revenue, orders, costs, inventory, headcount, or survey results.--- # Excel & CSV Analysis Reporting Once a stakeholder spots a single wrong number, they stop trusting every other number in the report. That is why this skill is structured less around "clever analysis" and more around **preventing wrong numbers from ever reaching the report**. Follow the six steps in order. Skipping ahead to aggregation lets duplicate rows or numbers stored as text silently corrupt your totals. ```1 Data Audit → 2 Define the Question → 3 Aggregation → 4 Reconciliation → 5 3 Findings, Tables & Charts → 6 Executive Copy``` ## Step 1. Data Audit Inspect the state of the data before running any aggregation. For CSV files, run the profiling script first: ```bashpython3 scripts/profile_csv.py file.csv --key order_id``` Pass the column that should uniquely identify each row (e.g., order ID, invoice number, employee ID) to `--key`. For `.xlsx` files, read them using available environment tools (such as `pandas` or `openpyxl`) or export the sheet to CSV and run the same script. If code execution is unavailable, inspect the checklist below manually and mark any unchecked items as "Unverified" in the report. | Check | What to Look For | Common Real-World Issues ||---|---|---|| Structure | Is the header in the first row? Are total/subtotal rows mixed into the data? Are there merged cells? | A "Total" row at the bottom, inline "Subtotal" rows, category columns appearing blank due to merged cells || Missing values | Count of empty values and row numbers per column | Blank cells, `"-"`, `"N/A"`, `"None"`, `"TBD"` || Duplicates | Exact duplicate rows, or rows sharing the same key | Overlapping data exports pasted twice, both pre-edit and post-edit versions of a record left in || Number formatting | Numbers stored as text | `"1,250,000"`, `"$42,000"`, `"(3,000)"`, `"-3,000"`, columns denominated in thousands || Date formatting | Mixed formats within the same column | `2026-11-03` / `11/03/2026` / `20261103` / `Nov 3, 2026` || Naming inconsistencies | Same value spelled differently | `"Marketplace"` vs. `"Market Place"`, `"Inc."` included or omitted, trailing spaces or casing differences || Outliers | Negative values, zeros, or values orders of magnitude larger than typical rows | Returns/cancellations, single bulk orders, values entered in the wrong unit || Date range | Earliest and latest dates, missing days | Mid-month cutoff in the export, current month not yet closed | ### Separate What to Fix from What to Ask | Issue Type | Action ||---|---|| Unambiguous formatting issues (numbers with commas or currency symbols, mixed date formats, whitespace differences) | Standardize immediately. Log the count of affected rows in the report's "Data Handling" section. || Exact duplicate rows | Keep one instance only. Log the removed row count and value impact. || Same key, different values | Never pick one arbitrarily. Show both rows and ask the user. If no answer is available, keep both and explicitly state that fact. || Missing values | Do not impute or fill in. Group under `"Unspecified"`, include in the grand total, and surface as its own row in breakdown tables. || Negatives & returns | Do not delete. Include in net totals and track the count separately. || Outliers | Do not delete. Calculate **both with and without** the outlier. Let the stakeholder decide which view applies. || Total & subtotal rows | Exclude from aggregation, and use the original total row value for Step 4 reconciliation. | Never overwrite the source file. Save cleaned data separately or process it strictly in memory. Stop and ask the user in only two situations: when **the choice changes the conclusion** (such as conflicting duplicate keys), or when the monetary unit (e.g., exact dollars vs. thousands) cannot be determined from the data alone. In all other cases, document how you handled it and keep moving. ## Step 2. Define the Question "Analyze this" is not a question. Before aggregating, write one line for each of the four items below. For anything the user did not specify, infer it from the data and context and mark it as **(Assumption)**. Ask clarifying questions at most once, and only when strictly necessary. ```markdown- Audience: (e.g., Team Lead — monthly performance review)- Core question: (e.g., Did November revenue grow vs. last month and last year, and where did the change come from?)- Primary metric: (e.g., Total gross sales. Net revenue = Gross sales − Discounts)- Comparison baseline: (e.g., Prior month Oct 2026; prior year Nov 2025)``` Lock down metric definitions here. Depending on whether "revenue" is pre- or post-discount, tax-inclusive or tax-exclusive, or net of returns, the same dataset produces different numbers. If definitions drift, your tables and prose will contradict each other. Match period lengths across comparisons. If the current month only runs through the 20th, truncate the prior month to the 20th as well—or explicitly state `"Nov 1–20 MTD"`. ## Step 3. Aggregation 1. Drill down in order: **Total → Breakdown → Cross-tab**. Break the top-line movement down by dimension (channel, product, region, owner) to locate the driver, then slice only the single largest mover one level deeper.2. For every segment, compute **value, volume (count), and unit price (or rate)** together. Half the explanation for a revenue change is whether volume grew or average order value rose.3. Always report **both absolute change and percentage change**. Percentage change alone pulls attention toward tiny segments with huge swings. Rank your findings by the magnitude of absolute change.4. Calculate absolute and percentage changes from **unrounded source figures first**, then round for display. Subtracting already-rounded numbers causes last-digit mismatches.5. For ratio metrics (discount rate, conversion rate, profit margin), never average the segment ratios—compute the overall figure as **sum of numerators ÷ sum of denominators**. ## Step 4. Reconciliation Before moving any number into the report, verify five checks. Do not proceed to Step 5 if even one fails. | Check | Method ||---|---|| Row count | Source rows − Removed rows = Rows used in aggregation || Grand total | Step 1 audit column sum − Value of removed rows = Aggregated total || Subtotals | Do the segment sums add back to the grand total? Verify across at least two different dimensions (e.g., by channel and by product). || Manual spot-check | Pick one segment, filter and sum it directly in the raw data, and compare. Recalculate one percentage change by formula. || Sanity check | Are unit prices and ratios within realistic bounds (no 120% discount rates or $0.03 average order values)? | If the source file contains a total row or the user has a known benchmark (such as accounting close figures), reconcile against that too. If there is a discrepancy, report the exact variance as-is. Record the reconciliation formulas and results in the "Reconciliation" section at the end of the report so any reader can verify a single line and trust the rest. ## Step 5. 3 Findings, Tables, and Charts ### Limit to Three Findings From all the facts in your aggregation, pick the **three that change the stakeholder's decision**. Listing seven forces the reader to do the filtering themselves. Prioritize in this order: 1. Direct answer to the Step 2 question (up or down, and by how much).2. Primary driver behind that answer (the segment with the largest absolute change).3. What the headline hides (a declining segment inside a growing total, a deteriorating ratio despite higher sales, or a single outlier creating an illusion). Each finding must pack **number + comparison baseline + so-what** into a single sentence. | Weak Finding | Strong Finding ||---|---|| Marketplace revenue increased significantly. | Marketplace revenue reached $76.2K, up $37.8K (+98.5%) MoM, but the discount rate rose 7.2 pp from 11.1% to 18.3%, limiting net revenue growth to 82.6%. || Some channels showed a downward trend. | Direct-to-consumer (DTC) revenue fell $6.2K (-10.9%) MoM to $50.8K, driven by order volume dropping from 74 to 61 orders. | Data can confirm "what, where, and how much." If "why" is not in the data, either omit it or label it as an `Estimate` and specify what to check next. Never invent causes like promotions, weather, or competitors. ### Tables - Place the title above the table, with the unit on the right or directly below it (e.g., `(Unit: $K)`). Once the unit is stated in the header, put numbers only inside cells.- Right-align numbers and use thousands separators. Standard column order: `Segment | Current | Prior | Change | % Change`.- Sort rows by current-period value descending. Place `"Other / Unspecified"` at the bottom, followed by the `"Total"` row underneath.- Show declines in tables with a minus sign or parentheses (e.g., `-6.2`, `-10.9%` or `(6.2)`, `(10.9%)`). In prose, write out `"fell"` or `"declined"` instead of relying on symbols.- Keep every table to at most 7 rows and 6 columns. If there are more, show the top 5 and group the rest into `"Other"`. ### Charts One chart per finding. Write the chart title as the **takeaway sentence** (`"Marketplace doubled MoM while DTC declined"`), not a generic label (`"Revenue by Channel"`). | What You Want to Show | Chart Type ||---|---|| Magnitude comparison across segments (current vs. prior) | Clustered horizontal bar || Trend over time (6+ data points) | Line chart || Where the net change came from | Waterfall chart or variance bar chart || Composition / share (4 or fewer segments) | Single 100% stacked bar (use a pie chart only for 3 or fewer segments) | Bar axes must start at zero. Highlight only the focal series in color and keep the rest gray. Match data label units and decimal places to the table. If your environment can generate chart files, produce and attach them (or embed charts directly in the sheet when delivering `.xlsx`). If not, provide a **Chart Specification** (type, x-axis, y-axis, series, highlight, title) along with the underlying table so the user can build it in Excel in under two minutes. ## Step 6. Executive Copy ### Number Formatting Detailed rules and examples live in `references/number-style.md`—read it before writing the report. The most frequent mistakes are summarized here: - Scale monetary figures in prose so readers can grasp them at a glance: `$249,200` → `$249.2K`, `$3,245,000` → `$3.25M`. Keep 3–4 significant digits.- Use the same unit for the same metric throughout a report. If the table is in `$K`, the prose must also be in `$K`.- Express differences between percentages in **percentage points (`pp`)**. A discount rate moving from 11.1% to 18.3% is `"up 7.2 pp"`, not `"up 7.2%"`.- When growth exceeds 100%, include the multiple alongside the percentage: `"+98.5% (~2.0x)"` or `"+140% (2.4x)"`. Avoid ambiguous phrasing like `"increased by 2x"`—write `"doubled"` or `"grew to 2.4x prior-period levels"`.- Never compute a percentage change when the prior period is zero or negative. Write `"no prior-month revenue"` or `"turned profitable"` instead.- State the comparison baseline in every sentence: `"MoM"`, `"YoY"`, or `"YTD (Jan–Nov) YoY"`. Never write a bare `"up 12%"` without saying compared to what. ### Writing Style Lead with the conclusion. Structure each sentence as: **Metric → Current value → Baseline → Absolute change (% change) → Driver or implication**. > November revenue reached $249.2K, up $124.2K (+99.4%) MoM. - Match the format the user requests. If unspecified, use concise prose for email/Slack updates (`"Revenue rose 99.4% MoM..."`) and scannable bullets for formal memos/documents (`"Revenue: $249.2K (+99.4% MoM)"`). Do not mix styles within the same report.- Never use qualitative adjectives (`"significantly"`, `"sharply"`, `"slightly"`, `"modestly"`) without numbers. If used, attach them directly to the figure.- Cut filler hedging (`"was observed to"`, `"is analyzed as having"`, `"showed a trend of"`). Use direct verbs (`"rose"`, `"fell"`, `"accounted for"`).- Give good news and bad news equal weight. Do not euphemize declines as `"consolidation"` or `"normalization"`.- Limit recommendations to concrete next steps that follow directly from the findings—who should verify or act on what. Do not invent unsupported strategic advice. ## Output Format Unless specified otherwise, use this structure. If the user asks for a quick chat update, deliver Section 1 only; for a full report, deliver all sections. ```markdown# [Period] [Subject] Report ## 1. Executive Summary(3 lines max: direct answer to the question → primary driver → key watchout) ## 2. Three Key Findings1. **[One-line takeaway]** — Supporting sentence with exact numbers2. …3. … ## 3. Tables & Charts(In the same order as the findings. Include table title, unit, and chart or chart spec) ## 4. Items Requiring Confirmation(Questions for the user, items left as estimates, and figures sensitive to inclusion/exclusion) ## 5. Data Handling & Reconciliation- Analysis scope: Audience / Question / Metric definitions / Comparison baseline (flag assumptions)- Data handling: What was cleaned, row counts, and how it was treated- Reconciliation: Formulas and verified results``` ## Pre-Submission Checklist - [ ] Every issue uncovered in Step 1 is either resolved or listed under "Items Requiring Confirmation"- [ ] Metric definitions (pre/post-discount, returns, tax) and comparison periods are explicitly stated in the report- [ ] All five reconciliation checks were actually calculated and passed (row count, grand total, two subtotal dimensions, manual spot-check, sanity check)- [ ] Identical metrics match across the summary, findings, tables, and charts- [ ] Both absolute change and percentage change are shown, and every sentence states its comparison baseline- [ ] Differences between percentages are written in percentage points (`pp`)- [ ] Every table states its unit, and units match between tables and prose- [ ] Outliers, returns, and missing values were not silently dropped; both included and excluded figures are shown where relevant- [ ] No causes absent from the data are stated as fact- [ ] Exactly three findings are presented, each containing "number + comparison baseline + implication"# 숫자 표기와 증감 표현 규칙 보고서 문장과 표를 쓰기 전에 읽는다. 회사에 자체 표기 규정이 있으면 그 규정이 우선한다. ## 목차1. 금액 단위 고르기2. 천 단위·소수 자릿수·반올림3. 원·천원·만원·억원 표기 예4. 비율: %와 %p5. 증감 표현6. 비교 기준 용어7. 기간·날짜 표기8. 표 안의 표기9. 자주 틀리는 문장 교정 ## 1. 금액 단위 고르기 읽는 사람이 자릿수를 세지 않고 읽을 수 있는 단위를 고른다. 유효 숫자 3~4자리가 남게 한다. | 다루는 금액의 크기 | 본문 표기 | 표 단위 ||---|---|---|| 100만원 미만 | 원 (`358,000원`) | 원 || 100만원 ~ 1억원 | 만원 (`2,492만원`) | 천원 또는 만원 || 1억원 ~ 100억원 | 억 + 만 (`3억 2,450만원`) 또는 소수 억 (`3.2억원`) | 백만원 || 100억원 이상 | 억원 (`1,284억원`), 조 단위는 `1조 2,840억원` | 억원 | - 한 보고서에서 같은 지표는 한 단위로 통일한다. 가장 큰 숫자가 아니라 **가장 자주 비교하는 숫자**가 3~4자리로 읽히는 단위를 고른다.- 회계·재무 부서에 내는 표는 `천원`·`백만원`이 관행이다. 영업·마케팅 보고와 임원 요약은 `만원`·`억원`이 읽기 쉽다.- 단위를 올려 쓰면 끝자리가 사라진다. 정산·청구처럼 원 단위가 맞아야 하는 숫자는 올리지 않는다. ## 2. 천 단위·소수 자릿수·반올림 - 천 단위마다 쉼표: `1,250,000`. 네 자리도 쉼표를 넣는다(`2,492만원`). 연도에는 넣지 않는다.- 숫자와 단위는 붙여 쓴다: `2,492만원`, `61건`, `18.3%`. "억"과 "만" 사이는 띄운다: `3억 2,450만원`.- 증감률·구성비는 소수 첫째 자리(`99.4%`). 1% 미만의 작은 비율(전환율 등)은 둘째 자리까지(`0.84%`).- 반올림은 **계산을 다 끝낸 뒤 한 번만** 한다. 반올림한 값끼리 다시 계산하지 않는다.- 그 결과 표시된 값의 차와 증감이 끝자리 하나 어긋날 수 있다(11.14% → 18.29%는 표시상 11.1 → 18.3이지만 차이는 7.15, 즉 7.1%p). 원자료 기준 값을 쓰고 "반올림 전 값 기준"이라 한 번 적는다. 표시 값에 맞추려고 숫자를 고치지 않는다.- 구분별 금액을 단위를 올려 반올림하면 합이 합계 행과 1 어긋날 수 있다. 합계 행은 원자료 합을 반올림한 값을 쓰고 표 아래에 "반올림으로 구분 합과 합계가 다를 수 있음"이라 적는다.- 구성비 합이 반올림 때문에 100.0%가 안 되면 숫자를 억지로 맞추지 말고 표 아래에 "반올림으로 합계가 100%와 다를 수 있음"이라 적는다.- 소수 억 표기는 한 자리까지(`3.2억원`). `3.245억원`처럼 쓰지 않는다. 자세한 값이 필요하면 `3억 2,450만원`.- 0은 `0`, 값이 없으면 `-`. 둘을 섞지 않는다. ## 3. 원·천원·만원·억원 표기 예 | 원자료(원) | 원 | 천원 | 만원 | 억원 ||---:|---|---|---|---|| 358,000 | 358,000원 | 358천원 | 36만원(35.8만원) | - || 24,920,000 | 24,920,000원 | 24,920천원 | 2,492만원 | 0.2억원(쓰지 않음) || 324,500,000 | 324,500,000원 | 324,500천원 | 3억 2,450만원 | 3.2억원 || 12,840,000,000 | - | 12,840,000천원 | 128억 4,000만원 | 128억원(128.4억원) | - `천원` 단위는 표에서만 쓴다. 본문에 "24,920천원"이라 쓰면 읽는 사람이 속으로 다시 환산해야 한다.- "2천4백만원"처럼 한글 수사를 섞지 않는다. `2,400만원`.- "약"은 실제로 어림한 숫자에만 붙인다. 정확한 값에 "약"을 붙이지 않는다.- 부가세 포함 여부가 섞일 수 있는 금액은 처음 나올 때 한 번 밝힌다: `2,492만원(부가세 포함)`. ## 4. 비율: %와 %p - 비율의 **차이**는 `%p`(퍼센트포인트). 할인율 11.1% → 18.3%는 `7.2%p 상승`.- 비율의 **변화율**은 `%`. 같은 변화를 변화율로 말하면 `약 65% 상승`인데, 읽는 사람이 헷갈리므로 비율 지표는 %p로만 쓴다.- 구성비(비중) 변화도 %p: "오픈마켓 비중은 30.7%에서 49.7%로 19.0%p 높아졌습니다."- 비율의 분모를 밝힌다: "할인율(할인금액 ÷ 판매금액)".- 분모가 작으면(30건 미만) 비율 대신 건수를 쓴다: "5건 중 2건". ## 5. 증감 표현 | 상황 | 이렇게 쓴다 | 쓰지 않는다 ||---|---|---|| 기본 | 전월 대비 1,242만원(99.4%) 늘었습니다 | 전월 대비 99.4% 늘었습니다(증감액 없음) || 감소 | 62만원(10.9%) 줄었습니다 | -10.9% 증가, 마이너스 성장 || 2배 이상 | 98.5% 늘어 전월의 약 2배가 됐습니다 / 2.4배로 늘었습니다 | 2배 증가했습니다(뜻이 갈림), 240% 증가(2.4배로 늘었다면 140% 증가가 맞음) || 절반 이하 | 절반으로 줄었습니다 / 52.0% 줄었습니다 | 2배 감소 || 전기 값이 0 | 전월 실적 없음(신규 발생 320만원) | 증감률 ∞%, 100% 증가 || 음수에서 양수 | 흑자 전환(전월 △1,200만원 → 당월 800만원) | 166.7% 증가 || 양수에서 음수 | 적자 전환 | -250% 감소 || 음수가 줄어듦 | 적자 폭이 400만원 줄었습니다 | 33.3% 증가 || 변화가 거의 없음 | 전월과 같은 수준입니다(0.3% 증가) | 보합세를 나타냈습니다 | - 증감률 = (당기 − 전기) ÷ 전기 × 100. 배수 = 당기 ÷ 전기. "N배로 늘었다"는 배수, "N% 늘었다"는 증감률이다.- 동사는 "늘었다·줄었다" 또는 "증가했다·감소했다" 중 하나로 통일한다. 비율·단가는 "올랐다·내렸다(상승·하락)".- 작은 숫자의 큰 변화율에 주의한다. 3건이 9건이 되면 200% 증가지만 6건 증가다. 건수가 작으면 증감률을 빼고 건수만 쓴다.- 기저 효과가 의심되면(비교 대상 기간이 유난히 낮았거나 높았음) 한 단계 더 긴 기준(전년 동월, 3개월 평균)을 함께 댄다. ## 6. 비교 기준 용어 | 용어 | 뜻 | 예 (당월이 2026년 11월) ||---|---|---|| 전월 대비 | 바로 앞 달과 비교 | 2026년 10월 || 전년 동월 대비 | 1년 전 같은 달과 비교 | 2025년 11월 || 전분기 대비 | 바로 앞 분기 | 2026년 3분기 || 전년 동기 대비 | 1년 전 같은 기간(분기·누계) | 2025년 1~11월 누계 || 누계 | 연초(또는 회계연도 초)부터 당월까지 합 | 2026년 1~11월 || 목표 대비(달성률) | 실적 ÷ 목표 | 달성률 93.2% (목표에 180만원 미달) || 평균 대비 | 직전 N개월 평균과 비교 | 직전 3개월(8~10월) 평균 | - "전년 대비"는 연간 합계끼리 비교할 때만 쓴다. 월 비교는 "전년 동월 대비".- 계절을 타는 지표(매출, 방문, 채용)는 전월 대비만 쓰면 오해가 생긴다. 전년 동월 대비를 같이 쓴다.- 영업일수·주말 수가 다른 달끼리는 일평균을 함께 낸다(2월 대 3월, 연휴가 낀 달).- 달성률과 증감률을 혼동하지 않는다. 달성률 93.2%는 "6.8% 미달"이지 "6.8% 감소"가 아니다. ## 7. 기간·날짜 표기 - 처음 나올 때 연도를 붙인다: `2026년 11월`. 이후는 `11월`.- 기간: `2026년 11월 1일~30일`, `1~11월 누계`. 물결표 앞뒤는 붙인다.- 분기·반기: `3분기`, `상반기`. 회계연도가 1월 시작이 아니면 처음에 밝힌다.- 표 머리글은 짧게: `'25.11`, `'26.10`, `'26.11`. 본문은 풀어 쓴다.- 데이터 기준일을 보고서 머리에 적는다: `기준: 2026년 11월 30일 마감분, 12월 4일 추출`. ## 8. 표 안의 표기 - 단위는 표 오른쪽 위에 한 번: `(단위: 만원, %)`. 칸마다 "원"을 붙이지 않는다.- 감소·음수는 `△`: `△62`, `△10.9`. 회계 문서 관행이며 흑백 인쇄에서도 구분된다. 빨간색·괄호는 회사 양식이 그럴 때만.- 증감률 열에 %p 지표가 섞이면 열을 나눈다(`증감률(%)`, `증감(%p)`).- 합계 행은 맨 아래, 굵게. 구성비 열을 두면 합계는 `100.0`.- 계산할 수 없는 칸은 `-`로 두고 표 아래에 사유를 적는다("전월 실적 없음").- 표의 숫자와 본문 숫자는 같은 반올림을 쓴다. 표에 `762`라 쓰고 본문에 "761만 6천원"이라 쓰지 않는다. ## 9. 자주 틀리는 문장 교정 | 전 | 후 ||---|---|| 매출이 전월 대비 크게 증가한 것으로 나타났습니다. | 매출은 2,492만원으로 전월 대비 1,242만원(99.4%) 늘었습니다. || 할인율이 7.2% 상승했습니다. | 할인율은 11.1%에서 18.3%로 7.2%p 올랐습니다. || 오픈마켓이 2배 증가했습니다. | 오픈마켓 매출은 762만원으로 전월(384만원)의 약 2배가 됐습니다. || 자사몰은 다소 부진한 모습을 보였습니다. | 자사몰 매출은 508만원으로 전월 대비 62만원(10.9%) 줄었습니다. || 헤어 제품군 매출 -16.8% 성장 | 헤어 상품군 매출은 전월 대비 59만원(16.8%) 줄었습니다. || 전년 대비 144% 성장 | 전년 동월(1,021만원) 대비 144.1% 늘어 약 2.4배가 됐습니다. || 24,920천원을 기록하였음 | 2,492만원 || 프로모션 효과로 매출이 늘었습니다.(데이터에 프로모션 정보 없음) | 오픈마켓 할인율이 7.2%p 오른 시기와 매출 증가가 겹칩니다. 행사 여부는 담당자 확인이 필요합니다. |#!/usr/bin/env python3"""CSV 데이터 점검표를 출력한다 (표준 라이브러리만 사용). 사용법: python3 profile_csv.py 파일.csv python3 profile_csv.py 파일.csv --key 주문번호 python3 profile_csv.py 파일.csv --key 주문일,거래처 출력: 행·열 수, 열별 결측·고유값·추정 형식·형식 이상 예시, 완전 중복 행 수, --key 지정 시 키 중복 수, 숫자 열의 합계·최소·최대."""import argparseimport csvimport reimport sysfrom collections import Counter MISSING = {"", "-", "null", "NULL", "NaN", "nan", "N/A", "n/a", "#N/A", "없음", "미입력"}NUM_CLEAN = re.compile(r"^[\s₩\\]*[-+△▲(]?\s*[\d,]+(\.\d+)?\s*\)?\s*(원|천원|만원|억원|개|건|명|%)?\s*$")NUM_PLAIN = re.compile(r"^[-+]?\d+(\.\d+)?$")DATE_PATTERNS = [ ("YYYY-MM-DD", re.compile(r"^\d{4}-\d{1,2}-\d{1,2}([ T]\d{1,2}:\d{2}(:\d{2})?)?$")), ("YYYY.MM.DD", re.compile(r"^\d{4}\.\s?\d{1,2}\.\s?\d{1,2}\.?$")), ("YYYY/MM/DD", re.compile(r"^\d{4}/\d{1,2}/\d{1,2}$")), ("YYYYMMDD", re.compile(r"^(19|20)\d{6}$")), ("YY-MM-DD", re.compile(r"^\d{2}[-./]\d{1,2}[-./]\d{1,2}$")), ("YYYY년 M월 D일", re.compile(r"^\d{4}년\s?\d{1,2}월\s?\d{1,2}일$")),] def read_rows(path, encoding=None): encodings = [encoding] if encoding else ["utf-8-sig", "cp949", "utf-16"] last = None for enc in encodings: try: with open(path, newline="", encoding=enc) as f: sample = f.read(4096) f.seek(0) try: dialect = csv.Sniffer().sniff(sample, delimiters=",\t;|") except csv.Error: dialect = csv.excel rows = list(csv.reader(f, dialect)) return rows, enc except (UnicodeDecodeError, UnicodeError) as e: last = e sys.exit(f"인코딩을 읽지 못했습니다: {last}") def to_number(v): """쉼표·통화 기호·단위·△·괄호 음수를 걷어 내고 숫자로 바꾼다. 실패하면 None.""" s = v.strip() if not NUM_CLEAN.match(s): return None neg = s.startswith(("-", "△", "▲", "(")) or "(" in s[:3] digits = re.sub(r"[^\d.]", "", s) if not digits: return None n = float(digits) return -n if neg else n def date_format(v): s = v.strip() for name, pat in DATE_PATTERNS: if pat.match(s): return name return None def profile(path, key=None, encoding=None): rows, enc = read_rows(path, encoding) if not rows: sys.exit("빈 파일입니다.") header, body = rows[0], rows[1:] ncol = len(header) print(f"# 데이터 점검표: {path}") print(f"- 인코딩 {enc} · 행 {len(body):,}개(머리글 제외) · 열 {ncol}개") ragged = [i + 2 for i, r in enumerate(body) if len(r) != ncol] if ragged: print(f"- 열 개수가 머리글과 다른 행 {len(ragged)}개: 엑셀 행 번호 {ragged[:10]}") blank_header = [i + 1 for i, h in enumerate(header) if not h.strip()] if blank_header: print(f"- 머리글이 빈 열: {blank_header}번째") dup_header = [h for h, c in Counter(header).items() if c > 1] if dup_header: print(f"- 이름이 겹치는 열: {dup_header}") full = Counter(tuple(r) for r in body) dup_rows = sum(c - 1 for c in full.values() if c > 1) print(f"- 완전 중복 행 {dup_rows}개 (같은 행이 2번 이상 나온 경우의 초과분)") if key: keys = [k.strip() for k in key.split(",")] missing_keys = [k for k in keys if k not in header] if missing_keys: print(f"- --key 열을 찾지 못했습니다: {missing_keys}") else: idx = [header.index(k) for k in keys] kc = Counter(tuple(r[i] if i < len(r) else "" for i in idx) for r in body) kd = {k: c for k, c in kc.items() if c > 1} print(f"- 키({'+'.join(keys)}) 중복 {sum(c - 1 for c in kd.values())}개, 겹친 키 {len(kd)}종") for k, c in list(kd.items())[:5]: print(f" 예: {' / '.join(k)} → {c}번") print("\n| 열 | 추정 형식 | 결측 | 고유값 | 합계 | 최소 | 최대 | 이상 징후 |") print("|---|---|---:|---:|---:|---:|---:|---|") for ci, name in enumerate(header): vals = [r[ci] if ci < len(r) else "" for r in body] present = [v for v in vals if v.strip() not in MISSING] miss = len(vals) - len(present) uniq = len(set(present)) nums = [to_number(v) for v in present] n_num = sum(n is not None for n in nums) dfmt = Counter(f for f in (date_format(v) for v in present) if f) n_date = sum(dfmt.values()) notes = [] total = lo = hi = "" pad = sum(1 for v in present if v != v.strip()) if pad: notes.append(f"앞뒤 공백 {pad}개") code_like = set(dfmt) == {"YYYYMMDD"} and any(k in name for k in ("번호", "코드", "ID", "id")) if present and n_date >= 0.8 * len(present) and not code_like: kind = "날짜" if len(dfmt) > 1: notes.append("날짜 형식 혼재 " + ", ".join(f"{k} {c}개" for k, c in dfmt.most_common())) bad = [v for v in present if not date_format(v)] if bad: notes.append(f"날짜 아님 {len(bad)}개 (예: {bad[0]!r})") elif present and n_num >= 0.8 * len(present): kind = "숫자" good = [n for n in nums if n is not None] total, lo, hi = f"{sum(good):,.10g}", f"{min(good):,.10g}", f"{max(good):,.10g}" texty = [v for v in present if to_number(v) is not None and not NUM_PLAIN.match(v.strip())] if texty: notes.append(f"쉼표·단위가 붙은 문자형 숫자 {len(texty)}개 (예: {texty[0]!r})") bad = [v for v in present if to_number(v) is None] if bad: notes.append(f"숫자 아님 {len(bad)}개 (예: {bad[0]!r})") negs = sum(1 for n in good if n < 0) if negs: notes.append(f"음수 {negs}개") zeros = sum(1 for n in good if n == 0) if zeros: notes.append(f"0 값 {zeros}개") if len(good) >= 20: s = sorted(good) q1, q3 = s[len(s) // 4], s[(len(s) * 3) // 4] fence = q3 + 3 * (q3 - q1) outs = [n for n in good if n > fence] if q3 > q1 else [] if outs: notes.append(f"튀는 값 {len(outs)}개 (기준 {fence:,.10g} 초과, 최대 {max(outs):,.10g})") else: kind = "문자" if 0 < uniq <= 30: norm = Counter() for v in set(present): norm[re.sub(r"\s+", "", v).lower()] += 1 variants = sum(c - 1 for c in norm.values() if c > 1) if variants: notes.append(f"표기만 다른 같은 값 의심 {variants}건 (공백·대소문자 차이)") top = Counter(present).most_common(6) notes.append("값: " + ", ".join(f"{k}({c})" for k, c in top)) if miss: rows_missing = [i + 2 for i, v in enumerate(vals) if v.strip() in MISSING][:5] notes.insert(0, f"결측 행 예 {rows_missing}") print(f"| {name} | {kind} | {miss} | {uniq} | {total} | {lo} | {hi} | {'; '.join(notes)} |") print("\n합계 열 값은 쉼표·단위를 걷어 낸 뒤 더한 값이다. 집계 뒤 검산의 기준 숫자로 쓴다.") if __name__ == "__main__": ap = argparse.ArgumentParser(description="CSV 데이터 점검표") ap.add_argument("path") ap.add_argument("--key", help="중복을 볼 키 열(쉼표로 여러 개)") ap.add_argument("--encoding") a = ap.parse_args() profile(a.path, a.key, a.encoding)Sample Skill Output
November 2026 Sales Report
Basis: Order dates November 1–30, 2026; data extracted December 4 · Sales = Sales Amount (before discounts), Net Sales = Sales Amount − Discount Amount
1. Summary
- November sales reached KRW 24.92 million, up KRW 12.42 million (99.4%) month-over-month (MoM). Excluding a single offline bulk order on November 7 (KRW 9.60 million), sales were KRW 15.32 million—an increase of KRW 2.82 million (22.6%) MoM.
- Growth was driven by marketplaces, where sales reached KRW 7.62 million, roughly double the previous month (KRW 3.84 million).
- Over the same period, the marketplace discount rate rose from 11.1% to 18.3%, while both the own store and the hair care category declined from the previous month.
2. Three Key Findings
Excluding one bulk order, growth was 22.6%, not 99.4%. — On November 7, there was a single offline order in Gwangju for 300 skincare units totaling KRW 9.60 million (Order No. B2611-00001, no discount). The average value of all other orders was about KRW 80,000. Excluding this order, November sales were KRW 15.32 million, up KRW 2.82 million (22.6%) MoM and KRW 5.11 million (50.0%) year-over-year (YoY).
Sales growth came from marketplaces, accompanied by higher discounts. — Marketplace sales reached KRW 7.62 million, up KRW 3.78 million (98.5%) MoM, with orders rising from 51 to 88. Discounts increased from KRW 430,000 to KRW 1.39 million, pushing the discount rate (discount amount ÷ sales amount) up 7.1 percentage points from 11.1% to 18.3%. As a result, marketplace net sales grew 82.6% (KRW 3.41 million → KRW 6.22 million), 15.9 percentage points lower than gross sales growth.
Own store and hair care sales declined from the previous month. — Own store sales were KRW 5.08 million, down KRW 620,000 (10.9%) MoM, as orders fell from 74 to 61. Hair care sales were KRW 2.93 million, down KRW 590,000 (16.8%) MoM, with orders dropping from 60 to 45. Compared to the same month last year, however, own store sales rose 4.7% and hair care rose 1.9%, remaining broadly in line with November 2025.
3. Tables and Chart
Table 1. Monthly Sales Summary (Unit: KRW 10,000, %)
| Metric | '26.11 | '26.10 | MoM Change | MoM (%) | '25.11 | YoY Change | YoY (%) |
|---|---|---|---|---|---|---|---|
| Sales | 2,492 | 1,250 | 1,242 | 99.4 | 1,021 | 1,471 | 144.1 |
| Sales (excl. 1 bulk order) | 1,532 | 1,250 | 282 | 22.6 | 1,021 | 511 | 50.0 |
| Net Sales | 2,309 | 1,164 | 1,145 | 98.3 | 960 | 1,349 | 140.5 |
| Net Sales (excl. 1 bulk order) | 1,349 | 1,164 | 185 | 15.9 | 960 | 389 | 40.5 |
| Orders (count) | 187 | 159 | 28 | 17.6 | 120 | 67 | 55.8 |
Order count excludes 1 returned order.
Table 2. Sales by Channel, MoM (Unit: KRW 10,000, %)
| Channel | '26.11 | '26.10 | Change | Change (%) | Orders ('26.10 → '26.11) |
|---|---|---|---|---|---|
| Marketplaces | 762 | 384 | 378 | 98.5 | 51 → 88 |
| Own Store | 508 | 570 | -62 | -10.9 | 74 → 61 |
| Offline (excl. bulk order) | 235 | 296 | -61 | -20.6 | 34 → 31 |
| Unspecified | 28 | - | - | - | - → 6 |
| Subtotal (excl. bulk order) | 1,532 | 1,250 | 282 | 22.6 | 159 → 186 |
| Offline Bulk Order (1 order) | 960 | - | - | - | - → 1 |
| Total | 2,492 | 1,250 | 1,242 | 99.4 | 159 → 187 |
Due to rounding, the sum of individual channels may differ from the subtotal by KRW 10,000. Offline sales reflect 1 return (-KRW 160,000), which is excluded from the order count.
Chart 1. Marketplaces Doubled MoM, While Own Store and Offline Declined (Clustered horizontal bar chart, Unit: KRW 10,000)
Marketplaces '26.10 ████████ 384
'26.11 ███████████████ 762
Own Store '26.10 ███████████ 570
'26.11 ██████████ 508
Offline '26.10 ██████ 296
(excl. bulk) '26.11 █████ 235
Chart spec: Clustered horizontal bar · Y-axis: Channel (Marketplaces, Own Store, Offline) · X-axis: Sales (KRW 10,000, starting at 0) · Series: '26.10 (gray), '26.11 (accent color for Marketplaces only) · Data labels shown · Data source: Table 2.
Table 3. Marketplace Discounts (Unit: KRW 10,000, %)
| Item | '26.11 | '26.10 | Change | Change (%) |
|---|---|---|---|---|
| Sales Amount | 762 | 384 | 378 | 98.5 |
| Discount Amount | 139 | 43 | 97 | 226.0 |
| Net Sales | 622 | 341 | 281 | 82.6 |
| Discount Rate (%) | 18.3 | 11.1 | 7.1%p | - |
Changes were calculated from unrounded values (discount rate: 18.29% − 11.14%; discount amount: KRW 1,392,700 − KRW 427,200). Discount rates for other channels were 6.1% → 7.0% for Own Store and 2.8% → 2.6% for Offline (excl. bulk order).
Table 4. Sales by Product Category, MoM (excl. bulk order) (Unit: KRW 10,000, %)
| Category | '26.11 | '26.10 | Change | Change (%) | Orders ('26.10 → '26.11) |
|---|---|---|---|---|---|
| Skincare | 1,005 | 714 | 291 | 40.8 | 68 → 91 |
| Hair Care | 293 | 353 | -59 | -16.8 | 60 → 45 |
| Body Care | 234 | 183 | 50 | 27.5 | 31 → 50 |
| Total | 1,532 | 1,250 | 282 | 22.6 | 159 → 186 |
4. Items to Confirm
- Nature of the KRW 9.60 million bulk order: Whether this is a one-off transaction or a recurring client will determine which headline figure to use for November performance. In meetings, it is safer to present both figures (99.4% and 22.6%) together.
- Cause of the higher marketplace discount rate: The data does not include promotion or coupon details. Whether we participated in November marketplace promotions and how discount costs were shared need to be confirmed with the channel manager.
Request
(Attached: data.csv — 470 rows of order history. Columns: Order Date, Order ID, Channel, Product Category, Quantity, Sales Amount, Discount Amount, Region)
I work in sales support at a small cosmetics company that sells both online and offline. I need to report November sales to my team lead at tomorrow morning's monthly meeting. This file is an export from our order system and includes last November as well as October and November of this year. Please analyze it and put together a report for me. The first thing my team lead always asks is, "So did it go up or down, and where?"
How to use the skill instructions in Claude, Gemini, Codex or ChatGPT
Prepare your source material
Unzip the package and read SKILL.md and its references. Describe the task, whose work it is for, the source material and the expected deliverable.
Draft with AI
In a Claude or Codex setup with Agent Skills support, follow its skill-loading procedure. In Gemini or ChatGPT, provide SKILL.md and the relevant references as task instructions.
Review the finished file
Run one case similar to the demonstration to check the result. If the package includes scripts, check their runtime and external requirements first.
Frequently asked questions
How can I phrase a request to the skill?
Analyze this Excel file and turn it into a report · I need to report November sales to my team lead · Check how this compares to last month · What stands out in this CSV? · Write a performance report
Which files are included in the ZIP?
SKILL.md · references/number-style.md · scripts/profile_csv.py
What deliverable should I expect?
A report containing a 3-line summary, 3 key findings, tables/charts (or chart specifications), items requiring confirmation, and data processing/verification details
What should I verify before using the result at work?
Reconcile input and cleaned row counts. Document any blanks treated as zero and tie reported totals back to the source.
12 Claude Skills
slop-free-deck/ ├─ SKILL.md ├─ references/ │ ├─ layout-catalog.md │ └─ palette-derivation.md └─ scripts/ └─ deck_check.pySlop-Free Deck Design Rules Strip AI clichés and repetitive layouts out of Claude-generated slide decks “Make a PPT for me” slop-free-deck.zip21KB
korean-report-style/ ├─ SKILL.md └─ references/ ├─ rewrite-list.md └─ structures.mdKorean Corporate Report Style Enforce conclusion-first structure, concise bullet endings, and strict number formatting “Turn this draft into a review report” korean-report-style.zip18KB
meeting-minutes-kr/ ├─ SKILL.md └─ references/ └─ formats.mdMeeting Minutes & Follow-Up Email Generate structured agenda minutes and an attendee follow-up email in one pass “Turn this transcript into meeting minutes” meeting-minutes-kr.zip10KB
weekly-report-kr/ ├─ SKILL.md └─ references/ └─ sentence-examples.mdWeekly Report Continuity & Impact Connect last week's plans to this week's outcomes with consistent status labels “Write this week's weekly report” weekly-report-kr.zip12KB
proposal-writer-kr/ ├─ SKILL.md └─ references/ └─ chapter-guide.mdB2B Proposal Logic & Writer Reframe client pain points and pair every section claim with quantitative proof “Write a proposal” proposal-writer-kr.zip8KB
public-bid-proposal/ ├─ SKILL.md └─ references/ └─ requirement-extraction.mdPublic Bid & RFP Compliance Writer Extract every RFP requirement ID and draft sections mapped to scoring rubrics “Analyze this RFP” public-bid-proposal.zip8KB
data-story-chart/ ├─ SKILL.md └─ references/ └─ recipes.mdData Story & Chart Selector Pinpoint the core numerical takeaway and match it to an undistorted chart type “Make a chart from this data” data-story-chart.zip8KB
html-thumbnail-maker/ ├─ SKILL.md ├─ assets/ │ ├─ object-hero.html │ └─ title-hero.html └─ scripts/ └─ shot.pyHTML/CSS Thumbnail & OG Maker Generate pixel-exact HTML/CSS blog thumbnails and Open Graph images ready to render “Make a blog thumbnail” html-thumbnail-maker.zip15KB
seo-article-kr/ ├─ SKILL.md └─ references/ └─ ai-style-fixes.mdKorean SEO Article Writer Draft natural, search-intent-driven Korean articles free of awkward translationese “Write a blog post for this keyword” seo-article-kr.zip11KB
brand-voice-keeper/ ├─ SKILL.md ├─ references/ │ └─ voice-card-template.md └─ scripts/ └─ voice_stats.pyBrand Voice Extractor & Keeper Extract tone, sentence rhythm, and vocabulary rules from existing copy for new drafts “Write this in our voice” brand-voice-keeper.zip10KB
email-reply-kr/ ├─ SKILL.md └─ references/ └─ phrases.mdBusiness Email Reply Writer Break down incoming emails and draft tailored accept, negotiate, or decline replies “Draft a reply to this email” email-reply-kr.zip12KB