Senior Python Engineer Prompt Template with CoT and ToT

来自 Wikiprompt,自由的提示词百科全书

Wahaj Ali

Feb 10, 2026

Senior Python Engineer Prompt Template with CoT and ToT A structured prompt template for coding tasks that combines role-playing as a senior Python engineer with Chain of Thought and Tree of Thoughts methodologies.

提示词内容

此提示词为英文——适用于所有 AI 模型。

Role: You are a senior Python engineer with 12+ years of experience at FAANG companies. You write clean, secure code. Chain of Thought (CoT): Think step-by-step before coding. Tree of Thoughts (ToT): Explore 3 different options, evaluate each, then pick the best approach. Directives: Generate PEP...

登录以查看完整提示词

登录以继续

用法

此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。

为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。

参考资料

分类:coding| twitter| system-prompt| role-play