@jahia/agentic 0.1.0 → 0.2.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/claude/.claude/rules/jahia.md +3 -1
  3. package/dist/claude/.claude/skills/jahia-dev-build-component/SKILL.md +7 -22
  4. package/dist/claude/.claude/skills/jahia-dev-create-view/SKILL.md +58 -0
  5. package/dist/claude/.claude/skills/jahia-dev-java/SKILL.md +7 -2
  6. package/dist/claude/.claude/skills/jahia-java-concurrency/SKILL.md +308 -0
  7. package/dist/claude/.claude/skills/jahia-java-jcr/SKILL.md +153 -0
  8. package/dist/claude/.claude/skills/jahia-java-osgi/SKILL.md +134 -0
  9. package/dist/claude/.claude/skills/jahia-java-persistence/SKILL.md +177 -0
  10. package/dist/claude/.claude/skills/jahia-java-security/SKILL.md +84 -0
  11. package/dist/claude/.claude/skills/jahia-review-java/SKILL.md +131 -0
  12. package/dist/claude/.claude/skills/jahia-review-java/references/code-review-output.md +121 -0
  13. package/dist/claude/CLAUDE.md +4 -2
  14. package/dist/codex/.agents/skills/jahia-dev-build-component/SKILL.md +7 -22
  15. package/dist/codex/.agents/skills/jahia-dev-create-view/SKILL.md +58 -0
  16. package/dist/codex/.agents/skills/jahia-dev-java/SKILL.md +7 -2
  17. package/dist/codex/.agents/skills/jahia-java-concurrency/SKILL.md +308 -0
  18. package/dist/codex/.agents/skills/jahia-java-jcr/SKILL.md +153 -0
  19. package/dist/codex/.agents/skills/jahia-java-osgi/SKILL.md +134 -0
  20. package/dist/codex/.agents/skills/jahia-java-persistence/SKILL.md +177 -0
  21. package/dist/codex/.agents/skills/jahia-java-security/SKILL.md +84 -0
  22. package/dist/codex/.agents/skills/jahia-review-java/SKILL.md +131 -0
  23. package/dist/codex/.agents/skills/jahia-review-java/references/code-review-output.md +121 -0
  24. package/dist/codex/AGENTS.md +4 -2
  25. package/dist/copilot/.agents/skills/jahia-dev-build-component/SKILL.md +7 -22
  26. package/dist/copilot/.agents/skills/jahia-dev-create-view/SKILL.md +58 -0
  27. package/dist/copilot/.agents/skills/jahia-dev-java/SKILL.md +7 -2
  28. package/dist/copilot/.agents/skills/jahia-java-concurrency/SKILL.md +308 -0
  29. package/dist/copilot/.agents/skills/jahia-java-jcr/SKILL.md +153 -0
  30. package/dist/copilot/.agents/skills/jahia-java-osgi/SKILL.md +134 -0
  31. package/dist/copilot/.agents/skills/jahia-java-persistence/SKILL.md +177 -0
  32. package/dist/copilot/.agents/skills/jahia-java-security/SKILL.md +84 -0
  33. package/dist/copilot/.agents/skills/jahia-review-java/SKILL.md +131 -0
  34. package/dist/copilot/.agents/skills/jahia-review-java/references/code-review-output.md +121 -0
  35. package/dist/copilot/AGENTS.md +4 -2
  36. package/dist/cursor/.agents/skills/jahia-dev-build-component/SKILL.md +7 -22
  37. package/dist/cursor/.agents/skills/jahia-dev-create-view/SKILL.md +58 -0
  38. package/dist/cursor/.agents/skills/jahia-dev-java/SKILL.md +7 -2
  39. package/dist/cursor/.agents/skills/jahia-java-concurrency/SKILL.md +308 -0
  40. package/dist/cursor/.agents/skills/jahia-java-jcr/SKILL.md +153 -0
  41. package/dist/cursor/.agents/skills/jahia-java-osgi/SKILL.md +134 -0
  42. package/dist/cursor/.agents/skills/jahia-java-persistence/SKILL.md +177 -0
  43. package/dist/cursor/.agents/skills/jahia-java-security/SKILL.md +84 -0
  44. package/dist/cursor/.agents/skills/jahia-review-java/SKILL.md +131 -0
  45. package/dist/cursor/.agents/skills/jahia-review-java/references/code-review-output.md +121 -0
  46. package/dist/cursor/.cursor/rules/jahia.mdc +3 -1
  47. package/dist/gemini/.agents/skills/jahia-dev-build-component/SKILL.md +7 -22
  48. package/dist/gemini/.agents/skills/jahia-dev-create-view/SKILL.md +58 -0
  49. package/dist/gemini/.agents/skills/jahia-dev-java/SKILL.md +7 -2
  50. package/dist/gemini/.agents/skills/jahia-java-concurrency/SKILL.md +308 -0
  51. package/dist/gemini/.agents/skills/jahia-java-jcr/SKILL.md +153 -0
  52. package/dist/gemini/.agents/skills/jahia-java-osgi/SKILL.md +134 -0
  53. package/dist/gemini/.agents/skills/jahia-java-persistence/SKILL.md +177 -0
  54. package/dist/gemini/.agents/skills/jahia-java-security/SKILL.md +84 -0
  55. package/dist/gemini/.agents/skills/jahia-review-java/SKILL.md +131 -0
  56. package/dist/gemini/.agents/skills/jahia-review-java/references/code-review-output.md +121 -0
  57. package/dist/gemini/AGENTS.md +4 -2
  58. package/dist/index.js +1 -0
  59. package/dist/opencode/.agents/skills/jahia-dev-build-component/SKILL.md +7 -22
  60. package/dist/opencode/.agents/skills/jahia-dev-create-view/SKILL.md +58 -0
  61. package/dist/opencode/.agents/skills/jahia-dev-java/SKILL.md +7 -2
  62. package/dist/opencode/.agents/skills/jahia-java-concurrency/SKILL.md +308 -0
  63. package/dist/opencode/.agents/skills/jahia-java-jcr/SKILL.md +153 -0
  64. package/dist/opencode/.agents/skills/jahia-java-osgi/SKILL.md +134 -0
  65. package/dist/opencode/.agents/skills/jahia-java-persistence/SKILL.md +177 -0
  66. package/dist/opencode/.agents/skills/jahia-java-security/SKILL.md +84 -0
  67. package/dist/opencode/.agents/skills/jahia-review-java/SKILL.md +131 -0
  68. package/dist/opencode/.agents/skills/jahia-review-java/references/code-review-output.md +121 -0
  69. package/dist/opencode/AGENTS.md +4 -2
  70. package/dist/windsurf/.windsurf/rules/jahia.md +3 -1
  71. package/dist/windsurf/.windsurf/skills/jahia-dev-build-component/SKILL.md +7 -22
  72. package/dist/windsurf/.windsurf/skills/jahia-dev-create-view/SKILL.md +58 -0
  73. package/dist/windsurf/.windsurf/skills/jahia-dev-java/SKILL.md +7 -2
  74. package/dist/windsurf/.windsurf/skills/jahia-java-concurrency/SKILL.md +308 -0
  75. package/dist/windsurf/.windsurf/skills/jahia-java-jcr/SKILL.md +153 -0
  76. package/dist/windsurf/.windsurf/skills/jahia-java-osgi/SKILL.md +134 -0
  77. package/dist/windsurf/.windsurf/skills/jahia-java-persistence/SKILL.md +177 -0
  78. package/dist/windsurf/.windsurf/skills/jahia-java-security/SKILL.md +84 -0
  79. package/dist/windsurf/.windsurf/skills/jahia-review-java/SKILL.md +131 -0
  80. package/dist/windsurf/.windsurf/skills/jahia-review-java/references/code-review-output.md +121 -0
  81. package/dist/windsurf/AGENTS.md +4 -2
  82. package/package.json +9 -1
