SKILL.md
Framework / HTTP – Contentstack Management Python
When to use
- Editing
contentstackmanagement/api_client.pyor OAuth interceptor/handler wiring. - Changing retry policy, timeouts, or how
requestsis invoked.
Instructions
Integration point
APIClientusesrequestsincallrequest, honors timeout and maxretries, and delegates tooauth_interceptorwhen configured.
When to change
- Retry or transport behavior — keep logic centralized in
_APIClientunless a resource truly needs a documented exception. - Auth headers — prefer extending
Client/user_agentspatterns rather than scattering header merges.
Testing
- Unit — mock
requestsor_APIClientat the boundary used by existing tests. - API — full stack via credentials from
tests/cred.py.