CRISPR/Cas systems have emerged as promising tools for nucleic acid detection. However, their practical applications have been limited by poor specificity and the need for additional preprocessing steps. Inspired by the concept of transformers, we found that changing the forms of crRNA with spatial arrangement may endow CRISPR/Cas with an enhanced performance for nucleic acid detection. Specifically, we rationally designed two crRNA transformers─swap crRNA and split crRNA─and found that they direct the CRISPR/Cas system for cis- and trans- cleavage with enhanced specificity and decreased Cas binding affinity and possess both DNA and RNA detection abilities. Based on these findings, our strategy enabled the identification of clinical prostatic cancer in a one-step reaction, with a remarkable sensitivity of 90.0% and specificity of 96.0%. Our study deepens the understanding of CRISPR/Cas systems and introduces a promising strategy for simple nucleic acid detection with enhanced specificity, sensitivity, and functionality in clinical molecular diagnosis.