Home › Best prompts › #1
Prompt #1Adapt all of this to the target architecture
“Adapt all of this to the target architecture. I don't know what it is, but it's in the CTO's slides.”
94 %success rate
18 %chance of getting caught
1,876,540uses
What Claude replies (roughly)
// Target architecture detected: [not found]
// Assumption: hexagonal, or a diagram seen in 2022
class AbstractTargetArchitectureFactoryProvider {}
// TODO: ask someone who knows (nobody)Observed consequences
- The code now complies with an architecture nobody has ever seen.
- Three layers of abstraction are added for a 4-line function.
- In the architecture committee everyone nods: nobody dares admit they don't know the target.
Verdict
Compliant with the target. Which target? Excellent question.
Recommendation: A target architecture with no document and no owner is just a wish: ask for the diagrams and ADRs before having an AI rewrite code.