With the continuous improvement of reservoir projects and the advancement of digital twin basin initiatives in China, rapidly and accurately generating long-term practical reservoir operation schedules has become a key priority for stakeholders. This study proposes a Theory-guided Long Short-Term Memory (TgLSTM) model to extract optimal reservoir operation rules accurately and reliably. Concretely, TgLSTM integrates data-fitting accuracy with the physical constraints of an operation, e.g., water level constraints and minimal discharge constraints, to address the low credibility often observed in conventional LSTM networks. Using the Three Gorges Reservoir during the dry season as a case study, a multi-year hydrological series optimized by particle swarm optimization (PSO) was used to train the TgLSTM network and derive optimized operation rules. Results show that TgLSTM efficiently generates operation schemes close to the theoretical optimum, achieving power generations of 4.27 × 1010 kW·h and 4.19 × 1010 kW·h in two test years, with deviations of only 4.20% and 2.33%, respectively. Compared to traditional LSTM models, TgLSTM is more reliable as it captures key operational characteristics such as terminal water levels and water level fluctuations, maintaining an average ten-day drawdown depth below 1.5 m—significantly lower than the 7 m fluctuations observed with conventional LSTM. Furthermore, comparative analyses against SwR, BP–ANN, and SVM confirm that TgLSTM offers a moderate performance in absolute metrics but is the best to simulate the constrained reservoir operation.