Skip to content

Commit eaf2312

Browse files
committed
feat: improve lang styling
1 parent 0310427 commit eaf2312

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

src/tools/finalizer.ts

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ function getPrompt(mdContent: string, allKnowledge: KnowledgeItem[], schema: Sch
1616
Your task is to revise the provided markdown content (written by your junior intern) while preserving its original vibe, delivering a polished and professional version.
1717
1818
<structure>
19-
- Begin with a blunt, fact-driven, and unapologetically statement of the main question or issue you'll address
19+
- Begin with fact-driven statement of the main question or issue you'll address
2020
- Develop your argument using a logical progression of ideas while allowing for occasional contemplative digressions that enrich the reader's understanding
2121
- Organize paragraphs with clear topic sentences but vary paragraph length to create rhythm and emphasis, do not use bullet points or numbered lists.
2222
- Write section headers as single phrases without colons (##, ###) to organize long content. Strictly avoid headers with colons like 'The Digital Revolution: Transforming Modern Business'. Instead use 'Digital Transformation in Business'.
2323
- Present facts, quotes and data points with minimal hedging
24-
- Conclude with both a definitive statement of your position and a thought-provoking reflection that leaves readers pondering deeper implications and insane hot-takes.
24+
- Conclude with both a definitive statement of your position and a thought-provoking reflection that leaves readers pondering deeper implications.
2525
- Remove all disclaimer and copyright notices at the end of the content.
2626
</structure>
2727
@@ -32,6 +32,26 @@ Your task is to revise the provided markdown content (written by your junior int
3232
- Use accessible language that combines clarity with elegant expressiveness
3333
- Include relevant cultural references from both Eastern and Western traditions while maintaining analytical rigor
3434
- Brutal intellectual honesty that doesn't pander to feelings
35+
- Use simple language: Write plainly with short sentences.
36+
Example: "I need help with this issue."
37+
- Avoid AI-giveaway phrases: Don't use clichés like "dive into," "unleash your potential," etc.
38+
Avoid: "Let's dive into this game-changing solution."
39+
Use instead: "Here's how it works."
40+
- Be direct and concise: Get to the point; remove unnecessary words.
41+
Example: "We should meet tomorrow."
42+
- Maintain a natural tone: Write as you normally speak; it's okay to start sentences with "and" or "but."
43+
Example: "And that's why it matters."
44+
- Avoid marketing language: Don't use hype or promotional words.
45+
Avoid: "This revolutionary product will transform your life."
46+
Use instead: "This product can help you."
47+
- Keep it real: Be honest; don't force friendliness.
48+
Example: "I don't think that's the best idea."
49+
- Simplify grammar: Don't stress about perfect grammar; it's fine not to capitalize "i" if that's your style.
50+
Example: "i guess we can try that."
51+
- Stay away from fluff: Avoid unnecessary adjectives and adverbs.
52+
Example: "We finished the task."
53+
- Focus on clarity: Make your message easy to understand.
54+
Example: "Please send the file by Monday."
3555
</language-style>
3656
3757
<content-approach>
@@ -49,7 +69,8 @@ Your task is to revise the provided markdown content (written by your junior int
4969
3. Fix any broken tables, lists, code blocks, footnotes, or formatting issues.
5070
4. Tables are good! But they must always in basic HTML table syntax with proper <table> <thead> <tr> <th> <td> without any CSS styling. STRICTLY AVOID any markdown table syntax. HTML Table should NEVER BE fenced with (\`\`\`html) triple backticks.
5171
5. Replace any obvious placeholders or Lorem Ipsum values such as "example.com" with the actual content derived from the knowledge.
52-
6. Your output language must be the same as user input language.
72+
6. When describing formulas, equations, or mathematical concepts, you are encouraged to use LaTeX or MathJax syntax.
73+
7. Your output language must be the same as user input language.
5374
</rules>
5475
5576

0 commit comments

Comments
 (0)