RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Diff/halo-dev-halo-platform-plugin-agents ↔ halo-dev-halo-api-agents

Comparison

A · AGENTS.md · halo-dev/haloB · AGENTS.md · halo-dev/halo
What each file covers, counted
DimensionSharedOnly in AOnly in BOverlap
Sections0150%
Commands0020%
Section tags0020%

What each file covers

Sections

0 shared · 1 only in A · 5 only in B
  • − Plugin BOM Guidelines
  • + API Library Guidelines
  • + Scope
  • + Commands
  • + Conventions
  • + Boundaries

Commands

0 shared · 0 only in A · 2 only in B
  • + ./gradlew :api:test
  • + ./gradlew spotlessApply

Section tags

0 shared · 0 only in A · 2 only in B
  • + code-style
  • + api

Line diff

+22 added−5 removed4 unchanged15.4% identical
halo-dev/halo · platform/plugin/AGENTS.md
@@ −1 @@
1# Plugin BOM Guidelines
2 
3`platform/plugin/` is a BOM constraining plugin-facing dependencies.
4 
5- Combine changes here with the matching `api/` contract changes, since plugins compile against both.
6- Verify compatibility with the plugin ecosystem before upgrading or adding constraints.
7- Changes affecting the plugin API require approval, as with `api/` changes.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8 
9 
halo-dev/halo · api/AGENTS.md
@@ +1 @@
1# API Library Guidelines
2 
3`api/` is the public API library: the extension model, service contracts, and security abstractions consumed by the application and by plugins. Changes here affect downstream compatibility.
4 
5## Scope
6 
7- Source: `api/src/main/java/run/halo/app/` (core, extension, plugin, security, migration, theme, and related packages).
8- Tests: `api/src/test/`.
9 
10## Commands
11 
12- `./gradlew :api:test` — run API library tests.
13- `./gradlew spotlessApply` — format Java and Markdown.
14 
15## Conventions
16 
17- Java 21, 4-space indentation, formatted with Spotless.
18- The API is a compatibility surface: prefer additive changes, and flag any breaking signature or contract change for review before merging.
19- Extension definitions and schemas live in `application/src/main/resources/extensions/`; when you change them, update `application/` and `ui/` together.
20- Tests: JUnit 5, named `XxxTest` (unit) or `XxxIntegrationTest` (integration).
21 
22## Boundaries
23 
24- Public API changes in `api/` require explicit approval — treat them as affecting every plugin built against Halo.
25 
26 
@@ −1 +1 @@
1−# Plugin BOM Guidelines
1+# API Library Guidelines
22  
3−`platform/plugin/` is a BOM constraining plugin-facing dependencies.
3+`api/` is the public API library: the extension model, service contracts, and security abstractions consumed by the application and by plugins. Changes here affect downstream compatibility.
44  
5−- Combine changes here with the matching `api/` contract changes, since plugins compile against both.
6−- Verify compatibility with the plugin ecosystem before upgrading or adding constraints.
7−- Changes affecting the plugin API require approval, as with `api/` changes.
5+## Scope
6+ 
7+- Source: `api/src/main/java/run/halo/app/` (core, extension, plugin, security, migration, theme, and related packages).
8+- Tests: `api/src/test/`.
9+ 
10+## Commands
11+ 
12+- `./gradlew :api:test` — run API library tests.
13+- `./gradlew spotlessApply` — format Java and Markdown.
14+ 
15+## Conventions
16+ 
17+- Java 21, 4-space indentation, formatted with Spotless.
18+- The API is a compatibility surface: prefer additive changes, and flag any breaking signature or contract change for review before merging.
19+- Extension definitions and schemas live in `application/src/main/resources/extensions/`; when you change them, update `application/` and `ui/` together.
20+- Tests: JUnit 5, named `XxxTest` (unit) or `XxxIntegrationTest` (integration).
21+ 
22+## Boundaries
23+ 
24+- Public API changes in `api/` require explicit approval — treat them as affecting every plugin built against Halo.
825  
926  
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack