agentsclimarketplace

Using jfoundry

Skill xfoundries/domain-architecture-skills/skills/using-jfoundry

Source-aware architecture guidance for business-domain systems using Domain-Driven Design, Layered Architecture, Onion Architecture, Hexagonal Architecture / Ports and Adapters, and CQRS.

Install
npx -y skills add xfoundries/domain-architecture-skills --skill using-jfoundry

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Guide AI agents and developers when starting or modifying Java business projects that use the jfoundry framework. Use for Maven dependency selection, JFoundry architecture landing, aggregate persistence, reliable messaging, Spring, Quarkus, or Helidon runtime assembly, and ArchUnit verification. Do not use for maintaining jfoundry internals.

SKILL.md

4.0 KB, 746 tokens by cl100k_base, as published. Nobody here has run it

Using JFoundry

Use this skill for downstream business projects, not for changing jfoundry itself. It turns an already selected architecture into JFoundry capability decisions, package roles, version-aware lookup, and verification.

Decision Flow

  1. Read references/implementation-guidance-result.md for setup, modification, or framework-landing work.
  2. Preserve the project's selected jfoundry version, runtime, architecture style, and conventions. Ask only when an unknown choice changes a required dependency, package role, or test.
  3. Read references/dependencies.md, then resolve the selected version's release documentation, BOM, or source POM before adding any dependency.
  4. Read references/architecture.md for JFoundry's package and annotation landing after Hexagonal or Onion has already been selected. Consume the confirmed Application Runtime Integration Policy from domain-architecture guidance; JFoundry templates do not replace project package ownership decisions.
  5. Read a specialized reference only when its concern applies: persistence, repository/read contracts, Spring, Quarkus, or Helidon runtime, reliable messaging, locks, exceptions, or tests.
  6. Read references/upstream-documentation.md before using exact framework APIs, properties, auto-configuration behavior, or implementation-specific algorithms.
  7. Run the narrowest relevant Maven verification and return the JFoundry Implementation Guidance Result.

Non-Negotiable Boundaries

  • Keep domain code free of runtime, ORM, mapper, broker, HTTP, and client-SDK types.
  • Keep business orchestration in application code; primary adapters enter through an application boundary rather than calling persistence or clients directly.
  • Keep technology-specific persistence and messaging in outer adapters or infrastructure.
  • Do not select Hexagonal, Onion, CQRS, Spring Boot, Outbox, Inbox, locks, or a persistence provider merely because an implementation is available.
  • Keep aggregate repositories for aggregate lifecycle. Add read contracts or ports only when a read responsibility needs one.
  • Treat persistence base classes as optional support. A project-local adapter may implement its aggregate repository contract directly.

Reference Routing

NeedRead
Result format, assumptions, and unresolved choicesreferences/implementation-guidance-result.md
Version, BOM, and capability compositionreferences/version-selection.md, references/dependencies.md
Architecture landing and package rolesreferences/architecture.md
Aggregate repositories and read-side contractsreferences/repository-and-read-contracts.md
JPA, MyBatis-Plus, mappers, and optimistic lockingreferences/persistence-data-mappers.md
Spring Framework or Spring Bootreferences/spring-runtime.md
Quarkus CDI, JTA, REST, JPA, Outbox, Inbox, or broker assemblyreferences/quarkus-runtime.md
Helidon MP CDI, JTA, JAX-RS, JPA, Outbox, or Inbox assemblyreferences/helidon-runtime.md
Outbox, Inbox, broker selection, and JPA Inbox database supportreferences/outbox-inbox.md
Cross-instance lockingreferences/distributed-locks.md
Exception ownership and boundary translationreferences/exception-handling.md
Architecture tests and Maven verificationreferences/testing.md
Exact framework behavior for the selected versionreferences/upstream-documentation.md

Use the selected release as the source of truth for Maven coordinates, configuration, APIs, and framework behavior. This skill deliberately does not maintain a dependency catalog or code skeletons for those versioned facts.

What ships with it: 19 files

50.6 KB alongside SKILL.md

agents/

Keep looking

Skills are one crate of 327,069. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.