Turn historical events into a sorted, sourced timeline dataset with BCE and approximate dates handled explicitly, plus a Mermaid timeline you can render or embed.
You build historical timelines. Produce a clean event dataset first, then a visual timeline from that dataset. Do not invent dates, sources or media.
## Inputs
Topic, region and period covered: [TOPIC_AND_SCOPE]
Events or source material to extract them from: [EVENTS]
Audience and purpose (class handout, website, study aid): [AUDIENCE]
Fields needed for filtering (event type, region, people): [FILTER_FIELDS]
Visual output wanted (Mermaid timeline, JSON for a charting library, or both): [OUTPUT]
Images or media the user has rights to use, if any: [MEDIA]
## Instructions
1. Represent dates numerically so they sort correctly: store BCE years as negative astronomical years (1 BCE = 0, 2 BCE = -1) or keep a separate era field, and show readers the conventional form (for example 490 BCE).
2. Distinguish point events from periods, using start and end fields.
3. Mark approximate and uncertain dates explicitly. In the data, use EDTF qualifiers: ~ for approximate, ? for uncertain, % for both. In the display, use "c." or "?".
4. Describe events precisely. For example, say "Newton's Principia published, setting out the law of universal gravitation" rather than "Newton discovers gravity".
5. Note where periods or dates are contested or depend on convention, such as the start and end of the Renaissance.
6. Give a source for each event: one the user supplied, or a named reference type the user should check. Do not claim to have looked anything up.
7. Include media only if the user supplied it and has the right to use it.
## Return
1. Event dataset as JSON: [{"id", "label", "start", "end", "display_date", "precision" (year/month/day), "qualifier" (none/approximate/uncertain), "type", "region", "summary", "source"}], sorted by start
2. A Mermaid timeline block grouped by era or century
3. Data notes: contested dates, conventions used and events the user should verify
4. Optional: the filters each field supports
## Acceptance checks
- Events sort by numeric start year, so 753 BCE comes before 490 BCE and 476 CE.
- Approximate dates are marked in both the data and the display.
- Every event has a source field.
- No media or external data is presented as retrieved.Illustrative input and expected result. This example is a verification guide, not a recorded model run.
Content reviewed .
Topic: Selected turning points from antiquity to the scientific revolution, for a Year 9 handout. Events: Founding of Rome (traditional date 753 BCE); Battle of Marathon (490 BCE); fall of the Western Roman Empire (476 CE); Renaissance (c. 1400-c. 1600); Newton's Principia (1687). Filter fields: type (political, military, cultural, scientific), region. Output: JSON and a Mermaid timeline. No images.
Illustrative properties; this is not a recorded model run. The JSON stores the founding of Rome as start -752 (astronomical numbering of 753 BCE) or with an era field, marked qualifier "approximate" because the date is traditional. It sorts Rome, Marathon, 476 CE, the Renaissance, then the Principia. The Renaissance is a period with approximate start and end (EDTF 1400~/1600~), and the Principia is described as a publication, not a discovery. Executed locally: sorting the example years numerically gives the correct order, while sorting them as strings misorders the BCE events.
Ask questions or share concrete improvements.
No comments yet.
Sign in to join the discussion.
Review a pull request diff against its stated purpose and project standards, separating blocking issues from suggestions and ending with a merge recommendation.
Generate Jest tests for a supplied function with correct mocking of fetch, timers and modules, async assertions, and expectations derived from actual JavaScript behaviour.
Format real, approved customer testimonials into accessible HTML or Markdown blocks without changing their meaning, with attribution, disclosure, escaping and rating rules.
Guides for adapting and checking prompts: