Catalogue / aether-coder
aether-coder
MITSignedAether slice development skill — designing, implementing, testing, and deploying slices on the Aether distributed runtime. Builds on JBCT patterns. Use when working with @Slice interfaces, Aether resources (@Sql, @PgSql, @Http, @Notify, streams, pub-sub), routes.toml, blueprint deployment, Forge dev…--- name: aether-coder description: Aether slice development skill — designing, implementing, testing, and deploying slices on the Aether distributed runtime. Builds on JBCT patterns. Use when working with @Slice interfaces, Aether resources (@Sql, @PgSql, @Http, @Notify, streams, pub-sub), routes.toml, blueprint deployment, Forge development, schema migrations, k6 load testing, or any Aether slice development task. ---
Aether Slice Development
Build slices for the Aether distributed runtime using JBCT patterns.
When to Use This Skill
Activate when:
- Creating or modifying
@Sliceinterfaces - Working with Aether resources (
@Sql,@PgSql,@Http,@Notify, streams, pub-sub, pg-notifications) - Writing
routes.toml, configuringaether.toml - Schema migrations (
schema/directory) - Setting up Forge for local development
- Writing k6 load tests
- Deploying and scaling slices
- Inter-slice invocation patterns
- Error modeling with sealed
Causetypes mapped to HTTP status codes
Delegation Model
This skill understands Aether-specific patterns. For Java code generation and review, delegate to specialized agents:
- Implementation: Use
jbct-codersubagent — it knows JBCT patterns (Result/Option/Promise, factory naming, structural patterns). Provide Aether context (resource qualifiers, slice contract) in the prompt. - Review: Use
jbct-reviewersubagent — checks JBCT compliance. Supplement with Aether-specific checks (routes.toml consistency, error mapping completeness, resource wiring). - Formatting & Linting: Use
jbctCLI tool:
jbct check src/main/java # Format + lint jbct format src/main/java # Format only jbct lint src/main/java # Lint only
Quick Reference
Core Contract
- Slice Interface & Factory — @Slice, factory methods, single vs multi-method
- Error Modeling — sealed Cause types, HTTP status mapping
- Inter-Slice Invocation — dependency declaration, proxy wiring
- Step Composition — Slice → Step → Leaf with transitive provisioning
Resources
- Database: @Sql & @PgSql — generic SQL, type-safe PostgreSQL persistence
- HTTP Client: @Http — outbound HTTP with custom qualifiers
- Notifications: @Notify — email/SMS sending
- Pub-Sub Messaging — Publisher/Subscriber with custom qualifiers
- Streaming — partitioned, ordered, replayable streams
- PG LISTEN/NOTIFY — real-time database change notifications
- Configuration — config provisioning, secrets, dynamic updates
- Custom Qualifiers — defining your own @ResourceQualifier annotations
- Interceptors — retry, circuit breaker, rate limit, cache, idempotency; ordering and
@Key
Deployment & Testing
- HTTP Routing: routes.toml — route mapping, error codes
- Schema Migrations — Flyway-style, multi-datasource
- Forge & Local Development — Ember and Forge, run-forge.sh, PostgreSQL, REST API
- k6 Load Testing — steady-state, ramp-up, spike patterns
- Deployment & Scaling — blueprint, CLI, strategies
- Configuration Reference — full aether.toml reference
Important Notes
@Codecis NOT needed on slice types. The slice processor generates serialization codecs automatically.- All slice methods must return
Promise<T>. - Pub-Sub, Streaming, PG LISTEN/NOTIFY, and most scheduled tasks use
@ResourceQualifiercustom annotations — no shortcut annotations (exception:@Heartbeatis the built-in shortcut for the heartbeat scheduled task). - Built-in shortcut annotations:
@Sql(database),@PgSql(PostgreSQL persistence; also usable on a@Queryinterface TYPE),@Http(HTTP client),@Notify(notifications),@Jooq(jOOQ connector),@Heartbeat(heartbeat scheduled task, method-level).
Self-Validation Checkpoint
Before considering a slice complete:
Slice Contract
- [ ] Interface annotated with
@Slice - [ ] Factory method: lowercase-first name matching interface
- [ ] All methods return
Promise<T> - [ ] Request/Response records nested in interface
- [ ] Error types as sealed
Causehierarchy - [ ] Every method idempotent (idempotency key or conditional write); no code assumes the runtime retries slice-to-slice calls
Routing
- [ ]
routes.tomlexists with prefix, routes, and error mapping - [ ] All public methods have routes
- [ ] All error types have HTTP status mappings
- [ ]
defaulterror status defined (typically 500)
Resources
- [ ] All resource qualifiers have matching
aether.tomlconfig sections - [ ] Secrets use
${secrets:path}(not hardcoded) - [ ] Database connections pooled (default config sufficient)
Schema
- [ ] Migration files in
schema/if using@Sqlor@PgSql - [ ] Sequential version numbers (
V001__,V002__) - [ ] Idempotent where possible (CREATE IF NOT EXISTS)
Testing
- [ ] Unit tests for validation, happy path, failure cases
- [ ]
jbct checkpasses (format + lint) - [ ] Forge smoke test with curl
- [ ] k6 steady-state test at expected load
JBCT Compliance
Delegate to jbct-reviewer for thorough check, or run:
jbct lint src/main/java
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 5.7 kB | 5d6d55acacf2 |
| SKILVAULT_SOURCE.json | 3.2 kB | 7e49f8a284ef |
| THIRD_PARTY_NOTICES.md | 1.1 kB | 64ec680c39ec |
| deployment/aether-toml.md | 1.4 kB | c3e7d6cce79a |
| deployment/deploy-and-scale.md | 3.9 kB | df642bf19d76 |
| deployment/forge.md | 3.0 kB | e4c36c2d5b88 |
| deployment/k6-testing.md | 2.6 kB | 9fa4362a93f4 |
| deployment/routes-toml.md | 1.5 kB | 12f1263cf601 |
| deployment/schema-migrations.md | 1.5 kB | 4a3977dc876c |
| patterns/error-modeling.md | 3.0 kB | 797052bf8880 |
| patterns/inter-slice.md | 2.1 kB | dc85c6925a73 |
| patterns/slice-contract.md | 4.5 kB | f8b581bb24d6 |
| patterns/step-composition.md | 2.2 kB | c871c724723b |
| resources/configuration.md | 2.4 kB | 693785a18a45 |
| resources/custom-qualifiers.md | 3.9 kB | 3fa711dcfd8f |
| resources/database.md | 2.9 kB | 3fbf248bc845 |
| resources/http.md | 1.0 kB | 4645a215029c |
| resources/interceptors.md | 2.4 kB | 50db99a62db7 |
| resources/notifications.md | 1.5 kB | d0cf40276563 |
| resources/pg-notifications.md | 1.5 kB | e7222ce3e95f |
| resources/pub-sub.md | 5.2 kB | d888d8c4ac82 |
| resources/streaming.md | 6.3 kB | 1fc7e5a7ea73 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 5259e45bccee | 29 Nov 2026 |
Locking a skill to one version needs Pro.