[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6RAGZGREJME0QGY0NVAJ6":3,"skill-same:01M7F6RAGZGREJME0QGY0NVAJ6":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F6RAGZGREJME0QGY0NVAJ6","api-design",null,"Design the HTTP contract of an ASP.NET Core API before implementing it - resource naming, methods and status codes, pagination, filtering, ProblemDetails errors, versioning, rate limiting, and idempotency. Use when adding or changing endpoints, reviewing an API's shape, or deciding conventions for a new API. For implementing endpoints, OpenAPI metadata, and .http files, use the dotnet-webapi skill.","dmamulashvili\u002Fdotnet-agent-kit","dmamulashvili","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F32094385?v=4","01M7F6R8EG5R0X2HR19YM28J1Z","Dimitri Mamulashvili","01M7F6R8F5T8SPRP0F43P2HBM0",2,"MIT","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fapi-design\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: api-design\ndescription: Design the HTTP contract of an ASP.NET Core API before implementing it - resource naming, methods and status codes, pagination, filtering, ProblemDetails errors, versioning, rate limiting, and idempotency. Use when adding or changing endpoints, reviewing an API's shape, or deciding conventions for a new API. For implementing endpoints, OpenAPI metadata, and .http files, use the dotnet-webapi skill.\n---\n\n# API Design (ASP.NET Core)\n\nDecide the contract first, write it down in the plan or PR, then implement it with the `dotnet-webapi` skill. Follow the conventions already in the codebase when they exist; use these defaults when they don't.\n\n## Resources and URLs\n\n- Plural nouns for collections, ids for items: `\u002Forders`, `\u002Forders\u002F{id}`.\n- Nest only for true ownership, at most one level: `\u002Forders\u002F{id}\u002Fitems`.\n- Lowercase, kebab-case path segments; camelCase JSON properties (the System.Text.Json web default).\n- Actions that don't map to CRUD become sub-resources with POST: `POST \u002Forders\u002F{id}\u002Fcancel`.\n- Route constraints on ids: `\u002Forders\u002F{id:guid}` or `{id:int}`.\n\n## Methods and status codes\n\n| Operation | Method | Success | Common failures |\n|---|---|---|---|\n| List | GET | 200 | 400 invalid query |\n| Get one | GET | 200 | 404 |\n| Create | POST | 201 + `Location` header + body | 400, 409 conflict, 422 business rule |\n| Replace | PUT | 200 with body, or 204 | 400, 404, 409 |\n| Partial update | PATCH | 200 with body | 400, 404, 409 |\n| Delete | DELETE | 204 | 404 (or 204 if already gone, pick one and be consistent) |\n\n- 401 when unauthenticated, 403 when authenticated but not allowed. Return 404 instead of 403 when revealing that the resource exists is itself a leak.\n- Use typed results (`TypedResults.Ok`, `TypedResults.Created`, `TypedResults.NotFound`) so status codes appear in OpenAPI.\n\n## Request and response models\n\n- Separate request and response DTOs from EF entities; never bind or return entities directly.\n- Requests contain only client-settable fields: no ids, timestamps, or computed values.\n- Use `DateTimeOffset` in UTC with ISO 8601 for timestamps; decimals for money, never `double`.\n- Enums as strings (`JsonStringEnumConverter`) so adding values doesn't break clients reading numbers.\n\n## Errors\n\n- Use `ProblemDetails` (RFC 9457) for every error: `builder.Services.AddProblemDetails()`, `TypedResults.Problem(...)`, and `TypedResults.ValidationProblem(errors)` for 400s with field errors.\n- Keep `title` stable per error type; put specifics in `detail`. Add machine-readable codes as an extension (`\"code\": \"order.cart_empty\"`).\n- Never return exception messages or stack traces outside Development.\n\n## Pagination, filtering, sorting\n\n- Every list endpoint is paginated with a maximum page size; never return an unbounded collection.\n- Offset paging (`?page=2&pageSize=20`) for small, stable admin lists. Cursor paging (`?cursor=...&limit=20`) for large or frequently changing data and infinite scroll.\n- Response envelope for lists: `{ \"items\": [...], \"nextCursor\": \"...\" }` or `{ \"items\": [...], \"page\": 2, \"pageSize\": 20, \"totalCount\": 135 }`. Only compute `totalCount` when the UI needs it; it costs a second query.\n- Filters as query parameters named after response fields (`?status=paid&customerId=...`); sorting as `?sort=createdAt` \u002F `?sort=-createdAt`, with an allowlist of sortable fields.\n\n## Versioning\n\n- Don't version until there is a breaking change you can't avoid. Additive changes (new optional fields, new endpoints) are not breaking.\n- When needed, use `Asp.Versioning.Http` (minimal APIs) or `Asp.Versioning.Mvc` (controllers) with URL segment versioning (`\u002Fv1\u002Forders`), and keep the previous version until clients have moved.\n- Breaking: removing or renaming fields, changing types or meaning, new required request fields, changing status codes clients depend on.\n\n## Rate limiting\n\n- Use the built-in middleware: `builder.Services.AddRateLimiter(...)`, `app.UseRateLimiter()`, and `.RequireRateLimiting(\"policy\")` per endpoint group.\n- Set `RejectionStatusCode = StatusCodes.Status429TooManyRequests`; the default is 503.\n- Partition by user id when authenticated, by client IP otherwise. Stricter policies on auth and expensive endpoints.\n\n## Idempotency and concurrency\n\n- GET, PUT, and DELETE must be idempotent. For POSTs that create money-moving or otherwise non-repeatable effects, accept an `Idempotency-Key` header and return the stored result on retries.\n- Prevent lost updates with optimistic concurrency: an EF Core concurrency token surfaced as an `ETag`, checked via `If-Match`, returning 412 on mismatch (or 409 if not using ETags).\n\n## Checklist before implementing\n\n- [ ] URLs, methods, and status codes for every endpoint\n- [ ] Request\u002Fresponse DTOs, with validation rules\n- [ ] Error cases and their ProblemDetails shape\n- [ ] Pagination and filters for every list\n- [ ] Auth requirement per endpoint\n- [ ] Breaking-change check against existing clients\n","# API Design (ASP.NET Core)\n\nDecide the contract first, write it down in the plan or PR, then implement it with the `dotnet-webapi` skill. Follow the conventions already in the codebase when they exist; use these defaults when they don't.\n\n## Resources and URLs\n\n- Plural nouns for collections, ids for items: `\u002Forders`, `\u002Forders\u002F{id}`.\n- Nest only for true ownership, at most one level: `\u002Forders\u002F{id}\u002Fitems`.\n- Lowercase, kebab-case path segments; camelCase JSON properties (the System.Text.Json web default).\n- Actions that don't map to CRUD become sub-resources with POST: `POST \u002Forders\u002F{id}\u002Fcancel`.\n- Route constraints on ids: `\u002Forders\u002F{id:guid}` or `{id:int}`.\n\n## Methods and status codes\n\n| Operation | Method | Success | Common failures |\n|---|---|---|---|\n| List | GET | 200 | 400 invalid query |\n| Get one | GET | 200 | 404 |\n| Create | POST | 201 + `Location` header + body | 400, 409 conflict, 422 business rule |\n| Replace | PUT | 200 with body, or 204 | 400, 404, 409 |\n| Partial update | PATCH | 200 with body | 400, 404, 409 |\n| Delete | DELETE | 204 | 404 (or 204 if already gone, pick one and be consistent) |\n\n- 401 when unauthenticated, 403 when authenticated but not allowed. Return 404 instead of 403 when revealing that the resource exists is itself a leak.\n- Use typed results (`TypedResults.Ok`, `TypedResults.Created`, `TypedResults.NotFound`) so status codes appear in OpenAPI.\n\n## Request and response models\n\n- Separate request and response DTOs from EF entities; never bind or return entities directly.\n- Requests contain only client-settable fields: no ids, timestamps, or computed values.\n- Use `DateTimeOffset` in UTC with ISO 8601 for timestamps; decimals for money, never `double`.\n- Enums as strings (`JsonStringEnumConverter`) so adding values doesn't break clients reading numbers.\n\n## Errors\n\n- Use `ProblemDetails` (RFC 9457) for every error: `builder.Services.AddProblemDetails()`, `TypedResults.Problem(...)`, and `TypedResults.ValidationProblem(errors)` for 400s with field errors.\n- Keep `title` stable per error type; put specifics in `detail`. Add machine-readable codes as an extension (`\"code\": \"order.cart_empty\"`).\n- Never return exception messages or stack traces outside Development.\n\n## Pagination, filtering, sorting\n\n- Every list endpoint is paginated with a maximum page size; never return an unbounded collection.\n- Offset paging (`?page=2&pageSize=20`) for small, stable admin lists. Cursor paging (`?cursor=...&limit=20`) for large or frequently changing data and infinite scroll.\n- Response envelope for lists: `{ \"items\": [...], \"nextCursor\": \"...\" }` or `{ \"items\": [...], \"page\": 2, \"pageSize\": 20, \"totalCount\": 135 }`. Only compute `totalCount` when the UI needs it; it costs a second query.\n- Filters as query parameters named after response fields (`?status=paid&customerId=...`); sorting as `?sort=createdAt` \u002F `?sort=-createdAt`, with an allowlist of sortable fields.\n\n## Versioning\n\n- Don't version until there is a breaking change you can't avoid. Additive changes (new optional fields, new endpoints) are not breaking.\n- When needed, use `Asp.Versioning.Http` (minimal APIs) or `Asp.Versioning.Mvc` (controllers) with URL segment versioning (`\u002Fv1\u002Forders`), and keep the previous version until clients have moved.\n- Breaking: removing or renaming fields, changing types or meaning, new required request fields, changing status codes clients depend on.\n\n## Rate limiting\n\n- Use the built-in middleware: `builder.Services.AddRateLimiter(...)`, `app.UseRateLimiter()`, and `.RequireRateLimiting(\"policy\")` per endpoint group.\n- Set `RejectionStatusCode = StatusCodes.Status429TooManyRequests`; the default is 503.\n- Partition by user id when authenticated, by client IP otherwise. Stricter policies on auth and expensive endpoints.\n\n## Idempotency and concurrency\n\n- GET, PUT, and DELETE must be idempotent. For POSTs that create money-moving or otherwise non-repeatable effects, accept an `Idempotency-Key` header and return the stored result on retries.\n- Prevent lost updates with optimistic concurrency: an EF Core concurrency token surfaced as an `ETag`, checked via `If-Match`, returning 412 on mismatch (or 409 if not using ETags).\n\n## Checklist before implementing\n\n- [ ] URLs, methods, and status codes for every endpoint\n- [ ] Request\u002Fresponse DTOs, with validation rules\n- [ ] Error cases and their ProblemDetails shape\n- [ ] Pagination and filters for every list\n- [ ] Auth requirement per endpoint\n- [ ] Breaking-change check against existing clients\n",{"name":5,"description":7},"main","242eef0b3c5b79c1c3929fa1a13ca9283ac5e5a3","template\u002F.claude\u002Fskills\u002Fapi-design",1,"https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit","https:\u002F\u002Fgithub.com\u002Fdmamulashvili","Lead Software Engineer | .NET & Cloud Architecture | Building Scalable Platforms from Scratch","2026-11-10 22:36:20",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add dmamulashvili\u002Fdotnet-agent-kit --skill api-design",{"tool":38,"command":39},"bunx","bunx skills add dmamulashvili\u002Fdotnet-agent-kit --skill api-design",{"tool":41,"command":42},"pnpm","pnpm dlx skills add dmamulashvili\u002Fdotnet-agent-kit --skill api-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fapi-design\u002FSKILL.md",true,[],[47,55,62,70,78,86],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":51,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7F6TD596H0YHC5Y93RKVHW4","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fwriting-for-agents\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7F6T7QDH3ZE0R07YVTGV4Q3","tdd","Test-driven development for ASP.NET Core and EF Core with xUnit. Use when building a feature or fixing a bug test-first, when the user mentions TDD or red-green-refactor, or when adding integration tests for endpoints or data access.","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7F6T5EECW5H51CVE7B95HJE","retro","Conduct a retrospective on a coding session.","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fretro\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fretro\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7F6T1KNSPD0035BE6XCV8E1","pr","Use when writing a PR body.","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fpr\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7F6SVBZXQHS5HCQEHMZDT7X","postgresql","PostgreSQL gotchas and version-gated facts - indexing (B-tree, GIN, GiST, BRIN, partial, expression), JSONB, EXPLAIN ANALYZE and tuning, row-level security and multi-tenancy, full-text search, partitioning, connection pooling, extensions, logical replication, pgvector and RAG. Use when designing tables or indexes for PostgreSQL, writing or reviewing raw SQL, diagnosing a slow query, or choosing a PostgreSQL feature. For EF Core query performance use the optimizing-ef-core-queries skill; for migrations follow the ef-migrations rule.","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fpostgresql\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fpostgresql\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7F6SP3MCZGD6H6QE5MB5NRW","improve-codebase-architecture","Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fimprove-codebase-architecture\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdmamulashvili\u002Fdotnet-agent-kit\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fimprove-codebase-architecture\u002FSKILL.md",[],[]]