top | item 47077374

Show HN: Prompt inject AI agents to avoid slop

1 points| eljojo | 10 days ago |github.com

like many open source repos, mine are also getting spammed with AI slop.

my attempt at this is to "prompt inject" the spammy agents into refusing to do the bare minimum, and try enforce contribution guidelines as much as possible.

How it works:

- AGENTS.md will trigger bots to read contribution guidelines

- Contribution guidelines define slop

- if the PR is too slopy, it will be rejected

- the bot is made aware of this, so it can refuse to work or at the very least inform the user

- PR template now has checkboxes as attestation of following guidelines

anyone care to review my PR? other examples of projects doing this?

discuss

order

No comments yet.