satellitetoolbox-legendre
SatelliteToolboxLegendre.jl for computing associated Legendre functions and derivatives. Use when working with spherical harmonics, gravity field expansions, or geomagnetic field computations.
Profile →npx skills add majiayu000/claude-skill-registry --skill satellitetoolbox-legendre-hammerhead-space-agenticcodingrules --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# SatelliteToolboxLegendre.jl Associated Legendre functions and derivatives with multiple normalization options. Repo: [JuliaSpace/SatelliteToolboxLegendre.jl](https://github.com/JuliaSpace/SatelliteToolboxLegendre.jl) ## Computing Legendre Functions ```julia # P[n+1, m+1] = P_{n,m}[cos(ϕ)] P = legendre(Val(:full), ϕ, n_max) # Full normalization P = legendre(Val(:schmidt), ϕ, n_max, m_max) # Schmidt semi-normalization P = legendre(Val(:unnormalized), ϕ, n_max) # Unnormalized # In-place (zero-allocation) legendre!(Val(:full), P, ϕ, n_max, m_max) ``` ## Computing Derivatives ```julia (dP, P) = dlegendre(Val(:full), ϕ, n_max) # Returns both dP and P dlegendre!(dP, ϕ, P, n_max, m_max) # In-place (P must be pre-computed) ``` ## Key Conventions - First argument `N` selects normalization: `Val(:full)`, `Val(:schmidt)`, `Val(:unnormalized)` - Angle `ϕ` in **radians** - Indexing: `P[n+1, m+1]` for degree `n`, order `m` - Optional `ph_term=true` includes Condon-Shortley phase `(-1)^m` - In-place variants infer `n_max`/`m_max` from matrix dimensions if omitted - Zero external dependencies (pure Julia)
- Computing Legendre Functions
- Computing Derivatives
- Key Conventions
What does the satellitetoolbox-legendre skill do?
SatelliteToolboxLegendre.jl for computing associated Legendre functions and derivatives. Use when working with spherical harmonics, gravity field expansions, or geomagnetic field computations.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill satellitetoolbox-legendre-hammerhead-space-agenticcodingrules --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.