Presentation Slides for Developers
This report summarizes scanner evidence for slidevjs/slidev, a TypeScript project with 49,306 GitHub stars. SynthScan examined 79,658 lines of code across 694 source files, recording 87 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 82 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 31 finding(s).
Which changes need focused human review? 87 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 87 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | plans/018-server-side-remote-auth.md | 113 | ### Step 1: Confirm the design (STOP-gated) | COMMENT |
| LOW⚡ | plans/018-server-side-remote-auth.md | 119 | ### Step 2: Mint and expose a session token | COMMENT |
| LOW⚡ | plans/018-server-side-remote-auth.md | 126 | ### Step 3: Enforce on the HTTP middleware | COMMENT |
| LOW⚡ | plans/018-server-side-remote-auth.md | 132 | ### Step 4: Enforce on the ws sinks | COMMENT |
| LOW⚡ | plans/018-server-side-remote-auth.md | 137 | ### Step 5: Update the client callers | COMMENT |
| LOW⚡ | plans/018-server-side-remote-auth.md | 142 | ### Step 6: Unit-test the verifier | COMMENT |
| LOW | plans/017-ws-origin-validation.md | 82 | ### Step 1: Add an origin allow-list helper | COMMENT |
| LOW | plans/017-ws-origin-validation.md | 104 | ### Step 2: Gate the Monaco write handler | COMMENT |
| LOW | plans/017-ws-origin-validation.md | 126 | ### Step 3: Gate server-ref persistence if applicable | COMMENT |
| LOW | plans/017-ws-origin-validation.md | 136 | ### Step 4: Unit test the helper | COMMENT |
| LOW | plans/013-build-temp-server-port.md | 95 | ### Step 1: Import `getPort` | COMMENT |
| LOW | plans/013-build-temp-server-port.md | 102 | ### Step 2: og-image block — free port + try/finally | COMMENT |
| LOW | plans/013-build-temp-server-port.md | 141 | ### Step 4: Build / typecheck / lint | COMMENT |
| LOW | plans/020-getslide-lookup-map.md | 72 | ### Step 1: Extract a pure lookup builder | COMMENT |
| LOW | plans/020-getslide-lookup-map.md | 89 | ### Step 2: Memoize it and route `getSlide` through it | COMMENT |
| LOW | plans/020-getslide-lookup-map.md | 108 | ### Step 3: Unit-test the builder | COMMENT |
| LOW | plans/019-getroots-cache-per-entry.md | 87 | ### Step 1: Replace the single-slot cache with a per-entry Map + last-roots pointer | COMMENT |
| LOW | plans/019-getroots-cache-per-entry.md | 124 | ### Step 2: Run the resolver tests | COMMENT |
| LOW | plans/005-agents-md.md | 76 | ### Step 1: Write `AGENTS.md` | COMMENT |
| LOW | plans/021-consolidate-toc-tree.md | 98 | ### Step 1: Decide the canonical nesting rule | COMMENT |
| LOW | plans/021-consolidate-toc-tree.md | 105 | ### Step 2: Add a pure, node-agnostic `buildTocTree` | COMMENT |
| LOW⚡ | plans/021-consolidate-toc-tree.md | 134 | ### Step 3: Adapt the client to use it | COMMENT |
| LOW⚡ | plans/021-consolidate-toc-tree.md | 141 | ### Step 4: Adapt export to use it | COMMENT |
| LOW⚡ | plans/021-consolidate-toc-tree.md | 148 | ### Step 5: Test the builder | COMMENT |
| LOW | plans/022-export-pipeline-tests.md | 78 | ### Step 1: Make the pure helpers importable | COMMENT |
| LOW | plans/022-export-pipeline-tests.md | 84 | ### Step 2: Write characterization tests | COMMENT |
| LOW | plans/009-parserangestring-bounds.md | 90 | ### Step 1: Tighten the final filter | COMMENT |
| LOW | plans/009-parserangestring-bounds.md | 102 | ### Step 2: Add a colocated test | COMMENT |
| LOW | plans/025-skills-docs-drift-guard.md | 73 | ### Step 1: Add a machine-readable provenance marker | COMMENT |
| LOW | plans/025-skills-docs-drift-guard.md | 83 | ### Step 2: Write `scripts/check-skills-drift.mjs` | COMMENT |
| LOW | plans/025-skills-docs-drift-guard.md | 100 | ### Step 3: Wire it into CI | COMMENT |
| LOW | plans/010-getslidepath-guard.md | 86 | ### Step 1: Replace the assertion with a guarded fallback | COMMENT |
| LOW | plans/010-getslidepath-guard.md | 115 | ### Step 2: Typecheck | COMMENT |
| LOW | plans/023-decompose-god-functions.md | 86 | ### Step 1: Introduce an explicit export context | COMMENT |
| LOW | plans/023-decompose-god-functions.md | 95 | ### Step 2: Extract per-format exporters | COMMENT |
| LOW⚡ | plans/024-incremental-hmr-parse-cache.md | 85 | ### Step 1: Measure the baseline (STOP-gated by data) | COMMENT |
| LOW⚡ | plans/024-incremental-hmr-parse-cache.md | 93 | ### Step 2: Add a content-keyed per-file parse cache | COMMENT |
| LOW⚡ | plans/024-incremental-hmr-parse-cache.md | 102 | ### Step 3: Make feature detection incremental | COMMENT |
| LOW⚡ | plans/024-incremental-hmr-parse-cache.md | 108 | ### Step 4: Verify correctness across edits | COMMENT |
| LOW | plans/016-confine-export-output-path.md | 74 | ### Step 1: Add a filename sanitizer | COMMENT |
| LOW⚡ | plans/016-confine-export-output-path.md | 87 | ### Step 2: Apply to the deck-config fallback in `getExportOptions` | COMMENT |
| LOW⚡ | plans/016-confine-export-output-path.md | 97 | ### Step 3: Apply to `build.ts --download` | COMMENT |
| LOW⚡ | plans/016-confine-export-output-path.md | 106 | ### Step 4: Unit test | COMMENT |
| LOW | plans/012-hmr-utils-refresh.md | 76 | ### Step 1: Await the refresh | COMMENT |
| LOW | plans/012-hmr-utils-refresh.md | 87 | ### Step 2: Build / typecheck / lint | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/__snapshots__/tsnapi/@slidev/parser/fs.snapshot.js | 8 | export function injectPreparserExtensionLoader(_) {} | CODE |
| LOW | …t/__snapshots__/tsnapi/@slidev/parser/fs.snapshot.d.ts | 36 | export declare function injectPreparserExtensionLoader(_: PreparserExtensionLoader): void; | CODE |
| LOW | packages/parser/src/fs.ts | 37 | export function injectPreparserExtensionLoader(fn: PreparserExtensionLoader) { | CODE |
| LOW | packages/parser/src/core.ts | 114 | function normalizeMarkdownImageTarget(target: string) { | CODE |
| LOW | packages/vscode/src/views/previewWebview.ts | 48 | function updateOverviewInitialSlideNo() { | CODE |
| LOW | packages/vscode/src/views/previewWebview.ts | 71 | function cancelPendingOverviewScroll() { | CODE |
| LOW | packages/vscode/src/views/annotations.ts | 100 | function updateCodeBlockLineNumbers(editor: ReturnType<typeof useActiveTextEditor>['value'], docText: string) { | CODE |
| LOW | packages/slidev/node/resolver.ts | 42 | export function findInvocationNodeModulesPath(argv1: string | undefined): string | undefined { | CODE |
| LOW | packages/slidev/node/resolver.ts | 92 | export function computeInvocationSearchPaths(ownNodeModules: string | undefined): string[] { | CODE |
| LOW | packages/slidev/node/resolver.ts | 215 | export async function promptForOptionalInstallation(pkgName: string, purpose: string): Promise<void> { | CODE |
| LOW⚡ | packages/slidev/node/utils.ts | 144 | function getImportGlobRelativePath(from: string, to: string) { | CODE |
| LOW⚡ | packages/slidev/node/utils.ts | 154 | function resolveImportGlobProxyModule(proxyBase: string, content: string) { | CODE |
| LOW⚡ | packages/slidev/node/utils.ts | 159 | export function createMakeAbsoluteImportGlob(baseRoot: string) { | CODE |
| LOW | packages/slidev/node/utils.ts | 183 | function makeAbsoluteImportGlobExpression( | CODE |
| LOW | packages/slidev/node/vite/patchMonacoSourceMap.ts | 12 | export function createPatchMonacoSourceMapPlugin( | CODE |
| LOW | packages/slidev/node/vite/layoutWrapper.ts | 9 | export function createLayoutWrapperPlugin( | CODE |
| LOW | packages/slidev/node/vite/pwa.ts | 75 | function createPWARegisterStubPlugin(): Plugin { | CODE |
| LOW | packages/slidev/node/vite/importGuard.ts | 20 | export function createSlideImportGuardPlugin(): Plugin { | CODE |
| LOW | packages/slidev/node/vite/contextInjection.ts | 10 | export function createContextInjectionPlugin(): Plugin { | CODE |
| LOW | packages/slidev/node/vite/compilerFlagsVue.ts | 10 | export function createVueCompilerFlagsPlugin( | CODE |
| LOW | packages/slidev/node/syntax/escape-code.ts | 5 | export default function MarkdownItEscapeInlineCode(md: MarkdownExit) { | CODE |
| LOW | packages/slidev/node/syntax/shiki.ts | 47 | function transformerTwoslashConditional(): ShikiTransformer { | CODE |
| LOW | packages/slidev/node/syntax/codeblock/magic-move.ts | 19 | function resolveMagicMoveSnippetImports(code: string, userRoot: string, slide: SlideInfo, watchFiles: Record<string, Set | CODE |
| LOW | packages/client/composables/useTocTree.ts | 24 | function getTreeWithActiveStatuses( | CODE |
| LOW | packages/client/state/storage.ts | 99 | export function increasePresenterFontSize() { | CODE |
| LOW | packages/client/state/storage.ts | 103 | export function decreasePresenterFontSize() { | CODE |
| LOW | packages/client/internals/DrawingControls.vue | 34 | function showStrokeWidthDropdownForPointer(event: PointerEvent) { | CODE |
| LOW | packages/client/pages/presenter.vue | 129 | function updateNotesWidthFromPointer(clientX: number) { | CODE |
| LOW | packages/client/pages/presenter.vue | 161 | function updateNotesRowSizeFromPointer(clientY: number) { | CODE |
| LOW | packages/client/pages/presenter.vue | 192 | function updateBottomSectionHeight() { | CODE |
| LOW | packages/client/builtin/katex-lines.ts | 4 | export function collectKatexEquationLines(el: Element): Element[][] { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/.vitepress/showcases.ts | 61 | // datetime: '2021-06-12', | COMMENT |
| LOW | docs/custom/index.md | 161 | # override the title level for the <TitleRenderer> and <Toc> components | COMMENT |
| LOW | packages/slidev/node/commands/pptx/normalize.ts | 741 | // | COMMENT |
| LOW | packages/slidev/node/commands/pptx/normalize.ts | 801 | return | COMMENT |
| LOW | packages/client/internals/TimerBar.vue | 1 | <script setup lang="ts"> | COMMENT |
| LOW | .github/workflows/smoke.yml | 161 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/starter/slides.md | 202 | name: 'John Doe', | CODE |
| LOW | demo/starter/slides.md | 217 | name: 'John Doe', | CODE |
| LOW | demo/starter/slides.md | 234 | name: 'John Doe', | CODE |
| LOW | demo/starter/slides.md | 251 | name: 'John Doe', | CODE |
| LOW | packages/client/internals/NoteEditable.vue | 137 | :placeholder="placeholder" | CODE |