---
title: "Discussion on \"How to Prompt LLMs for Clean Code Using Trigger Words\" | Hashnode"
description: "Discussion on \"How to Prompt LLMs for Clean Code Using Trigger Words\". Stop spoon-feeding coding standards to LLMs. Learn how to use targeted trigger words to generate secure, production-ready code with minimal tokens."
url: "https://hashnode.com/posts/how-to-trigger-clean-code-from-llms/6a6c867647826d5dfcda67d3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Prompt LLMs for Clean Code Using Trigger Words](https://doogal.dev/how-to-trigger-clean-code-from-llms?utm_source=hashnode&utm_medium=feed)

Stop spoon-feeding coding standards to LLMs. Learn how to use targeted trigger words to generate secure, production-ready code with minimal tokens.

Jul 31 · 5 min read · doogal.dev  
Read the article

-   [#promptengineering](https://hashnode.com/tag/promptengineering)
-   [#softwareengineering](https://hashnode.com/tag/softwareengineering)
-   [#webdevelopment](https://hashnode.com/tag/webdevelopment)
-   [#ai](https://hashnode.com/tag/ai)

## Written by

[Doogal Simpson](https://hashnode.com/@doogal)

@doogal

  
[View profile](https://hashnode.com/@doogal)

"hey doogal, what is .... ?"

## Responses 2

Markdown supported · ⌘↵ to post

[Julian Neagu](https://hashnode.com/@julianneagulab)

[Aug 4](https://hashnode.com/posts/how-to-trigger-clean-code-from-llms/6a6c867647826d5dfcda67d3/comment/6a71c8cdb65d5964721ce7c8)

Trigger words are useful because they keep the prompt focused. I usually start simple, then add details only when the output misses something important.

[Puneet Khandelwal](https://hashnode.com/@lifestyle4u)

[Aug 1](https://hashnode.com/posts/how-to-trigger-clean-code-from-llms/6a6c867647826d5dfcda67d3/comment/6a6e391fabdeac8756db9898)

GGreat reminder to appreciate the little things
