一键导入
surface-defect-creation
Workflow for vacancies, substitutions, doping, interstitials, antisites, and complex defects in bulk/surface/CNT structures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Workflow for vacancies, substitutions, doping, interstitials, antisites, and complex defects in bulk/surface/CNT structures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build common bulk crystal structures (FCC/BCC/HCP/diamond/zincblende/...) using ASE.
Build a coherent lattice-matched interface between two bulk structures using the pymatgen ZSL algorithm.
Workflow, lattice-matching strategies, and pitfalls for building interfaces between two crystals/surfaces.
Strategies for searching, filtering, and downloading structures from the Materials Project (MP) database.
Workflow for building Metal-Organic Framework (MOF) structures (MOF-5, Cu-BTC, IRMOF series, custom).
Methods for building isolated molecules (ASE database, SMILES via RDKit, organometallics, endohedral cages, NEB pathways).
| name | surface-defect-creation |
| description | Workflow for vacancies, substitutions, doping, interstitials, antisites, and complex defects in bulk/surface/CNT structures. |
| when_to_use | Use when introducing defects (e.g. CNT N-doping, vacancies, dopants) into an existing structure. |
Prepare base structure
Select defect type and parameters
Choose targeting method
Execute defect creation
Validate defective structure
Save and document
| Defect Type | Required Parameters | Optional Parameters |
|---|---|---|
| Vacancy | Element to remove | Concentration, seed |
| Substitution | Host element, substitution element | Concentration, seed |
| Interstitial | Element to insert, position | Position type (Voronoi), distance constraints |
| Antisite | Two elements to swap | Concentration, seed |
| Complex | JSON file with defect specification | - |
ase build --change-format cif input.xyz output.cif| Pitfall | Symptom | Fix |
|---|---|---|
| Interstitial clustering | Interstitials < 2 Å apart | Use --min-dist-to-atoms and --min-dist-between parameters |
| Wrong file format | defect_builder fails | Convert to CIF before running defect_builder |
| Insufficient atoms | Cannot achieve exact defect number | Build supercell first, then introduce defects |
| Overlapping atoms | Atoms too close after insertion | Increase --min-dist-to-atoms parameter |
| Non-reproducible results | Different distributions each run | Use --seed parameter for reproducibility |
| CIF PBC artifacts | Short inter-atomic distances | Use .extxyz format and process directly with ASE |
| 4-fold coordinated PBC atoms | Atoms at PBC boundaries | These are artifacts from periodic images - expected |
--seed 42