技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
pymatgen【数据与研究】Use pymatgen for computational materials workflows, including structures, entries, thermodynamics, external data, surfaces, spectra, CLIs, and configuration.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task mentions pymatgen, computational materials analysis, crystal structures, local environments, Materials Project data, phase-diagram-ready entries, compatibility corrections, batteries, slabs, surfaces, Pourbaix diagrams, diffraction, spectra, pmg, .pmgrc.yaml, or VASP/POTCAR-related pymatgen workflows.
pip install pymatgen on Python >=3.11; install optional extras only for the workflow that needs them.python scripts/check_pymatgen_install.py --help, then python scripts/check_pymatgen_install.py for a redacted import and console-script check.references/troubleshooting.md for cross-cutting install/import, optional dependency, credential, plotting, configuration, and package-split issues.references/repo-provenance.md before deciding whether this skill matches a current checkout or should be refreshed.sub-skills/structures-local-environments-and-transformations/SKILL.md for Structure, Molecule, Lattice, local neighbors, CrystalNN, VoronoiNN, StructureGraph, dimensionality, Chemenv, prototypes, molecule matching, functional groups, and magnetism.sub-skills/entries-thermodynamics-and-batteries/SKILL.md for ComputedEntry, compatibility corrections, GGA/GGA+U or r2SCAN mixing, phase-diagram-ready entries, batteries, voltage profiles, VaspToComputedEntryDrone, and BorgQueen.sub-skills/external-data-access/SKILL.md for MPRester, Materials Project fields, PMG_MAPI_KEY, COD, OPTIMADE, credentials, pagination, rate limits, and network-safe query planning.sub-skills/surfaces-interfaces-and-electrochemistry/SKILL.md for slabs, surface energies, Wulff shapes, work functions, substrate matching, coherent interfaces, Pourbaix diagrams, and interfacial reactivity.sub-skills/spectra-diffraction-and-visualization/SKILL.md for XRD/neutron/TEM diffraction, DiffractionPattern, XAS, XPS, SpectrumPlotter, FEFF plotting expectations, optional VTK/chemview visualization, and headless plotting.sub-skills/cli-and-configuration/SKILL.md for pmg subcommands, get_environment, FEFF console scripts, .pmgrc.yaml, POTCAR/CP2K setup, Materials Project key persistence, and safe CLI help discovery..pmgrc.yaml, generate/copy POTCARs, scan user calculation directories, access Materials Project/COD/OPTIMADE, open GUI windows, or write output files without user approval..pmgrc.yaml contents, local executable paths, or private calculation-directory names in reusable guidance.scripts/check_pymatgen_install.py performs a redacted package, import, and console-script check without network access or configuration mutation.references/troubleshooting.md covers shared install/import, optional dependency, credential, data/config, plotting, and command-safety issues.