Adenosine triphosphate-driven bioluminescence (ATP-BL) biosensors were widely employed for on-site screening of bacteria. However, unstable luciferase with strict storage conditions limited its field detection. Moreover, the traditional ATP-BL biosensors lacked the sterilization effect. In this study, a robust and multifunctional zeolitic imidazolate framework-90 decorated with luciferase and polyethylene glycol–antimicrobial peptides (ZIF-90@Luc-AMP) was prepared. It could not only enhance the activity and stability of luciferase at ambient temperatures (≥1 month) but also sensitively detect target bacteria via the bioluminescence (BL) method and kill them (three birds with one stone). During the detection process, the target pathogen Escherichia coli O157:H7 (E. coli O157:H7) was specifically captured on a phage-modified stir bar and formed a sandwich complex with ZIF-90@Luc-AMP. With the synergistic bacteriolysis of ZIF-90@Luc-AMP and the phage, the captured E. coli O157:H7 was decomposed and emitted adenosine triphosphate (ATP), achieving the sterilization effect. Meanwhile, the introduced luciferase catalyzed ATP to produce a BL signal, which was proportional to the concentration of E. coli O157:H7. Combining ZIF-90@Luc-AMP and a phage-labeled stir bar for target recognition and enrichment, the entire analytical process could be easily manipulated within 30 min with a low limit of detection (20 CFU/mL) through a portable ATP bioluminescent meter. The multifunctional ZIF-90@Luc-AMP biosensor with high stability, specificity, and sensitivity was also appropriate for rapid pathogen screening and antibacterial application in the wild.