Help us improve
Share bugs, ideas, or general feedback.
From nxl
Sets up the NextLens Top-Down Bridge module in a project. Use when the user requests to install, configure, or refresh NextLens module registration.
npx claudepluginhub crisweber2600/nextlens --plugin nxlHow this skill is triggered — by the user, by Claude, or both
Slash command
/nxl:bmad-nextlens-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Installs or refreshes the NextLens Top-Down Bridge as a multi-skill BMad module. Module identity, configuration variables, and registered capabilities come from `./assets/module.yaml` and `./assets/module-help.csv`.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Processes PDFs: extracts text/tables/images, merges/splits/rotates pages, adds watermarks, creates/fills forms, encrypts/decrypts, OCRs scans. Activates on PDF mentions or output requests.
Share bugs, ideas, or general feedback.
Installs or refreshes the NextLens Top-Down Bridge as a multi-skill BMad module. Module identity, configuration variables, and registered capabilities come from ./assets/module.yaml and ./assets/module-help.csv.
Setup writes or refreshes three project files:
{project-root}/_bmad/config.yaml for shared project settings and the nxl module section{project-root}/_bmad/config.user.yaml for user-only settings when collected{project-root}/_bmad/module-help.csv for the NextLens setup, new, doctor, and salmon help entriesBoth merge scripts use anti-zombie replacement so stale NextLens rows and config values do not remain after reconfiguration.
./assets/module.yaml for module metadata and defaults.{project-root}/_bmad/config.yaml already contains an nxl section. If it does, treat this as an update.Default module values:
nextlens_docs_path: {project-root}/docsnextlens_landscape_store: {project-root}/docs/landscapenextlens_idempotency_ttl_hours: 24Keep {project-root} as a literal token in stored config values. Resolve it to an actual path only when creating directories on disk.
Write a temporary JSON answers file shaped like this:
{
"module": {
"nextlens_docs_path": "{project-root}/docs",
"nextlens_landscape_store": "{project-root}/docs/landscape",
"nextlens_idempotency_ttl_hours": 24
}
}
Then run from this skill directory:
python ./scripts/merge-config.py --config-path "{project-root}/_bmad/config.yaml" --user-config-path "{project-root}/_bmad/config.user.yaml" --module-yaml ./assets/module.yaml --answers "{answers-file}" --legacy-dir "{project-root}/_bmad"
python ./scripts/merge-help-csv.py --target "{project-root}/_bmad/module-help.csv" --source ./assets/module-help.csv --legacy-dir "{project-root}/_bmad" --module-code nxl
After the scripts succeed, create directories from directories in module.yaml, resolving placeholders from the stored config values.
Summarize the written config section, user settings if any, help entries registered, and any legacy files removed. Then display the module_greeting from ./assets/module.yaml.