Link CLAUDE.md to AGENTS.md

This commit is contained in:
Alex Dunmow 2026-06-18 16:46:53 +08:00
parent d08466ec70
commit d5e9d7ecd3
2 changed files with 10 additions and 9 deletions

9
AGENTS.md Normal file
View File

@ -0,0 +1,9 @@
# Core SDK
Go module `git.dev.alexdunmow.com/block/core`. Defines plugin interfaces, template engine, block registry, and shared types for the BlockNinja CMS.
## Critical Rules
- **NEVER use `replace` directives in go.mod** — not in this repo, not in any consumer. All module resolution goes through the Gitea module proxy. If you need to test local changes, tag and push a version.
- Plugins import from core only — never from the CMS (`blockninja/backend`) or orchestrator.
- All consumers are in-house — no backwards compatibility shims needed. Just change the API and update consumers.

View File

@ -1,9 +0,0 @@
# Core SDK
Go module `git.dev.alexdunmow.com/block/core`. Defines plugin interfaces, template engine, block registry, and shared types for the BlockNinja CMS.
## Critical Rules
- **NEVER use `replace` directives in go.mod** — not in this repo, not in any consumer. All module resolution goes through the Gitea module proxy. If you need to test local changes, tag and push a version.
- Plugins import from core only — never from the CMS (`blockninja/backend`) or orchestrator.
- All consumers are in-house — no backwards compatibility shims needed. Just change the API and update consumers.

1
CLAUDE.md Symbolic link
View File

@ -0,0 +1 @@
AGENTS.md