计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
structures-local-environments-and-transformations【效率与协作】Construct and analyze pymatgen structures, molecules, local environments, graphs, dimensionality, prototypes, magnetism, molecule groups, and safe transformation-adjacent workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about Structure, Molecule, Lattice, local coordination, near neighbors, CrystalNN, VoronoiNN, MinimumDistanceNN, StructureGraph, dimensionality, structure matching, molecule matching, functional groups, Chemenv coordination environments, prototypes, or collinear magnetic moments.
references/api-reference.md.references/workflows.md.references/troubleshooting.md.python scripts/structure_neighbor_smoke.py --help, then python scripts/structure_neighbor_smoke.py.entries-thermodynamics-and-batteries.surfaces-interfaces-and-electrochemistry.pmg command syntax, persistent config, environment reporting, and POTCAR setup to cli-and-configuration.Structure or Molecule; confirm coordinates, units, ordering, and oxidation states before analysis.CrystalNN, compare against MinimumDistanceNN or VoronoiNN when results are surprising.StructureGraph before calling graph or dimensionality functions.moyopy, or external aflow.Current pymatgen installs and uses pymatgen-core for core objects and several compatibility-backed analysis modules. Use public imports from pymatgen.core and pymatgen.analysis.* as shown in references/api-reference.md; do not import Structure or Molecule from the root pymatgen package. If a class imported from pymatgen.analysis.local_env, pymatgen.analysis.graphs, or pymatgen.analysis.structure_matcher reports a pymatgen.core.* implementation module, treat that as expected compatibility behavior, not a bug.
references/api-reference.md covers core objects, neighbor strategies, graphs, structure matching, dimensionality, magnetism, prototypes, molecule workflows, Chemenv, and package-split caveats.references/workflows.md provides copy-adaptable recipes for structures, molecules, neighbor comparison, graph dimensionality, Chemenv, magnetism, prototypes, matching, and serialization.references/troubleshooting.md gives symptom-driven fixes for namespace split, oxidation states, neighbor disagreement, periodic images, malformed structures, optional extras, Chemenv/prototype backends, structure matching, and unit mistakes.scripts/structure_neighbor_smoke.py builds tiny in-memory structures and prints deterministic local-environment and dimensionality diagnostics; it performs no network access, fixture reads, destructive writes, GUI opens, or long scans.