# Using a Python CI check to keep AI-written prose consistent with a preferred style

DevFeed: [Using a Python CI check to keep AI-written prose consistent with a preferred style](<https://devfeed.tech/articles/hiding-my-ai-slop-from-my-nix-friends-61476.md>)

Original publisher: [Read original article](<https://fzakaria.com/2026/09/28/hiding-my-ai-slop-from-my-nix-friends>)

Published: 2026-09-28T20:21:00Z

Content type: article

Language: en

Sources: [Farid Zakaria's Blog](<https://devfeed.tech/sources/farid-zakaria-s-blog.md>)

Topics: [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Nix](<https://devfeed.tech/topics/nix.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Python](<https://devfeed.tech/topics/python.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [build](<https://devfeed.tech/tags/build.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code](<https://devfeed.tech/tags/code.md>), [code-comments](<https://devfeed.tech/tags/code-comments.md>), [codex](<https://devfeed.tech/tags/codex.md>), [nix](<https://devfeed.tech/tags/nix.md>), [prompting](<https://devfeed.tech/tags/prompting.md>), [python](<https://devfeed.tech/tags/python.md>), [source](<https://devfeed.tech/tags/source.md>)

## AI overview

The author describes using AI for software work while trying to keep its prose from sounding generic. After repeated prompts failed to enforce the preferred style, an agent created a Python script that scans the repository for banned words and phrases. The script was added to CI, making the style check deterministic and reproducible.

## Source excerpt

Warning If you are pissed off reading this, you can start here and work your way back. I am using AI a lot. I am public about my use of it and when required make the necessary disclosures: "Assited-By" trailers or having to say "I used an AI to help write this software" on every Discourse post.1 Seems like whether or not you use AI, I feel more compelled just to disclose I did to avoid the "you didn't disclose it" argument. Such is life. ↩