一键导入
ldm-architecture
Activate this skill whenever designing new features, modifying Docker compose logic, or interacting with Liferay environments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Activate this skill whenever designing new features, modifying Docker compose logic, or interacting with Liferay environments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Activate this skill whenever writing tests, running linters, or committing code.
Activate this skill whenever preparing a release, bumping versions, or creating tags.
Activate this skill whenever opening Pull Requests, creating branches, or responding to GitHub issues.
Run FIRST before any task when workspace root lacks AGENTS.md. Creates AGENTS.md tailored to the Python environment (pyproject.toml, .venv, pytest).
Guides agents on documenting, naming, and categorizing upstream bugs/limitations in the repository's JIRA issue tracker.
Guides and scripts for developing, testing, linting, and releasing Liferay Docker Manager (LDM).
| name | ldm-architecture |
| description | Activate this skill whenever designing new features, modifying Docker compose logic, or interacting with Liferay environments. |
To resolve critical filesystem locking deadlocks (e.g., Unable to create lock manager or access_denied_exception), LDM MUST use a split-volume approach:
/opt/liferay/data/opt/liferay/osgi/state/mnt/liferay/deploy/mnt/liferay/files/mnt/liferay/scripts/opt/liferay/osgi/modules/opt/liferay/osgi/client-extensions/opt/liferay/osgi/log4jname: property for all Named Volumes in the generated docker-compose.yml.ReservedCodeCacheSize=512m) and disable restrictive optimizations (e.g. TieredStopAtLevel=1) during "Production-grade" workloads like full search reindexing to prevent NoSuchMethodException and CodeCache exhaustion.LIFERAY_LOG4J2_CONFIGURATION_FILE injection to guarantee hot-reload capability.To support CI/CD pipelines and headless automation, all LDM commands MUST adhere to a standardized exit code contract:
0: Success.1: Generic/Validation Error.2: Authentication/Permission Error (e.g. LCP login required).3: Infrastructure/Data Error (e.g. Backup download failure).4: Orchestration/Deployment Error.126: Command Invocation Error.LDM serves as a bridge for Liferay Cloud development. To maintain stability, it enforces a strict boundary:
database.gz and volume.tgz).custom_containers feature rather than altering the native LDM Python orchestration.docker-compose-templates/ to understand the standard shared-search-net and shared-crawl-net external networking boundaries. Do not invent new bridging architectures if these templates suffice.