| name | python-style |
|---|---|
| description | Python layout for contentstack_utils, typing, lxml usage, setup.py, packaging. |
- Editing any Python under
contentstack_utils/orsetup.py. - Adding modules or changing how
lxmlis used.
contentstack_utils/utils.py—Utilsclass (rendering, embedded items); delegates editable tag static methods toentry_editable.contentstack_utils/render/—Optionsand render-related code.contentstack_utils/helper/— Metadata, NodeToHtml, converter.contentstack_utils/embedded/— ItemType, StyleType.contentstack_utils/gql.py,automate.py,entry_editable.py— feature modules.
- Match existing patterns: typing hints where already used; pylint pragmas only where established.
- Prefer small, focused changes; avoid drive-by refactors unrelated to the task.
lxml.etree— HTML/XML parsing inutilsand helpers; keep usage consistent with existing error handling.
setup.py—name,version,packages=find_packages(); keepinstall_requiresaccurate if dependencies change.
- Do not log delivery tokens, API keys, or stack secrets.
skills/contentstack-utils/SKILL.md— public API and features.skills/framework/SKILL.md—lxmland SDK integration.