bonjour
biscuits = masculine plural
l' = masculine singular
so you must use the direct object pronoun les (masculine/feminine PLURAL)
and agree the past participle with the pronoun because it's before the verb
Nous ne les avons pas cuisinés --->pas cuisiné quoi ? les (les biscuits)