[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77ABXVHFH8F4NSP60VXZSNC":3,"skill-same:01M77ABXVHFH8F4NSP60VXZSNC":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77ABXVHFH8F4NSP60VXZSNC","data-extractor",null,"Extract structured data from unstructured sources. Parse JSON, CSV, logs, and mixed formats into clean, usable data. Handle malformed data, nested structures, and large files efficiently. Use when extracting data from messy inputs, parsing logs, or cleaning datasets. Triggers on \"extract data\", \"parse json\", \"parse csv\", \"clean data\", \"log parser\".","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fd\u002Fdata-extractor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: data-extractor\ndescription: Extract structured data from unstructured sources. Parse JSON, CSV, logs, and mixed formats into clean, usable data. Handle malformed data, nested structures, and large files efficiently. Use when extracting data from messy inputs, parsing logs, or cleaning datasets. Triggers on \"extract data\", \"parse json\", \"parse csv\", \"clean data\", \"log parser\".\n---\n\n# Data Extractor\n\nExtract structured, clean data from unstructured or messy sources. Turn chaos into usable data.\n\n## Supported Formats\n\n### JSON\n- Nested objects\n- Arrays of objects\n- Mixed types\n- Malformed JSON\n- Large files (streaming)\n\n### CSV\n- Headers or headerless\n- Various delimiters\n- Quoted fields\n- Multiline values\n- Large files (streaming)\n\n### Logs\n- Application logs\n- Server logs\n- Error logs\n- Access logs\n- Custom formats\n\n### Text\n- Key-value pairs\n- Tables\n- Lists\n- Mixed content\n\n## Common Patterns\n\n### Extract JSON from Text\n\n```\nInput: \"The response was {'status': 'ok', 'data': [1, 2, 3]} and then...\"\nOutput: {\"status\": \"ok\", \"data\": [1, 2, 3]}\n```\n\n```python\nimport re\nimport json\n\ndef extract_json(text):\n    # Find JSON-like structures\n    pattern = r'\\{[^{}]*(?:\\{[^{}]*\\}[^{}]*)*\\}'\n    matches = re.findall(pattern, text)\n    \n    for match in matches:\n        try:\n            return json.loads(match)\n        except json.JSONDecodeError:\n            continue\n    return None\n```\n\n### Parse CSV with Issues\n\n```\n# Handle: missing values, inconsistent quotes, mixed delimiters\n```\n\n```python\nimport csv\nfrom io import StringIO\n\ndef parse_messy_csv(text):\n    lines = text.strip().split('\\n')\n    \n    # Detect delimiter\n    delimiters = [',', ';', '\\t', '|']\n    delimiter = ','\n    for d in delimiters:\n        if lines[0].count(d) > lines[0].count(delimiter):\n            delimiter = d\n    \n    # Parse with error handling\n    reader = csv.reader(StringIO(text), delimiter=delimiter)\n    rows = []\n    for row in reader:\n        # Clean each field\n        cleaned = [field.strip().strip('\"').strip(\"'\") for field in row]\n        rows.append(cleaned)\n    \n    return rows\n```\n\n### Extract Key-Value Pairs\n\n```\nInput: \"name: John, age: 30, city: New York\"\nOutput: {\"name\": \"John\", \"age\": \"30\", \"city\": \"New York\"}\n```\n\n```python\nimport re\n\ndef extract_key_value(text):\n    patterns = [\n        r'(\\w+)\\s*:\\s*([^,\\n]+)',      # key: value\n        r'(\\w+)\\s*=\\s*([^,\\n]+)',      # key=value\n        r'\"?(\\w+)\"?\\s*[:=]\\s*\"?([^,\"\\n]+)\"?',  # quoted variants\n    ]\n    \n    result = {}\n    for pattern in patterns:\n        matches = re.findall(pattern, text)\n        for key, value in matches:\n            result[key.strip()] = value.strip()\n    \n    return result\n```\n\n### Parse Logs\n\n```\n# Common log formats\n```\n\n```python\nimport re\nfrom datetime import datetime\n\ndef parse_log_line(line):\n    # Try common patterns\n    \n    # Apache\u002FNginx access log\n    pattern = r'(\\S+) \\S+ \\S+ \\[([^\\]]+)\\] \"(\\S+) ([^\"]+) HTTP\u002F\\d\\.\\d\" (\\d+) (\\d+)'\n    match = re.match(pattern, line)\n    if match:\n        return {\n            \"ip\": match.group(1),\n            \"timestamp\": match.group(2),\n            \"method\": match.group(3),\n            \"path\": match.group(4),\n            \"status\": int(match.group(5)),\n            \"size\": int(match.group(6))\n        }\n    \n    # JSON log\n    if line.startswith('{'):\n        try:\n            return json.loads(line)\n        except:\n            pass\n    \n    # Key-value log\n    if '=' in line:\n        return extract_key_value(line)\n    \n    return {\"raw\": line}\n```\n\n## Handling Edge Cases\n\n### Malformed JSON\n\n```python\ndef fix_json(text):\n    # Common fixes\n    \n    # Single quotes to double quotes\n    text = re.sub(r\"'([^']*)'\", r'\"\\1\"', text)\n    \n    # Unquoted keys\n    text = re.sub(r'(\\w+):', r'\"\\1\":', text)\n    \n    # Trailing commas\n    text = re.sub(r',\\s*([}\\]])', r'\\1', text)\n    \n    # Missing quotes around values\n    text = re.sub(r':\\s*([a-zA-Z_]\\w*)(?=[,}\\]])', r': \"\\1\"', text)\n    \n    return text\n```\n\n### Large Files\n\n```python\ndef stream_jsonl(file_path):\n    \"\"\"Stream JSON Lines (JSONL) format\"\"\"\n    with open(file_path, 'r') as f:\n        for line in f:\n            try:\n                yield json.loads(line)\n            except json.JSONDecodeError:\n                continue\n\ndef stream_csv(file_path, chunk_size=1000):\n    \"\"\"Stream CSV in chunks\"\"\"\n    with open(file_path, 'r') as f:\n        reader = csv.reader(f)\n        headers = next(reader)\n        \n        chunk = []\n        for row in reader:\n            chunk.append(dict(zip(headers, row)))\n            if len(chunk) >= chunk_size:\n                yield chunk\n                chunk = []\n        \n        if chunk:\n            yield chunk\n```\n\n### Mixed Formats\n\n```python\ndef detect_and_parse(content):\n    \"\"\"Auto-detect format and parse\"\"\"\n    \n    content = content.strip()\n    \n    # JSON\n    if content.startswith('{') or content.startswith('['):\n        try:\n            return json.loads(content)\n        except:\n            pass\n    \n    # JSONL\n    if '\\n{' in content:\n        try:\n            return [json.loads(line) for line in content.split('\\n') if line.strip()]\n        except:\n            pass\n    \n    # CSV\n    if ',' in content and '\\n' in content:\n        lines = content.split('\\n')\n        if len(lines) > 1:\n            return parse_messy_csv(content)\n    \n    # Key-value\n    if '=' in content or ':' in content:\n        return extract_key_value(content)\n    \n    # Lines\n    return content.split('\\n')\n```\n\n## Data Cleaning\n\n### Remove Duplicates\n\n```python\ndef deduplicate(data, key=None):\n    if isinstance(data, list):\n        if key:\n            seen = set()\n            result = []\n            for item in data:\n                val = item.get(key) if isinstance(item, dict) else item\n                if val not in seen:\n                    seen.add(val)\n                    result.append(item)\n            return result\n        return list(set(data))\n    return data\n```\n\n### Normalize Values\n\n```python\ndef normalize(data):\n    if isinstance(data, dict):\n        return {k: normalize(v) for k, v in data.items()}\n    elif isinstance(data, list):\n        return [normalize(item) for item in data]\n    elif isinstance(data, str):\n        # Lowercase, trim, standardize whitespace\n        data = data.lower().strip()\n        data = re.sub(r'\\s+', ' ', data)\n        \n        # Convert common values\n        if data in ('true', 'yes', 'on'):\n            return True\n        if data in ('false', 'no', 'off'):\n            return False\n        if data in ('null', 'none', 'n\u002Fa', ''):\n            return None\n        \n        # Try numeric\n        try:\n            return int(data)\n        except:\n            try:\n                return float(data)\n            except:\n                pass\n        \n        return data\n    return data\n```\n\n### Validate Schema\n\n```python\ndef validate(data, schema):\n    errors = []\n    \n    # Required fields\n    for field in schema.get('required', []):\n        if field not in data:\n            errors.append(f\"Missing required field: {field}\")\n    \n    # Type checking\n    for field, expected_type in schema.get('types', {}).items():\n        if field in data and not isinstance(data[field], expected_type):\n            errors.append(f\"Field {field} should be {expected_type.__name__}\")\n    \n    # Value ranges\n    for field, (min_val, max_val) in schema.get('ranges', {}).items():\n        if field in data:\n            if not (min_val \u003C= data[field] \u003C= max_val):\n                errors.append(f\"Field {field} out of range: {data[field]}\")\n    \n    return len(errors) == 0, errors\n```\n\n## Output Formats\n\n### To JSON\n\n```python\nimport json\n\ndef to_json(data, pretty=True):\n    if pretty:\n        return json.dumps(data, indent=2, ensure_ascii=False)\n    return json.dumps(data, ensure_ascii=False)\n```\n\n### To CSV\n\n```python\nimport csv\nfrom io import StringIO\n\ndef to_csv(data, headers=None):\n    if not data:\n        return \"\"\n    \n    output = StringIO()\n    \n    if isinstance(data[0], dict):\n        headers = headers or list(data[0].keys())\n        writer = csv.DictWriter(output, fieldnames=headers)\n        writer.writeheader()\n        writer.writerows(data)\n    else:\n        writer = csv.writer(output)\n        if headers:\n            writer.writerow(headers)\n        writer.writerows(data)\n    \n    return output.getvalue()\n```\n\n### To Markdown Table\n\n```python\ndef to_markdown_table(data):\n    if not data:\n        return \"\"\n    \n    if isinstance(data[0], dict):\n        headers = list(data[0].keys())\n        rows = [[str(row.get(h, '')) for h in headers] for row in data]\n    else:\n        headers = [f\"Col {i+1}\" for i in range(len(data[0]))]\n        rows = data\n    \n    # Build table\n    result = []\n    result.append('| ' + ' | '.join(headers) + ' |')\n    result.append('| ' + ' | '.join(['---'] * len(headers)) + ' |')\n    \n    for row in rows:\n        result.append('| ' + ' | '.join(str(cell) for cell in row) + ' |')\n    \n    return '\\n'.join(result)\n```\n\n## Usage Examples\n\n### Example 1: Extract JSON from API Response\n\n```\nInput (messy):\n\"API returned: {status: 'success', data: {users: [{id: 1, name: 'John'}, {id: 2, name: 'Jane'}]}, timestamp: '2026-03-16'}\"\n\nOutput (clean):\n{\n  \"status\": \"success\",\n  \"data\": {\n    \"users\": [\n      {\"id\": 1, \"name\": \"John\"},\n      {\"id\": 2, \"name\": \"Jane\"}\n    ]\n  },\n  \"timestamp\": \"2026-03-16\"\n}\n```\n\n### Example 2: Parse Mixed Log\n\n```\nInput:\n192.168.1.1 - - [16\u002FMar\u002F2026:12:00:00 +0000] \"GET \u002Fapi HTTP\u002F1.1\" 200 1234\n{\"level\": \"INFO\", \"message\": \"User logged in\", \"user_id\": 123}\nname=John action=login time=12:00\n\nOutput:\n[\n  {\"ip\": \"192.168.1.1\", \"timestamp\": \"16\u002FMar\u002F2026:12:00:00 +0000\", \"method\": \"GET\", \"path\": \"\u002Fapi\", \"status\": 200, \"size\": 1234},\n  {\"level\": \"INFO\", \"message\": \"User logged in\", \"user_id\": 123},\n  {\"name\": \"John\", \"action\": \"login\", \"time\": \"12:00\"}\n]\n```\n\n### Example 3: Clean CSV\n\n```\nInput (messy):\nname,age,city\n\"John\", 30, \"New York\"\n'Jane',,Los Angeles\n\"Bob\",\"forty\",\"Chicago\"\n\nOutput (clean):\n[\n  {\"name\": \"John\", \"age\": 30, \"city\": \"New York\"},\n  {\"name\": \"Jane\", \"age\": null, \"city\": \"Los Angeles\"},\n  {\"name\": \"Bob\", \"age\": \"forty\", \"city\": \"Chicago\"}\n]\n```\n\n## Best Practices\n\n1. **Always validate input** - Check format before parsing\n2. **Handle errors gracefully** - Log and continue or fail cleanly\n3. **Stream large files** - Don't load everything into memory\n4. **Normalize consistently** - Same rules for all data\n5. **Document transformations** - What changed and why\n6. **Preserve originals** - Keep raw data until confirmed clean\n7. **Test edge cases** - Empty, null, malformed, very large\n8. **Use appropriate types** - Numbers as numbers, dates as dates\n\n## Performance Tips\n\n1. **Use streaming** for files > 10MB\n2. **Batch processing** for database inserts\n3. **Parallel parsing** for independent chunks\n4. **Lazy evaluation** with generators\n5. **Cache parsed results** if reused frequently","# Data Extractor\n\nExtract structured, clean data from unstructured or messy sources. Turn chaos into usable data.\n\n## Supported Formats\n\n### JSON\n- Nested objects\n- Arrays of objects\n- Mixed types\n- Malformed JSON\n- Large files (streaming)\n\n### CSV\n- Headers or headerless\n- Various delimiters\n- Quoted fields\n- Multiline values\n- Large files (streaming)\n\n### Logs\n- Application logs\n- Server logs\n- Error logs\n- Access logs\n- Custom formats\n\n### Text\n- Key-value pairs\n- Tables\n- Lists\n- Mixed content\n\n## Common Patterns\n\n### Extract JSON from Text\n\n```\nInput: \"The response was {'status': 'ok', 'data': [1, 2, 3]} and then...\"\nOutput: {\"status\": \"ok\", \"data\": [1, 2, 3]}\n```\n\n```python\nimport re\nimport json\n\ndef extract_json(text):\n    # Find JSON-like structures\n    pattern = r'\\{[^{}]*(?:\\{[^{}]*\\}[^{}]*)*\\}'\n    matches = re.findall(pattern, text)\n    \n    for match in matches:\n        try:\n            return json.loads(match)\n        except json.JSONDecodeError:\n            continue\n    return None\n```\n\n### Parse CSV with Issues\n\n```\n# Handle: missing values, inconsistent quotes, mixed delimiters\n```\n\n```python\nimport csv\nfrom io import StringIO\n\ndef parse_messy_csv(text):\n    lines = text.strip().split('\\n')\n    \n    # Detect delimiter\n    delimiters = [',', ';', '\\t', '|']\n    delimiter = ','\n    for d in delimiters:\n        if lines[0].count(d) > lines[0].count(delimiter):\n            delimiter = d\n    \n    # Parse with error handling\n    reader = csv.reader(StringIO(text), delimiter=delimiter)\n    rows = []\n    for row in reader:\n        # Clean each field\n        cleaned = [field.strip().strip('\"').strip(\"'\") for field in row]\n        rows.append(cleaned)\n    \n    return rows\n```\n\n### Extract Key-Value Pairs\n\n```\nInput: \"name: John, age: 30, city: New York\"\nOutput: {\"name\": \"John\", \"age\": \"30\", \"city\": \"New York\"}\n```\n\n```python\nimport re\n\ndef extract_key_value(text):\n    patterns = [\n        r'(\\w+)\\s*:\\s*([^,\\n]+)',      # key: value\n        r'(\\w+)\\s*=\\s*([^,\\n]+)',      # key=value\n        r'\"?(\\w+)\"?\\s*[:=]\\s*\"?([^,\"\\n]+)\"?',  # quoted variants\n    ]\n    \n    result = {}\n    for pattern in patterns:\n        matches = re.findall(pattern, text)\n        for key, value in matches:\n            result[key.strip()] = value.strip()\n    \n    return result\n```\n\n### Parse Logs\n\n```\n# Common log formats\n```\n\n```python\nimport re\nfrom datetime import datetime\n\ndef parse_log_line(line):\n    # Try common patterns\n    \n    # Apache\u002FNginx access log\n    pattern = r'(\\S+) \\S+ \\S+ \\[([^\\]]+)\\] \"(\\S+) ([^\"]+) HTTP\u002F\\d\\.\\d\" (\\d+) (\\d+)'\n    match = re.match(pattern, line)\n    if match:\n        return {\n            \"ip\": match.group(1),\n            \"timestamp\": match.group(2),\n            \"method\": match.group(3),\n            \"path\": match.group(4),\n            \"status\": int(match.group(5)),\n            \"size\": int(match.group(6))\n        }\n    \n    # JSON log\n    if line.startswith('{'):\n        try:\n            return json.loads(line)\n        except:\n            pass\n    \n    # Key-value log\n    if '=' in line:\n        return extract_key_value(line)\n    \n    return {\"raw\": line}\n```\n\n## Handling Edge Cases\n\n### Malformed JSON\n\n```python\ndef fix_json(text):\n    # Common fixes\n    \n    # Single quotes to double quotes\n    text = re.sub(r\"'([^']*)'\", r'\"\\1\"', text)\n    \n    # Unquoted keys\n    text = re.sub(r'(\\w+):', r'\"\\1\":', text)\n    \n    # Trailing commas\n    text = re.sub(r',\\s*([}\\]])', r'\\1', text)\n    \n    # Missing quotes around values\n    text = re.sub(r':\\s*([a-zA-Z_]\\w*)(?=[,}\\]])', r': \"\\1\"', text)\n    \n    return text\n```\n\n### Large Files\n\n```python\ndef stream_jsonl(file_path):\n    \"\"\"Stream JSON Lines (JSONL) format\"\"\"\n    with open(file_path, 'r') as f:\n        for line in f:\n            try:\n                yield json.loads(line)\n            except json.JSONDecodeError:\n                continue\n\ndef stream_csv(file_path, chunk_size=1000):\n    \"\"\"Stream CSV in chunks\"\"\"\n    with open(file_path, 'r') as f:\n        reader = csv.reader(f)\n        headers = next(reader)\n        \n        chunk = []\n        for row in reader:\n            chunk.append(dict(zip(headers, row)))\n            if len(chunk) >= chunk_size:\n                yield chunk\n                chunk = []\n        \n        if chunk:\n            yield chunk\n```\n\n### Mixed Formats\n\n```python\ndef detect_and_parse(content):\n    \"\"\"Auto-detect format and parse\"\"\"\n    \n    content = content.strip()\n    \n    # JSON\n    if content.startswith('{') or content.startswith('['):\n        try:\n            return json.loads(content)\n        except:\n            pass\n    \n    # JSONL\n    if '\\n{' in content:\n        try:\n            return [json.loads(line) for line in content.split('\\n') if line.strip()]\n        except:\n            pass\n    \n    # CSV\n    if ',' in content and '\\n' in content:\n        lines = content.split('\\n')\n        if len(lines) > 1:\n            return parse_messy_csv(content)\n    \n    # Key-value\n    if '=' in content or ':' in content:\n        return extract_key_value(content)\n    \n    # Lines\n    return content.split('\\n')\n```\n\n## Data Cleaning\n\n### Remove Duplicates\n\n```python\ndef deduplicate(data, key=None):\n    if isinstance(data, list):\n        if key:\n            seen = set()\n            result = []\n            for item in data:\n                val = item.get(key) if isinstance(item, dict) else item\n                if val not in seen:\n                    seen.add(val)\n                    result.append(item)\n            return result\n        return list(set(data))\n    return data\n```\n\n### Normalize Values\n\n```python\ndef normalize(data):\n    if isinstance(data, dict):\n        return {k: normalize(v) for k, v in data.items()}\n    elif isinstance(data, list):\n        return [normalize(item) for item in data]\n    elif isinstance(data, str):\n        # Lowercase, trim, standardize whitespace\n        data = data.lower().strip()\n        data = re.sub(r'\\s+', ' ', data)\n        \n        # Convert common values\n        if data in ('true', 'yes', 'on'):\n            return True\n        if data in ('false', 'no', 'off'):\n            return False\n        if data in ('null', 'none', 'n\u002Fa', ''):\n            return None\n        \n        # Try numeric\n        try:\n            return int(data)\n        except:\n            try:\n                return float(data)\n            except:\n                pass\n        \n        return data\n    return data\n```\n\n### Validate Schema\n\n```python\ndef validate(data, schema):\n    errors = []\n    \n    # Required fields\n    for field in schema.get('required', []):\n        if field not in data:\n            errors.append(f\"Missing required field: {field}\")\n    \n    # Type checking\n    for field, expected_type in schema.get('types', {}).items():\n        if field in data and not isinstance(data[field], expected_type):\n            errors.append(f\"Field {field} should be {expected_type.__name__}\")\n    \n    # Value ranges\n    for field, (min_val, max_val) in schema.get('ranges', {}).items():\n        if field in data:\n            if not (min_val \u003C= data[field] \u003C= max_val):\n                errors.append(f\"Field {field} out of range: {data[field]}\")\n    \n    return len(errors) == 0, errors\n```\n\n## Output Formats\n\n### To JSON\n\n```python\nimport json\n\ndef to_json(data, pretty=True):\n    if pretty:\n        return json.dumps(data, indent=2, ensure_ascii=False)\n    return json.dumps(data, ensure_ascii=False)\n```\n\n### To CSV\n\n```python\nimport csv\nfrom io import StringIO\n\ndef to_csv(data, headers=None):\n    if not data:\n        return \"\"\n    \n    output = StringIO()\n    \n    if isinstance(data[0], dict):\n        headers = headers or list(data[0].keys())\n        writer = csv.DictWriter(output, fieldnames=headers)\n        writer.writeheader()\n        writer.writerows(data)\n    else:\n        writer = csv.writer(output)\n        if headers:\n            writer.writerow(headers)\n        writer.writerows(data)\n    \n    return output.getvalue()\n```\n\n### To Markdown Table\n\n```python\ndef to_markdown_table(data):\n    if not data:\n        return \"\"\n    \n    if isinstance(data[0], dict):\n        headers = list(data[0].keys())\n        rows = [[str(row.get(h, '')) for h in headers] for row in data]\n    else:\n        headers = [f\"Col {i+1}\" for i in range(len(data[0]))]\n        rows = data\n    \n    # Build table\n    result = []\n    result.append('| ' + ' | '.join(headers) + ' |')\n    result.append('| ' + ' | '.join(['---'] * len(headers)) + ' |')\n    \n    for row in rows:\n        result.append('| ' + ' | '.join(str(cell) for cell in row) + ' |')\n    \n    return '\\n'.join(result)\n```\n\n## Usage Examples\n\n### Example 1: Extract JSON from API Response\n\n```\nInput (messy):\n\"API returned: {status: 'success', data: {users: [{id: 1, name: 'John'}, {id: 2, name: 'Jane'}]}, timestamp: '2026-03-16'}\"\n\nOutput (clean):\n{\n  \"status\": \"success\",\n  \"data\": {\n    \"users\": [\n      {\"id\": 1, \"name\": \"John\"},\n      {\"id\": 2, \"name\": \"Jane\"}\n    ]\n  },\n  \"timestamp\": \"2026-03-16\"\n}\n```\n\n### Example 2: Parse Mixed Log\n\n```\nInput:\n192.168.1.1 - - [16\u002FMar\u002F2026:12:00:00 +0000] \"GET \u002Fapi HTTP\u002F1.1\" 200 1234\n{\"level\": \"INFO\", \"message\": \"User logged in\", \"user_id\": 123}\nname=John action=login time=12:00\n\nOutput:\n[\n  {\"ip\": \"192.168.1.1\", \"timestamp\": \"16\u002FMar\u002F2026:12:00:00 +0000\", \"method\": \"GET\", \"path\": \"\u002Fapi\", \"status\": 200, \"size\": 1234},\n  {\"level\": \"INFO\", \"message\": \"User logged in\", \"user_id\": 123},\n  {\"name\": \"John\", \"action\": \"login\", \"time\": \"12:00\"}\n]\n```\n\n### Example 3: Clean CSV\n\n```\nInput (messy):\nname,age,city\n\"John\", 30, \"New York\"\n'Jane',,Los Angeles\n\"Bob\",\"forty\",\"Chicago\"\n\nOutput (clean):\n[\n  {\"name\": \"John\", \"age\": 30, \"city\": \"New York\"},\n  {\"name\": \"Jane\", \"age\": null, \"city\": \"Los Angeles\"},\n  {\"name\": \"Bob\", \"age\": \"forty\", \"city\": \"Chicago\"}\n]\n```\n\n## Best Practices\n\n1. **Always validate input** - Check format before parsing\n2. **Handle errors gracefully** - Log and continue or fail cleanly\n3. **Stream large files** - Don't load everything into memory\n4. **Normalize consistently** - Same rules for all data\n5. **Document transformations** - What changed and why\n6. **Preserve originals** - Keep raw data until confirmed clean\n7. **Test edge cases** - Empty, null, malformed, very large\n8. **Use appropriate types** - Numbers as numbers, dates as dates\n\n## Performance Tips\n\n1. **Use streaming** for files > 10MB\n2. **Batch processing** for database inserts\n3. **Parallel parsing** for independent chunks\n4. **Lazy evaluation** with generators\n5. **Cache parsed results** if reused frequently",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fd\u002Fdata-extractor",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill data-extractor",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill data-extractor",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill data-extractor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fd\u002Fdata-extractor\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]