.claude/skills/demarcation-line-trap-classification/SKILL.md
Classify localized states in semiconductor band gaps as electron traps, hole traps, or recombination centers by calculating demarcation lines based on quasi-Fermi levels, capture cross-sections, and temperature. Use this skill when analyzing trap behavior, determining recombination efficiency, or characterizing defect states in semiconductor materials.
npx skillsauth add ShaneLogic/SolarLab demarcation-line-trap-classificationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Classify band gap centers as electron traps, hole traps, or recombination centers using the demarcation line method.
Use this skill when:
Before calculating demarcation lines, ensure you have:
Calculate the correction terms δi and δj based on capture cross-section ratios:
δi = kT × ln[(sn/sp) × (Nc/Nv) × exp(-(Ec - Ev)/2kT)]
δj = kT × ln[(sp/sn) × (Nv/Nc) × exp(-(Ec - Ev)/2kT)]
Where:
Compute the electron and hole demarcation lines:
EDn = EFn - δi
EDp = EFp + δj
Where:
Apply classification rules based on the center's energy position:
| Center Position | Classification | |----------------|----------------| | Above EDn (closer to conduction band) | Electron trap | | Below EDp (closer to valence band) | Hole trap | | Between EDn and EDp (middle of band gap) | Recombination center |
The skill provides:
For detailed examples, derivation, and edge cases, see references/demarcation-line-details.md.
development
Understand and comply with Driftfusion software licensing terms, including the open-source AGPL v3.0 frontend and proprietary MATLAB pdepe solver backend. Use when using, modifying, or distributing Driftfusion code.
development
Initialize the Driftfusion simulation environment and create parameter objects. Use this skill when starting a new MATLAB session or setting up device properties for simulation.
development
Define device layer structure, configure spatial and time meshes, and build device structures with interface grading. Use this skill when setting up the physical geometry and discretization of a simulation device.
research
Analyze simulation solutions, calculate physical quantities, and generate plots. Use this skill when processing completed simulations, extracting currents/densities, or visualizing results.