domain-asset-pack-integrity

Verify Hifz app offline asset packs using SHA-256 checksums.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures that the Hifz app's offline asset packs are secure and can be reliably used without network access, protecting the integrity of the Quranic texts and resources.

Core Features & Use Cases

  • Offline Asset Integrity: Validates the authenticity and integrity of the app's asset packs offline, preventing unverified content from being rendered.
  • SHA-256 Verification: Implements a fail-closed SHA-256 verification system for each asset file, ensuring only verified content is used.
  • Bundled Core Security: Secures the core Quranic text by including it within the signed app binary, with no additional downloads required.
  • Optional Asset Handling: Manages the secure download and verification of optional asset packs like reciter audio and alternative muṣḥaf (Quranic page layout) on-demand.

Quick Start

Run the 'domain-asset-pack-integrity' skill to verify the integrity of the Hifz app's core asset pack and any additional packs you have downloaded.

Frequently Asked Questions about domain-asset-pack-integrity

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

FAQPage Schema
How do I verify offline asset pack integrity for a Quran app?

Offline asset pack integrity is verified using a fail-closed SHA-256 verification system that checks each downloaded file. This ensures only authenticated content is rendered, preventing unverified resources from being used without network access.

What is the best way to secure optional Quranic audio downloads offline?

Securing optional Quranic audio downloads requires on-demand downloading combined with SHA-256 verification. Each asset file is checked for authenticity immediately after download, ensuring the offline asset pack remains uncompromised.

Why does a Hifz app bundle the core Quranic text in the app binary?

Bundling the core Quranic text in the signed app binary secures the text by eliminating additional downloads. This ensures the foundational asset pack is protected by the app's own signature and requires no separate offline verification.

Can I use SHA-256 verification for alternative mushaf page layouts?

Yes, SHA-256 verification is implemented for optional asset packs including alternative mushaf layouts. The system securely manages these on-demand downloads and verifies each file before allowing offline use.

What happens if asset pack SHA-256 verification fails offline?

If SHA-256 verification fails, the fail-closed system prevents the unverified content from being rendered. This ensures the Hifz app only displays authenticated Quranic resources, maintaining strict offline security.