Tools and techniques for trimming and pruning