A common pattern for sending information between scripts/components is setting specific attributes in request scope before including another resource or script. At the moment this cannot be done nicely in Sightly.
It would be very helpful to set request attributes as in following examples:
where attributesMap is a Map<String, Object>
The attributes would be set before the actual script/resource inclusion and reset/unset back afterwards.