Prompt Writing Limited info

Technical Tutorial Table of Contents as JSON

MetaGPT's tutorial assistant prompt for the outline step: write a specific table of contents for a technical tutorial on a topic, in a given language, as a one-line dictionary with a title and primary and secondary directory entries.

  • 🤖 Any chat LLM
  • 🗂️ Writing

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

Technical Tutorial Table of Contents as JSON — 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}".

Please provide the specific table of contents for this tutorial, strictly following the following requirements:
1. The output must be strictly in the specified language, {language}.
2. Answer strictly in the dictionary format like {"title": "xxx", "directory": [{"dir 1": ["sub dir 1", "sub dir 2"]}, {"dir 2": ["sub dir 3", "sub dir 4"]}]}.
3. The directory should be as specific and sufficient as possible, with a primary and secondary directory.The secondary directory is in the array.
4. Do not have extra spaces or line breaks.
5. Each directory title has practical significance.

What it is

MetaGPT's tutorial assistant prompt for the outline step: write a specific table of contents for a technical tutorial on a topic, in a given language, as a one-line dictionary with a title and primary and secondary directory entries. 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 planning technical tutorials
  • Developers building tutorial generators

برومبت مساعد الدروس في MetaGPT لخطوة المخطط: يكتب فهرساً محدداً لدرس تقني عن موضوع ما، بلغة محددة، كقاموس في سطر واحد فيه العنوان وعناوين رئيسية وفرعية.

Tips

  • The second prompt in the same file writes each section from these titles.
  • {topic} and {language} are filled by the tool.