I really like the way the Hobbes engine has structured attacks. I'd like to follow something similar, but maybe instead, have an attacks module within the chess library.
We could have an attacks folder and then a file for each piece type or something like that. I'd like to have static bitboard definitions for king and knight attacks.
We can do a simple calculation for pawns.
For sliding pieces (rook, bishop and queen) this will be more tricky since we have both magic bitboard and PEXT implementations.