Can I make task template with TaskName or AssetName?

I would like to make taskname with Shotname or Assetaname in Task Template.
For example,“shot001_anim” for Animation Pipline Step.

How to write Task Template (like {Task} or something)?