chore: curate plugin usage rules

Sync AGENTS.md from a focused UsageRules config that includes Tribes and tribes_plugin_api guidance for plugin authors. Keep Ash deep rules linked to reduce context size and make scripts/plugin executable so the documented workflow works directly.
This commit is contained in:
2026-05-07 10:08:35 +02:00
parent c338e12170
commit 2e7d201866
3 changed files with 148 additions and 1490 deletions
+133 -1489
View File
File diff suppressed because it is too large Load Diff
+15 -1
View File
@@ -55,7 +55,21 @@ defmodule MyPlugin.MixProject do
defp usage_rules do
[
file: "AGENTS.md",
usage_rules: [:elixir, :otp, :phoenix, ~r/^phoenix_/, :ash]
usage_rules: [
{:usage_rules, sub_rules: []},
{"usage_rules:elixir", main: false},
{"usage_rules:otp", main: false},
"phoenix:ecto",
"phoenix:html",
"phoenix:liveview",
"phoenix:phoenix",
{:ash, sub_rules: []},
{"ash:actions", link: :markdown, main: false},
{"ash:migrations", link: :markdown, main: false},
{"ash:testing", link: :markdown, main: false},
{:tribes_plugin_api, sub_rules: []},
{:tribes, sub_rules: []}
]
]
end
Regular → Executable
View File