The invention relates to an automatic packaging method and device, computer equipment and a storage medium. The method includes the following steps of receiving instructions sent by a script language,wherein the instructions include a compiling instruction, a copying instruction, a generating instruction and a compressing instruction; according to the compiling instruction, compiling an initial library of an integrated development tool to generate a corresponding static library; according to the generating instruction, generating a guidance file corresponding to the static library, wherein the guidance file is used for indicating on how to use the static library; according to the copying instruction, copying the guidance file and the static library into a same directory file; according tothe compressing instruction, compressing the directory file. According to the automatic packaging method and device, computer equipment and the storage medium, the processes of compiling, copying, and compressing in the packaging process are directly achieved according to the instructions sent by the script, the entire packaging process does not require manual participation, and compared with traditional packaging methods, the packaging efficiency is effectively increased.