Pointcut: An expression that selects which join points an aspect applies to, e.g. "every method in the service package". A pointcut is an expression in aspect-oriented programming that selects where an aspect applies. "Every public method in the billing services" or "every method marked with a @Transactional annotation" are pointcuts. It is paired with advice, the code that runs at those points. Together they let you add behaviour like logging or transactions to many places without editing each one.
The precision of a pointcut matters. Too broad, and the aspect runs in places nobody expected, slowing things down or causing odd side effects. Too narrow, and new code silently misses the behaviour. Annotation-based pointcuts are usually the clearest, because the marker is visible on the method itself. In frameworks without AOP, route groups for middleware play a similar selecting role.
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.