@jahia/agentic 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/dist/claude/.claude/rules/jahia.md +76 -0
- package/dist/claude/.claude/skills/jahia/SKILL.md +136 -0
- package/dist/claude/.claude/skills/jahia-content/SKILL.md +139 -0
- package/dist/claude/.claude/skills/jahia-content-create-content/SKILL.md +384 -0
- package/dist/claude/.claude/skills/jahia-content-explore-structure/SKILL.md +164 -0
- package/dist/claude/.claude/skills/jahia-content-move-content/SKILL.md +236 -0
- package/dist/claude/.claude/skills/jahia-content-query-content/SKILL.md +144 -0
- package/dist/claude/.claude/skills/jahia-content-translate-content/SKILL.md +297 -0
- package/dist/claude/.claude/skills/jahia-dev/SKILL.md +124 -0
- package/dist/claude/.claude/skills/jahia-dev-accessibility/SKILL.md +271 -0
- package/dist/claude/.claude/skills/jahia-dev-apis/SKILL.md +52 -0
- package/dist/claude/.claude/skills/jahia-dev-apis/references/authentication.md +484 -0
- package/dist/claude/.claude/skills/jahia-dev-apis/references/graphql.md +657 -0
- package/dist/claude/.claude/skills/jahia-dev-apis/references/jcr-api.md +465 -0
- package/dist/claude/.claude/skills/jahia-dev-apis/references/security.md +541 -0
- package/dist/claude/.claude/skills/jahia-dev-build-component/SKILL.md +140 -0
- package/dist/claude/.claude/skills/jahia-dev-create-page-template/SKILL.md +303 -0
- package/dist/claude/.claude/skills/jahia-dev-create-template-set/SKILL.md +232 -0
- package/dist/claude/.claude/skills/jahia-dev-create-view/SKILL.md +838 -0
- package/dist/claude/.claude/skills/jahia-dev-cypress/SKILL.md +445 -0
- package/dist/claude/.claude/skills/jahia-dev-debug/SKILL.md +176 -0
- package/dist/claude/.claude/skills/jahia-dev-define-content-type/SKILL.md +536 -0
- package/dist/claude/.claude/skills/jahia-dev-import-from/SKILL.md +244 -0
- package/dist/claude/.claude/skills/jahia-dev-java/SKILL.md +105 -0
- package/dist/claude/.claude/skills/jahia-dev-java/references/backend.md +331 -0
- package/dist/claude/.claude/skills/jahia-dev-java/references/content-types.md +273 -0
- package/dist/claude/.claude/skills/jahia-dev-java/references/modules.md +218 -0
- package/dist/claude/.claude/skills/jahia-dev-java/references/osgi.md +208 -0
- package/dist/claude/.claude/skills/jahia-dev-java/references/rendering.md +191 -0
- package/dist/claude/.claude/skills/jahia-dev-java/references/ui-extensions.md +344 -0
- package/dist/claude/.claude/skills/jahia-dev-jexperience/SKILL.md +269 -0
- package/dist/claude/.claude/skills/jahia-dev-ops/SKILL.md +50 -0
- package/dist/claude/.claude/skills/jahia-dev-ops/references/docker.md +151 -0
- package/dist/claude/.claude/skills/jahia-dev-ops/references/monitoring.md +195 -0
- package/dist/claude/.claude/skills/jahia-dev-ops/references/provisioning.md +269 -0
- package/dist/claude/.claude/skills/jahia-dev-osgi-module/SKILL.md +297 -0
- package/dist/claude/.claude/skills/jahia-dev-properties/SKILL.md +147 -0
- package/dist/claude/.claude/skills/jahia-dev-properties/references/all-properties.md +231 -0
- package/dist/claude/.claude/skills/jahia-dev-query-content/SKILL.md +407 -0
- package/dist/claude/.claude/skills/jahia-dev-review/SKILL.md +228 -0
- package/dist/claude/.claude/skills/jahia-dev-screenshot/SKILL.md +177 -0
- package/dist/claude/.claude/skills/jahia-dev-start-local/SKILL.md +129 -0
- package/dist/claude/.claude/skills/jahia-dev-ui-extension/SKILL.md +559 -0
- package/dist/claude/CLAUDE.md +90 -0
- package/dist/codex/.agents/skills/jahia/SKILL.md +136 -0
- package/dist/codex/.agents/skills/jahia-content/SKILL.md +139 -0
- package/dist/codex/.agents/skills/jahia-content-create-content/SKILL.md +384 -0
- package/dist/codex/.agents/skills/jahia-content-explore-structure/SKILL.md +164 -0
- package/dist/codex/.agents/skills/jahia-content-move-content/SKILL.md +236 -0
- package/dist/codex/.agents/skills/jahia-content-query-content/SKILL.md +144 -0
- package/dist/codex/.agents/skills/jahia-content-translate-content/SKILL.md +297 -0
- package/dist/codex/.agents/skills/jahia-dev/SKILL.md +124 -0
- package/dist/codex/.agents/skills/jahia-dev-accessibility/SKILL.md +271 -0
- package/dist/codex/.agents/skills/jahia-dev-apis/SKILL.md +52 -0
- package/dist/codex/.agents/skills/jahia-dev-apis/references/authentication.md +484 -0
- package/dist/codex/.agents/skills/jahia-dev-apis/references/graphql.md +657 -0
- package/dist/codex/.agents/skills/jahia-dev-apis/references/jcr-api.md +465 -0
- package/dist/codex/.agents/skills/jahia-dev-apis/references/security.md +541 -0
- package/dist/codex/.agents/skills/jahia-dev-build-component/SKILL.md +140 -0
- package/dist/codex/.agents/skills/jahia-dev-create-page-template/SKILL.md +303 -0
- package/dist/codex/.agents/skills/jahia-dev-create-template-set/SKILL.md +232 -0
- package/dist/codex/.agents/skills/jahia-dev-create-view/SKILL.md +838 -0
- package/dist/codex/.agents/skills/jahia-dev-cypress/SKILL.md +445 -0
- package/dist/codex/.agents/skills/jahia-dev-debug/SKILL.md +176 -0
- package/dist/codex/.agents/skills/jahia-dev-define-content-type/SKILL.md +536 -0
- package/dist/codex/.agents/skills/jahia-dev-import-from/SKILL.md +244 -0
- package/dist/codex/.agents/skills/jahia-dev-java/SKILL.md +105 -0
- package/dist/codex/.agents/skills/jahia-dev-java/references/backend.md +331 -0
- package/dist/codex/.agents/skills/jahia-dev-java/references/content-types.md +273 -0
- package/dist/codex/.agents/skills/jahia-dev-java/references/modules.md +218 -0
- package/dist/codex/.agents/skills/jahia-dev-java/references/osgi.md +208 -0
- package/dist/codex/.agents/skills/jahia-dev-java/references/rendering.md +191 -0
- package/dist/codex/.agents/skills/jahia-dev-java/references/ui-extensions.md +344 -0
- package/dist/codex/.agents/skills/jahia-dev-jexperience/SKILL.md +269 -0
- package/dist/codex/.agents/skills/jahia-dev-ops/SKILL.md +50 -0
- package/dist/codex/.agents/skills/jahia-dev-ops/references/docker.md +151 -0
- package/dist/codex/.agents/skills/jahia-dev-ops/references/monitoring.md +195 -0
- package/dist/codex/.agents/skills/jahia-dev-ops/references/provisioning.md +269 -0
- package/dist/codex/.agents/skills/jahia-dev-osgi-module/SKILL.md +297 -0
- package/dist/codex/.agents/skills/jahia-dev-properties/SKILL.md +147 -0
- package/dist/codex/.agents/skills/jahia-dev-properties/references/all-properties.md +231 -0
- package/dist/codex/.agents/skills/jahia-dev-query-content/SKILL.md +407 -0
- package/dist/codex/.agents/skills/jahia-dev-review/SKILL.md +228 -0
- package/dist/codex/.agents/skills/jahia-dev-screenshot/SKILL.md +177 -0
- package/dist/codex/.agents/skills/jahia-dev-start-local/SKILL.md +129 -0
- package/dist/codex/.agents/skills/jahia-dev-ui-extension/SKILL.md +559 -0
- package/dist/codex/AGENTS.md +89 -0
- package/dist/copilot/.agents/skills/jahia/SKILL.md +136 -0
- package/dist/copilot/.agents/skills/jahia-content/SKILL.md +139 -0
- package/dist/copilot/.agents/skills/jahia-content-create-content/SKILL.md +384 -0
- package/dist/copilot/.agents/skills/jahia-content-explore-structure/SKILL.md +164 -0
- package/dist/copilot/.agents/skills/jahia-content-move-content/SKILL.md +236 -0
- package/dist/copilot/.agents/skills/jahia-content-query-content/SKILL.md +144 -0
- package/dist/copilot/.agents/skills/jahia-content-translate-content/SKILL.md +297 -0
- package/dist/copilot/.agents/skills/jahia-dev/SKILL.md +124 -0
- package/dist/copilot/.agents/skills/jahia-dev-accessibility/SKILL.md +271 -0
- package/dist/copilot/.agents/skills/jahia-dev-apis/SKILL.md +52 -0
- package/dist/copilot/.agents/skills/jahia-dev-apis/references/authentication.md +484 -0
- package/dist/copilot/.agents/skills/jahia-dev-apis/references/graphql.md +657 -0
- package/dist/copilot/.agents/skills/jahia-dev-apis/references/jcr-api.md +465 -0
- package/dist/copilot/.agents/skills/jahia-dev-apis/references/security.md +541 -0
- package/dist/copilot/.agents/skills/jahia-dev-build-component/SKILL.md +140 -0
- package/dist/copilot/.agents/skills/jahia-dev-create-page-template/SKILL.md +303 -0
- package/dist/copilot/.agents/skills/jahia-dev-create-template-set/SKILL.md +232 -0
- package/dist/copilot/.agents/skills/jahia-dev-create-view/SKILL.md +838 -0
- package/dist/copilot/.agents/skills/jahia-dev-cypress/SKILL.md +445 -0
- package/dist/copilot/.agents/skills/jahia-dev-debug/SKILL.md +176 -0
- package/dist/copilot/.agents/skills/jahia-dev-define-content-type/SKILL.md +536 -0
- package/dist/copilot/.agents/skills/jahia-dev-import-from/SKILL.md +244 -0
- package/dist/copilot/.agents/skills/jahia-dev-java/SKILL.md +105 -0
- package/dist/copilot/.agents/skills/jahia-dev-java/references/backend.md +331 -0
- package/dist/copilot/.agents/skills/jahia-dev-java/references/content-types.md +273 -0
- package/dist/copilot/.agents/skills/jahia-dev-java/references/modules.md +218 -0
- package/dist/copilot/.agents/skills/jahia-dev-java/references/osgi.md +208 -0
- package/dist/copilot/.agents/skills/jahia-dev-java/references/rendering.md +191 -0
- package/dist/copilot/.agents/skills/jahia-dev-java/references/ui-extensions.md +344 -0
- package/dist/copilot/.agents/skills/jahia-dev-jexperience/SKILL.md +269 -0
- package/dist/copilot/.agents/skills/jahia-dev-ops/SKILL.md +50 -0
- package/dist/copilot/.agents/skills/jahia-dev-ops/references/docker.md +151 -0
- package/dist/copilot/.agents/skills/jahia-dev-ops/references/monitoring.md +195 -0
- package/dist/copilot/.agents/skills/jahia-dev-ops/references/provisioning.md +269 -0
- package/dist/copilot/.agents/skills/jahia-dev-osgi-module/SKILL.md +297 -0
- package/dist/copilot/.agents/skills/jahia-dev-properties/SKILL.md +147 -0
- package/dist/copilot/.agents/skills/jahia-dev-properties/references/all-properties.md +231 -0
- package/dist/copilot/.agents/skills/jahia-dev-query-content/SKILL.md +407 -0
- package/dist/copilot/.agents/skills/jahia-dev-review/SKILL.md +228 -0
- package/dist/copilot/.agents/skills/jahia-dev-screenshot/SKILL.md +177 -0
- package/dist/copilot/.agents/skills/jahia-dev-start-local/SKILL.md +129 -0
- package/dist/copilot/.agents/skills/jahia-dev-ui-extension/SKILL.md +559 -0
- package/dist/copilot/AGENTS.md +89 -0
- package/dist/cursor/.agents/skills/jahia/SKILL.md +136 -0
- package/dist/cursor/.agents/skills/jahia-content/SKILL.md +139 -0
- package/dist/cursor/.agents/skills/jahia-content-create-content/SKILL.md +384 -0
- package/dist/cursor/.agents/skills/jahia-content-explore-structure/SKILL.md +164 -0
- package/dist/cursor/.agents/skills/jahia-content-move-content/SKILL.md +236 -0
- package/dist/cursor/.agents/skills/jahia-content-query-content/SKILL.md +144 -0
- package/dist/cursor/.agents/skills/jahia-content-translate-content/SKILL.md +297 -0
- package/dist/cursor/.agents/skills/jahia-dev/SKILL.md +124 -0
- package/dist/cursor/.agents/skills/jahia-dev-accessibility/SKILL.md +271 -0
- package/dist/cursor/.agents/skills/jahia-dev-apis/SKILL.md +52 -0
- package/dist/cursor/.agents/skills/jahia-dev-apis/references/authentication.md +484 -0
- package/dist/cursor/.agents/skills/jahia-dev-apis/references/graphql.md +657 -0
- package/dist/cursor/.agents/skills/jahia-dev-apis/references/jcr-api.md +465 -0
- package/dist/cursor/.agents/skills/jahia-dev-apis/references/security.md +541 -0
- package/dist/cursor/.agents/skills/jahia-dev-build-component/SKILL.md +140 -0
- package/dist/cursor/.agents/skills/jahia-dev-create-page-template/SKILL.md +303 -0
- package/dist/cursor/.agents/skills/jahia-dev-create-template-set/SKILL.md +232 -0
- package/dist/cursor/.agents/skills/jahia-dev-create-view/SKILL.md +838 -0
- package/dist/cursor/.agents/skills/jahia-dev-cypress/SKILL.md +445 -0
- package/dist/cursor/.agents/skills/jahia-dev-debug/SKILL.md +176 -0
- package/dist/cursor/.agents/skills/jahia-dev-define-content-type/SKILL.md +536 -0
- package/dist/cursor/.agents/skills/jahia-dev-import-from/SKILL.md +244 -0
- package/dist/cursor/.agents/skills/jahia-dev-java/SKILL.md +105 -0
- package/dist/cursor/.agents/skills/jahia-dev-java/references/backend.md +331 -0
- package/dist/cursor/.agents/skills/jahia-dev-java/references/content-types.md +273 -0
- package/dist/cursor/.agents/skills/jahia-dev-java/references/modules.md +218 -0
- package/dist/cursor/.agents/skills/jahia-dev-java/references/osgi.md +208 -0
- package/dist/cursor/.agents/skills/jahia-dev-java/references/rendering.md +191 -0
- package/dist/cursor/.agents/skills/jahia-dev-java/references/ui-extensions.md +344 -0
- package/dist/cursor/.agents/skills/jahia-dev-jexperience/SKILL.md +269 -0
- package/dist/cursor/.agents/skills/jahia-dev-ops/SKILL.md +50 -0
- package/dist/cursor/.agents/skills/jahia-dev-ops/references/docker.md +151 -0
- package/dist/cursor/.agents/skills/jahia-dev-ops/references/monitoring.md +195 -0
- package/dist/cursor/.agents/skills/jahia-dev-ops/references/provisioning.md +269 -0
- package/dist/cursor/.agents/skills/jahia-dev-osgi-module/SKILL.md +297 -0
- package/dist/cursor/.agents/skills/jahia-dev-properties/SKILL.md +147 -0
- package/dist/cursor/.agents/skills/jahia-dev-properties/references/all-properties.md +231 -0
- package/dist/cursor/.agents/skills/jahia-dev-query-content/SKILL.md +407 -0
- package/dist/cursor/.agents/skills/jahia-dev-review/SKILL.md +228 -0
- package/dist/cursor/.agents/skills/jahia-dev-screenshot/SKILL.md +177 -0
- package/dist/cursor/.agents/skills/jahia-dev-start-local/SKILL.md +129 -0
- package/dist/cursor/.agents/skills/jahia-dev-ui-extension/SKILL.md +559 -0
- package/dist/cursor/.cursor/rules/jahia.mdc +80 -0
- package/dist/gemini/.agents/skills/jahia/SKILL.md +136 -0
- package/dist/gemini/.agents/skills/jahia-content/SKILL.md +139 -0
- package/dist/gemini/.agents/skills/jahia-content-create-content/SKILL.md +384 -0
- package/dist/gemini/.agents/skills/jahia-content-explore-structure/SKILL.md +164 -0
- package/dist/gemini/.agents/skills/jahia-content-move-content/SKILL.md +236 -0
- package/dist/gemini/.agents/skills/jahia-content-query-content/SKILL.md +144 -0
- package/dist/gemini/.agents/skills/jahia-content-translate-content/SKILL.md +297 -0
- package/dist/gemini/.agents/skills/jahia-dev/SKILL.md +124 -0
- package/dist/gemini/.agents/skills/jahia-dev-accessibility/SKILL.md +271 -0
- package/dist/gemini/.agents/skills/jahia-dev-apis/SKILL.md +52 -0
- package/dist/gemini/.agents/skills/jahia-dev-apis/references/authentication.md +484 -0
- package/dist/gemini/.agents/skills/jahia-dev-apis/references/graphql.md +657 -0
- package/dist/gemini/.agents/skills/jahia-dev-apis/references/jcr-api.md +465 -0
- package/dist/gemini/.agents/skills/jahia-dev-apis/references/security.md +541 -0
- package/dist/gemini/.agents/skills/jahia-dev-build-component/SKILL.md +140 -0
- package/dist/gemini/.agents/skills/jahia-dev-create-page-template/SKILL.md +303 -0
- package/dist/gemini/.agents/skills/jahia-dev-create-template-set/SKILL.md +232 -0
- package/dist/gemini/.agents/skills/jahia-dev-create-view/SKILL.md +838 -0
- package/dist/gemini/.agents/skills/jahia-dev-cypress/SKILL.md +445 -0
- package/dist/gemini/.agents/skills/jahia-dev-debug/SKILL.md +176 -0
- package/dist/gemini/.agents/skills/jahia-dev-define-content-type/SKILL.md +536 -0
- package/dist/gemini/.agents/skills/jahia-dev-import-from/SKILL.md +244 -0
- package/dist/gemini/.agents/skills/jahia-dev-java/SKILL.md +105 -0
- package/dist/gemini/.agents/skills/jahia-dev-java/references/backend.md +331 -0
- package/dist/gemini/.agents/skills/jahia-dev-java/references/content-types.md +273 -0
- package/dist/gemini/.agents/skills/jahia-dev-java/references/modules.md +218 -0
- package/dist/gemini/.agents/skills/jahia-dev-java/references/osgi.md +208 -0
- package/dist/gemini/.agents/skills/jahia-dev-java/references/rendering.md +191 -0
- package/dist/gemini/.agents/skills/jahia-dev-java/references/ui-extensions.md +344 -0
- package/dist/gemini/.agents/skills/jahia-dev-jexperience/SKILL.md +269 -0
- package/dist/gemini/.agents/skills/jahia-dev-ops/SKILL.md +50 -0
- package/dist/gemini/.agents/skills/jahia-dev-ops/references/docker.md +151 -0
- package/dist/gemini/.agents/skills/jahia-dev-ops/references/monitoring.md +195 -0
- package/dist/gemini/.agents/skills/jahia-dev-ops/references/provisioning.md +269 -0
- package/dist/gemini/.agents/skills/jahia-dev-osgi-module/SKILL.md +297 -0
- package/dist/gemini/.agents/skills/jahia-dev-properties/SKILL.md +147 -0
- package/dist/gemini/.agents/skills/jahia-dev-properties/references/all-properties.md +231 -0
- package/dist/gemini/.agents/skills/jahia-dev-query-content/SKILL.md +407 -0
- package/dist/gemini/.agents/skills/jahia-dev-review/SKILL.md +228 -0
- package/dist/gemini/.agents/skills/jahia-dev-screenshot/SKILL.md +177 -0
- package/dist/gemini/.agents/skills/jahia-dev-start-local/SKILL.md +129 -0
- package/dist/gemini/.agents/skills/jahia-dev-ui-extension/SKILL.md +559 -0
- package/dist/gemini/AGENTS.md +89 -0
- package/dist/gemini/GEMINI.md +6 -0
- package/dist/index.js +975 -0
- package/dist/opencode/.agents/skills/jahia/SKILL.md +136 -0
- package/dist/opencode/.agents/skills/jahia-content/SKILL.md +139 -0
- package/dist/opencode/.agents/skills/jahia-content-create-content/SKILL.md +384 -0
- package/dist/opencode/.agents/skills/jahia-content-explore-structure/SKILL.md +164 -0
- package/dist/opencode/.agents/skills/jahia-content-move-content/SKILL.md +236 -0
- package/dist/opencode/.agents/skills/jahia-content-query-content/SKILL.md +144 -0
- package/dist/opencode/.agents/skills/jahia-content-translate-content/SKILL.md +297 -0
- package/dist/opencode/.agents/skills/jahia-dev/SKILL.md +124 -0
- package/dist/opencode/.agents/skills/jahia-dev-accessibility/SKILL.md +271 -0
- package/dist/opencode/.agents/skills/jahia-dev-apis/SKILL.md +52 -0
- package/dist/opencode/.agents/skills/jahia-dev-apis/references/authentication.md +484 -0
- package/dist/opencode/.agents/skills/jahia-dev-apis/references/graphql.md +657 -0
- package/dist/opencode/.agents/skills/jahia-dev-apis/references/jcr-api.md +465 -0
- package/dist/opencode/.agents/skills/jahia-dev-apis/references/security.md +541 -0
- package/dist/opencode/.agents/skills/jahia-dev-build-component/SKILL.md +140 -0
- package/dist/opencode/.agents/skills/jahia-dev-create-page-template/SKILL.md +303 -0
- package/dist/opencode/.agents/skills/jahia-dev-create-template-set/SKILL.md +232 -0
- package/dist/opencode/.agents/skills/jahia-dev-create-view/SKILL.md +838 -0
- package/dist/opencode/.agents/skills/jahia-dev-cypress/SKILL.md +445 -0
- package/dist/opencode/.agents/skills/jahia-dev-debug/SKILL.md +176 -0
- package/dist/opencode/.agents/skills/jahia-dev-define-content-type/SKILL.md +536 -0
- package/dist/opencode/.agents/skills/jahia-dev-import-from/SKILL.md +244 -0
- package/dist/opencode/.agents/skills/jahia-dev-java/SKILL.md +105 -0
- package/dist/opencode/.agents/skills/jahia-dev-java/references/backend.md +331 -0
- package/dist/opencode/.agents/skills/jahia-dev-java/references/content-types.md +273 -0
- package/dist/opencode/.agents/skills/jahia-dev-java/references/modules.md +218 -0
- package/dist/opencode/.agents/skills/jahia-dev-java/references/osgi.md +208 -0
- package/dist/opencode/.agents/skills/jahia-dev-java/references/rendering.md +191 -0
- package/dist/opencode/.agents/skills/jahia-dev-java/references/ui-extensions.md +344 -0
- package/dist/opencode/.agents/skills/jahia-dev-jexperience/SKILL.md +269 -0
- package/dist/opencode/.agents/skills/jahia-dev-ops/SKILL.md +50 -0
- package/dist/opencode/.agents/skills/jahia-dev-ops/references/docker.md +151 -0
- package/dist/opencode/.agents/skills/jahia-dev-ops/references/monitoring.md +195 -0
- package/dist/opencode/.agents/skills/jahia-dev-ops/references/provisioning.md +269 -0
- package/dist/opencode/.agents/skills/jahia-dev-osgi-module/SKILL.md +297 -0
- package/dist/opencode/.agents/skills/jahia-dev-properties/SKILL.md +147 -0
- package/dist/opencode/.agents/skills/jahia-dev-properties/references/all-properties.md +231 -0
- package/dist/opencode/.agents/skills/jahia-dev-query-content/SKILL.md +407 -0
- package/dist/opencode/.agents/skills/jahia-dev-review/SKILL.md +228 -0
- package/dist/opencode/.agents/skills/jahia-dev-screenshot/SKILL.md +177 -0
- package/dist/opencode/.agents/skills/jahia-dev-start-local/SKILL.md +129 -0
- package/dist/opencode/.agents/skills/jahia-dev-ui-extension/SKILL.md +559 -0
- package/dist/opencode/AGENTS.md +89 -0
- package/dist/windsurf/.windsurf/rules/jahia.md +80 -0
- package/dist/windsurf/.windsurf/skills/jahia/SKILL.md +136 -0
- package/dist/windsurf/.windsurf/skills/jahia-content/SKILL.md +139 -0
- package/dist/windsurf/.windsurf/skills/jahia-content-create-content/SKILL.md +384 -0
- package/dist/windsurf/.windsurf/skills/jahia-content-explore-structure/SKILL.md +164 -0
- package/dist/windsurf/.windsurf/skills/jahia-content-move-content/SKILL.md +236 -0
- package/dist/windsurf/.windsurf/skills/jahia-content-query-content/SKILL.md +144 -0
- package/dist/windsurf/.windsurf/skills/jahia-content-translate-content/SKILL.md +297 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev/SKILL.md +124 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-accessibility/SKILL.md +271 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-apis/SKILL.md +52 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-apis/references/authentication.md +484 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-apis/references/graphql.md +657 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-apis/references/jcr-api.md +465 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-apis/references/security.md +541 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-build-component/SKILL.md +140 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-create-page-template/SKILL.md +303 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-create-template-set/SKILL.md +232 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-create-view/SKILL.md +838 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-cypress/SKILL.md +445 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-debug/SKILL.md +176 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-define-content-type/SKILL.md +536 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-import-from/SKILL.md +244 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-java/SKILL.md +105 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-java/references/backend.md +331 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-java/references/content-types.md +273 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-java/references/modules.md +218 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-java/references/osgi.md +208 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-java/references/rendering.md +191 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-java/references/ui-extensions.md +344 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-jexperience/SKILL.md +269 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-ops/SKILL.md +50 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-ops/references/docker.md +151 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-ops/references/monitoring.md +195 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-ops/references/provisioning.md +269 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-osgi-module/SKILL.md +297 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-properties/SKILL.md +147 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-properties/references/all-properties.md +231 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-query-content/SKILL.md +407 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-review/SKILL.md +228 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-screenshot/SKILL.md +177 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-start-local/SKILL.md +129 -0
- package/dist/windsurf/.windsurf/skills/jahia-dev-ui-extension/SKILL.md +559 -0
- package/dist/windsurf/AGENTS.md +89 -0
- package/package.json +28 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: jahia-dev
|
|
3
|
+
description: Entry point for Jahia JavaScript module development. Detects your project state and tells you what to do next. Start here if you are new to the project or unsure what skill to use.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Jahia Dev — Project GPS
|
|
7
|
+
|
|
8
|
+
You are the entry point for Jahia JavaScript module development. Your job is to assess the current project state and guide the user to the right next skill.
|
|
9
|
+
|
|
10
|
+
## Step 1 — Detect project state
|
|
11
|
+
|
|
12
|
+
Run all checks in parallel.
|
|
13
|
+
|
|
14
|
+
### 1. Module exists?
|
|
15
|
+
|
|
16
|
+
Search for a `package.json` that references `@jahia/javascript-modules-library` in the current directory or subdirectories:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
find . -name "package.json" -not -path "*/node_modules/*" | xargs grep -l "@jahia/javascript-modules-library" 2>/dev/null | head -5
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
- Found → record the module name (from the `name` field in that `package.json`)
|
|
23
|
+
- Not found → module does not exist yet
|
|
24
|
+
|
|
25
|
+
### 2. Jahia running?
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/cms/login
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- `200` → Jahia is running at `http://localhost:8080`
|
|
32
|
+
- Anything else → Jahia is not running
|
|
33
|
+
|
|
34
|
+
### 3. Content types defined?
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
find src/components -name "definition.cnd" 2>/dev/null | wc -l
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Record the count of `.cnd` files found under `src/components`.
|
|
41
|
+
|
|
42
|
+
### 4. Views defined?
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
find src/components -name "*.server.tsx" -o -name "*.client.tsx" 2>/dev/null | wc -l
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Record the count of view files found.
|
|
49
|
+
|
|
50
|
+
### 5. Page templates defined?
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
find src/templates/Page -type f 2>/dev/null | wc -l
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Record the count of files in `src/templates/Page/`. More than 1 means custom templates exist (the default `index.server.tsx` is always present).
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Step 2 — Report project state to user
|
|
61
|
+
|
|
62
|
+
Print a clear, scannable status summary:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
📦 Module: ✅ <module-name> (found) OR ❌ not found
|
|
66
|
+
🐳 Jahia: ✅ running at http://localhost:8080 OR ❌ not running
|
|
67
|
+
📋 Content types: <N> defined
|
|
68
|
+
🖼 Views: <N> defined
|
|
69
|
+
📄 Page templates: <N> defined
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Step 3 — Recommend next action
|
|
75
|
+
|
|
76
|
+
Use the matrix below to pick exactly one recommendation to highlight:
|
|
77
|
+
|
|
78
|
+
| Condition | Recommendation |
|
|
79
|
+
|-----------|---------------|
|
|
80
|
+
| No module found | 🚀 **Start here:** invoke `/jahia-dev-create-template-set` to scaffold a new Jahia JavaScript module. |
|
|
81
|
+
| Module found, Jahia not running | 🐳 Your module is ready. Invoke `/jahia-dev-start-local` to start Jahia locally (Docker recommended). |
|
|
82
|
+
| Module + Jahia running, 0 content types | 🎯 Jahia is running! Time to build your first component. Invoke `/jahia-dev-build-component` to create a content type + view. |
|
|
83
|
+
| Module + Jahia running, content types exist, ≤1 page template | 📐 You have components. Invoke `/jahia-dev-create-page-template` to create a page template and start assembling pages. |
|
|
84
|
+
| Module + Jahia running, templates exist (>1) | 🏗 Your module is taking shape! Choose what to do next (see options below). |
|
|
85
|
+
|
|
86
|
+
When the last condition applies, present all options:
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
🏗 Your module is taking shape! What would you like to do next?
|
|
90
|
+
- Add a new component → /jahia-dev-build-component
|
|
91
|
+
- Create a content listing → /jahia-dev-query-content
|
|
92
|
+
- Review your code for issues → /jahia-dev-review
|
|
93
|
+
- Screenshot a reference site → /jahia-dev-screenshot
|
|
94
|
+
- Create a new page template → /jahia-dev-create-page-template
|
|
95
|
+
- Clean up boilerplate → run /jahia-dev-review and look for S10
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Step 4 — Print the full skill map
|
|
101
|
+
|
|
102
|
+
Always print this at the end so the user can navigate anywhere:
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
## Jahia Development Skills
|
|
106
|
+
|
|
107
|
+
### Setup
|
|
108
|
+
/jahia-dev-create-template-set Scaffold a new JS/React module
|
|
109
|
+
/jahia-dev-start-local Start Jahia locally (Docker or bare metal)
|
|
110
|
+
|
|
111
|
+
### Building
|
|
112
|
+
/jahia-dev-build-component Build a complete component (content type + view) ← start here
|
|
113
|
+
/jahia-dev-define-content-type Define a CND content type and types.ts
|
|
114
|
+
/jahia-dev-create-view Implement a React view (.server.tsx or .client.tsx Island)
|
|
115
|
+
/jahia-dev-create-page-template Create a page template with Areas
|
|
116
|
+
|
|
117
|
+
### Content
|
|
118
|
+
/jahia-dev-query-content Query JCR content with JCR-SQL2 or useJCRQuery
|
|
119
|
+
|
|
120
|
+
### Quality
|
|
121
|
+
/jahia-dev-review Review code for Jahia and generic best practices
|
|
122
|
+
/jahia-dev-screenshot Screenshot reference URL + Jahia render for visual comparison
|
|
123
|
+
/jahia-dev-debug Debug build/deploy/runtime errors end-to-end
|
|
124
|
+
```
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: jahia-dev-accessibility
|
|
3
|
+
description: Audits a Jahia JS module for WCAG 2.1 AA accessibility violations using axe-core and Playwright. Runs automated checks against all live pages, reports violations by severity, and fixes them in the React views and CSS. Invoke after building components or before final review.
|
|
4
|
+
allowed-tools: Bash, Read, Write, Edit
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Skill: jahia-dev-accessibility
|
|
8
|
+
|
|
9
|
+
Runs a live accessibility audit against all published pages of the site, reports violations, and fixes them in the source code.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Step 1 — Confirm pages are live
|
|
14
|
+
|
|
15
|
+
You need the list of public page URLs. Look for `pages.json` in the module root first:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
cat pages.json 2>/dev/null || echo "not found"
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
If absent, derive URLs from the site structure or ask the user. All pages must be accessible at `http://localhost:8080`.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Step 2 — Install audit tooling
|
|
26
|
+
|
|
27
|
+
Check if `@axe-core/playwright` and `playwright` are available:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
node -e "require('@axe-core/playwright'); require('playwright'); console.log('ok')" 2>/dev/null || echo "missing"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
If missing, install temporarily (project-local, not committed):
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install --no-save @axe-core/playwright playwright
|
|
37
|
+
npx playwright install chromium --with-deps
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Step 3 — Run the audit
|
|
43
|
+
|
|
44
|
+
Save this script as `/tmp/a11y-audit.mjs` and run it:
|
|
45
|
+
|
|
46
|
+
```js
|
|
47
|
+
import { chromium } from "playwright";
|
|
48
|
+
import { AxeBuilder } from "@axe-core/playwright";
|
|
49
|
+
import { readFileSync } from "fs";
|
|
50
|
+
|
|
51
|
+
const urls = JSON.parse(readFileSync("pages.json", "utf-8"));
|
|
52
|
+
|
|
53
|
+
const browser = await chromium.launch({ args: ["--no-sandbox"] });
|
|
54
|
+
const page = await browser.newPage();
|
|
55
|
+
|
|
56
|
+
for (const url of urls) {
|
|
57
|
+
console.log(`\n${"=".repeat(60)}\nAuditing: ${url}\n${"=".repeat(60)}`);
|
|
58
|
+
await page.goto(url, { waitUntil: "networkidle", timeout: 30_000 });
|
|
59
|
+
|
|
60
|
+
const results = await new AxeBuilder({ page })
|
|
61
|
+
.withTags(["wcag2a", "wcag2aa", "wcag21aa"])
|
|
62
|
+
.analyze();
|
|
63
|
+
|
|
64
|
+
if (results.violations.length === 0) {
|
|
65
|
+
console.log("✅ No violations found.");
|
|
66
|
+
continue;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
for (const v of results.violations) {
|
|
70
|
+
console.log(`\n[${v.impact?.toUpperCase()}] ${v.id}: ${v.description}`);
|
|
71
|
+
console.log(`Help: ${v.helpUrl}`);
|
|
72
|
+
for (const node of v.nodes) {
|
|
73
|
+
console.log(` Target: ${node.target.join(" > ")}`);
|
|
74
|
+
console.log(` HTML: ${node.html}`);
|
|
75
|
+
if (node.failureSummary) {
|
|
76
|
+
console.log(` Fix: ${node.failureSummary}`);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
await browser.close();
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
node /tmp/a11y-audit.mjs 2>&1 | tee /tmp/a11y-report.txt
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Step 4 — Interpret results
|
|
92
|
+
|
|
93
|
+
Group violations by impact. Focus on `critical` and `serious` first — they contribute most to a poor score.
|
|
94
|
+
|
|
95
|
+
Common violations in Jahia JS modules and their fixes:
|
|
96
|
+
|
|
97
|
+
### 🔴 Critical / Serious
|
|
98
|
+
|
|
99
|
+
**`color-contrast`** — text fails WCAG AA contrast ratio (4.5:1 for normal text, 3:1 for large text)
|
|
100
|
+
```css
|
|
101
|
+
/* Bad */
|
|
102
|
+
color: #aaa; background: #fff;
|
|
103
|
+
|
|
104
|
+
/* Fix — use a contrast checker: https://webaim.org/resources/contrastchecker/ */
|
|
105
|
+
color: #595959; /* 7:1 ratio on white */
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**`image-alt`** — `<img>` missing `alt` attribute
|
|
109
|
+
```tsx
|
|
110
|
+
/* Bad */
|
|
111
|
+
<img src={buildNodeUrl(props.image)} />
|
|
112
|
+
|
|
113
|
+
/* Fix — use content from CND, fall back to empty string for decorative */
|
|
114
|
+
<img src={buildNodeUrl(props.image)} alt={props.imageAlt ?? ""} />
|
|
115
|
+
```
|
|
116
|
+
Add `- imageAlt (string) i18n` to the CND and `imageAlt?: string` to `types.ts`.
|
|
117
|
+
|
|
118
|
+
**`button-name`** — `<button>` or `<a>` is empty (icon-only without label)
|
|
119
|
+
```tsx
|
|
120
|
+
/* Bad */
|
|
121
|
+
<button><svg>...</svg></button>
|
|
122
|
+
|
|
123
|
+
/* Fix */
|
|
124
|
+
<button aria-label="Open menu"><svg aria-hidden="true">...</svg></button>
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**`landmark-one-main`** — page has no `<main>` landmark
|
|
128
|
+
```tsx
|
|
129
|
+
/* Fix — wrap page content in <main> */
|
|
130
|
+
<main id="main-content">
|
|
131
|
+
{/* page content */}
|
|
132
|
+
</main>
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**`page-has-heading-one`** — page has no `<h1>` element
|
|
136
|
+
```tsx
|
|
137
|
+
/* Fix — ensure the hero or first section renders an <h1> */
|
|
138
|
+
<h1>{props.title}</h1>
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**`link-name`** — `<a>` with no accessible text
|
|
142
|
+
```tsx
|
|
143
|
+
/* Bad */
|
|
144
|
+
<a href={url}><img src="..." /></a>
|
|
145
|
+
|
|
146
|
+
/* Fix */
|
|
147
|
+
<a href={url}><img src="..." alt={props.linkLabel ?? "Learn more"} /></a>
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### 🟡 Moderate
|
|
151
|
+
|
|
152
|
+
**`heading-order`** — headings skip levels (e.g. `<h1>` → `<h3>`)
|
|
153
|
+
```tsx
|
|
154
|
+
/* Review: the first heading in a component should be h2 (after the page h1) */
|
|
155
|
+
/* Section titles: h2, subsections: h3 */
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
**`region`** — content is outside landmark regions
|
|
159
|
+
Wrap page sections in semantic elements: `<header>`, `<nav>`, `<main>`, `<footer>`, `<section aria-label="...">`.
|
|
160
|
+
|
|
161
|
+
**`list`** — `<ul>` or `<ol>` contains elements other than `<li>`
|
|
162
|
+
```tsx
|
|
163
|
+
/* Bad */
|
|
164
|
+
<ul>
|
|
165
|
+
<div>item</div>
|
|
166
|
+
</ul>
|
|
167
|
+
|
|
168
|
+
/* Fix */
|
|
169
|
+
<ul>
|
|
170
|
+
<li>item</li>
|
|
171
|
+
</ul>
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
**`html-has-lang`** — `<html>` element missing `lang` attribute
|
|
175
|
+
This is set at the page template level. Verify the template registered in `src/templates/` includes `lang`:
|
|
176
|
+
```tsx
|
|
177
|
+
/* In the page template */
|
|
178
|
+
<html lang={currentLanguage ?? "en"}>
|
|
179
|
+
```
|
|
180
|
+
Jahia provides the language via `useServerContext()`:
|
|
181
|
+
```tsx
|
|
182
|
+
import { useServerContext } from "@jahia/javascript-modules-library";
|
|
183
|
+
const { currentLanguage } = useServerContext();
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**`aria-required-children`** — ARIA role is missing required children
|
|
187
|
+
Avoid misusing ARIA roles. Prefer native HTML elements (`<ul>/<li>`, `<table>/<tr>/<td>`).
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Step 5 — Fix in source
|
|
192
|
+
|
|
193
|
+
For each violation:
|
|
194
|
+
|
|
195
|
+
1. Identify the component: match `node.target` HTML to a `.server.tsx` file
|
|
196
|
+
2. Edit the view to apply the fix
|
|
197
|
+
3. If the fix requires a new CND field (e.g. `imageAlt`), update `definition.cnd` and `types.ts`
|
|
198
|
+
4. Run `yarn build && yarn jahia-deploy`
|
|
199
|
+
|
|
200
|
+
After all fixes:
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
# Re-run the audit to verify violations are resolved
|
|
204
|
+
node /tmp/a11y-audit.mjs 2>&1 | grep -E "(CRITICAL|SERIOUS|MODERATE|No violations)"
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
Iterate until only `minor` violations remain (or none).
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## Step 6 — Proactive checks beyond axe-core
|
|
212
|
+
|
|
213
|
+
axe-core catches ~30–40% of WCAG issues automatically. Also check manually:
|
|
214
|
+
|
|
215
|
+
- **Keyboard navigation**: can every interactive element (link, button, form field) be reached with Tab?
|
|
216
|
+
- **Focus indicators**: is `:focus` visible on all interactive elements?
|
|
217
|
+
```css
|
|
218
|
+
/* Ensure focus ring is never suppressed globally */
|
|
219
|
+
/* Bad */
|
|
220
|
+
* { outline: none; }
|
|
221
|
+
/* Fix — use :focus-visible */
|
|
222
|
+
:focus-visible { outline: 2px solid #0969da; outline-offset: 2px; }
|
|
223
|
+
```
|
|
224
|
+
- **Skip link**: add a "Skip to main content" link as the first focusable element
|
|
225
|
+
```tsx
|
|
226
|
+
<a href="#main-content" className={styles.skipLink}>Skip to main content</a>
|
|
227
|
+
```
|
|
228
|
+
```css
|
|
229
|
+
.skipLink {
|
|
230
|
+
position: absolute;
|
|
231
|
+
top: -100%;
|
|
232
|
+
left: 0;
|
|
233
|
+
background: #000;
|
|
234
|
+
color: #fff;
|
|
235
|
+
padding: 8px 16px;
|
|
236
|
+
z-index: 999;
|
|
237
|
+
}
|
|
238
|
+
.skipLink:focus { top: 0; }
|
|
239
|
+
```
|
|
240
|
+
- **Motion**: if any CSS animation exists, wrap it in `@media (prefers-reduced-motion: no-preference)`
|
|
241
|
+
- **Touch targets**: interactive elements should be at least 44×44px
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Step 7 — Report summary
|
|
246
|
+
|
|
247
|
+
After fixing, report:
|
|
248
|
+
|
|
249
|
+
```
|
|
250
|
+
## Accessibility Audit Summary
|
|
251
|
+
|
|
252
|
+
Pages audited: N
|
|
253
|
+
Violations fixed:
|
|
254
|
+
- [critical] color-contrast: 3 instances → fixed (updated CSS contrast ratios)
|
|
255
|
+
- [serious] image-alt: 2 instances → fixed (added imageAlt CND field)
|
|
256
|
+
- [serious] button-name: 1 instance → fixed (added aria-label to icon button)
|
|
257
|
+
- [moderate] heading-order: 2 instances → fixed (restructured h2/h3 hierarchy)
|
|
258
|
+
|
|
259
|
+
Remaining violations: N (all minor / informational)
|
|
260
|
+
|
|
261
|
+
Axe tags checked: wcag2a, wcag2aa, wcag21aa
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
## References
|
|
267
|
+
|
|
268
|
+
- WebAIM Contrast Checker: https://webaim.org/resources/contrastchecker/
|
|
269
|
+
- axe-core rules: https://dequeuniversity.com/rules/axe/
|
|
270
|
+
- WCAG 2.1 Quick Ref: https://www.w3.org/WAI/WCAG21/quickref/
|
|
271
|
+
- MDN ARIA: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: jahia-dev-apis
|
|
3
|
+
description: >
|
|
4
|
+
Jahia 8.2 developer API reference covering GraphQL, JCR Java API, RESTful JCR access,
|
|
5
|
+
OAuth/SAML authentication, personal API tokens, HTML filtering, and Content Security Policy.
|
|
6
|
+
|
|
7
|
+
Trigger this skill when the user is:
|
|
8
|
+
- Working with the Jahia GraphQL API (queries, mutations, schema extensions, Apollo client)
|
|
9
|
+
- Using the JCR Java API to read/write content nodes
|
|
10
|
+
- Accessing the RESTful JCR API or building JAX-RS endpoints
|
|
11
|
+
- Setting up OAuth 2.0 (social login) or building a custom OAuth connector
|
|
12
|
+
- Configuring SAML 2.0 authentication
|
|
13
|
+
- Using the UPA (username/password + MFA) authentication module
|
|
14
|
+
- Creating or using personal API tokens
|
|
15
|
+
- Configuring HTML filtering (XSS protection) for content properties
|
|
16
|
+
- Setting up a Content Security Policy (CSP) for a Jahia site
|
|
17
|
+
- Configuring the security filter/service (API authorization, CORS, scopes)
|
|
18
|
+
- Asking which Jahia API to use (GraphQL vs REST vs Actions)
|
|
19
|
+
allowed-tools: Read
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Jahia 8.2 Developer APIs
|
|
23
|
+
|
|
24
|
+
This skill covers all developer-facing APIs and security configuration in Jahia 8.2.
|
|
25
|
+
|
|
26
|
+
## Reference files
|
|
27
|
+
|
|
28
|
+
| File | When to use |
|
|
29
|
+
|------|-------------|
|
|
30
|
+
| `references/graphql.md` | GraphQL endpoint URL, JCR queries/mutations, schema extension (SDL + Java), connection/pagination pattern, Apollo client setup, CORS and auth config |
|
|
31
|
+
| `references/jcr-api.md` | Java JCR Session API (read/write nodes), auto-splitting, property interceptors, RESTful JCR access (REST endpoints, HAL+JSON), JAX-RS endpoint registration, Actions (legacy) |
|
|
32
|
+
| `references/authentication.md` | OAuth 2.0 social login modules, building a custom OAuth connector, SAML 2.0 setup, UPA (username/password + MFA) module, personal API tokens (create/use/manage via Groovy) |
|
|
33
|
+
| `references/security.md` | Security filter/service (scope-based authorization config), HTML filtering v2 (YAML config, strategies, workspace rules), Content Security Policy setup, JahiaUserManagerService |
|
|
34
|
+
|
|
35
|
+
## Quick API overview
|
|
36
|
+
|
|
37
|
+
| API | Endpoint / Access | Primary use case |
|
|
38
|
+
|-----|-------------------|------------------|
|
|
39
|
+
| GraphQL | `POST /modules/graphql` | Client-side apps, SPA; flexible queries, mutations, JCR node access, custom schema extension |
|
|
40
|
+
| RESTful JCR | `GET/PUT/DELETE /modules/api/jcr/v1/{workspace}/{lang}/nodes/{id}` | CRUD on JCR nodes via HTTP; useful for automation scripts and server-to-server calls |
|
|
41
|
+
| JAX-RS (custom REST) | Registered under `/modules/{alias}` via OSGi bundle directives | Custom REST endpoints packaged as Jahia modules |
|
|
42
|
+
| JCR Java API | `JCRTemplate.getInstance().doExecuteWithSystemSession(...)` | Server-side Java code; direct node manipulation inside modules |
|
|
43
|
+
| Actions | `POST /{path}.{actionName}.do` | Legacy: simple isolated server-side operations triggered from forms or rules |
|
|
44
|
+
| Personal API tokens | `Authorization: APIToken <token>` header | Authenticate API calls without credentials; scoped access |
|
|
45
|
+
| JWT tokens | `Authorization: Bearer <token>` header | Deprecated — use personal API tokens instead |
|
|
46
|
+
|
|
47
|
+
## Key Jahia-specific concepts
|
|
48
|
+
|
|
49
|
+
- **Workspaces**: `EDIT` (default) and `LIVE`. GraphQL queries default to `EDIT`; specify `jcr(workspace: LIVE)` for published content.
|
|
50
|
+
- **Security filter**: All APIs (GraphQL, REST, views) are closed by default. Access is granted via scope-based config files in `karaf/etc` with pattern `org.jahia.bundles.api.authorization-*.yml`.
|
|
51
|
+
- **Internationalization**: JCR sessions are opened in one language; GraphQL can query multiple languages in one call using `language:` arguments on individual fields.
|
|
52
|
+
- **Session save**: Every JCR write must end with `session.save()`. In GraphQL mutations, save is automatic at the end of each `mutation { jcr }` block.
|