科研 Skill
硬件产品认证合规规划
compliance-planner
Plans certifications a hardware product needs per target market (FCC, CE/RED, UKCA, battery/radio rules), with cost and lead-time estimates. Use before PCB or enclosure tooling.
SKILL.md
Compliance planner
Find out what the product must pass before it can be sold in each market. Find out what it costs and how long it takes. Find out which design decisions make it cheaper. Write the result to hw/compliance.md.
Talk to the user in the user's language. Files are in English unless the user's project uses another language.
This is a planning aid, not legal advice. Say so once in the output, and do not repeat it in every paragraph. Never present a fee, date or rule as confirmed unless you read it in a primary source during this session.
Prerequisites
Run commands from inside this skill's own directory (the folder containing this SKILL.md), since script and reference paths below (such as scripts/foo.py) are written relative to it, not to the project root.
Inputs
| File | What you take from it |
|---|---|
hw/brief.md | target markets, launch order, quantities, who the users are (children?), where the product is used |
hw/architecture.md | radios, frequencies, TX power, internet connectivity, firmware updates |
hw/bom.csv | radio module or chip-down, battery chemistry, membranes, plated parts that touch skin |
hw/power/ | battery chemistry, capacity, Wh, removable or not, charger |
hw/mech/ | IP claim, openings, how the enclosure is sealed, skin-contact materials |
If a trait is missing, ask the user only when it changes the result: markets, radios, battery type, body-worn use, recording. Otherwise assume the stricter case and tag it [assumption].
Outputs
hw/compliance/traits.json: product traits (format intemplates/traits.example.json).hw/compliance/matrix.md: generated byscripts/compliance_matrix.py.hw/compliance.md: the plan, built fromtemplates/compliance.md.- Entries in
hw/decisions.mdfor each design lever the user accepts. - Entries in
hw/state.json→open_questionsfor items that other skills own. Examples: TX cap → firmware, battery door →enclosure-engineer, UN 38.3 in the cell contract →battery-and-power.
Procedure
-
Collect the traits. Fill
hw/compliance/traits.jsonfrom the inputs. Use the market codesUS CA EU UK BR JP KR CN AU IN. List the radios asble,bt_classic,wifi,nfc,gnss,lte,subghz,lora,zigbee,threadoruwb. Setproduct_category, for exampleitem_finderorwearable: item finders trigger the unwanted-tracking (DULT) rule. -
Run the matrix:
python3 scripts/compliance_matrix.py --traits hw/compliance/traits.json --out hw/compliance/matrix.md --show-skippedTest the script with
python3 scripts/test_compliance_matrix.py.The rules live in
references/rules.json. Each rule has conditions, a cost range, a lead time, an evidence level and design levers.- Project-local rules: if the product has a trait that no rule covers, research it and write the rule in
hw/compliance/rules.local.json, with the same schema. The script loads that file automatically from next to the traits file, or from--local-rules <file>. It merges the rules byid: a known id replaces the toolkit rule,"disabled": trueremoves it, and a new id is added. The matrix names every local change. Propose generic rules upstream toreferences/rules.json. - Battery chemistry:
battery.chemistrycan be a list when a cell is two things at once, for example["coin-cell", "li-primary"]for a CR2032. - Totals: a market's rows list everything that market requires, so shared requirements (RoHS, RF exposure, coin-cell clauses) appear in several markets. Budget with the bold Total, all target markets (each row once). Do not add the market rows together.
- Project-local rules: if the product has a trait that no rule covers, research it and write the rule in
-
Read the "Read first" block. It lists:
- BLOCKING rows, for example no sale in Brazil before homologation;
- CRITICAL PATH rows, for example UN 38.3 of a custom cell;
- DESIGN RISK rows, for example EU battery removability with a glued enclosure.
Report each of these to the user in plain words.
-
Verify what matters most. Pick the three to five rows with the highest cost or schedule impact. Try to read the primary source:
- the regulator's page or the official journal (eur-lex, fcc.gov/KDB, gov.br/anatel);
- the program's fee page (bluetooth.com).
Change a row's tag to
[verified: …, date]only when you read it. If a portal blocks you (CAPTCHA, 403), write that down and leave the row as an estimate. -
Apply the design levers. For each lever in
references/design-levers.mdthat fits the product, state the saving and the trade-off:- module or chip-down radio;
- TX power cap;
- number of openings;
- battery door or exception;
- no mains adapter;
- catalogue or custom cell;
- cybersecurity from day one;
- hardware recording indicator.
Recommend one option for each, and log the user's decision.
-
Write
hw/compliance.md. Use the template. The answer comes first: can it be sold, what blocks it, what to change, the budget and the longest path. Then give per-market detail, the levers, the schedule hooks forprototype-roadmap, what was verified, the RFQs to send and the open questions. -
Hand off.
cost-and-sourcingtakes the certification NRE (low and high).prototype-roadmaptakes the schedule hooks.doability-reviewtakes the blocking items and design risks.
Gate
The compliance stage passes when:
- every target market has a matrix section, and no market is "unknown";
- every BLOCKING and DESIGN RISK item has an owner and a decision, or an open question in
hw/state.json; - the certification budget (low and high) and its lead times are in
hw/compliance.md, with evidence tags; - the RFQ list names at least two labs or certification bodies for the main market.
Taste and pitfalls
- Launching "just a small batch" before certification. A launch batch of 100 units is still a sale. In markets like Brazil, radio products without homologation cannot be sold, and customs can hold them. Plan a pre-sale with delivery after certification.
- A custom cell inherits nothing. The vendor's catalogue cells may have UN 38.3 and IEC 62133-2, but a new shape is a new model. Its reports sit on the critical path before air shipping and before certification samples travel.
- The 3D model is not the certified product. Radio tests run on final hardware with final RF firmware settings. Antenna tuning inside the real enclosure, on a body, comes first.
- "Uses a certified module" does not mean "no certification". The end product still needs EMC, a declaration, labels, often its own certificate (Brazil) and sometimes RF exposure.
- A sealed, glued enclosure can be illegal in the EU from 2027-02-18 unless an exception applies. Settle this before tooling.
- Plated parts on skin. Nickel-plated magnets, contacts or clasps that touch skin trigger nickel-release limits. Keep them inside, or choose another finish.
- Membranes and PFAS. ePTFE vents and acoustic membranes are fluoropolymers. Qualify a PFAS-free alternative early.
- Bluetooth costs USD 11.5–12k per product even with a qualified chip
[verified: bluetooth.com, 2026-11-08]. First-time hardware teams often miss this. - Use only established labs and certification bodies. Never recommend unknown "certificate agents".
- Write numbers once. The matrix holds the rows.
hw/compliance.mdholds the decisions and the summary, and refers to the matrix instead of copying it.
References
references/rules.json: the rule data used by the script. Update it when you verify a rule.references/markets.md: how each market's process works (applicant, labs, labels, typical timing). Read it when you write the per-market section.references/design-levers.md: decisions that remove tests or shorten the schedule. Read it in step 5.templates/traits.example.json: traits for a fictional BLE fitness band.templates/compliance.md: the output template.
示例提示词
这款硬件要卖到欧美和中国市场,帮我梳理需要做哪些认证。
所属插件
安装该插件会一并获得同领域的 63 个 Skill / MCP。
同插件的其他科研 Skill
- ANDES电力系统动态仿真Runs ANDES power-system dynamic studies via PowerMCP: power flow, eigenvalue analysis, and time-domain simulation. Use for damping, stability, or oscillation-mode questions.
- 电池选型与电源预算Builds an evidence-tagged power budget and sizes a manufacturable battery with pouch outline, seals, and derating. Use when sizing runtime, mAh, charging, or supply rails.
- FPGA比特流生成与烧录Generates a Xilinx FPGA bitstream and programs it over JTAG, or burns an MCS image into flash for power-on boot. Use when flashing a board or diagnosing boot failures.
- 硬件项目发布包组装Assembles a hardware release package (fab files, BOM/CPL, carts, assembly guide, hashed manifest) and runs a ready-to-build gate. Use before ordering prototypes.
- 时钟域交叉风险审查Audits clock-domain-crossing risk on an FPGA design and applies the smallest safe synchronizer or constraint fix. Use to resolve CDC violations before sign-off.
- Vivado XDC时序约束编写Authors a Vivado XDC timing constraint set from scratch: clocks, I/O delays, and timing exceptions. Use first, before timing closure, on a design with no or incomplete constraints.
- N-1/N-2应急违规处置Playbook for N-1/N-2 contingency violations: ranks contingencies and proposes preventive and corrective actions. Use after a study shows voltage or thermal problems.
- 潮流计算不收敛诊断Playbook for power-flow convergence failures in PSS/E, PSLF, PowerWorld, pandapower, PyPSA, surge, or OpenDSS. Use when a case diverges or fails to solve.
- 硬件成本核算与采购Prices a hardware product at multiple volumes with one-time vs per-unit cost, landed cost per country, and sourcing leads. Use to estimate unit cost before a pitch.
- RTL仿真覆盖率收敛Measures RTL simulation code coverage and iteratively closes it toward a target by adding testbench stimulus. Use for a sign-off-grade coverage report.
- 配电网DER接纳能力治理Playbook for distribution DER hosting-capacity limits: voltage rise, reverse flow, and thermal limits from PV and storage. Use to estimate how much DER a feeder can host.
- 电子电路设计与审查Designs, audits, or corrects an electronic circuit from a brief, schematic, or netlist, checking power domains, reset sequencing, and ratings. Use for circuit review.
- 硬件可制造性红队审查Red-team audit that fix-loops a hardware project to ready-to-build, re-deriving parts, rails, battery physics, and cost. Use for a reality check before committing to a design.
- 电力系统动态稳定处置Playbook for dynamic stability problems: poor damping, angle instability, or sustained oscillations from eigenvalue or time-domain studies. Use after an unstable study result.
- Egret电力市场调度优化Runs Egret market/operations optimization (DC-OPF, AC-OPF, unit commitment) via PowerMCP. Use for cheapest dispatch, unit commitment, or congestion checks.
- 电子元器件选型核查Researches electronic components against primary sources: part numbers, datasheet limits, lifecycle, stock, and price breaks, one dossier per part. Use to verify or source a BOM.
- EMC电磁兼容预测试Plans grounding, shielding, and filtering for EMC/EMI, and runs an emissions pre-scan with a root-cause fix sequence. Use before a lab test or after a failed EMI scan.
- 产品外壳参数化建模Designs a hardware enclosure as parametric CAD with STEP/STL/GLB output, a DFM check, and Blender assembly validation. Use when designing a case or checking fit.
- 电网频率响应问题处置Playbook for frequency problems: low inertia, high RoCoF, weak primary response, or UFLS risk after loss of the largest unit. Use when a study flags frequency issues.
- FPGA RTL到比特流全流程Drives a Xilinx FPGA design end to end through RTL, simulation, synthesis, implementation, and bitstream, gated at every stage. Use to run the complete build flow in one pass.
- 硬件产品全流程总协调Leads a physical electronic product from idea to a doable design, coordinating specs, parts, battery, PCB, enclosure, render, and cost sub-skills. Use starting a hardware product.
- 硬件原理图与BOM审查Reviews hardware projects: checks schematics against datasheets, pin connections, and firmware-to-hardware alignment across KiCad/Altium files. Use for a design alignment check.
- FPGA ILA在线逻辑调试Inserts an Integrated Logic Analyzer, programs the board, arms a trigger, and reads captured waveforms on real FPGA hardware. Use when sim passes but the board fails.
- 新能源并网影响评估Playbook for screening the grid impact of a new generator, storage, or large-load interconnection. Use to check whether a given MW can connect and what upgrades it needs.
常见问题
硬件产品认证合规规划能做什么?
Plans certifications a hardware product needs per target market (FCC, CE/RED, UKCA, battery/radio rules), with cost and lead-time estimates. Use before PCB or enclosure tooling。
如何安装硬件产品认证合规规划?
在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「硬件产品认证合规规划」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。
硬件产品认证合规规划需要哪些权限?
该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。
硬件产品认证合规规划经过官方审核吗?
是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。