.claude/skills/drift-diffusion-current-analysis/SKILL.md
Analyze and calculate drift and diffusion current components in semiconductor junctions. Use this skill when examining individual current mechanisms in bulk semiconductor regions or at junction interfaces, particularly when distinguishing between field-driven drift current and gradient-driven diffusion current.
npx skillsauth add ShaneLogic/SolarLab drift-diffusion-current-analysisInstall 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.
Apply this skill when:
Before applying this skill, ensure you have:
For regions 1 and 2 (bulk semiconductor regions):
jn,drift = σn * dψ/dx
Where:
jn,drift = drift component of electron current densityσn = electron conductivitydψ/dx = gradient of electrostatic electron potentialAction: Compute the drift current density using the electric field profile and material conductivity.
At the doping interface between regions:
Action: Identify the interface location and evaluate the diffusion current magnitude based on the doping gradient.
Observe the relationship:
Action: Plot or compare the spatial distributions of both current components to verify their relationship.
For zero bias (V = 0):
Action: Confirm that at equilibrium, the drift and diffusion components sum to zero.
| Variable | Type | Description | |----------|------|-------------| | jn,drift | Current Density | Drift component of current | | jn,diffusion | Current Density | Diffusion component of current | | ψ | Potential | Electrostatic electron potential | | dψ/dx | Field | Electric field (potential gradient) | | σn | Conductivity | Electron conductivity |
The analysis yields:
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.