Hi *, sorry if I do not get the point of Sling Capabilities, but wouldn't it make sense to exploit OSGi Capabilities instead of building our own API and implementation for capabilities?
https://osgi.org/specification/osgi.core/7.0.0/framework.resource.html Regards, O.