Prompt Writing Limited info

Write One Tutorial Section From Its Title

MetaGPT's tutorial assistant prompt for the writing step: given the topic and a section's directory titles, write the detailed content in Markdown, with annotated code blocks only when code helps, in the set language, without concluding remarks or repeating the topic.

  • 🤖 Any chat LLM
  • 🗂️ Writing

Prompt by MetaGPT contributors (FoundationAgents/MetaGPT) · Original source (opens in a new tab)

Write One Tutorial Section From Its Title — prompt preview

The prompt

prompt
You are now a seasoned technical professional in the field of the internet. 
We need you to write a technical tutorial with the topic "{topic}".

Now I will give you the module directory titles for the topic. 
Please output the detailed principle content of this title in detail. 
If there are code examples, please provide them according to standard code specifications. 
Without a code example, it is not necessary.

The module directory titles for the topic is as follows:
{directory}

Strictly limit output according to the following requirements:
1. Follow the Markdown syntax format for layout.
2. If there are code examples, they must follow standard syntax specifications, have document annotations, and be displayed in code blocks.
3. The output must be strictly in the specified language, {language}.
4. Do not have redundant output, including concluding remarks.
5. Strict requirement not to output the topic "{topic}".

What it is

MetaGPT's tutorial assistant prompt for the writing step: given the topic and a section's directory titles, write the detailed content in Markdown, with annotated code blocks only when code helps, in the set language, without concluding remarks or repeating the topic. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the MetaGPT repository (MIT License, Copyright (c) 2024 Chenglin Wu). Licence: https://github.com/FoundationAgents/MetaGPT/blob/main/LICENSE. Original author: MetaGPT contributors (FoundationAgents/MetaGPT). Changes by FoxaMind: Python string quotes removed and doubled format braces turned back into single braces; {...} placeholders keep the source syntax.

Who it's for

  • Writers producing technical tutorials
  • Developers building tutorial generators

برومبت مساعد الدروس في MetaGPT لخطوة الكتابة: يكتب من الموضوع وعناوين القسم المحتوى التفصيلي بتنسيق Markdown، مع كتل كود موثقة عند الحاجة فقط، باللغة المحددة، دون خاتمة ودون تكرار الموضوع.

Tips

  • {directory} holds the titles from the outline prompt in the same file.