whatsapp-otp
Skill338 starsChanged 2 months agoApache-2.0View on GitHub
CodFlow's WhatsApp OTP phone-verification feature (dzverify provider) — optional, off by default, per-store. Use when working on OTP send/verify endpoints, the order-creation verification gate, the store_otp_config settings, theme01's checkout OTP step, or the dashboard Verification settings page.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- codebase-designSkill
- code-reviewSkill
- codflow-setupSkill
- codflow-updateSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- ecotrackSkill
- implementSkill
- improve-codebase-architectureSkill
- meta-adsSkill
- prototypeSkill
- route-builderSkill
- storefront-vercelSkill
- tddSkill
- to-specSkill
- to-ticketsSkill
- wayfinderSkill
- zr-expressSkill
The file
Files
WhatsApp OTP Verification (dzverify)
Storefront phone verification at checkout. Optional, off by default — activated per merchant from Dashboard → Settings → Verification by pasting a dzverify API key. No config row = feature completely inert.
| File | What it holds |
PLAN.md | The slice-by-slice implementation plan + all verified dzverify API facts, architecture decisions (fail-open contract, token design, RBAC scope), and status. Start here. |
Key invariants (full detail in PLAN.md):
- The dzverify API key is merchant config in D1 (
store_otp_config), never a wrangler secret, never sent to the browser. - Orders are NEVER blocked by quota exhaustion or provider outage — the server mints an HMAC bypass token and checkout proceeds unverified. Wrong/expired codes get no bypass (that is the flow working).
- Verification proof is a stateless HMAC token bound to the normalized E.164 phone, 15-min TTL, signed with a key derived from the store's dzverify API key.
- Storefront endpoints are
auth: "store"(/store/otp/send,/store/otp/verify); merchant config endpoints use theSETTINGS_VERIFICATIONRBAC scope. - theme01: engine additions in
src/core/are additive-only; the OTP step UI lives insrc/theme/, strings in all three content packs, RTL verified.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

