| name | islamic-content-authenticity |
| description | Verify Quran quotes, fact-check against the Quran, check hadith authenticity (source and grading), and validate Arabic translations. Use when adding or editing Quran verses, hadiths, glossary terms, fasting rules, or any Arabic text in TryRamadan. |
Islamic Content Authenticity
Use this skill when adding or reviewing Quran quotes, hadith, Arabic terms, or translations in TryRamadan. Always verify against canonical sources before committing.
1. Quran quotes and fact-checking
Canonical reference
- Standard text: Uthmani script; verse numbering follows the standard 6236-verse (or 6235 by some counts) Mushaf.
- Fasting verses: Surah Al-Baqarah 2:183â187 are the primary fasting verses. Any claim about âwhat the Quran says about fastingâ must align with these and not contradict them.
Verification steps
- Verse reference â Confirm surah number (1â114), verse number, and that the verse exists (e.g. Al-Baqarah has 286 verses).
- Wording â If displaying a quote, cross-check the English (and Arabic if shown) against a trusted source (e.g. Quran.com, api.quran.com). Prefer Saheeh International (translation id 20) for consistency with the app.
- Fact-checking â When making a claim âthe Quran says Xâ:
- Identify the exact verse(s) that support it.
- Ensure no conflation with hadith or tafsir; label clearly (âQuranâ, âhadithâ, âscholarly explanationâ).
- In-app usage â Quran text in the app comes from
api.quran.com (DashboardQuran). For static copy (e.g. fasting rules, tooltips), cite verse (e.g. â2:185â) and keep wording close to a standard translation.
Red flags
- Verse reference that doesnât exist (e.g. 2:300).
- Paraphrase presented as a direct quote without âbased onâ or âcf.â.
- Mixing Quran and hadith without labelling.
2. Hadith authenticity
Sources used in TryRamadan
- Sahih al-Bukhari â Highest regard in Sunni Islam; cite by book/number (e.g. Sahih al-Bukhari 1899).
- Sahih Muslim â Same tier; cite by number (e.g. Sahih Muslim 1162).
- Sunan al-Tirmidhi â Often has grading in the source (e.g. âhasan sahihâ).
- Sunan Abi Dawud, Sunan an-Nasaâi, Muwatta Malik â Sometimes referenced; include full source.
Verification steps
- Source string â Must include collection name and number (e.g.
Sahih al-Bukhari 1904). No bare âBukhariâ or âMuslimâ without number.
- Cross-check â Look up the number on Sunnah.com (Bukhari, Muslim, Tirmidhi, etc.) and confirm:
- The Arabic/English text matches the intended meaning.
- The hadith is about the topic we claim (e.g. fasting, suhoor, Laylat al-Qadr).
- Grading â Prefer hadiths that are sahih or hasan. If using daâif or less common collections, note in context or avoid in prominent UI.
- Data file â Hadiths live in
src/data/hadiths.json. Each entry must have source (e.g. "Sahih al-Bukhari 1923"), text (English), topic, and optional context. Do not invent or paraphrase hadith; keep wording close to a standard translation and cite accurately.
Red flags
- Wrong book number (e.g. Bukhari 38 for a suhoor hadith that is actually 1923).
- Quote that doesnât appear in the cited source.
- Fabricated or weak hadith presented as âthe Prophet saidâ without qualification.
3. Arabic translations and glossary
Where Arabic appears
- Glossary â
src/data/glossary.json: term, arabic, pronunciation or transliteration, definition, optional definitionAr.
- Tooltips â
src/data/eating-times-tooltips.ts, src/data/general-tooltips.ts: some entries have bodyAr or Arabic text.
- UI / cultural data â
src/data/cultural-traditions.json, labels, and other JSON: arabic, arabicName, or inline Arabic.
Verification steps
- Correct script â Arabic must be in proper Arabic script (no Latin letters in place of Arabic). Use Unicode; ensure direction is
dir="rtl" where displayed.
- Term match â Arabic word/phrase must match the English term (e.g. ŰłŰÙ۱ for Suhoor, Ű„Ù۷ۧ۱ for Iftar). Cross-check with a standard dictionary or glossary (e.g. Wehr, or Quran.com glossary).
- Transliteration â Use consistent scheme (e.g. IAST-style for Islamic terms: áž, áčŁ, áč, áž„, etc.). Match existing style in
glossary.json and tooltips.
- definitionAr â If provided, must be a correct Arabic explanation or equivalent of the English definition, not a mistranslation or unrelated phrase.
Red flags
- Wrong diacritics or typo in Arabic (changes meaning).
- Reversed or mismatched term/translation (e.g. Arabic for âIftarâ next to âSuhoorâ).
- Transliteration that misrepresents pronunciation (e.g. âSuhoorâ vs âSuhurâ â app uses âSuhoorâ; keep consistency).
4. Quick checklist before committing
5. References
| Resource | Use |
|---|
| Quran.com / api.quran.com | Verse text, chapter/verse bounds, translations (e.g. Saheeh International). |
| Sunnah.com | Bukhari, Muslim, Tirmidhi, etc.; verify hadith number and text. |
| App config | src/lib/config.ts: EXTERNAL_LINKS.quran, EXTERNAL_LINKS.sunnah; API_CONFIG.quranApi. |
| App data | src/data/hadiths.json, src/data/glossary.json, src/data/ramadan-info.json, src/data/eating-times-tooltips.ts, src/data/general-tooltips.ts. |
When in doubt, prefer not adding a quote or hadith until it is verified. Prefer citing a verse or source and linking to Quran.com or Sunnah.com rather than inlining unverified text.