@@ -1,6 +1,6 @@
1
1
  # AGENTS.md
2
2
  <!-- Generated by APM CLI from distributed .apm/ primitives -->
3
- <!-- Build ID: c847df74747b -->
3
+ <!-- Build ID: 5445d7d19ae2 -->
4
4
  <!-- APM Version: 0.14.1 -->
5
5
  <!-- Source: local -->
6
6
 
@@ -22,7 +22,9 @@ You are helping develop a **Jahia JavaScript Module** — a React-based template
22
22
  5. **Always verify before creating** — check that content types are deployed, site keys are correct, and area structures exist before attempting GraphQL mutations.
23
23
  6. **All props are optional at runtime** — even mandatory CND fields. Always guard against `undefined` in views.
24
24
  7. **Always include `-H "Origin: http://localhost:8080"` in every GraphQL curl** — omitting it returns `Permission denied` even with correct credentials.
25
- 8. **Accessibility is mandatory** — every component must pass WCAG 2.1 AA. After building any component or completing a task, invoke `/jahia-dev-accessibility` to run an axe-core audit and fix all `critical` and `serious` violations before declaring work done.
25
+ 8. **Build accessible HTML from the start** — every view must use semantic HTML (`<main>`, `<header>`, `<nav>`, `<footer>`, `<section>`, `<article>`), include exactly one `<h1>` per page, use a strict heading hierarchy (h1 h2 h3), add `alt` text to every `<img>`, and use sufficient colour contrast (≥ 4.5:1 for body text). Baking this in during authoring is faster than a post-hoc audit.
26
+ 9. **Run one accessibility audit at the end** — after all components are built and content is published, invoke `/jahia-dev-accessibility` once to catch any remaining violations. Do not audit after every individual component; it wastes time on pages that are not yet complete.
27
+ 10. **Batch builds and deploys** — build all components together, then run `yarn build && yarn jahia-deploy` once rather than after each individual component. Deploy once before populating content.
26
28
 
27
29
  ## Skill Map
28
30
 
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@jahia/agentic",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "A CLI to bootstrap an agentic harness for Jahia",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/Jahia/agentic.git"
8
+ },
5
9
  "license": "MIT",
6
10
  "type": "module",
7
11
  "bin": "./dist/index.js",
@@ -24,6 +28,10 @@
24
28
  "oxfmt": "^0.51.0",
25
29
  "oxlint": "^1.66.0",
26
30
  "playwright": "^1.60.0",
31
+ "remark": "^15.0.1",
32
+ "remark-gfm": "^4.0.1",
33
+ "remark-github": "^12.0.0",
34
+ "remark-html": "^16.0.1",
27
35
  "rolldown": "^1.0.1",
28
36
  "typescript": "^6.0.3"
29
37
  }