بنقرة واحدة
code-review
Use when reviewing or preparing a pull request for contentstack-management-dotnet.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when reviewing or preparing a pull request for contentstack-management-dotnet.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use for branches, CI, build/test scripts, and NuGet release flow in contentstack-management-dotnet.
Use for the contentstack.management.aspnetcore package, HttpClient/DI registration with ASP.NET Core.
Use when changing or using the CMA client API, authentication, or NuGet package surface for Contentstack.Management.Core.
Use for C# language level, nullable usage, and file/folder layout consistent with Contentstack.Management.Core.
Use when building or updating DocFX API documentation under docfx_project for this repository.
Use for target frameworks, assembly signing, NuGet packaging, OS-specific builds, and HTTP pipeline overview in Contentstack.Management.Core.
| name | code-review |
| description | Use when reviewing or preparing a pull request for contentstack-management-dotnet. |
development. Release PRs use development → main (no staging). Confirm head/base match the intended step in that flow before approving.sh ./Scripts/run-unit-test-case.sh locally for core changes. Integration tests only when behavior depends on live API—coordinate credentials.ContentstackClient, options, models) changes are intentional and versioned appropriately; avoid breaking changes without major bump and changelog.appsettings.json with real data must not be committed.CSManagementSDK.snk usage matches ../framework/SKILL.md.../csharp-style/SKILL.md; match surrounding code.README.md or package release notes when needed.For markdown blocks to paste into PRs, copy from PR review checklist (copy-paste) below.
Copy sections into a PR comment when useful. This checklist is for this repo (HttpClient + pipeline + MSTest), not the Content Delivery .NET SDK.
- [ ] **Feature/fix:** PR targets **`development`**
- [ ] **Release:** if merging to **`main`**, this is the agreed **`development` → `main`** release PR (not a bypass of version/tag checks)
- [ ] No public method/property removed or narrowed without deprecation / major version plan
- [ ] `JsonProperty` / JSON names for API-facing models unchanged unless intentional and documented
- [ ] New required `ContentstackClientOptions` fields have safe defaults or are optional
- [ ] Strong naming: assembly signing still consistent if keys or `csproj` changed
- [ ] New or changed HTTP calls go through existing client/pipeline (`ContentstackClient` → `IContentstackService` → pipeline), not ad-hoc `HttpClient` usage inside services without justification
- [ ] Retry-sensitive changes reviewed alongside `RetryHandler` / `DefaultRetryPolicy` and unit tests under `Contentstack.Management.Core.Unit.Tests/Runtime/Pipeline/`
- [ ] Headers, query params, and path segments align with CMA docs; no hardcoded production URLs where options.Host should be used
- [ ] `IContentstackService` implementations set `ResourcePath`, `HttpMethod`, `Parameters` / `QueryResources` / `PathResources` / `Content` consistently with sibling services
- [ ] New fluent `Query` methods only add to `ParameterCollection` with correct API parameter names
- [ ] Unit tests use MSTest; `sh ./Scripts/run-unit-test-case.sh` passes for core changes
- [ ] Integration tests only when needed; no secrets committed (`appsettings.json` stays local)
- [ ] No API keys, tokens, or passwords in source or test data checked into git
- [ ] OAuth / token handling does not log secrets
- [ ] User-visible behavior reflected in `README.md` or release notes when appropriate
- [ ] `skills/` updated if agent/contributor workflow changed