[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71D6TT3JMGZ7DQ9C2S1NZ5Z":3,"skill-same:01M71D6TT3JMGZ7DQ9C2S1NZ5Z":72},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":14,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M71D6TT3JMGZ7DQ9C2S1NZ5Z","devel-jb-kotlin-spring-proxy-compatibility",null,"A bad run tells the user to add annotations or `open` keywords without proving why interception failed.","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-kotlin-spring-proxy-compatibility\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"proxy","kotlin","spring","devel jb kotlin spring proxy compatibility","compatibility","bad","open","cybersecurity","run","why","annotations","add","user","2026-11-10 10:12:30",false,"---\nname: devel-jb-kotlin-spring-proxy-compatibility\ndescription: \"A bad run tells the user to add annotations or `open` keywords without proving why interception failed.\"\ndomain: cybersecurity\n---\n\n# Kotlin Spring Proxy Compatibility\n\nSource mapping: Tier 1 critical skill derived from `Kotlin_Spring_Developer_Pipeline.md` (`SK-03`).\n\n## Mission\n\nExplain exactly why Spring interception does or does not happen for Kotlin code, then propose the safest fix.\nFocus on runtime behavior, not on code that merely looks annotated.\n\n## Read These Inputs\n\n- The class and method carrying `@Transactional`, `@Cacheable`, `@Async`, `@Retryable`, security annotations, or other proxy-triggering annotations.\n- The call site. Determine whether the method is called through another bean or through `this`.\n- Build files. Verify `kotlin(\"plugin.spring\")`, `kotlin(\"plugin.jpa\")`, or any custom `allOpen` and `noArg` configuration.\n- Whether the bean is proxied through an interface or through CGLIB class proxies.\n- For persistence problems, read the entity class shape and JPA plugin setup.\n\n## Diagnose In This Order\n\n1. Verify whether a proxy should exist at all.\n2. Verify whether the call crosses the proxy boundary.\n3. Verify whether the class or method is proxyable.\n4. Verify whether the annotation is placed on the method Spring actually intercepts.\n5. Verify whether build-time plugins opened the relevant classes.\n6. Verify whether the bug is actually transactional semantics, not proxy creation.\n\n## Core Checks\n\n- Check for self-invocation. A method calling another annotated method in the same class bypasses the proxy.\n- Check whether the target class or method is effectively final for the chosen proxy strategy.\n- Check whether a JDK proxy is used. If so, interception works through interface methods, not arbitrary class methods.\n- Check whether the annotated method is private or otherwise non-interceptable.\n- Check whether `@Configuration` classes, `@Service` classes, and JPA entities rely on the correct Kotlin compiler plugins.\n- Check whether the symptom comes from coroutines or async boundaries rather than proxy absence.\n\n## Preferred Fixes\n\nPrefer fixes in this order:\n\n1. Enable the correct Kotlin compiler plugin in Gradle.\n2. Move the intercepted method behind a real Spring bean boundary.\n3. Adjust interface or proxy strategy only if the current strategy is incompatible.\n4. Refactor responsibilities so that external callers cross the proxy naturally.\n5. Only as a last resort, inject the proxied bean into itself or use `AopContext`, and explain why this is a compromise.\n\n## Advanced Interception Traps\n\n- `@PostConstruct`, constructors, and init blocks run on the target object before ordinary proxy interception can help. Advice that depends on transactions, caching, security, or retries will not rescue initialization logic.\n- `@Async` changes threads. Transaction, security, MDC, and request context do not automatically flow the same way they do in synchronous code.\n- `@Retryable`, `@Transactional`, `@Cacheable`, and method security can stack. Advisor ordering changes behavior, especially when retries and transactions combine.\n- `@TransactionalEventListener` depends on transaction phase. If no transaction exists, the listener may never fire or may fire immediately depending on fallback behavior.\n- `@Configuration(proxyBeanMethods = false)` disables configuration-class method interception. Treat this as a performance and semantics choice, not a cosmetic flag.\n- Interface default methods, non-public methods, and methods reached only from internal helper paths may compile cleanly while still missing interception at runtime.\n- In coroutine and reactive flows, transaction and security propagation depend on the underlying stack and context propagation model. A proxy can exist while context still does not flow the way the author expects.\n\n## Expert Heuristics\n\n- If the symptom is \"annotation present but behavior absent,\" first ask whether the relevant call crossed a bean boundary. This catches more real bugs than checking `open` alone.\n- If the team wants a local helper method to stay private, do not force proxy semantics onto it. Move the transactional or cache boundary outward instead.\n- For caching and security, verify key computation and authorization point as separate concerns from proxy presence.\n- For JPA entities and configuration classes, distinguish opening for framework mechanics from opening for general extensibility. The former is usually acceptable; the latter may not be.\n\n## Kotlin-Specific Rules\n\n- Prefer compiler plugins over manually marking entire class hierarchies as `open`.\n- Do not generate JPA entities as `data class`.\n- Do not assume annotations on private methods will work because they compile.\n- Explain the difference between Kotlin source semantics and Spring runtime semantics.\n- If migrating Java to Kotlin, re-check every proxy-reliant class after translation.\n\n## Output Contract\n\nReturn these sections:\n\n- `Broken mechanism`: what Spring feature is expected to intercept the call.\n- `Why it failed`: one concrete runtime reason with code evidence.\n- `Minimal fix`: the smallest change that restores interception.\n- `Safer design option`: only if the current structure invites future proxy bugs.\n- `Verification`: how to prove the annotation now takes effect.\n\n## Guardrails\n\n- Do not suggest making every class `open` manually without first checking compiler plugins.\n- Do not confuse proxy absence with wrong propagation, wrong cache key, or other business logic issues.\n- Do not recommend `data class` entities or blanket `allOpen` for unrelated code.\n- Do not leave self-invocation unexplained. It is one of the most common hidden causes.\n\n## Quality Bar\n\nA good run of this skill makes the proxy model explicit and the fix easy to verify.\nA bad run tells the user to add annotations or `open` keywords without proving why interception failed.\n","# Kotlin Spring Proxy Compatibility\n\nSource mapping: Tier 1 critical skill derived from `Kotlin_Spring_Developer_Pipeline.md` (`SK-03`).\n\n## Mission\n\nExplain exactly why Spring interception does or does not happen for Kotlin code, then propose the safest fix.\nFocus on runtime behavior, not on code that merely looks annotated.\n\n## Read These Inputs\n\n- The class and method carrying `@Transactional`, `@Cacheable`, `@Async`, `@Retryable`, security annotations, or other proxy-triggering annotations.\n- The call site. Determine whether the method is called through another bean or through `this`.\n- Build files. Verify `kotlin(\"plugin.spring\")`, `kotlin(\"plugin.jpa\")`, or any custom `allOpen` and `noArg` configuration.\n- Whether the bean is proxied through an interface or through CGLIB class proxies.\n- For persistence problems, read the entity class shape and JPA plugin setup.\n\n## Diagnose In This Order\n\n1. Verify whether a proxy should exist at all.\n2. Verify whether the call crosses the proxy boundary.\n3. Verify whether the class or method is proxyable.\n4. Verify whether the annotation is placed on the method Spring actually intercepts.\n5. Verify whether build-time plugins opened the relevant classes.\n6. Verify whether the bug is actually transactional semantics, not proxy creation.\n\n## Core Checks\n\n- Check for self-invocation. A method calling another annotated method in the same class bypasses the proxy.\n- Check whether the target class or method is effectively final for the chosen proxy strategy.\n- Check whether a JDK proxy is used. If so, interception works through interface methods, not arbitrary class methods.\n- Check whether the annotated method is private or otherwise non-interceptable.\n- Check whether `@Configuration` classes, `@Service` classes, and JPA entities rely on the correct Kotlin compiler plugins.\n- Check whether the symptom comes from coroutines or async boundaries rather than proxy absence.\n\n## Preferred Fixes\n\nPrefer fixes in this order:\n\n1. Enable the correct Kotlin compiler plugin in Gradle.\n2. Move the intercepted method behind a real Spring bean boundary.\n3. Adjust interface or proxy strategy only if the current strategy is incompatible.\n4. Refactor responsibilities so that external callers cross the proxy naturally.\n5. Only as a last resort, inject the proxied bean into itself or use `AopContext`, and explain why this is a compromise.\n\n## Advanced Interception Traps\n\n- `@PostConstruct`, constructors, and init blocks run on the target object before ordinary proxy interception can help. Advice that depends on transactions, caching, security, or retries will not rescue initialization logic.\n- `@Async` changes threads. Transaction, security, MDC, and request context do not automatically flow the same way they do in synchronous code.\n- `@Retryable`, `@Transactional`, `@Cacheable`, and method security can stack. Advisor ordering changes behavior, especially when retries and transactions combine.\n- `@TransactionalEventListener` depends on transaction phase. If no transaction exists, the listener may never fire or may fire immediately depending on fallback behavior.\n- `@Configuration(proxyBeanMethods = false)` disables configuration-class method interception. Treat this as a performance and semantics choice, not a cosmetic flag.\n- Interface default methods, non-public methods, and methods reached only from internal helper paths may compile cleanly while still missing interception at runtime.\n- In coroutine and reactive flows, transaction and security propagation depend on the underlying stack and context propagation model. A proxy can exist while context still does not flow the way the author expects.\n\n## Expert Heuristics\n\n- If the symptom is \"annotation present but behavior absent,\" first ask whether the relevant call crossed a bean boundary. This catches more real bugs than checking `open` alone.\n- If the team wants a local helper method to stay private, do not force proxy semantics onto it. Move the transactional or cache boundary outward instead.\n- For caching and security, verify key computation and authorization point as separate concerns from proxy presence.\n- For JPA entities and configuration classes, distinguish opening for framework mechanics from opening for general extensibility. The former is usually acceptable; the latter may not be.\n\n## Kotlin-Specific Rules\n\n- Prefer compiler plugins over manually marking entire class hierarchies as `open`.\n- Do not generate JPA entities as `data class`.\n- Do not assume annotations on private methods will work because they compile.\n- Explain the difference between Kotlin source semantics and Spring runtime semantics.\n- If migrating Java to Kotlin, re-check every proxy-reliant class after translation.\n\n## Output Contract\n\nReturn these sections:\n\n- `Broken mechanism`: what Spring feature is expected to intercept the call.\n- `Why it failed`: one concrete runtime reason with code evidence.\n- `Minimal fix`: the smallest change that restores interception.\n- `Safer design option`: only if the current structure invites future proxy bugs.\n- `Verification`: how to prove the annotation now takes effect.\n\n## Guardrails\n\n- Do not suggest making every class `open` manually without first checking compiler plugins.\n- Do not confuse proxy absence with wrong propagation, wrong cache key, or other business logic issues.\n- Do not recommend `data class` entities or blanket `allOpen` for unrelated code.\n- Do not leave self-invocation unexplained. It is one of the most common hidden causes.\n\n## Quality Bar\n\nA good run of this skill makes the proxy model explicit and the fix easy to verify.\nA bad run tells the user to add annotations or `open` keywords without proving why interception failed.\n",{"name":5,"domain":26,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fdevel-jb-kotlin-spring-proxy-compatibility","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill devel-jb-kotlin-spring-proxy-compatibility",{"tool":50,"command":51},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill devel-jb-kotlin-spring-proxy-compatibility",{"tool":53,"command":54},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill devel-jb-kotlin-spring-proxy-compatibility","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-kotlin-spring-proxy-compatibility\u002FSKILL.md",true,[58,64,68],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"agents\u002Findex.json","REFERENCE","参考文档",84,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-kotlin-spring-proxy-compatibility\u002Fagents\u002Findex.json",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"agents\u002Fopenai.yaml",252,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-kotlin-spring-proxy-compatibility\u002Fagents\u002Fopenai.yaml",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"index.json",943,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-kotlin-spring-proxy-compatibility\u002Findex.json",[73,83,108,131,153,175],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":32},"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",[],[90,91,92,93,94,95,96,26,97,98,99,100,101,102,103,104,105,106,107],"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":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":32},"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",[],[115,93,116,90,117,118,119,120,121,26,122,123,124,125,126,127,128,129,107,130],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":32},"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",[],[138,139,140,141,142,143,144,145,146,147,127,107,148,149,120,150,119,26,151,152],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":32},"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",[],[160,161,162,91,26,163,106,164,165,166,95,107,167,168,169,170,171,172,173,174],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":32},"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",[],[182,160,183,91,184,185,96,107,167,186,187,188,120,95,26,163,189,106,190,165],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]