Source of truth for detailed guidance. Read AGENTS.md first, then open the skill that matches your task.
| Area | This repo (CMA SDK) |
|---|---|
| API | Content Management API (CMA) — not the Content Delivery API (CDA). |
| Packages | contentstack.management.csharp (core), contentstack.management.aspnetcore (DI helpers). |
| HTTP | HttpClient through ContentstackClient → runtime pipeline (HttpHandler, RetryHandler). |
| Language / tests | C# 8, nullable enabled. MSTest on net7.0; unit tests use Moq and AutoFixture where existing tests do. |
- In the repo: open
skills/<folder>/SKILL.mdfor the topic you need. - In Cursor / other AI chats: reference a skill by path, e.g.
skills/http-pipeline/SKILL.mdor@skills/http-pipelineif your tooling resolves that alias to this folder.
- “Add a new CMA endpoint wrapper following
skills/contentstack-management-dotnet-sdk/SKILL.md.” - “Adjust retry behavior for 429 responses using
skills/http-pipeline/SKILL.mdand update unit tests underContentstack.Management.Core.Unit.Tests/Runtime/Pipeline/.” - “Write a unit test with MSTest + Moq following
skills/testing/SKILL.md.”
| Skill folder | Use when |
|---|---|
dev-workflow/ |
Git branches, CI workflows, running build/test scripts, release/NuGet flow. |
contentstack-management-dotnet-sdk/ |
ContentstackClient, options, authentication, public API and package boundaries. |
testing/ |
Writing or running unit/integration tests, MSTest, coverlet, local credentials. |
code-review/ |
Preparing or reviewing a PR against this repository. |
framework/ |
Target frameworks, signing, NuGet packaging, OS-specific builds, high-level HTTP/runtime stack. |
csharp-style/ |
C# language version, nullable usage, naming and folder layout consistent with the repo. |
http-pipeline/ |
Changing HttpHandler, RetryHandler, retry policy, or pipeline ordering. |
aspnetcore-integration/ |
Contentstack.Management.ASPNETCore package, IHttpClientFactory, DI registration. |
documentation/ |
Building or updating DocFX API documentation under docfx_project/. |
Each folder contains SKILL.md with YAML frontmatter (name, description).