DNA and stack

What a repository is built from — detectors, domains, and confidence.

Repository DNA is what the project is built out of: frameworks, tooling, and domains, each with confidence. Stack detection is the mechanism behind it.

What DNA reports

Stack signalsFrameworks, libraries and tools, each with evidence
DomainsFrontend, backend, data, infrastructure — and how strongly each is present
PackagesIn a monorepo, what is in each one
PersonasWho this repository is for (UI defaults)

How detection works

Each detector looks for evidence and reports how much it found:

EvidenceStrength
Dedicated config (next.config.js, vite.config.ts)Strong
Dependency in package.jsonModerate
Import statements throughout sourceStrong when numerous
Conventional directories (pages/, app/, migrations/)Weak alone

package.json lies routinely — stale deps, spikes that stayed, lockfile noise. Combining manifest + imports + config, and listing evidence, is what makes the answer actionable.

prism dna
prism stack
prism packages

Domains

DomainSignals
FrontendUI frameworks, bundlers, components, routes
BackendServer frameworks, API routes, handlers
DataORMs, migrations, schemas, query builders
InfrastructureContainers, CI, deployment manifests

Domains drive which extension screens appear.

When detection is wrong

  • Stale dependency at low confidence with dependency only — working as intended.
  • Missing framework you use — unusual setup; analysis still derives from imports.
  • Wrong version — Prism reads the lockfile; if that is stale, so is the version.

Detectors live in @repo-prism/intelligence and are extension points without touching the pipeline.

Signal provenance · Understand a repo

On this page