Code
How slidevjs/slidev is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Likely public API
- Likely start-up file
- Likely start-up file
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new slide layout
- Define layout type in packages/types/src/builtin-layouts.ts with TypeScript interface
- Export layout from theme's main index and register in type system
Add parser middleware or transformation
- Create new transformation function in packages/parser/src/utils.ts or separate module
- Integrate into core.ts parsing pipeline by calling from parse() or related functions
- Add type definitions for output to packages/types/src/transform.ts if needed
- Write test in packages/parser/src/utils.test.ts to validate transformation
Add VSCode extension command or view
- Define command handler in packages/vscode/src/commands.ts
- Create tree view or panel in packages/vscode/src/views/ directory (e.g., slidesTree.ts)
- Register command/view in extension activation in packages/vscode/src/index.ts
Add new configuration option
- Add property to config types in packages/types/src/config.ts
- Parse and validate in packages/parser/src/config.ts parseConfig() function
- Pass through to client via packages/client/App.vue or inject into Vue context
- Document in README.md and packages/types/README.md
Change the public API
Trace runtime behavior
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.