[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CX166KE4GTR8BXQ4BDYTFF":3,"skill-same:01M6CX166KE4GTR8BXQ4BDYTFF":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M6CX166KE4GTR8BXQ4BDYTFF","mechanical-engineering",null,"Mechanical engineering fundamentals including statics, dynamics, machine design, heat transfer, fluid mechanics, and manufacturing processes","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fmechanical-engineering\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[23,24,25,26,27,28],"engineering","mechanical engineering","design","fluid","transfer","opencode","2026-11-10 10:12:30",false,"---\nname: mechanical-engineering\ndescription: Mechanical engineering fundamentals including statics, dynamics, machine design, heat transfer, fluid mechanics, and manufacturing processes\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: engineers\n  category: engineering\n---\n\n## What I do\n- Analyze forces and moments in static and dynamic systems\n- Design mechanical components and machine elements\n- Calculate thermal loads and heat transfer rates\n- Model fluid flow and pressure distributions\n- Specify manufacturing processes and materials\n- Perform finite element analysis for stress analysis\n- Create detailed engineering drawings and specifications\n\n## When to use me\nWhen designing mechanical systems, analyzing structural behavior, calculating thermal performance, or specifying manufacturing requirements for mechanical components.\n\n## Core Concepts\n- Statics and equilibrium equations\n- Dynamics and vibrational analysis\n- Stress-strain relationships and failure criteria\n- Heat conduction, convection, and radiation\n- Fluid statics and dynamics (Bernoulli, Navier-Stokes)\n- Machine elements (gears, bearings, shafts, fasteners)\n- Manufacturing processes (CNC, casting, forging, additive manufacturing)\n- Finite element analysis basics\n- Materials selection and properties\n- Thermodynamic cycles and energy conversion\n\n## Code Examples\n\n### Stress Analysis Calculator\n```python\nimport math\nfrom dataclasses import dataclass\nfrom typing import Tuple\n\n@dataclass\nclass Material:\n    name: str\n    yield_strength: float  # MPa\n    ultimate_strength: float  # MPa\n    elastic_modulus: float  # GPa\n    poisson_ratio: float\n\nALUMINUM_6061 = Material(\n    name=\"Aluminum 6061-T6\",\n    yield_strength=276,\n    ultimate_strength=310,\n    elastic_modulus=68.9,\n    poisson_ratio=0.33\n)\n\ndef calculate_bending_stress(\n    moment: float,\n    section_modulus: float\n) -> float:\n    \"\"\"Calculate bending stress from bending moment.\"\"\"\n    return moment \u002F section_modulus\n\ndef calculate_torsional_shear_stress(\n    torque: float,\n    polar_moment: float\n) -> float:\n    \"\"\"Calculate torsional shear stress.\"\"\"\n    return torque \u002F polar_moment\n\ndef combined_stress_analysis(\n    normal_stress: float,\n    shear_stress: float,\n    yield_strength: float,\n    factor_of_safety: float = 2.0\n) -> Tuple[float, bool]:\n    \"\"\"Analyze combined stress using von Mises criterion.\"\"\"\n    von_mises = math.sqrt(\n        normal_stress**2 + 3 * shear_stress**2\n    )\n    allowable = yield_strength \u002F factor_of_safety\n    return von_mises, von_mises \u003C= allowable\n\n# Example: Shaft under combined loading\nmoment = 500e3  # N-mm\ntorque = 300e3  # N-mm\nsection_modulus = 5000  # mm³\npolar_moment = 10000  # mm⁴\n\nsigma = calculate_bending_stress(moment, section_modulus)\ntau = calculate_torsional_shear_stress(torque, polar_moment)\nvm_stress, is_safe = combined_stress_analysis(\n    sigma, tau, ALUMINUM_6061.yield_strength\n)\nprint(f\"Bending stress: {sigma:.2f} MPa\")\nprint(f\"Shear stress: {tau:.2f} MPa\")\nprint(f\"Von Mises stress: {vm_stress:.2f} MPa\")\nprint(f\"Design safe: {is_safe}\")\n```\n\n### Heat Transfer Analysis\n```python\nfrom dataclasses import dataclass\nfrom typing import Optional\n\n@dataclass\nclass ThermalProperties:\n    thermal_conductivity: float  # W\u002F(m·K)\n    specific_heat: float  # J\u002F(kg·K)\n    density: float  # kg\u002Fm³\n\nCOPPER = ThermalProperties(\n    thermal_conductivity=401,\n    specific_heat=385,\n    density=8960\n)\n\ndef conduction_heat_transfer(\n    k: float,\n    A: float,\n    dT: float,\n    thickness: float\n) -> float:\n    \"\"\"Calculate heat transfer through conduction.\"\"\"\n    return k * A * dT \u002F thickness\n\ndef convective_heat_transfer(\n    h: float,\n    A: float,\n    T_surface: float,\n    T_fluid: float\n) -> float:\n    \"\"\"Calculate heat transfer from convection.\"\"\"\n    return h * A * (T_surface - T_fluid)\n\ndef thermal_resistance_network(\n    R_conv: float,\n    R_cond: float\n) -> float:\n    \"\"\"Calculate total thermal resistance.\"\"\"\n    return R_conv + R_cond\n\ndef heat_sink_design(\n    power_dissipation: float,\n    T_ambient: float,\n    T_junction_max: float,\n    R_jc: float,\n    R_cs: float\n) -> dict:\n    \"\"\"Design heat sink for power dissipation.\"\"\"\n    R_sa_max = (T_junction_max - T_ambient) \u002F power_dissipation - R_jc - R_cs\n    return {\n        \"max_sink_thermal_resistance\": R_sa_max,\n        \"junction_temp_estimate\": T_ambient + power_dissipation * (R_jc + R_cs + R_sa_max)\n    }\n\n# Example: Electronic heat sink\npower = 50  # W\nT_amb = 25  # °C\nT_junction_max = 125  # °C\nR_junction_to_case = 0.5  # °C\u002FW\nR_case_to_sink = 0.1  # °C\u002FW\n\nresult = heat_sink_design(power, T_amb, T_junction_max, R_junction_to_case, R_case_to_sink)\nprint(f\"Maximum sink resistance: {result['max_sink_thermal_resistance']:.2f} °C\u002FW\")\nprint(f\"Estimated junction temperature: {result['junction_temp_estimate']:.1f} °C\")\n```\n\n### Gear Design Calculations\n```python\nfrom dataclasses import dataclass\nfrom typing import Tuple\nimport math\n\n@dataclass\nclass GearParameters:\n    module: float  # mm\n    num_teeth: int\n    face_width: float  # mm\n    pressure_angle: float  # degrees\n    material_strength: float  # MPa\n\ndef calculate_pitch_diameter(module: float, num_teeth: int) -> float:\n    \"\"\"Calculate gear pitch diameter.\"\"\"\n    return module * num_teeth\n\ndef calculate_center_distance(\n    d1: float,\n    d2: float\n) -> float:\n    \"\"\"Calculate gear center distance.\"\"\"\n    return (d1 + d2) \u002F 2\n\ndef lewis_bending_stress(\n    Ft: float,\n    b: float,\n    m: float,\n    Y: float\n) -> float:\n    \"\"\"Calculate bending stress using Lewis formula.\"\"\"\n    return Ft \u002F (b * m * Y)\n\ndef calculate_dynamic_load(\n    Ft: float,\n    V: float,\n    Kv: float = 1.0\n) -> float:\n    \"\"\"Calculate dynamic load on gear teeth.\"\"\"\n    return Ft * Kv * (1 + V \u002F 20)\n\ndef gear_ratio(driven: int, driver: int) -> float:\n    \"\"\"Calculate gear ratio.\"\"\"\n    return driven \u002F driver\n\n# Example: Spur gear design\ndriver_teeth = 20\ndriven_teeth = 40\nmodule = 2.5  # mm\nface_width = 20  # mm\ntransmitted_load = 500  # N\nlewis_form_factor = 0.32\n\npitch_diameter = calculate_pitch_diameter(module, driver_teeth)\nratio = gear_ratio(driven_teeth, driver_teeth)\nstress = lewis_bending_stress(transmitted_load, face_width, module, lewis_form_factor)\nprint(f\"Pitch diameter: {pitch_diameter:.2f} mm\")\nprint(f\"Gear ratio: {ratio:.2f}\")\nprint(f\"Bending stress: {stress:.2f} MPa\")\n```\n\n### Fluid Flow Calculation\n```python\ndef reynolds_number(\n    rho: float,\n    V: float,\n    L: float,\n    mu: float\n) -> float:\n    \"\"\"Calculate Reynolds number for flow regime.\"\"\"\n    return rho * V * L \u002F mu\n\ndef darcy_weisbach_loss(\n    f: float,\n    L: float,\n    D: float,\n    V: float,\n    g: float = 9.81\n) -> float:\n    \"\"\"Calculate head loss using Darcy-Weisbach equation.\"\"\"\n    return f * (L \u002F D) * (V**2 \u002F (2 * g))\n\ndef bernoulli_equation(\n    p1: float,\n    V1: float,\n    z1: float,\n    p2: float,\n    V2: float,\n    z2: float,\n    g: float = 9.81,\n    rho: float = 1000\n) -> float:\n    \"\"\"Apply Bernoulli's equation between two points.\"\"\"\n    return (p1\u002Frho + V1**2\u002F(2*g) + z1) - (p2\u002Frho + V2**2\u002F(2*g) + z2)\n\ndef pipe_diameter_flow(\n    Q: float,\n    V: float\n) -> float:\n    \"\"\"Calculate pipe diameter from flow rate and velocity.\"\"\"\n    return (4 * Q \u002F (math.pi * V))**0.5\n\n# Example: Water flow in pipe\nflow_rate = 0.01  # m³\u002Fs\nvelocity = 2.0  # m\u002Fs\npipe_length = 100  # m\nfriction_factor = 0.02\n\ndiameter = pipe_diameter_flow(flow_rate, velocity)\nhead_loss = darcy_weisbach_loss(friction_factor, pipe_length, diameter, velocity)\nprint(f\"Required pipe diameter: {diameter*1000:.2f} mm\")\nprint(f\"Head loss: {head_loss:.3f} m\")\n```\n\n### Manufacturing Process Selection\n```python\nfrom enum import Enum\nfrom dataclasses import dataclass\n\nclass ManufacturingProcess(Enum):\n    CNC_MACHINING = \"CNC Machining\"\n    CASTING = \"Casting\"\n    FORGING = \"Forging\"\n    ADDITIVE_MANUFACTURING = \"Additive Manufacturing\"\n    SHEET_METAL = \"Sheet Metal Forming\"\n    INJECTION_MOLDING = \"Injection Molding\"\n\n@dataclass\nclass PartRequirements:\n    material: str\n    quantity: int\n    tolerance: float  # mm\n    surface_finish: float  # Ra\n    complexity: float  # 1-10\n    batch_size: str  # prototype, low, medium, high\n\ndef select_manufacturing_process(\n    requirements: PartRequirements\n) -> ManufacturingProcess:\n    \"\"\"Select optimal manufacturing process based on requirements.\"\"\"\n    if requirements.batch_size == \"prototype\":\n        if requirements.complexity > 7:\n            return ManufacturingProcess.ADDITIVE_MANUFACTURING\n        return ManufacturingProcess.CNC_MACHINING\n    elif requirements.batch_size == \"low\":\n        if requirements.tolerance \u003C 0.05:\n            return ManufacturingProcess.CNC_MACHINING\n        return ManufacturingProcess.CASTING\n    elif requirements.batch_size == \"medium\":\n        if requirements.complexity > 5:\n            return ManufacturingProcess.INJECTION_MOLDING\n        return ManufacturingProcess.CASTING\n    else:  # high volume\n        if requirements.material in [\"aluminum\", \"plastic\"]:\n            return ManufacturingProcess.INJECTION_MOLDING\n        return ManufacturingProcess.FORGING\n\n# Example: Process selection\npart = PartRequirements(\n    material=\"aluminum\",\n    quantity=10000,\n    tolerance=0.1,\n    surface_finish=1.6,\n    complexity=4,\n    batch_size=\"high\"\n)\nprocess = select_manufacturing_process(part)\nprint(f\"Recommended process: {process.value}\")\n```\n\n## Best Practices\n- Always apply appropriate factors of safety based on load uncertainty and consequence of failure\n- Use standard component sizes and catalog parts where possible to reduce costs\n- Perform hand calculations first to validate FEA results before detailed analysis\n- Consider manufacturing constraints early in the design process\n- Use GD&T on drawings to communicate tolerance requirements clearly\n- Document all assumptions and calculations for design review and future maintenance\n- Consider thermal expansion effects in precision mechanical assemblies\n- Use proper material selection criteria considering strength, weight, cost, and environment\n- Perform vibration analysis to avoid resonance conditions in rotating machinery\n- Apply corrosion protection methods appropriate for the operating environment\n","## What I do\n- Analyze forces and moments in static and dynamic systems\n- Design mechanical components and machine elements\n- Calculate thermal loads and heat transfer rates\n- Model fluid flow and pressure distributions\n- Specify manufacturing processes and materials\n- Perform finite element analysis for stress analysis\n- Create detailed engineering drawings and specifications\n\n## When to use me\nWhen designing mechanical systems, analyzing structural behavior, calculating thermal performance, or specifying manufacturing requirements for mechanical components.\n\n## Core Concepts\n- Statics and equilibrium equations\n- Dynamics and vibrational analysis\n- Stress-strain relationships and failure criteria\n- Heat conduction, convection, and radiation\n- Fluid statics and dynamics (Bernoulli, Navier-Stokes)\n- Machine elements (gears, bearings, shafts, fasteners)\n- Manufacturing processes (CNC, casting, forging, additive manufacturing)\n- Finite element analysis basics\n- Materials selection and properties\n- Thermodynamic cycles and energy conversion\n\n## Code Examples\n\n### Stress Analysis Calculator\n```python\nimport math\nfrom dataclasses import dataclass\nfrom typing import Tuple\n\n@dataclass\nclass Material:\n    name: str\n    yield_strength: float  # MPa\n    ultimate_strength: float  # MPa\n    elastic_modulus: float  # GPa\n    poisson_ratio: float\n\nALUMINUM_6061 = Material(\n    name=\"Aluminum 6061-T6\",\n    yield_strength=276,\n    ultimate_strength=310,\n    elastic_modulus=68.9,\n    poisson_ratio=0.33\n)\n\ndef calculate_bending_stress(\n    moment: float,\n    section_modulus: float\n) -> float:\n    \"\"\"Calculate bending stress from bending moment.\"\"\"\n    return moment \u002F section_modulus\n\ndef calculate_torsional_shear_stress(\n    torque: float,\n    polar_moment: float\n) -> float:\n    \"\"\"Calculate torsional shear stress.\"\"\"\n    return torque \u002F polar_moment\n\ndef combined_stress_analysis(\n    normal_stress: float,\n    shear_stress: float,\n    yield_strength: float,\n    factor_of_safety: float = 2.0\n) -> Tuple[float, bool]:\n    \"\"\"Analyze combined stress using von Mises criterion.\"\"\"\n    von_mises = math.sqrt(\n        normal_stress**2 + 3 * shear_stress**2\n    )\n    allowable = yield_strength \u002F factor_of_safety\n    return von_mises, von_mises \u003C= allowable\n\n# Example: Shaft under combined loading\nmoment = 500e3  # N-mm\ntorque = 300e3  # N-mm\nsection_modulus = 5000  # mm³\npolar_moment = 10000  # mm⁴\n\nsigma = calculate_bending_stress(moment, section_modulus)\ntau = calculate_torsional_shear_stress(torque, polar_moment)\nvm_stress, is_safe = combined_stress_analysis(\n    sigma, tau, ALUMINUM_6061.yield_strength\n)\nprint(f\"Bending stress: {sigma:.2f} MPa\")\nprint(f\"Shear stress: {tau:.2f} MPa\")\nprint(f\"Von Mises stress: {vm_stress:.2f} MPa\")\nprint(f\"Design safe: {is_safe}\")\n```\n\n### Heat Transfer Analysis\n```python\nfrom dataclasses import dataclass\nfrom typing import Optional\n\n@dataclass\nclass ThermalProperties:\n    thermal_conductivity: float  # W\u002F(m·K)\n    specific_heat: float  # J\u002F(kg·K)\n    density: float  # kg\u002Fm³\n\nCOPPER = ThermalProperties(\n    thermal_conductivity=401,\n    specific_heat=385,\n    density=8960\n)\n\ndef conduction_heat_transfer(\n    k: float,\n    A: float,\n    dT: float,\n    thickness: float\n) -> float:\n    \"\"\"Calculate heat transfer through conduction.\"\"\"\n    return k * A * dT \u002F thickness\n\ndef convective_heat_transfer(\n    h: float,\n    A: float,\n    T_surface: float,\n    T_fluid: float\n) -> float:\n    \"\"\"Calculate heat transfer from convection.\"\"\"\n    return h * A * (T_surface - T_fluid)\n\ndef thermal_resistance_network(\n    R_conv: float,\n    R_cond: float\n) -> float:\n    \"\"\"Calculate total thermal resistance.\"\"\"\n    return R_conv + R_cond\n\ndef heat_sink_design(\n    power_dissipation: float,\n    T_ambient: float,\n    T_junction_max: float,\n    R_jc: float,\n    R_cs: float\n) -> dict:\n    \"\"\"Design heat sink for power dissipation.\"\"\"\n    R_sa_max = (T_junction_max - T_ambient) \u002F power_dissipation - R_jc - R_cs\n    return {\n        \"max_sink_thermal_resistance\": R_sa_max,\n        \"junction_temp_estimate\": T_ambient + power_dissipation * (R_jc + R_cs + R_sa_max)\n    }\n\n# Example: Electronic heat sink\npower = 50  # W\nT_amb = 25  # °C\nT_junction_max = 125  # °C\nR_junction_to_case = 0.5  # °C\u002FW\nR_case_to_sink = 0.1  # °C\u002FW\n\nresult = heat_sink_design(power, T_amb, T_junction_max, R_junction_to_case, R_case_to_sink)\nprint(f\"Maximum sink resistance: {result['max_sink_thermal_resistance']:.2f} °C\u002FW\")\nprint(f\"Estimated junction temperature: {result['junction_temp_estimate']:.1f} °C\")\n```\n\n### Gear Design Calculations\n```python\nfrom dataclasses import dataclass\nfrom typing import Tuple\nimport math\n\n@dataclass\nclass GearParameters:\n    module: float  # mm\n    num_teeth: int\n    face_width: float  # mm\n    pressure_angle: float  # degrees\n    material_strength: float  # MPa\n\ndef calculate_pitch_diameter(module: float, num_teeth: int) -> float:\n    \"\"\"Calculate gear pitch diameter.\"\"\"\n    return module * num_teeth\n\ndef calculate_center_distance(\n    d1: float,\n    d2: float\n) -> float:\n    \"\"\"Calculate gear center distance.\"\"\"\n    return (d1 + d2) \u002F 2\n\ndef lewis_bending_stress(\n    Ft: float,\n    b: float,\n    m: float,\n    Y: float\n) -> float:\n    \"\"\"Calculate bending stress using Lewis formula.\"\"\"\n    return Ft \u002F (b * m * Y)\n\ndef calculate_dynamic_load(\n    Ft: float,\n    V: float,\n    Kv: float = 1.0\n) -> float:\n    \"\"\"Calculate dynamic load on gear teeth.\"\"\"\n    return Ft * Kv * (1 + V \u002F 20)\n\ndef gear_ratio(driven: int, driver: int) -> float:\n    \"\"\"Calculate gear ratio.\"\"\"\n    return driven \u002F driver\n\n# Example: Spur gear design\ndriver_teeth = 20\ndriven_teeth = 40\nmodule = 2.5  # mm\nface_width = 20  # mm\ntransmitted_load = 500  # N\nlewis_form_factor = 0.32\n\npitch_diameter = calculate_pitch_diameter(module, driver_teeth)\nratio = gear_ratio(driven_teeth, driver_teeth)\nstress = lewis_bending_stress(transmitted_load, face_width, module, lewis_form_factor)\nprint(f\"Pitch diameter: {pitch_diameter:.2f} mm\")\nprint(f\"Gear ratio: {ratio:.2f}\")\nprint(f\"Bending stress: {stress:.2f} MPa\")\n```\n\n### Fluid Flow Calculation\n```python\ndef reynolds_number(\n    rho: float,\n    V: float,\n    L: float,\n    mu: float\n) -> float:\n    \"\"\"Calculate Reynolds number for flow regime.\"\"\"\n    return rho * V * L \u002F mu\n\ndef darcy_weisbach_loss(\n    f: float,\n    L: float,\n    D: float,\n    V: float,\n    g: float = 9.81\n) -> float:\n    \"\"\"Calculate head loss using Darcy-Weisbach equation.\"\"\"\n    return f * (L \u002F D) * (V**2 \u002F (2 * g))\n\ndef bernoulli_equation(\n    p1: float,\n    V1: float,\n    z1: float,\n    p2: float,\n    V2: float,\n    z2: float,\n    g: float = 9.81,\n    rho: float = 1000\n) -> float:\n    \"\"\"Apply Bernoulli's equation between two points.\"\"\"\n    return (p1\u002Frho + V1**2\u002F(2*g) + z1) - (p2\u002Frho + V2**2\u002F(2*g) + z2)\n\ndef pipe_diameter_flow(\n    Q: float,\n    V: float\n) -> float:\n    \"\"\"Calculate pipe diameter from flow rate and velocity.\"\"\"\n    return (4 * Q \u002F (math.pi * V))**0.5\n\n# Example: Water flow in pipe\nflow_rate = 0.01  # m³\u002Fs\nvelocity = 2.0  # m\u002Fs\npipe_length = 100  # m\nfriction_factor = 0.02\n\ndiameter = pipe_diameter_flow(flow_rate, velocity)\nhead_loss = darcy_weisbach_loss(friction_factor, pipe_length, diameter, velocity)\nprint(f\"Required pipe diameter: {diameter*1000:.2f} mm\")\nprint(f\"Head loss: {head_loss:.3f} m\")\n```\n\n### Manufacturing Process Selection\n```python\nfrom enum import Enum\nfrom dataclasses import dataclass\n\nclass ManufacturingProcess(Enum):\n    CNC_MACHINING = \"CNC Machining\"\n    CASTING = \"Casting\"\n    FORGING = \"Forging\"\n    ADDITIVE_MANUFACTURING = \"Additive Manufacturing\"\n    SHEET_METAL = \"Sheet Metal Forming\"\n    INJECTION_MOLDING = \"Injection Molding\"\n\n@dataclass\nclass PartRequirements:\n    material: str\n    quantity: int\n    tolerance: float  # mm\n    surface_finish: float  # Ra\n    complexity: float  # 1-10\n    batch_size: str  # prototype, low, medium, high\n\ndef select_manufacturing_process(\n    requirements: PartRequirements\n) -> ManufacturingProcess:\n    \"\"\"Select optimal manufacturing process based on requirements.\"\"\"\n    if requirements.batch_size == \"prototype\":\n        if requirements.complexity > 7:\n            return ManufacturingProcess.ADDITIVE_MANUFACTURING\n        return ManufacturingProcess.CNC_MACHINING\n    elif requirements.batch_size == \"low\":\n        if requirements.tolerance \u003C 0.05:\n            return ManufacturingProcess.CNC_MACHINING\n        return ManufacturingProcess.CASTING\n    elif requirements.batch_size == \"medium\":\n        if requirements.complexity > 5:\n            return ManufacturingProcess.INJECTION_MOLDING\n        return ManufacturingProcess.CASTING\n    else:  # high volume\n        if requirements.material in [\"aluminum\", \"plastic\"]:\n            return ManufacturingProcess.INJECTION_MOLDING\n        return ManufacturingProcess.FORGING\n\n# Example: Process selection\npart = PartRequirements(\n    material=\"aluminum\",\n    quantity=10000,\n    tolerance=0.1,\n    surface_finish=1.6,\n    complexity=4,\n    batch_size=\"high\"\n)\nprocess = select_manufacturing_process(part)\nprint(f\"Recommended process: {process.value}\")\n```\n\n## Best Practices\n- Always apply appropriate factors of safety based on load uncertainty and consequence of failure\n- Use standard component sizes and catalog parts where possible to reduce costs\n- Perform hand calculations first to validate FEA results before detailed analysis\n- Consider manufacturing constraints early in the design process\n- Use GD&T on drawings to communicate tolerance requirements clearly\n- Document all assumptions and calculations for design review and future maintenance\n- Consider thermal expansion effects in precision mechanical assemblies\n- Use proper material selection criteria considering strength, weight, cost, and environment\n- Perform vibration analysis to avoid resonance conditions in rotating machinery\n- Apply corrosion protection methods appropriate for the operating environment\n",{"name":5,"license":14,"metadata":34,"description":7,"compatibility":28},{"audience":35,"category":23},"engineers","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41","engineering\u002Fmechanical-engineering",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill mechanical-engineering",{"tool":49,"command":50},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill mechanical-engineering",{"tool":52,"command":53},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill mechanical-engineering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fengineering\u002Fmechanical-engineering\u002FSKILL.md",true,[],[58,69,79,88,98,107],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":29},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[60,65,66,67,28,68],"platform","cross-platform","mobile","development",{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":29},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[71,76,28,77,78],"data wrangling","science","data",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":29},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[81,86,28,87],"system","scripting",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":29},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[95,96,28,97,78],"wide column","databases","model",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":29},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[105,96,28,106],"wide column stores","database",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":29},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[109,114,115,116,28,117,118],"websocket","real-time","time","best practices","implementation"]