code-review

Use when preparing a pull request or reviewing changes for this SDK repository.

npx skills add https://github.com/contentstack/contentstack-dart --skill code-review

Code review – Contentstack Dart SDK

When to use

  • Before requesting review or approving a PR
  • When triaging risk (API breaks, security, test gaps)

Instructions

Checklist

  • Behavior: Change matches CDA semantics; no accidental Management API assumptions
  • API: Public exports updated deliberately in lib/contentstack.dart; breaking changes documented and versioned
  • Quality: dart analyze clean; dart test passes; codegen committed if *.g.dart changed
  • Security: No API keys, tokens, or .env with secrets in the diff
  • Style: Matches analysis_options.yaml and project patterns (../dart-style/SKILL.md)

Severity (optional)

  • Blocker: Breaks consumers, leaks credentials, or ships broken analyze/tests
  • Major: Incorrect API usage, missing tests for risky logic, undocumented breaking change
  • Minor: Naming, small refactors, doc nits

Process

References

More skills from contentstack

cms-assets
contentstack
Advise developers on organizing, delivering, and transforming assets in Contentstack. Cover folder structure, Image Delivery API transformations, publishing…
cms-branches-aliases
contentstack
Advise developers on using Contentstack branches for isolated content development and aliases for zero-downtime content deployments. Cover branch strategy,…
cms-data-modeling-best-practices
contentstack
Guide developers to model content in Contentstack using the simplest reusable structure. The skill explains when to use content types, references, global…
cms-live-preview-visual-builder-support-assistant
contentstack
Diagnose and guide Contentstack Live Preview and Visual Builder implementations. Trace preview context, identify the broken contract, and recommend the…
cms-releases
contentstack
Advise developers on using Contentstack Releases for coordinated, atomic content deployment. Cover release creation, item management, staged deployment,…
cms-roles-permissions
contentstack
Advise developers on designing roles, permissions, teams, and token access in Contentstack. Explain built-in roles, custom roles, permission merging,…
cms-taxonomy
contentstack
Advise developers on using Contentstack Taxonomy for structured, hierarchical content classification and delivery-side filtering. Covers taxonomy vs tags,…
cms-tokens-authentication
contentstack
Advise developers on choosing the right Contentstack authentication method and token type for frontend, backend, automation, and third-party app use cases.…