python-style

द्वारा contentstack

Use for package layout under contentstack_management/, setup.py, pylint-friendly style, and imports.

npx skills add https://github.com/contentstack/contentstack-management-python --skill python-style

Python style and repo layout – Contentstack Management Python

When to use

  • Editing any Python under contentstack_management/, setup.py, or requirements.txt.
  • Adding modules or changing how the public package surface is exported.

Instructions

Layout

  • contentstack_management/contentstack.pyClient, Region, user_agents, OAuth wiring.
  • contentstack_management/_api_client.py_APIClient (HTTP, retries).
  • contentstack_management/stack/ — stack-scoped API surface.
  • Domain modulesentries/, assets/, webhooks/, oauth/, etc.

Style

  • Match existing modules: naming, docstrings, and patterns already used in the same directory.
  • Prefer small, focused changes; keep __init__.py exports consistent with public API intent (README, contentstack_management.__all__).

Imports

  • Use requests (and requests-toolbelt where already used) through _APIClient patterns rather than ad-hoc clients in domain modules unless justified.

Security

  • Do not log authtokens, management tokens, passwords, or API keys; preserve existing header handling in Client.

contentstack की और Skills

brand-kit-assistant
contentstack
Contentstack Brand Kit अवधारणाओं, सेटअप, शासन और ब्रांड-अनुरूप AI जनरेशन पर उपयोगकर्ताओं को सलाह दें। API-विशिष्ट कार्यों को सही Brand Kit क्षमता या… पर रूट करें।
official
cms-assets
contentstack
डेवलपर्स को Contentstack में एसेट्स को व्यवस्थित करने, वितरित करने और रूपांतरित करने पर सलाह दें। फोल्डर संरचना, इमेज डिलीवरी API रूपांतरण, प्रकाशन… को कवर करें।
official
cms-branches-aliases
contentstack
डेवलपर्स को Contentstack ब्रांचेस का उपयोग करके पृथक कंटेंट डेवलपमेंट और एलियासेस का उपयोग करके शून्य-डाउनटाइम कंटेंट डिप्लॉयमेंट पर सलाह दें। ब्रांच रणनीति को कवर करें,…
official
cms-data-modeling-best-practices
contentstack
डेवलपर्स को Contentstack में सबसे सरल पुन: प्रयोज्य संरचना का उपयोग करके सामग्री मॉडलिंग करने का मार्गदर्शन करता है। यह कौशल बताता है कि कब कंटेंट टाइप, रेफरेंस, ग्लोबल… का उपयोग करना है।
official
cms-entries
contentstack
डेवलपर्स को Contentstack एंट्रीज़ को कुशलतापूर्वक वितरित करने के लिए क्वेरी करने, स्थानीयकरण, वर्जनिंग, प्रकाशन और संरचना पर सलाह दें। CDA उपयोग, संदर्भ... पर ध्यान केंद्रित करें।
official
cms-environments-publishing
contentstack
डेवलपर्स को वातावरण कॉन्फ़िगर करने, सामग्री प्रकाशित करने, डिलीवरी और प्रीव्यू टोकन का उपयोग करने, सिंक API का लाभ उठाने, और CDN तथा… को समझने पर सलाह दें।
official
cms-live-preview-visual-builder-support-assistant
contentstack
Contentstack Live Preview और Visual Builder कार्यान्वयनों का निदान और मार्गदर्शन करें। पूर्वावलोकन संदर्भ का पता लगाएं, टूटे हुए अनुबंध की पहचान करें, और अनुशंसा करें...
official
cms-localization
contentstack
डेवलपर्स को Contentstack स्थानीयकरण पर सलाह दें: भाषा सेटअप, फ़ॉलबैक श्रृंखलाएं, स्थानीयकृत बनाम गैर-स्थानीयकृत प्रविष्टियां, गैर-स्थानीयकरण योग्य फ़ील्ड, और बहु-लोकेल…
official