Skip to content

General Relativity Skills

General Relativity describes how mass curves spacetime and how objects follow geodesics (shortest paths) through curved space. In software architecture:

GR ConceptSoftware Architecture Analogue
Spacetime curvatureTechnical debt warping the “shape” of the codebase
GeodesicOptimal refactoring path through a curved codebase
Event horizonPoint of no return in system complexity
Gravitational lensingIndirect dependencies that distort the apparent structure
Gravitational wavesPropagating breaking changes across module boundaries
Frame draggingAccumulated context pulling decisions away from their optimal path
Escape velocityMinimum refactoring effort needed to escape a debt gravity well
SingularityNon-refactorable legacy core

These are precise architectural metaphors — the GR mathematics (metric tensors, geodesic equations, Ricci curvature) provide quantitative measures of code health.

Skill IDDescriptionModel Class
gr-spacetime-debt-metricMeasures technical debt as spacetime curvature; produces a debt “mass” score per modulestrong
gr-event-horizon-detectorIdentifies modules approaching the event horizon (complexity point of no return)strong
gr-geodesic-refactorFinds the minimal-cost (geodesic) path through a refactoring decision spacestrong
gr-gravitational-lensing-tracerTraces indirect dependency paths that distort the apparent module structurestrong
gr-gravitational-wave-propagatorModels how a breaking change propagates as gravitational waves through module boundariesstrong
gr-frame-dragging-correctionDetects and corrects for accumulated context drift pulling decisions off their optimal pathstrong
gr-escape-velocity-calculatorComputes the minimum refactoring effort needed to escape a debt gravity wellstrong
gr-singularity-detectorIdentifies irreducible complexity cores (singularities) that cannot be refactored awaystrong
gr-black-hole-evaporatorGradual extraction strategy for code locked in a singularity (inspired by Hawking radiation)strong
gr-metric-tensorComputes the full curvature tensor for a codebase — a multi-dimensional debt mapstrong
gr-redshift-analyserMeasures how architectural decisions become increasingly distorted over long maintenance cyclesstrong
gr-tidal-force-splitterIdentifies modules under extreme tidal stress (pressure from multiple incompatible requirements)strong
gr-wormhole-linkerFinds non-obvious connections between distant modules that could reduce refactoring distancestrong
gr-penrose-processExtracts usable work (reusable code) from a rotating complexity wellstrong
gr-hawking-decomposerDecomposes a monolithic black hole into incrementally extractable componentsstrong
gr-* request
1. Claude Sonnet 4.6 → GR mathematical analysis
2. GPT-5.4 → back-translation to refactoring/architecture guidance

GR skills are best for:

  • Quantifying technical debt in large codebases (gr-spacetime-debt-metric, gr-metric-tensor)
  • Planning major refactoring campaigns (gr-geodesic-refactor, gr-escape-velocity-calculator)
  • Legacy modernisation strategies (gr-hawking-decomposer, gr-black-hole-evaporator)
  • Understanding indirect dependency impact (gr-gravitational-lensing-tracer)
  • Breaking-change impact analysis (gr-gravitational-wave-propagator)
  • physics-analysis — primary consumer; selects GR skills based on the architectural problem shape
  • refactor — uses gr-geodesic-refactor + gr-escape-velocity-calculator for large-scale refactoring decisions