원클릭으로
format-writer
Format and write final report from stats aggregation results in CSV or JSON format.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Format and write final report from stats aggregation results in CSV or JSON format.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Validate tabular data against configurable business rules — range checks, cross-column constraints, referential integrity against lookup tables, and temporal consistency.
Load and parse CSV files into structured data frames with configurable encoding, delimiter, and date parsing options.
Export pandas DataFrames or processed datasets to well-formatted CSV files with configurable encoding, delimiter, quoting, and column ordering.
Aggregate tabular data by one or more dimensions with configurable metrics — sum, mean, count, min, max, median. Supports multi-level grouping and pivot table generation.
Comprehensive data cleaning toolkit — handles missing values, duplicate removal, type coercion, whitespace trimming, and outlier detection in a single pass over the dataset.
Identify and remove duplicate records from tabular datasets using exact-match, fuzzy-match, or composite-key-based deduplication strategies.
SOC 직업 분류 기준
| name | format-writer |
| description | Format and write final report from stats aggregation results in CSV or JSON format. |
| version | 1.0.0 |
Takes a stats aggregation JSON file (produced by stats-aggregator) and converts it into the
final output format. Supports CSV and JSON output. The input must follow the stats-aggregator
output schema: a group_column field and a groups dict mapping group names to metric dicts
containing mean, median, sum, count, min, and max values.
The input JSON must match this structure:
{
"group_column": "<name>",
"groups": {
"<group>": {"mean": ..., "median": ..., "sum": ..., "count": ..., "min": ..., "max": ...},
...
}
}
No other fields are expected. The writer iterates over each group and outputs one row per group with all available metrics as columns.
--input / -i: Path to stats_report.json (required)--format / -f: Output format: csv or json (default: json)--output / -o: Output directory (required)final_report.csv or final_report.jsonfinal_report.csv or final_report.jsonpython3 format-writer/writer.py -i stats_report.json -f json -o <dir>json, csv, argparse, os)