Start in a worktree
The agent creates an isolated worktree so issue work can begin without disturbing the main checkout.
Open videoA CLI for the Liferay operations that today only live in the admin UI — import/export, structure migration, environment bootstrap, isolated worktrees, and agent workflows.
The agent inspects the task, changes the repo, and drives the fix through the ldev workflow.
npm i -g @mordonezdev/ldevldev portal inventory sites --json
ldev portal inventory pages --site /global --json
ldev portal inventory page --url /home --jsonConsolidated portal context — sites, pages, structures and templates — in single structured calls. For humans, scripts and agents.
ldev resource export-structures --all-sites
ldev resource import-structures --check-only
ldev resource import-structures --applyStructures, templates, ADTs and fragments out of the UI and into Git. Preview with --check-only, then apply.
ldev resource migration-init --site /global --structure STR_ARTICLE
ldev resource migration-pipeline --migration-file STR_ARTICLE.migration.json --check-only --migration-dry-run
ldev resource migration-pipeline --migration-file STR_ARTICLE.migration.jsonPlan, validate and run a structure migration with article-level mapping. The workflow Liferay does not give you.
JSON outputs, installed skills, and project bootstrap — so an agent can run the same workflows you run, without a custom integration. Start with npx skills add https://github.com/mordonez/ldev.
Create an isolated worktree so the agent can begin safely from the current repository.
The agent creates an isolated worktree so issue work can begin without disturbing the main checkout.
Open video