fix: prohibit emoji in article generation and improvement prompts#3
Open
fix: prohibit emoji in article generation and improvement prompts#3
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
| 1. **Only fix the listed issues** - don't make unrelated changes | ||
| 2. **Preserve the structure** - keep sections, imports, and patterns intact | ||
| 2. **NO EMOJI** - Do not add or keep any emoji anywhere in the article. Remove any that exist. | ||
| 3. **Preserve the structure** - keep sections, imports, and patterns intact |
There was a problem hiding this comment.
Duplicate list number in improvement instructions
Medium Severity
After inserting the new emoji rule as item #2 and renumbering the old "Preserve the structure" to #3, the subsequent "Add missing content" item was left as #3 instead of being renumbered to #4. This results in two items both numbered 3., which could confuse the LLM processing this prompt — potentially causing it to skip or deprioritize one of the duplicated instructions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Problem
Article audit flags emoji as style violations in all generated articles (49 articles affected). The generate/improve prompts had no rule against using emoji.
Changes
generate.md:
NO EMOJI — Do not use emoji anywhere in the articleNo emoji anywhere in the articleimprove.md:
NO EMOJI — Do not add or keep any emoji. Remove any that existEffect
New articles generated from this point forward will not contain emoji. Existing 49 articles with emoji are not retroactively fixed (mass edit not worth it — audit flags them as warnings, not errors).
Note
Low Risk
Low risk prompt-only change that tightens style constraints; impact is limited to future AI-generated/edited articles and could slightly reduce output variety if prior prompts relied on emoji.
Overview
Adds a strict no-emoji rule to the article
generateandimproveprompts, requiring that generated and edited blog posts contain no emoji anywhere (including headings, badges, and JSX).Updates the generation quality checklist and improvement instructions to explicitly enforce and validate this constraint during content creation and revisions.
Written by Cursor Bugbot for commit 002da8b. Configure here.