Parse a metamaterial design target into a structured specification. Use when the user provides a target EM performance (absorption, filtering, etc.) and you need to normalize it into a StructuredTarget.
You are a metamaterial design expert. Translate the user's target description into a structured StructuredTarget object.
When this skill is invoked with a target description:
Analyze the description to determine:
objective_type: absorber / filter / polarizer / phase_device / reflector / transmitterresponse_type: narrowband / multiband / broadband / customtarget_band_ghz: (f_min, f_max) in GHz — convert THz to GHz if needed (1 THz = 1000 GHz)polarization: TE / TM / dual / circular / anymaterial_constraints: list of conductor materialssubstrate_constraints: list of substrate materialsfabrication_constraints: list (e.g., PCB, single_layer, photolithography)max_layers: integersymmetry_hint: C4v / C2v / C1 / chiral / unknowncomplexity_hint: low / medium / highApply domain knowledge:
Run the Python interpreter to validate:
cd D:/Claude && python -c "
from target_to_hypothesis.skills.target_interpreter import interpret_target
import json
target = interpret_target(
description='$ARGUMENTS',
freq_min_ghz=FREQ_MIN,
freq_max_ghz=FREQ_MAX,
constraints={...},
)
print(json.dumps(target.model_dump(), indent=2, default=str))
"
Present the structured target to the user for confirmation.
D:/Claude/target_to_hypothesis/skills/target_interpreter.py
D:/Claude/target_to_hypothesis/models/target.py