domain-mushaf-text-integrity

Verify Quran text integrity with SHA-256 checksums and fixed QUL layout.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/zakariaf/Hifz-Companion --skill domain-mushaf-text-integrity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-mushaf-text-integrity
Source: https://github.com/zakariaf/Hifz-Companion/tree/main/.claude/skills/domain-mushaf-text-integrity
Command: npx skills add https://github.com/zakariaf/Hifz-Companion --skill domain-mushaf-text-integrity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures the integrity and fidelity of Quran text in the Hifz app, providing a secure and accurate rendering environment for the sacred text.

Core Features & Use Cases

  • Byte-for-byte Text Integrity: Verifies the exact text of the Quran with SHA-256 hashing.
  • Immutable Glyph Fonts: Uses dedicated glyph fonts for each page without relying on OS shapers.
  • Layout from QUL Dataset: Ensures layout is derived from the fixed QUL dataset without runtime computation.
  • Marker Overlay: Draws markers on the immutable glyph layer without re-typesetting text.
  • Swappable Muṣḥaf Editions: Allows swapping of text, layout, and fonts for different riwāyahs.
  • Use Case: When building the muṣḥaf reader, registering or selecting glyph fonts, or applying zoom/sepia/dark themes.

Quick Start

Use the domain-mushaf-text-integrity skill to render the Quran text for a specific page number with the 'Madani' riwāyah.

Frequently Asked Questions about domain-mushaf-text-integrity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify Quran text integrity with SHA-256 hashing in my application?

Quran text integrity is verified using byte-for-byte Tanzil text validated through SHA-256 hashing. This approach checks bundled app binary data against checksums to ensure the sacred text remains unaltered during rendering.

How do I render Quran pages with fixed glyph fonts without relying on OS shapers?

Rendering Quran pages with fixed glyph fonts requires dedicated KFGQPC fonts for each page. This method bypasses OS shapers by using immutable glyph fonts, ensuring consistent visual output across different operating systems.

Can I apply zoom or dark themes to a muṣḥaf layout without re-typesetting the text?

Applying zoom or dark themes to a muṣḥaf layout is possible without re-typesetting by using a marker overlay. The system draws markers on the immutable glyph layer, leaving the underlying text layout untouched.

How do I use a fixed QUL dataset for muṣḥaf layout instead of runtime computation?

Using a fixed QUL dataset for muṣḥaf layout involves deriving page coordinates directly from the dataset. This eliminates runtime computation, ensuring the text layout remains static and perfectly aligned with the original design.

Can I swap Quran text and fonts to support different riwāyahs in my reader app?

Swapping Quran text and fonts to support different riwāyahs is supported through swappable muṣḥaf editions. This allows you to exchange text, layout, and font sets dynamically while maintaining text integrity.

Why does my Quran rendering layout shift across different operating systems?

Quran rendering layout shifts across operating systems occur when relying on OS shapers. Using dedicated KFGQPC glyph fonts with a fixed QUL dataset prevents this by providing an immutable layout layer independent of the OS.