A skill covering all APIs in the official Driver.js documentation. Read the appropriate README.md according to the user's task, and from there follow it to the individual files.
Directory structure
skills/driverjs/
SKILL.md
references/
getting-started/
README.md
installation.md
basic-usage.md
api/
README.md
configuration.md
methods.md
theming.md
examples/
README.md
async-and-lifecycle.md
highlight-and-popover.md
styling.md
tours.md
migration/
README.md
migrate-to-1x.md
samples/
README.md
basic-tour.md
single-element-highlight.md
async-tour.md
confirm-on-exit.md
custom-popover-buttons.md
custom-theme.md
scripts/
README.md
install.md
setup.md
api.md
Exploration procedure
Derive the category from the task, and identify the target page in the category's README.md:
- Find the category corresponding to the task in the mapping table below
- For that category,
references/{category}/README.mdto identify the target page - For the relevant page,
.mdand check the details
Task → Category Mapping
| Task | Category | Reference README |
|---|---|---|
| npm install, CDN, import, driver() initialization, starting a tour | getting-started | references/getting-started/README.md |
| I want to check installation methods and package managers | getting-started | references/getting-started/README.md |
| I want to examine Config options, the DriveStep type, callbacks/hooks | api | references/api/README.md |
| I want to examine methods such as drive(), moveNext(), destroy(), getState(), setConfig() | api | references/api/README.md |
| CSS classes, popoverClass, onPopoverRender, theme customization | api | references/api/README.md |
| I want to know patterns for asynchronous steps, exit confirmation, and lifecycle control | examples | references/examples/README.md |
| I want to know patterns for popover placement, button settings, and single-element highlighting | examples | references/examples/README.md |
| I want to know how to customize the appearance of the overlay and popover | examples | references/examples/README.md |
| I want to see configuration examples for multi-step tours | examples | references/examples/README.md |
| I want to check the 0.x → 1.x migration, breaking changes, and API renames | migration | references/migration/README.md |
| I want to know typical usage | samples | samples/README.md |
| I want to know the commands for installation, initialization, and API execution | scripts | scripts/README.md |