用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill polymer-chemistry命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | polymer-chemistry |
| description | Study of macromolecules, polymerization mechanisms, polymer properties, and applications |
| category | chemistry |
| keywords | ["polymer chemistry","macromolecules","polymerization","plastics","polymers","monomers","kinetics"] |
Polymer chemistry focuses on the synthesis, structure, properties, and applications of macromolecules. I cover step-growth and chain-growth polymerization, copolymerization, polymer characterization, structure-property relationships, and polymer processing. I help design polymers, analyze molecular weight distributions, and predict material properties.
import numpy as np
from typing import List, Dict, Tuple
from scipy import stats
class Polymerization:
def __init__(self, monomer: str, mechanism: str):
self.monomer = monomer
self.mechanism = mechanism
def calculate_mn_step_growth(self, conversion: float,
functionality: int) -> float:
degree_polymerization = 1 / (1 - conversion)
mn = 100 * degree_polymerization # Monomer MW ~ 100 g/mol
return mn
def calculate_mn_chain_growth(self, initiator_conc: float,
rate_constant: float,
time: float) -> float:
kp = rate_constant
[I] = initiator_conc
R_p = kp * np.sqrt(2 * 1e-5 * [I]) # Assume ki = 1e-5
degree_polymerization = R_p * time / [I]
return degree_polymerization * 100
def predict_molecular_weight_distribution(self, mn: float,
dispersity: ) -> []:
mw_range = np.linspace(mn * , mn * , )
scipy.stats lognorm
sigma = np.sqrt(np.log(disperity))
mu = np.log(mn) - sigma**
distribution = lognorm.pdf(mw_range, sigma, scale=np.exp(mu))
distribution
() -> :
p_a = conversion * rho_a / (rho_a + rho_b * r)
p_b = r * p_a
p_a < p_b < :
degree_polymerization = / (( - p_a) * ( - p_b))
gel_point = / np.sqrt(( + r) * ( + /r))
:
degree_polymerization = ()
gel_point = conversion
{: degree_polymerization, : gel_point}
() -> :
f2 = - f1
f1_star = (r1 * f1** + f1 * f2) / (r1 * f1** + * f1 * f2 + r2 * f2**)
f1_star
() -> :
k =
Tg = (w1 * Tg1 + k * w2 * Tg2) / (w1 + k * w2)
Tg
() -> :
(density_crystalline - measured_density) / \
(density_crystalline - density_amorphous)
poly = Polymerization(, )
mn = poly.calculate_mn_chain_growth(, , )
()
poly_step = Polymerization(, )
dp = poly_step.calculate_mn_step_growth(, )
()