qm-dirac-notation-mapper
Domain: qm · Model class: strong
Description
Section titled “Description”Use this skill when you need to compute all pairwise file overlap integrals and identify which files are most central to the codebase. Trigger phrases include: “compute pairwise file overlaps”, “which files are most central”, “Dirac bra-ket overlap matrix”, “inner product between files”, “which files span the embedding space”, “projection weight of each file”. This skill builds the full n×n overlap matrix ⟨i|j⟩ and ranks files by projection weight. Do NOT use with more than 50 files as the O(n²) cost becomes significant.
Purpose
Section titled “Purpose”Express all pairwise relationships between files as bra-ket inner products, building a full n×n overlap (Gram) matrix. Each file is treated as a ket |file⟩ in the embedding space. The diagonal entries are 1.0 after normalisation; off-diagonal entries measure directional alignment. The “projection weight” of a file is the sum of squared overlaps across all other files — a high value indicates that this file is architecturally central and its patterns recur throughout the codebase.
Trigger Phrases
Section titled “Trigger Phrases”- “qm-dirac-notation-mapper”
Anti-Triggers
Section titled “Anti-Triggers”None defined.
Intake Questions
Section titled “Intake Questions”- Apply the qm-dirac-notation-mapper skill to the user request.
Output Contract
Section titled “Output Contract”- physics metaphor output
- plain-language engineering translation
- confidence and limitation notes
- recommended engineering action
Related Skills
Section titled “Related Skills”None