a268aac4ec920b4d5ecd9097e640e325da54bd2be1d9fe6778045d6e2c44406bc8822e3464c1097fAuthored: 6 days ago (Wed, 19 Aug 2026 20:32:57 +0000)Match: Co-authored-by: Claude Opus 5 <noreply@anthropic.com>20f073e10c5c5ffb91710a99fdb30f598cbc1588Authored: 1 week ago (Wed, 12 Aug 2026 07:19:43 +0000)Match: Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>83d157b2fca82095cf11c30f535fa948e48a62a4Authored: 2 months ago (Wed, 27 May 2026 21:29:12 +0000)Match: Co-authored-by: Cursor <cursoragent@cursor.com>83d157b2fca82095cf11c30f535fa948e48a62a4Authored: 2 months ago (Wed, 27 May 2026 21:29:12 +0000)Match: Co-authored-by: Cursor <cursoragent@cursor.com>83d157b2fca82095cf11c30f535fa948e48a62a4Authored: 2 months ago (Wed, 27 May 2026 21:29:12 +0000)Match: Co-authored-by: Cursor <cursoragent@cursor.com>83d157b2fca82095cf11c30f535fa948e48a62a4Authored: 2 months ago (Wed, 27 May 2026 21:29:12 +0000)Match: Co-authored-by: Cursor <cursoragent@cursor.com>83d157b2fca82095cf11c30f535fa948e48a62a4Authored: 2 months ago (Wed, 27 May 2026 21:29:12 +0000)Match: Co-authored-by: Cursor <cursoragent@cursor.com>5f96ce019e084459e32b8bcf30a1552f871dc308Authored: 4 months ago (Sun, 29 Mar 2026 21:03:00 +0000)Match: https://claude.ai/code/session_01CwmwWkvZGLpTBY6ApKFi795f96ce019e084459e32b8bcf30a1552f871dc308Authored: 4 months ago (Sun, 29 Mar 2026 21:03:00 +0000)Match: Co-authored-by: Claude <noreply@anthropic.com>CLAUDE.mdTool: claude-code# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Engineering Principles
- **DRY** — extract repeated logic; no copy-paste code.
- **KISS** — simplest solution that works; no clever tricks.
- **YAGNI** — no code for hypothetical future needs.
- **SRP** — one function/class, one responsibility.
- **Fail fast** — validate at boundaries; trust internal code.
- No dead code, commented-out blocks, or unused imports.
- Every third-pa.claudeTool: claude-code.github/copilot-instructions.mdTool: github-copilot# Copilot Instructions for mail-parser
mail-parser is a **production-grade email parsing library** for Python that transforms raw email messages into
structured Python objects. Originally built as the foundation for [SpamScope](https://github.com/SpamScope/spamscope),
it excels at security analysis, forensics, and RFC-compliant email processing.
## Core Architecture
### Factory-Based API Pattern
**Always use factory functions** instead of direct `MailParser()` instantiation:
```python
import mailparser.github/instructionsTool: github-copilotnone