diff --git a/.claude/AGENTS.md b/.agents/AGENTS.md similarity index 98% rename from .claude/AGENTS.md rename to .agents/AGENTS.md index 070e899949b..a1d66837061 100644 --- a/.claude/AGENTS.md +++ b/.agents/AGENTS.md @@ -15,7 +15,7 @@ Every modification must respect: - ❌ Do not break compatibility of PHP functions and methods - ❌ Do not introduce external dependencies without validation - ❌ Separate page actions in the `/* Actions */` section of the PHP code and the rendering part in the `/* Views */` section -- ❌ Never commit directly to `main` or `master` branch +- ❌ Never commit directly to `develop` or version branch matching regex `^\d+\.\d+$` - ❌ Never use PHP native curl functions to call a GET or POST URL, but use instead the Dolibarr function getURLContent() - ✅ Use Dolibarr hooks whenever possible - ✅ Respect existing naming conventions diff --git a/.claude/skills/add-unit-test/SKILL.md b/.agents/skills/add-unit-test/SKILL.md similarity index 100% rename from .claude/skills/add-unit-test/SKILL.md rename to .agents/skills/add-unit-test/SKILL.md diff --git a/.claude/skills/code-review/SKILL.md b/.agents/skills/code-review/SKILL.md similarity index 100% rename from .claude/skills/code-review/SKILL.md rename to .agents/skills/code-review/SKILL.md