I recently (almost) finished a project. Now I want to make it in amp package but not much is written about that.
I found that you can generate project strcuture with maven as there are archetypes for alfresco projects. But my main concern is that I have share site with directory structure, and those directories are configured via other spaces in companyhome/myConfiguration so also I have to package those two things inside. Also those spaces have rules which execute two scripts that are inside "Data dictionary" in space scripts and I have also few webscripts extensions defined in "Data dictionary". And finally, I have all the configuration things in extension and web-extension folders.
I produce my own ant script.
About "Data Dictionary" or any other type of repository import, you can handle them only with alfresco/amp module (bootstrap options).
It regularly means that you may have to create 2 extensions (one for alfresco, and one for share) to fully support your extended feature.