code-review
作者: contentstack
PR 審查檢查清單,適用於 datasync-asset-store-filesystem — 在開啟或審查拉取請求時使用。
npx skills add https://github.com/contentstack/datasync-asset-store-filesystem --skill code-reviewCode review – DataSync Asset Store Filesystem
When to use
- Opening a PR that touches
src/, tests, or published artifacts - Reviewing changes for a library release
Instructions
- Build and tests: Branch should pass
npm run build-tsandnpm testlocally. - Lint: Run
npm run tslintfor TypeScript changes insrc/. - API and docs: If public behavior or defaults change, update root
README.mdand verifydatasync-asset-storeassumptions still hold. - Versioning: Bump
package.jsonversion when releasing; follow org conventions for tags and changelog if applicable. - Security: Avoid logging secrets; path handling should remain safe (see existing sanitization in
src/utils.tsand related code). Large dependency or HTTP behavior changes deserve extra scrutiny. - Scope: Keep changes focused on the asset-store concern—avoid unrelated refactors in the same PR unless required for the fix.