[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MDYNQWCT8HY6TTNKYVRCR3":3,"skill-same:01M6MDYNQWCT8HY6TTNKYVRCR3":121},{"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":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6MDYNQWCT8HY6TTNKYVRCR3","emc",null,"EMC pre-compliance risk analysis for KiCad PCB designs — 18 check categories, 44 rule IDs covering ground planes, decoupling, I\u002FO filtering, switching harmonics, clock routing, differential pair skew, board edge radiation, PDN impedance, return paths, crosstalk, ESD protection, shielding, and magnetic leakage from switching inductors. Produces severity-ranked risk report with pre-compliance test plan. Supports FCC Part 15, CISPR 32, CISPR 25 (automotive), MIL-STD-461G. SPICE-enhanced when available. Use when the user asks about EMC, EMI, radiated\u002Fconducted emissions, FCC compliance, CE marking, CISPR, ground plane issues, decoupling strategy, clock routing EMC, switching noise, differential pair skew, or whether their board will pass EMC testing. Also for \"will this pass FCC?\", \"check my EMC\", \"is my ground plane okay?\", \"check my decoupling\", or \"generate an EMC test plan\".","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"EMC","generate","automotive","when","test plan","risk","kicad pcb","kicad","pcb","pair","my","paths","plan","plane","analysis","switching","issues","testing","radiation","ids","categories","2026-11-10 10:12:30",false,"---\nname: emc\ndescription: >-\n  EMC pre-compliance risk analysis for KiCad PCB designs — 18 check categories,\n  44 rule IDs covering ground planes, decoupling, I\u002FO filtering, switching\n  harmonics, clock routing, differential pair skew, board edge radiation, PDN\n  impedance, return paths, crosstalk, ESD protection, shielding, and magnetic\n  leakage from switching inductors. Produces\n  severity-ranked risk report with pre-compliance test plan. Supports FCC\n  Part 15, CISPR 32, CISPR 25 (automotive), MIL-STD-461G. SPICE-enhanced when\n  available. Use when the user asks about EMC, EMI, radiated\u002Fconducted\n  emissions, FCC compliance, CE marking, CISPR, ground plane issues, decoupling\n  strategy, clock routing EMC, switching noise, differential pair skew, or\n  whether their board will pass EMC testing. Also for \"will this pass FCC?\",\n  \"check my EMC\", \"is my ground plane okay?\", \"check my decoupling\", or\n  \"generate an EMC test plan\".\n---\n\n# EMC Pre-Compliance Skill\n\nAutomated EMC risk analysis for KiCad PCB designs. Identifies the most common causes of EMC test failures using geometric rule checks, analytical emission formulas, and optional SPICE simulation.\n\n**This is a risk analyzer, not a compliance predictor.** It catches ~70% of common EMC design mistakes before fabrication. It cannot guarantee FCC\u002FCISPR compliance — only a calibrated measurement in an accredited lab can do that. But it can reduce the first-spin failure rate from ~50% toward ~20-30%, potentially saving $5K-$50K per avoided board respin.\n\n## Related Skills\n\n| Skill | Purpose |\n|-------|---------|\n| `kicad` | Schematic\u002FPCB analysis — produces the analyzer JSON this skill consumes |\n| `kicad` (thermal) | Thermal hotspot analysis — MLCC derating and ferrite\u002Finductor overheating findings can amplify EMC decoupling and filter issues (an over-stressed MLCC degrades; a hot ferrite drifts impedance). Worth cross-checking when EMC flags DC-001\u002FDC-002 or EF-001\u002FEF-002. |\n| `spice` | SPICE simulation — provides simulator backend for SPICE-enhanced PDN\u002Ffilter checks |\n\n**Handoff guidance:** Run the `kicad` skill's `analyze_schematic.py` and `analyze_pcb.py --schematic` first — this skill consumes their JSON output. Use `--full` on the PCB analyzer for best results (enables per-track coordinates for ground plane crossing, edge proximity, and return path checks). During a design review, run EMC analysis after the schematic\u002FPCB analyzers, SPICE simulation, and thermal analysis, then incorporate EMC findings into the report.\n\n## Requirements\n\n- **Python 3.10+** — stdlib only, no pip dependencies\n- **Schematic analyzer JSON** — from `analyze_schematic.py --output`\n- **PCB analyzer JSON** — from `analyze_pcb.py --full --schematic \u003Csch> --output` (recommended with `--full`)\n- **SPICE simulator** *(optional)* — ngspice, LTspice, or Xyce for SPICE-enhanced PDN\u002Ffilter checks. Auto-detected. Without one, analytical models run unchanged.\n\n## Workflow\n\n### Step 1: Run the analyzers\n\n```bash\npython3 \u003Ckicad-skill-path>\u002Fscripts\u002Fanalyze_schematic.py design.kicad_sch --analysis-dir analysis\u002F\npython3 \u003Ckicad-skill-path>\u002Fscripts\u002Fanalyze_pcb.py design.kicad_pcb --full --schematic analysis\u002F\u003Crun_id>\u002Fschematic.json --analysis-dir analysis\u002F\n```\n\n### Step 2: Run EMC analysis\n\nPass `--analysis-dir analysis\u002F` — the script auto-resolves `schematic.json`\nand `pcb.json` from the manifest's current run, and writes `emc.json` into\nthe same folder so the manifest tracks it.\n\n```bash\n# Recommended: auto-resolve inputs from the current run\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F\n\n# Equivalent — explicit paths still accepted (and required if you want to\n# point at a non-current run or override one input)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py \\\n    --schematic analysis\u002F\u003Crun_id>\u002Fschematic.json \\\n    --pcb analysis\u002F\u003Crun_id>\u002Fpcb.json \\\n    --analysis-dir analysis\u002F\n\n# One-off JSON (bypasses the cache)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --schematic schematic.json --pcb pcb.json --output emc.json\n\n# SPICE-enhanced (improved PDN and filter accuracy)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --spice-enhanced\n\n# Select target standard\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --standard cispr-class-b\n\n# Select target market (sets all applicable standards)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --market eu\n\n# Filter by severity (high = error findings only)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --severity high\n\n# Human-readable text output\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --text\n```\n\n### Optional: Screen supplied harmonic lines against supplied limits\n\nFor spectral lines that are already expressed as RMS dBµV, dBµV\u002Fm, or dBµA, use the standalone screen. Levels must be RMS: subtract 3.01 dB from peak-amplitude spectra first. This skill's `harmonic_spectrum()` gives switch-node source amplitudes, not emission levels, so it is not a valid input without a coupling\u002Fpath model.\n\n**Limit values must come from the user.** Build a limit profile only from limit values the user provides, together with their source (for example a standard's edition and table or clause, where applicable), and record that source in `source.citation`. Never write limit tables from memory or fill in missing bands, detectors, or units; if the user has not supplied limits, ask for them instead of running the screen.\n\n```bash\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_harmonic_limits.py \\\n  --spectrum harmonic-lines.json \\\n  --limits limit-profile.json \\\n  --limit-column peak \\\n  --output harmonic-limit-screen.json\n```\n\nThis command is separate from `analyze_emc.py`. It does not calculate a spectrum, add an EMC finding, change the risk score, write `emc.json`, or determine compliance. See [Harmonic-Limit Screening](references\u002Fharmonic-limit-screen.md) for the input schemas and interpretation boundary.\n\n### Step 3: Interpret results\n\nRead the JSON report and incorporate findings into the design review. Each finding has a severity, rule ID, description, and actionable recommendation. See \"Interpreting Results\" below.\n\n## What Gets Checked\n\n44 rule IDs across 18 categories. Each rule has a specific threshold, rationale, and source citation — see `references\u002Fpcb-emc-rules.md` for full details.\n\n| Category | Rules | What it detects |\n|----------|-------|-----------------|\n| **Ground plane** | GP-001 to GP-005 | Signal crossing voids or plane splits, zone fragmentation, missing ground planes, low fill ratio, multiple ground domains |\n| **Decoupling** | DC-001 to DC-003 | Cap too far from IC, IC with no decoupling cap, cap too far from via |\n| **I\u002FO filtering** | IO-001, IO-002 | Connector without filtering, insufficient ground pins |\n| **Switching EMC** | SW-001 to SW-003 | Harmonic overlap, switching node copper area, input cap loop area |\n| **Clock routing** | CK-001 to CK-004 | Clock on outer layer, long trace, clock near connector, no ground pour near a crystal |\n| **Via stitching** | VS-001 | Ground via spacing exceeds λ\u002F20 at highest frequency |\n| **Stackup** | SU-001 to SU-003 | Adjacent signal layers, signal far from reference plane, thin interplane capacitance |\n| **Diff pair** | DP-001 to DP-004 | Intra-pair skew vs protocol limits, CM radiation, reference plane change, outer layer routing |\n| **Board edge** | BE-001 to BE-003 | Signal near edge, incomplete ground pour ring, connector area stitching |\n| **PDN impedance** | PD-001 to PD-004 | Anti-resonance peaks, distributed rail impedance at IC load points, cross-rail coupling from downstream switching regulators |\n| **Return path** | RP-001 | Layer transition via without nearby ground stitching via |\n| **Crosstalk** | XT-001 | 3H spacing violation, aggressor-victim pairs |\n| **EMI filter** | EF-001, EF-002 | Filter cutoff too close to switching frequency (analytical or SPICE insertion loss) |\n| **ESD path** | ES-001, ES-002 | TVS too far from connector, insufficient ground vias near TVS |\n| **Thermal-EMC** | TH-001, TH-002 | MLCC DC bias derating (SRF shift), ferrite near heat source |\n| **Shielding** | SH-001 | Connector aperture slot resonance near emission source |\n| **Emission estimates** | EE-001, EE-002 | Board cavity resonance, switching harmonic envelope |\n| **Inductor leakage** | ML-001 | Unshielded or unknown-shielding switching inductor within 15 mm of an ADC, op-amp, crystal or RF part |\n\n**Advisory outputs** (not findings):\n- **Pre-compliance test plan** — frequency band prioritization, interface risk ranking, near-field probe points\n- **Regulatory coverage** — market-to-standards mapping, coverage matrix (what the tool checks vs what requires lab testing)\n\n## Output Format\n\n```json\n{\n  \"summary\": {\n    \"total_findings\": 27, \"categories_checked\": 12,\n    \"active\": 27, \"suppressed\": 0,\n    \"by_severity\": {\"error\": 2, \"warning\": 10, \"info\": 15},\n    \"emc_risk_score\": 73\n  },\n  \"target_standard\": \"fcc-class-b\",\n  \"findings\": [\n    {\n      \"category\": \"ground_plane\",\n      \"severity\": \"error\",\n      \"rule_id\": \"GP-001\",\n      \"summary\": \"Signal crosses ground plane void\",\n      \"description\": \"Net SPI_CLK crosses a 3.2mm gap in GND on In1.Cu\",\n      \"components\": [\"U3\", \"U7\"],\n      \"nets\": [\"SPI_CLK\"],\n      \"recommendation\": \"Route around the gap, or fill the void\"\n    }\n  ],\n  \"per_net_scores\": [\n    {\"net\": \"SPI_CLK\", \"score\": 79, \"finding_count\": 3, \"rules\": [\"GP-001\", \"CK-001\", \"BE-001\"]}\n  ],\n  \"test_plan\": {\n    \"frequency_bands\": [{\"band\": \"30-88 MHz\", \"risk_level\": \"high\", \"source_count\": 12}],\n    \"interface_risks\": [{\"connector\": \"J1\", \"protocol\": \"USB\", \"risk_score\": 8}],\n    \"probe_points\": [{\"ref\": \"L1\", \"x\": 45.2, \"y\": 32.1, \"reason\": \"switching inductor\"}]\n  },\n  \"regulatory_coverage\": {\n    \"market\": \"us\",\n    \"applicable_standards\": [\"FCC Part 15 Class B\"],\n    \"coverage_matrix\": [{\"standard\": \"...\", \"coverage\": \"partial\", \"note\": \"...\"}]\n  }\n}\n```\n\n### Severity Levels\n\n| Severity | Meaning | Action |\n|----------|---------|--------|\n| **error** | Likely to cause an EMC failure | Fix before fabrication |\n| **warning** | May cause issues depending on specifics | Review and assess |\n| **info** | Informational — frequencies, estimates, good practice | Useful for lab prep |\n\n`--severity` takes the older five-level names as the threshold: `critical` and `high` keep `error` findings, `medium` keeps `error` and `warning`, `low` and `all` keep everything.\n\n### Risk Score\n\nEach rule ID contributes at most 3 findings to the score (worst severity first). This prevents per-net rules like GP-001 from saturating the score on 2-layer boards. All findings are still reported — only the score is capped.\n\n`penalty = sum(severity weight × confidence weight, worst 3 per rule)`, `score = max(0, min(100, 100 - penalty))`; weights error 12, warning 3, info 0; heuristic findings count half. 0 is worst and 100 best, and the score can be fractional. It covers every unsuppressed finding; `--severity` only filters the emitted list. Scores below 50 indicate significant EMC risk.\n\n## Interpreting Results\n\n**Ground plane findings** — Any `error` finding (signal crossing a void) is almost always a real problem. Fix unconditionally.\n\n**Decoupling findings** — Distance-based findings have moderate false positive rates. A cap at 6mm may be fine for a low-speed IC but problematic for a 100MHz clock buffer. Use frequency context to prioritize.\n\n**I\u002FO filtering** — Highly relevant for cable-connected products. For board-to-board connections inside an enclosure, the risk is lower.\n\n**Diff pair findings** — Protocol-specific skew limits are well-defined. USB HS (25ps, when the part is known to be high-speed; other USB pairs get the full-speed budget), PCIe (5ps), Ethernet (50ps). Findings exceeding these limits are real issues.\n\n**PDN findings** — Anti-resonance peaks are real and cause voltage droop. SPICE-verified findings are more accurate than analytical. If a peak is flagged, add a capacitor with SRF near the peak frequency.\n\n**Emission estimates** — Order-of-magnitude estimates (±10-20 dB). Use them to prioritize frequency bands for pre-compliance testing, not to predict pass\u002Ffail.\n\n## EMC Standards\n\n| Standard | Flag | Use Case |\n|----------|------|----------|\n| FCC Part 15 Class B | `fcc-class-b` | US residential (default) |\n| FCC Part 15 Class A | `fcc-class-a` | US commercial\u002Findustrial |\n| CISPR 32 Class B | `cispr-class-b` | International (EU CE marking) |\n| CISPR 32 Class A | `cispr-class-a` | International commercial |\n| CISPR 25 Class 5 | `cispr-25` | Automotive (strictest) |\n| MIL-STD-461G RE102 | `mil-std-461` | Military\u002Fdefense |\n\nThe `--market` flag maps markets to all applicable standards: `us`, `eu`, `automotive`, `medical`, `military`.\n\n## Limitations\n\n- Cannot predict absolute emission levels better than ±10-20 dB\n- Cannot account for enclosure effects (shielding, apertures, seams)\n- Cannot predict cable radiation without knowing external cable routing\n- Cannot replace full-wave simulation for complex geometries\n- Cannot guarantee compliance — only accredited lab measurement can\n","# EMC Pre-Compliance Skill\n\nAutomated EMC risk analysis for KiCad PCB designs. Identifies the most common causes of EMC test failures using geometric rule checks, analytical emission formulas, and optional SPICE simulation.\n\n**This is a risk analyzer, not a compliance predictor.** It catches ~70% of common EMC design mistakes before fabrication. It cannot guarantee FCC\u002FCISPR compliance — only a calibrated measurement in an accredited lab can do that. But it can reduce the first-spin failure rate from ~50% toward ~20-30%, potentially saving $5K-$50K per avoided board respin.\n\n## Related Skills\n\n| Skill | Purpose |\n|-------|---------|\n| `kicad` | Schematic\u002FPCB analysis — produces the analyzer JSON this skill consumes |\n| `kicad` (thermal) | Thermal hotspot analysis — MLCC derating and ferrite\u002Finductor overheating findings can amplify EMC decoupling and filter issues (an over-stressed MLCC degrades; a hot ferrite drifts impedance). Worth cross-checking when EMC flags DC-001\u002FDC-002 or EF-001\u002FEF-002. |\n| `spice` | SPICE simulation — provides simulator backend for SPICE-enhanced PDN\u002Ffilter checks |\n\n**Handoff guidance:** Run the `kicad` skill's `analyze_schematic.py` and `analyze_pcb.py --schematic` first — this skill consumes their JSON output. Use `--full` on the PCB analyzer for best results (enables per-track coordinates for ground plane crossing, edge proximity, and return path checks). During a design review, run EMC analysis after the schematic\u002FPCB analyzers, SPICE simulation, and thermal analysis, then incorporate EMC findings into the report.\n\n## Requirements\n\n- **Python 3.10+** — stdlib only, no pip dependencies\n- **Schematic analyzer JSON** — from `analyze_schematic.py --output`\n- **PCB analyzer JSON** — from `analyze_pcb.py --full --schematic \u003Csch> --output` (recommended with `--full`)\n- **SPICE simulator** *(optional)* — ngspice, LTspice, or Xyce for SPICE-enhanced PDN\u002Ffilter checks. Auto-detected. Without one, analytical models run unchanged.\n\n## Workflow\n\n### Step 1: Run the analyzers\n\n```bash\npython3 \u003Ckicad-skill-path>\u002Fscripts\u002Fanalyze_schematic.py design.kicad_sch --analysis-dir analysis\u002F\npython3 \u003Ckicad-skill-path>\u002Fscripts\u002Fanalyze_pcb.py design.kicad_pcb --full --schematic analysis\u002F\u003Crun_id>\u002Fschematic.json --analysis-dir analysis\u002F\n```\n\n### Step 2: Run EMC analysis\n\nPass `--analysis-dir analysis\u002F` — the script auto-resolves `schematic.json`\nand `pcb.json` from the manifest's current run, and writes `emc.json` into\nthe same folder so the manifest tracks it.\n\n```bash\n# Recommended: auto-resolve inputs from the current run\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F\n\n# Equivalent — explicit paths still accepted (and required if you want to\n# point at a non-current run or override one input)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py \\\n    --schematic analysis\u002F\u003Crun_id>\u002Fschematic.json \\\n    --pcb analysis\u002F\u003Crun_id>\u002Fpcb.json \\\n    --analysis-dir analysis\u002F\n\n# One-off JSON (bypasses the cache)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --schematic schematic.json --pcb pcb.json --output emc.json\n\n# SPICE-enhanced (improved PDN and filter accuracy)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --spice-enhanced\n\n# Select target standard\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --standard cispr-class-b\n\n# Select target market (sets all applicable standards)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --market eu\n\n# Filter by severity (high = error findings only)\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --severity high\n\n# Human-readable text output\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_emc.py --analysis-dir analysis\u002F --text\n```\n\n### Optional: Screen supplied harmonic lines against supplied limits\n\nFor spectral lines that are already expressed as RMS dBµV, dBµV\u002Fm, or dBµA, use the standalone screen. Levels must be RMS: subtract 3.01 dB from peak-amplitude spectra first. This skill's `harmonic_spectrum()` gives switch-node source amplitudes, not emission levels, so it is not a valid input without a coupling\u002Fpath model.\n\n**Limit values must come from the user.** Build a limit profile only from limit values the user provides, together with their source (for example a standard's edition and table or clause, where applicable), and record that source in `source.citation`. Never write limit tables from memory or fill in missing bands, detectors, or units; if the user has not supplied limits, ask for them instead of running the screen.\n\n```bash\npython3 \u003Cskill-path>\u002Fscripts\u002Fanalyze_harmonic_limits.py \\\n  --spectrum harmonic-lines.json \\\n  --limits limit-profile.json \\\n  --limit-column peak \\\n  --output harmonic-limit-screen.json\n```\n\nThis command is separate from `analyze_emc.py`. It does not calculate a spectrum, add an EMC finding, change the risk score, write `emc.json`, or determine compliance. See [Harmonic-Limit Screening](references\u002Fharmonic-limit-screen.md) for the input schemas and interpretation boundary.\n\n### Step 3: Interpret results\n\nRead the JSON report and incorporate findings into the design review. Each finding has a severity, rule ID, description, and actionable recommendation. See \"Interpreting Results\" below.\n\n## What Gets Checked\n\n44 rule IDs across 18 categories. Each rule has a specific threshold, rationale, and source citation — see `references\u002Fpcb-emc-rules.md` for full details.\n\n| Category | Rules | What it detects |\n|----------|-------|-----------------|\n| **Ground plane** | GP-001 to GP-005 | Signal crossing voids or plane splits, zone fragmentation, missing ground planes, low fill ratio, multiple ground domains |\n| **Decoupling** | DC-001 to DC-003 | Cap too far from IC, IC with no decoupling cap, cap too far from via |\n| **I\u002FO filtering** | IO-001, IO-002 | Connector without filtering, insufficient ground pins |\n| **Switching EMC** | SW-001 to SW-003 | Harmonic overlap, switching node copper area, input cap loop area |\n| **Clock routing** | CK-001 to CK-004 | Clock on outer layer, long trace, clock near connector, no ground pour near a crystal |\n| **Via stitching** | VS-001 | Ground via spacing exceeds λ\u002F20 at highest frequency |\n| **Stackup** | SU-001 to SU-003 | Adjacent signal layers, signal far from reference plane, thin interplane capacitance |\n| **Diff pair** | DP-001 to DP-004 | Intra-pair skew vs protocol limits, CM radiation, reference plane change, outer layer routing |\n| **Board edge** | BE-001 to BE-003 | Signal near edge, incomplete ground pour ring, connector area stitching |\n| **PDN impedance** | PD-001 to PD-004 | Anti-resonance peaks, distributed rail impedance at IC load points, cross-rail coupling from downstream switching regulators |\n| **Return path** | RP-001 | Layer transition via without nearby ground stitching via |\n| **Crosstalk** | XT-001 | 3H spacing violation, aggressor-victim pairs |\n| **EMI filter** | EF-001, EF-002 | Filter cutoff too close to switching frequency (analytical or SPICE insertion loss) |\n| **ESD path** | ES-001, ES-002 | TVS too far from connector, insufficient ground vias near TVS |\n| **Thermal-EMC** | TH-001, TH-002 | MLCC DC bias derating (SRF shift), ferrite near heat source |\n| **Shielding** | SH-001 | Connector aperture slot resonance near emission source |\n| **Emission estimates** | EE-001, EE-002 | Board cavity resonance, switching harmonic envelope |\n| **Inductor leakage** | ML-001 | Unshielded or unknown-shielding switching inductor within 15 mm of an ADC, op-amp, crystal or RF part |\n\n**Advisory outputs** (not findings):\n- **Pre-compliance test plan** — frequency band prioritization, interface risk ranking, near-field probe points\n- **Regulatory coverage** — market-to-standards mapping, coverage matrix (what the tool checks vs what requires lab testing)\n\n## Output Format\n\n```json\n{\n  \"summary\": {\n    \"total_findings\": 27, \"categories_checked\": 12,\n    \"active\": 27, \"suppressed\": 0,\n    \"by_severity\": {\"error\": 2, \"warning\": 10, \"info\": 15},\n    \"emc_risk_score\": 73\n  },\n  \"target_standard\": \"fcc-class-b\",\n  \"findings\": [\n    {\n      \"category\": \"ground_plane\",\n      \"severity\": \"error\",\n      \"rule_id\": \"GP-001\",\n      \"summary\": \"Signal crosses ground plane void\",\n      \"description\": \"Net SPI_CLK crosses a 3.2mm gap in GND on In1.Cu\",\n      \"components\": [\"U3\", \"U7\"],\n      \"nets\": [\"SPI_CLK\"],\n      \"recommendation\": \"Route around the gap, or fill the void\"\n    }\n  ],\n  \"per_net_scores\": [\n    {\"net\": \"SPI_CLK\", \"score\": 79, \"finding_count\": 3, \"rules\": [\"GP-001\", \"CK-001\", \"BE-001\"]}\n  ],\n  \"test_plan\": {\n    \"frequency_bands\": [{\"band\": \"30-88 MHz\", \"risk_level\": \"high\", \"source_count\": 12}],\n    \"interface_risks\": [{\"connector\": \"J1\", \"protocol\": \"USB\", \"risk_score\": 8}],\n    \"probe_points\": [{\"ref\": \"L1\", \"x\": 45.2, \"y\": 32.1, \"reason\": \"switching inductor\"}]\n  },\n  \"regulatory_coverage\": {\n    \"market\": \"us\",\n    \"applicable_standards\": [\"FCC Part 15 Class B\"],\n    \"coverage_matrix\": [{\"standard\": \"...\", \"coverage\": \"partial\", \"note\": \"...\"}]\n  }\n}\n```\n\n### Severity Levels\n\n| Severity | Meaning | Action |\n|----------|---------|--------|\n| **error** | Likely to cause an EMC failure | Fix before fabrication |\n| **warning** | May cause issues depending on specifics | Review and assess |\n| **info** | Informational — frequencies, estimates, good practice | Useful for lab prep |\n\n`--severity` takes the older five-level names as the threshold: `critical` and `high` keep `error` findings, `medium` keeps `error` and `warning`, `low` and `all` keep everything.\n\n### Risk Score\n\nEach rule ID contributes at most 3 findings to the score (worst severity first). This prevents per-net rules like GP-001 from saturating the score on 2-layer boards. All findings are still reported — only the score is capped.\n\n`penalty = sum(severity weight × confidence weight, worst 3 per rule)`, `score = max(0, min(100, 100 - penalty))`; weights error 12, warning 3, info 0; heuristic findings count half. 0 is worst and 100 best, and the score can be fractional. It covers every unsuppressed finding; `--severity` only filters the emitted list. Scores below 50 indicate significant EMC risk.\n\n## Interpreting Results\n\n**Ground plane findings** — Any `error` finding (signal crossing a void) is almost always a real problem. Fix unconditionally.\n\n**Decoupling findings** — Distance-based findings have moderate false positive rates. A cap at 6mm may be fine for a low-speed IC but problematic for a 100MHz clock buffer. Use frequency context to prioritize.\n\n**I\u002FO filtering** — Highly relevant for cable-connected products. For board-to-board connections inside an enclosure, the risk is lower.\n\n**Diff pair findings** — Protocol-specific skew limits are well-defined. USB HS (25ps, when the part is known to be high-speed; other USB pairs get the full-speed budget), PCIe (5ps), Ethernet (50ps). Findings exceeding these limits are real issues.\n\n**PDN findings** — Anti-resonance peaks are real and cause voltage droop. SPICE-verified findings are more accurate than analytical. If a peak is flagged, add a capacitor with SRF near the peak frequency.\n\n**Emission estimates** — Order-of-magnitude estimates (±10-20 dB). Use them to prioritize frequency bands for pre-compliance testing, not to predict pass\u002Ffail.\n\n## EMC Standards\n\n| Standard | Flag | Use Case |\n|----------|------|----------|\n| FCC Part 15 Class B | `fcc-class-b` | US residential (default) |\n| FCC Part 15 Class A | `fcc-class-a` | US commercial\u002Findustrial |\n| CISPR 32 Class B | `cispr-class-b` | International (EU CE marking) |\n| CISPR 32 Class A | `cispr-class-a` | International commercial |\n| CISPR 25 Class 5 | `cispr-25` | Automotive (strictest) |\n| MIL-STD-461G RE102 | `mil-std-461` | Military\u002Fdefense |\n\nThe `--market` flag maps markets to all applicable standards: `us`, `eu`, `automotive`, `medical`, `military`.\n\n## Limitations\n\n- Cannot predict absolute emission levels better than ±10-20 dB\n- Cannot account for enclosure effects (shielding, apertures, seams)\n- Cannot predict cable radiation without knowing external cable routing\n- Cannot replace full-wave simulation for complex geometries\n- Cannot guarantee compliance — only accredited lab measurement can\n",{"name":5,"description":7},"main","47790c5af225ba335e83c027413077333397539e","plugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill emc",{"tool":61,"command":62},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill emc",{"tool":64,"command":65},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill emc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002FSKILL.md",true,[69,75,79,83,87,93,97,101,105,109,113,117],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Femc-methodology.md","REFERENCE","参考文档",12042,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Freferences\u002Femc-methodology.md",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Femc-standards.md",5806,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Freferences\u002Femc-standards.md",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fharmonic-limit-screen.md",8538,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Freferences\u002Fharmonic-limit-screen.md",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fpcb-emc-rules.md",31066,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Freferences\u002Fpcb-emc-rules.md",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002F_core_path.py","SCRIPT","脚本",697,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Fscripts\u002F_core_path.py",{"path":94,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fanalyze_emc.py",26668,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Fscripts\u002Fanalyze_emc.py",{"path":98,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Fanalyze_harmonic_limits.py",17704,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Fscripts\u002Fanalyze_harmonic_limits.py",{"path":102,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Femc_envelope.py",13190,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Fscripts\u002Femc_envelope.py",{"path":106,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Femc_formulas.py",49733,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Fscripts\u002Femc_formulas.py",{"path":110,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Femc_rules.py",202741,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Fscripts\u002Femc_rules.py",{"path":114,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Femc_spice.py",26355,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Fscripts\u002Femc_spice.py",{"path":118,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Ftest_analyze_harmonic_limits.py",36969,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Faklofas\u002Fkicad-happy\u002Fskills\u002Femc\u002Fscripts\u002Ftest_analyze_harmonic_limits.py",[122,132,140,148,156,164],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":131},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":131},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":144,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":131},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":152,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":131},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":160,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":131},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":126,"licenseFileUrl":168,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":131},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]