Audit Indian market code for DhanHQ API contract violations and cross-domain API leakage. Use when reviewing dhanhq-*, algo_*, dhan_*, market-data-service, or swing_long_trader code.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Audit Indian market code for DhanHQ API contract violations and cross-domain API leakage. Use when reviewing dhanhq-*, algo_*, dhan_*, market-data-service, or swing_long_trader code.
disable-model-invocation
true
argument-hint
["file-or-directory"]
allowed-tools
Read, Glob, Grep
Skill: DhanHQ API Invariant Check
Audit Indian market code for DhanHQ API contract violations and cross-domain API leakage.
Checks
dhanhq-client public method signatures — flag any removed or renamed methods
Response schema assumptions — flag if code assumes fields that may not exist
Auth token handling — must use env vars, never hardcoded
Rate limit awareness — flag tight loops calling DhanHQ endpoints
Order ID uniqueness assumptions — DhanHQ IDs are not sequential, do not sort by them
Cross-Domain Boundary Check (Critical)
Flag any reference to Delta Exchange APIs inside Indian market repos (dhanhq-*, algo_*, dhan_*, market-data-service, swing_long_trader)
Flag any Delta Exchange credentials, endpoints, or client classes appearing in DhanHQ repos
Flag any shared order/position state between the two domains
Output
List of invariant violations with file:line references