[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71D44CR5QJB5NZE7D9BSWHV":3,"skill-same:01M71D44CR5QJB5NZE7D9BSWHV":71},{"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":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M71D44CR5QJB5NZE7D9BSWHV","devel-jb-error-model-validation-architect",null,"A bad run produces a pretty error JSON that still conflates malformed input, business rejection, and internal failure.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-error-model-validation-architect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30],"error","model","validation","devel jb error model validation architect","architect","bad","cybersecurity","business","run","json","malformed","input","2026-11-10 10:12:30",false,"---\nname: devel-jb-error-model-validation-architect\ndescription: \"A bad run produces a pretty error JSON that still conflates malformed input, business rejection, and internal failure.\"\ndomain: cybersecurity\n---\n\n# Error Model Validation Architect\n\nSource mapping: Tier 2 high-value skill derived from `Kotlin_Spring_Developer_Pipeline.md` (`SK-07`).\n\n## Mission\n\nTurn ad-hoc exception handling into a deliberate public contract.\nTreat validation and error mapping as part of API design, not a post-processing afterthought.\n\n## Inputs To Read\n\n- Endpoint contracts and sample payloads.\n- Existing exception classes and error payloads.\n- Validation annotations, custom validators, and business rule failures.\n- Current `@ControllerAdvice`, security exception handling, and framework defaults.\n- Logging and observability conventions, especially correlation ids and PII policy.\n\n## Design The Error Taxonomy\n\nSeparate at least these categories:\n\n- malformed request or unreadable JSON\n- transport-level validation failure\n- not found\n- conflict or concurrency failure\n- business rule rejection\n- authentication and authorization failure\n- downstream dependency failure\n- unexpected internal failure\n\nDo not collapse all non-success outcomes into one generic error envelope.\n\n## Status Code Rules\n\n- Use `400` for malformed input, type mismatch, or invalid transport shape.\n- Use `401` for authentication failure and `403` for authorization failure.\n- Use `404` when the addressed resource is absent.\n- Use `409` for state conflicts, optimistic locking failures, duplicate idempotency keys, and uniqueness races when conflict semantics matter.\n- Use `422` when the payload is structurally valid but violates business rules.\n- Use `429`, `502`, `503`, or `504` deliberately when gateway or dependency behavior is part of the contract.\n- Reserve `500` for genuinely unexpected internal failures.\n\n## Advanced Contract Decisions\n\n- Separate machine-readable error code from human-readable message. Clients should not parse prose.\n- Decide whether field-level validation errors should be aggregated or first-failure only. Make the rule consistent.\n- Preserve nested field paths for complex payloads and collections.\n- Decide whether localization is a server concern, client concern, or documentation-only concern.\n- Standardize correlation or trace identifiers in the error payload only if the platform can produce them consistently.\n- Decide how unknown fields, enum mismatches, and unreadable date formats surface. These are common client-integration pain points.\n- Map downstream failures carefully. Not every remote `500` should become your own `500`.\n- If using RFC 7807 Problem Details, decide which extensions are stable parts of the contract and which are internal.\n\n## Validation Rules\n\n- Keep transport validation separate from domain validation even if both ultimately reject the request.\n- Use Kotlin `@field:` targets for Bean Validation annotations on DTO constructor properties.\n- Prefer dedicated validators or domain rules over abusing regex annotations for business semantics.\n- Validate required configuration or invariants at startup when they are not truly request-scoped.\n\n## Framework Exception Coverage\n\n- Cover `MethodArgumentNotValidException`, `ConstraintViolationException`, `HttpMessageNotReadableException`, `MethodArgumentTypeMismatchException`, missing-parameter exceptions, and unsupported media-type cases explicitly if the API claims a stable error contract.\n- Decide how security exceptions participate in the shared error model. `AuthenticationEntryPoint` and `AccessDeniedHandler` often need explicit alignment with controller advice.\n- Decide how async, scheduled, and messaging failures are reported differently from HTTP failures. One global envelope does not fit every boundary.\n- If the platform uses Problem Details, verify framework-generated problem payloads do not diverge from custom ones during upgrades.\n\n## Expert Heuristics\n\n- Let validation errors help the client recover, but let internal logs help operators diagnose. These are different audiences and should not share the same detail level.\n- If the service is public, keep error-code taxonomy versionable and stable even when internal exception types change.\n- When multiple validation layers reject the same request, choose the most user-actionable signal instead of stacking redundant errors.\n- If a downstream dependency failure is part of the business path, decide whether the contract should expose dependency semantics or normalize them to your own domain.\n\n## Output Contract\n\nReturn these sections:\n\n- `Error taxonomy`: the categories and stable codes.\n- `Status mapping`: which exception or failure type maps to which status and why.\n- `Payload shape`: the fields that belong in every error.\n- `Framework coverage`: which framework exceptions must be handled explicitly.\n- `Minimal implementation plan`: advice class, exception types, and tests to add.\n- `Logging rule`: what to log server-side versus what to expose to clients.\n\n## Guardrails\n\n- Do not leak stack traces, SQL fragments, class names, tokens, or secrets to clients.\n- Do not use one generic message for all failures if clients need actionable categories.\n- Do not map every domain failure to `400`.\n- Do not let security exceptions bypass the common contract unintentionally.\n- Do not rely on the framework default error shape if the service claims to have a stable API contract.\n\n## Quality Bar\n\nA good run of this skill gives clients a predictable error language and gives operators enough server-side detail to debug safely.\nA bad run produces a pretty error JSON that still conflates malformed input, business rejection, and internal failure.\n","# Error Model Validation Architect\n\nSource mapping: Tier 2 high-value skill derived from `Kotlin_Spring_Developer_Pipeline.md` (`SK-07`).\n\n## Mission\n\nTurn ad-hoc exception handling into a deliberate public contract.\nTreat validation and error mapping as part of API design, not a post-processing afterthought.\n\n## Inputs To Read\n\n- Endpoint contracts and sample payloads.\n- Existing exception classes and error payloads.\n- Validation annotations, custom validators, and business rule failures.\n- Current `@ControllerAdvice`, security exception handling, and framework defaults.\n- Logging and observability conventions, especially correlation ids and PII policy.\n\n## Design The Error Taxonomy\n\nSeparate at least these categories:\n\n- malformed request or unreadable JSON\n- transport-level validation failure\n- not found\n- conflict or concurrency failure\n- business rule rejection\n- authentication and authorization failure\n- downstream dependency failure\n- unexpected internal failure\n\nDo not collapse all non-success outcomes into one generic error envelope.\n\n## Status Code Rules\n\n- Use `400` for malformed input, type mismatch, or invalid transport shape.\n- Use `401` for authentication failure and `403` for authorization failure.\n- Use `404` when the addressed resource is absent.\n- Use `409` for state conflicts, optimistic locking failures, duplicate idempotency keys, and uniqueness races when conflict semantics matter.\n- Use `422` when the payload is structurally valid but violates business rules.\n- Use `429`, `502`, `503`, or `504` deliberately when gateway or dependency behavior is part of the contract.\n- Reserve `500` for genuinely unexpected internal failures.\n\n## Advanced Contract Decisions\n\n- Separate machine-readable error code from human-readable message. Clients should not parse prose.\n- Decide whether field-level validation errors should be aggregated or first-failure only. Make the rule consistent.\n- Preserve nested field paths for complex payloads and collections.\n- Decide whether localization is a server concern, client concern, or documentation-only concern.\n- Standardize correlation or trace identifiers in the error payload only if the platform can produce them consistently.\n- Decide how unknown fields, enum mismatches, and unreadable date formats surface. These are common client-integration pain points.\n- Map downstream failures carefully. Not every remote `500` should become your own `500`.\n- If using RFC 7807 Problem Details, decide which extensions are stable parts of the contract and which are internal.\n\n## Validation Rules\n\n- Keep transport validation separate from domain validation even if both ultimately reject the request.\n- Use Kotlin `@field:` targets for Bean Validation annotations on DTO constructor properties.\n- Prefer dedicated validators or domain rules over abusing regex annotations for business semantics.\n- Validate required configuration or invariants at startup when they are not truly request-scoped.\n\n## Framework Exception Coverage\n\n- Cover `MethodArgumentNotValidException`, `ConstraintViolationException`, `HttpMessageNotReadableException`, `MethodArgumentTypeMismatchException`, missing-parameter exceptions, and unsupported media-type cases explicitly if the API claims a stable error contract.\n- Decide how security exceptions participate in the shared error model. `AuthenticationEntryPoint` and `AccessDeniedHandler` often need explicit alignment with controller advice.\n- Decide how async, scheduled, and messaging failures are reported differently from HTTP failures. One global envelope does not fit every boundary.\n- If the platform uses Problem Details, verify framework-generated problem payloads do not diverge from custom ones during upgrades.\n\n## Expert Heuristics\n\n- Let validation errors help the client recover, but let internal logs help operators diagnose. These are different audiences and should not share the same detail level.\n- If the service is public, keep error-code taxonomy versionable and stable even when internal exception types change.\n- When multiple validation layers reject the same request, choose the most user-actionable signal instead of stacking redundant errors.\n- If a downstream dependency failure is part of the business path, decide whether the contract should expose dependency semantics or normalize them to your own domain.\n\n## Output Contract\n\nReturn these sections:\n\n- `Error taxonomy`: the categories and stable codes.\n- `Status mapping`: which exception or failure type maps to which status and why.\n- `Payload shape`: the fields that belong in every error.\n- `Framework coverage`: which framework exceptions must be handled explicitly.\n- `Minimal implementation plan`: advice class, exception types, and tests to add.\n- `Logging rule`: what to log server-side versus what to expose to clients.\n\n## Guardrails\n\n- Do not leak stack traces, SQL fragments, class names, tokens, or secrets to clients.\n- Do not use one generic message for all failures if clients need actionable categories.\n- Do not map every domain failure to `400`.\n- Do not let security exceptions bypass the common contract unintentionally.\n- Do not rely on the framework default error shape if the service claims to have a stable API contract.\n\n## Quality Bar\n\nA good run of this skill gives clients a predictable error language and gives operators enough server-side detail to debug safely.\nA bad run produces a pretty error JSON that still conflates malformed input, business rejection, and internal failure.\n",{"name":5,"domain":25,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fdevel-jb-error-model-validation-architect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill devel-jb-error-model-validation-architect",{"tool":49,"command":50},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill devel-jb-error-model-validation-architect",{"tool":52,"command":53},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill devel-jb-error-model-validation-architect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-error-model-validation-architect\u002FSKILL.md",true,[57,63,67],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"agents\u002Findex.json","REFERENCE","参考文档",84,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-error-model-validation-architect\u002Fagents\u002Findex.json",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"agents\u002Fopenai.yaml",259,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-error-model-validation-architect\u002Fagents\u002Fopenai.yaml",{"path":68,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":69,"sourceHtmlUrl":70},"index.json",954,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-error-model-validation-architect\u002Findex.json",[72,82,107,130,152,174],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":31},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[89,90,91,92,93,94,95,25,96,97,98,99,100,101,102,103,104,105,106],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":31},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[114,92,115,89,116,117,118,119,120,25,121,122,123,124,125,126,127,128,106,129],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":31},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[137,138,139,140,141,142,143,144,145,146,126,106,147,148,119,149,118,25,150,151],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":31},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[159,160,161,90,25,162,105,163,164,165,94,106,166,167,168,169,170,171,172,173],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":31},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[181,159,182,90,183,184,95,106,166,185,186,187,119,94,25,162,188,105,189,164],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]