This repository has been archived on 2026-05-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
self 664ed5222f
CI / Test (push) Failing after 1m10s
feat: harden plugin template scaffolding
Add AGENTS.md with usage_rules-generated guidance, host-aware smoke checks, TypeScript asset defaults, and plugin contract docs.

Split Tribes path dependencies for dev/test so templates compile entry-module beams for host loading while preserving runtime-backed tests, and update rename.sh for bridge modules and TS assets.
2026-05-01 23:40:06 +02:00

20 lines
684 B
Markdown

# Checklist
## After Renaming
- Run `./scripts/rename.sh your_plugin YourPlugin`.
- Confirm `manifest.json` `name`, `otp_app`, and `entry_module`.
- Confirm the bridge module path is `lib/tribes/plugins/your_plugin/plugin.ex`.
- Rename asset files and update manifest asset names if needed.
- Run `mix deps.get`.
- Run `scripts/plugin smoke`.
- Run `scripts/plugin test`.
## Before Committing
- Run `mix format`.
- Run `scripts/plugin precommit`.
- If assets changed, run `devenv shell -- npm run build --prefix assets`.
- Check `git status --short` for generated files that should not be committed.
- Commit with a semantic subject and a useful body unless the patch is minimal.