-
Notifications
You must be signed in to change notification settings - Fork 11
feat: add critical thinking directive and Socratic pre-flight questions #927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,15 @@ model: sonnet | |
|
|
||
| <!-- AI-CONTEXT-END --> | ||
|
|
||
| ## Pre-flight Questions | ||
|
|
||
| Before committing to a narrative angle or hook, work through: | ||
|
|
||
| 1. What is the theme — the universal truth this content explores? | ||
| 2. What is the single takeaway — what should the audience think, feel, or do differently? | ||
| 3. Does this tell a story — is there tension, transformation, and resolution? | ||
| 4. Who is the protagonist — the audience, a character, or the brand — and is that the right choice? | ||
|
|
||
|
Comment on lines
+29
to
+37
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Search for existing narrative/story guidance in agents that might duplicate the new pre-flight questions
echo "=== Checking for theme/takeaway/story structure guidance ==="
rg -i "theme|takeaway|transformation|protagonist" .agents/ -C 2 --type md
echo -e "\n=== Checking for pre-flight or preparatory narrative questions ==="
rg -i "before (committing|generating|creating)|pre-flight|preliminary" .agents/ -C 2 --type md
echo -e "\n=== Checking for narrative arc/story structure guidance ==="
rg -i "tension.*transformation|narrative.*arc|story.*structure" .agents/ -C 2 --type md
echo -e "\n=== Listing all .md files in .agents/ ==="
find .agents/ -name "*.md" -type fRepository: marcusquinn/aidevops Length of output: 50379 🏁 Script executed: #!/bin/bash
# Focused verification on the specific pre-flight questions
echo "=== Story.md new pre-flight questions ==="
sed -n '29,37p' .agents/content/story.md
echo -e "\n=== YouTube script-writer pre-flight section ==="
grep -A 5 "Before writing a video script" .agents/youtube/script-writer.md
echo -e "\n=== Compare: 'single takeaway' across agents ==="
rg "single takeaway" .agents/ -C 1 --type mdRepository: marcusquinn/aidevops Length of output: 1588 Coding guideline violation: "Single takeaway" question duplicates existing guidance in Before adding instructions to Duplication found:
Both questions address the same concept (identifying the core message) and should either be consolidated or explicitly differentiated by scope (story-level takeaway vs. script-section alignment). Additionally, the story.md "tension/transformation/resolution" question semantically overlaps with the YouTube agent's pre-flight checks. Differentiate these questions to avoid conflicting narrative guidance across agents, or consolidate the shared framework into a shared reference document if the intent is identical. 🤖 Prompt for AI Agents |
||
| ## 7 Hook Formulas | ||
|
|
||
| Every piece of content starts with a hook. Use these formulas to generate variants: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,6 +31,16 @@ Always consult healthcare professionals for medical advice. | |
|
|
||
| <!-- AI-CONTEXT-END --> | ||
|
|
||
| ## Pre-flight Questions | ||
|
|
||
| Before generating health-related output, work through: | ||
|
|
||
| 1. What does the peer-reviewed evidence say? Cite studies, not opinions. | ||
| 2. What is the mechanism of action — can it be explained physiologically? | ||
| 3. What biases could be influencing this conclusion — confirmation, survivorship, selection, funding? | ||
| 4. What would a controlled experiment look like to test this claim? | ||
| 5. What are the risks of acting on this vs doing nothing — and for whom? | ||
|
|
||
|
Comment on lines
+34
to
+43
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: rg -n "Pre-flight Questions|peer-reviewed|mechanism of action|controlled experiment|risks" .agents/Repository: marcusquinn/aidevops Length of output: 1722 🏁 Script executed: # Also check the root AGENTS.md for similar guidance patterns
cat .agents/AGENTS.md | head -100Repository: marcusquinn/aidevops Length of output: 5281 🏁 Script executed: # Check if there are other agent files with similar critical thinking patterns
fd -t f "\.md$" .agents/ | head -20Repository: marcusquinn/aidevops Length of output: 712 🏁 Script executed: grep -n "Pre-flight" .agents/AGENTS.mdRepository: marcusquinn/aidevops Length of output: 46 🏁 Script executed: # Check the size of root AGENTS.md to see if it's close to the ~50-100 instruction budget
wc -l .agents/AGENTS.mdRepository: marcusquinn/aidevops Length of output: 85 Consolidate "Pre-flight Questions" pattern to root AGENTS.md—do not replicate across domain agents. Guideline violation confirmed: No prior 🧰 Tools🪛 LanguageTool[style] ~41-~41: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym. (ENGLISH_WORD_REPEAT_BEGINNING_RULE) [style] ~42-~42: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym. (ENGLISH_WORD_REPEAT_BEGINNING_RULE) 🤖 Prompt for AI Agents |
||
| ## Health Workflows | ||
|
|
||
| ### Developer Wellness | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -78,6 +78,18 @@ subagents: | |||||
|
|
||||||
| <!-- AI-CONTEXT-END --> | ||||||
|
|
||||||
| ## Pre-flight Questions | ||||||
|
|
||||||
| Before generating marketing strategy or campaign output, work through: | ||||||
|
|
||||||
| 1. Is the offer valuable? What specific problem does it solve, and is that problem real and painful? | ||||||
| 2. What is unique about our solution — what do we offer that alternatives don't? | ||||||
| 3. What are the benefits (outcomes the buyer gets) before the features (how it works)? | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This question's phrasing is a bit ambiguous. 'Benefits... before the features' could be clearer. To ensure the AI correctly prioritizes benefits in its output, consider rephrasing this to be more direct.
Suggested change
|
||||||
| 4. How does our pricing and value compare to alternatives — including doing nothing? | ||||||
| 5. How can we guarantee results or satisfaction — and are our claims realistic and provable? | ||||||
| 6. Who specifically are we addressing — named personas with real constraints, not demographics? | ||||||
| 7. What would make someone say "this isn't for me" — and is that the right person to lose? | ||||||
|
|
||||||
| ## Email Marketing | ||||||
|
|
||||||
| ### FluentCRM Setup | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,12 @@ IMPORTANT: You must NEVER generate or guess URLs for the user unless you are con | |
| # Professional objectivity | ||
| Prioritize technical accuracy and truthfulness over validating the user's beliefs. Focus on facts and problem-solving, providing direct, objective technical info without any unnecessary superlatives, praise, or emotional validation. Objective guidance and respectful correction are more valuable than false agreement. Whenever there is uncertainty, investigate to find the truth first rather than instinctively confirming the user's beliefs. | ||
|
|
||
| # Critical thinking | ||
| For all non-trivial output: Is this a good idea? Compared to what? At what cost? Based on | ||
| what evidence? Evaluate whether action is necessary — doing nothing is a valid option. | ||
| Ensure objective understanding, distinguish nuance, and consider unintended consequences | ||
| or third-order effects. Weigh value against cost and effort before proceeding. | ||
|
Comment on lines
+30
to
+33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The current paragraph formatting, with its awkward line breaks, makes the core critical thinking questions less prominent and harder to read. To improve clarity and ensure the AI gives these questions proper weight, consider pulling them out into a bulleted list. |
||
|
|
||
| # Task Management | ||
| You have access to the TodoWrite tools to help you manage and plan tasks. Use these tools VERY frequently to ensure that you are tracking your tasks and giving the user visibility into your progress. | ||
| These tools are also EXTREMELY helpful for planning tasks, and for breaking down larger complex tasks into smaller steps. If you do not use this tool when planning, you may forget to do important tasks - and that is unacceptable. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
rg -n "Pre-flight Questions|front-loaded|tone match|padding" .agents/Repository: marcusquinn/aidevops
Length of output: 5028
🏁 Script executed:
Repository: marcusquinn/aidevops
Length of output: 3096
🏁 Script executed:
Repository: marcusquinn/aidevops
Length of output: 702
Search before adding instructions was skipped; "Pre-flight Questions" already exists across 9 agent files.
The guideline requiring
rgsearch before adding instructions was not followed. This pattern already exists in.agents/content/research.md,.agents/content/story.md,.agents/youtube/script-writer.md,.agents/seo/eeat-score.md,.agents/sales.md,.agents/legal.md,.agents/accounts.md,.agents/marketing.md, and.agents/health.md. While the specific questions added here are contextually appropriate for the writing agent (reader action, front-loading value, avoiding padding), the developer should have confirmed awareness of this established pattern before adding. Future additions should follow the search-first guideline.🤖 Prompt for AI Agents