[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CSR5J78X8R9C8FCPPKC3KK":3,"skill-same:01M7CSR5J78X8R9C8FCPPKC3KK":50},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CSR5J78X8R9C8FCPPKC3KK","web-frontend-security",null,"Use when the diff renders user-controlled content as HTML, builds links or redirects, changes CSP or CORS, adds a cookie-authenticated state change or WebSocket, a postMessage handler, a markdown renderer, a service worker, browser storage of tokens or private data, a frameable sensitive action, or an Electron\u002FTauri window","makifbaysal\u002Ftasktrooper","makifbaysal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25031940?v=4","01M7CRG3ZCSYZSSEVDMW3DEYC8","Mehmet Akif Baysal","01M7CRG401FJ8YAXH5ER730XYV",122,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fsecurity-agent\u002Fskills\u002Fweb-frontend-security\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: web-frontend-security\ncategory: security\ndescription: Use when the diff renders user-controlled content as HTML, builds links or redirects, changes CSP or CORS, adds a cookie-authenticated state change or WebSocket, a postMessage handler, a markdown renderer, a service worker, browser storage of tokens or private data, a frameable sensitive action, or an Electron\u002FTauri window\ntech_stack: Web & API\nsource: anthropics\u002Fclaude-code-security-review (MIT) framework precedents, adapted; cloudflare\u002Fsecurity-audit-skill (MIT) client-side attack classes (cross-site WebSockets, service workers, browser storage, DOM clobbering, UI redress), adapted; informed by anthropics\u002Fclaude-code security-guidance plugin (ideas only); OWASP Top 10:2025 A05\u002FA01 and CWE cited by name only\n---\n# Web Frontend Security\n\n## Overview\n\nModern template engines and UI frameworks escape by default. XSS comes back through the doors that switch escaping off, through the wrong escaper for the context, and through URLs. CSRF comes back whenever cookies authenticate a state change.\n\n**Core principle:** find the escape hatch, then trace what flows into it. `{value}` in JSX is the control working — not a finding.\n\n## 1. XSS Sinks by Framework (CWE-79)\n\n| Framework \u002F engine | Escape hatches to trace |\n|--------------------|-------------------------|\n| React \u002F Preact \u002F Solid | `dangerouslySetInnerHTML`, `innerHTML` props, refs writing `el.innerHTML` |\n| Vue | `v-html`, render functions setting `innerHTML` |\n| Angular | `bypassSecurityTrustHtml\u002FUrl\u002FResourceUrl\u002FScript\u002FStyle` (`[innerHTML]` alone is sanitised) |\n| Svelte | `{@html …}` |\n| DOM \u002F jQuery | `innerHTML`, `outerHTML`, `insertAdjacentHTML`, `document.write`, `.html()`, `$(userString)`, `iframe.srcdoc` |\n| Jinja2 \u002F Django | `|safe`, `Markup(…)`, `mark_safe`, `{% autoescape off %}`, `autoescape=False` |\n| Go | `template.HTML(userValue)`, `text\u002Ftemplate` used to render HTML |\n| JVM | Thymeleaf `th:utext`, JSP `\u003C%= %>` or `escapeXml=\"false\"`, FreeMarker `?no_esc` |\n| Node templates | Handlebars `{{{ }}}`, EJS `\u003C%- %>`, Pug `!=` |\n| .NET | `@Html.Raw`, `MarkupString` |\n\n```tsx\n\u002F\u002F ❌ user-authored bio rendered as HTML\n\u003Cdiv dangerouslySetInnerHTML={{ __html: user.bio }} \u002F>\n\u002F\u002F ✅ sanitised with an allowlist sanitiser, or rendered as text\n\u003Cdiv dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(user.bio) }} \u002F>\n```\n\n**Markdown renderers** count as HTML sinks when raw HTML is enabled: `marked` without a sanitiser, `markdown-it` with `html: true`, `react-markdown` with `rehype-raw` and no `rehype-sanitize`.\n\n**URLs are sinks too.** `href`, `src`, `formaction`, `location.href = …`, `window.open(…)` with user data accept `javascript:` (and `data:` for some sinks). Validate the scheme (`https:`, `mailto:`) rather than relying on the framework's version-dependent handling.\n\n```vue\n\u003C!-- ❌ profile website link -->\n\u003Ca :href=\"user.website\">site\u003C\u002Fa>\n\u003C!-- ✅ -->\n\u003Ca :href=\"safeHttpUrl(user.website)\">site\u003C\u002Fa>   \u003C!-- returns \"#\" unless new URL(v).protocol is http: or https: -->\n```\n\n**Wrong escaper for the context:** HTML-escaping a value placed inside a `\u003Cscript>` block, an event-handler attribute or a CSS value does not make it safe. Data embedded into an inline script needs JSON serialisation that escapes `\u003C` (`\u003C\u002Fscript>` breaks out).\n\nStored XSS (one user's content shown to another) → HIGH. Reflected → MEDIUM to HIGH by reach. Self-XSS → not a finding.\n\n## 2. CSRF (CWE-352)\n\nA finding when **all** hold: the endpoint changes state, the browser authenticates it automatically (cookies, HTTP auth), and nothing ties the request to the app's own pages (CSRF token, `SameSite=Lax\u002FStrict` on the session cookie with no state-changing GET, an Origin\u002F`Sec-Fetch-Site` check, a custom-header requirement the CORS policy enforces).\n\n- APIs authenticated only by an `Authorization: Bearer` header are not CSRF-able.\n- A new state-changing `GET` route is CSRF-able even with `SameSite=Lax`.\n- Removing or bypassing the CSRF middleware for a route (`csrf_exempt`, `ignoringRequestMatchers`) is a removed guard.\n\n## 3. CORS\n\n```ts\n\u002F\u002F ❌ any site can read authenticated responses: the request's Origin is reflected with credentials\nres.setHeader(\"Access-Control-Allow-Origin\", req.headers.origin);\nres.setHeader(\"Access-Control-Allow-Credentials\", \"true\");\n\u002F\u002F ✅ exact allowlist\nif (ALLOWED_ORIGINS.has(req.headers.origin)) res.setHeader(\"Access-Control-Allow-Origin\", req.headers.origin);\n```\n\n`Access-Control-Allow-Origin: *` without credentials is fine for public data; browsers refuse `*` with credentials. Watch for `null` origin allowed and suffix-matched origins (ssrf-and-url-allowlists has the matching pitfalls).\n\n## 4. postMessage (CWE-346)\n\n```js\n\u002F\u002F ❌ any window can send a \"token\" message\nwindow.addEventListener(\"message\", (e) => { localStorage.setItem(\"token\", e.data.token); });\n\u002F\u002F ✅\nwindow.addEventListener(\"message\", (e) => { if (e.origin !== \"https:\u002F\u002Fauth.example.com\") return; … });\n```\n\nAlso `target.postMessage(secret, \"*\")` — any framing or opening page can receive it.\n\n## 5. CSP\n\nA missing CSP is not reported. Adding `'unsafe-inline'`, `'unsafe-eval'`, a wildcard source or a JSONP-capable CDN to an existing policy is a weakened control: a note, or part of the finding when the same diff adds an injection sink.\n\n## 6. Open Redirect (CWE-601) — high confidence only\n\nReport only with a concrete chain: a post-login `?next=` that can point off-site in an OAuth or SSO flow (code or token leakage), or a redirect used to pass an SSRF allowlist. A bare redirect on a marketing page is dropped.\n\n## 7. Desktop Shells (Electron, Tauri)\n\nIn a desktop shell, renderer XSS can become code execution. This section covers the window and renderer settings; the main-process IPC handlers, URL schemes and loopback servers are desktop-and-local-ipc-security.\n\n- Electron: `nodeIntegration: true`, `contextIsolation: false`, `sandbox: false`, `webSecurity: false`; a preload exposing `ipcRenderer` or `require` wholesale through `contextBridge`; `shell.openExternal(url)` with an unvalidated scheme; IPC handlers that run commands or read paths from renderer arguments without validation; remote content loaded into a privileged window.\n- Tauri: broad `allowlist`\u002Fcapabilities (shell `open`, `fs` scopes of `**`), `dangerousRemoteDomainIpcAccess`.\n\n## 8. Cross-Site WebSocket Hijacking (CWE-1385)\n\nA WebSocket upgrade carries the browser's cookies and no CORS check. A handshake authenticated by cookie that does not verify `Origin` against an exact allowlist (or require a token the page must fetch first) lets any site open the socket as the victim and read or send messages.\n\n```ts\n\u002F\u002F ❌ cookie session, any origin\nwss.on(\"connection\", (ws, req) => { const user = sessionFrom(req.headers.cookie); … });\n\u002F\u002F ✅\nconst ok = ALLOWED_ORIGINS.has(req.headers.origin ?? \"\");\nif (!ok) { ws.close(1008); return; }\n```\n\nNot a finding when the socket authenticates with a token sent in the first message or a header the page cannot be made to send.\n\n## 9. Service Workers\n\n- The script URL passed to `navigator.serviceWorker.register` built from input, or served from a path user content can occupy; a `Service-Worker-Allowed` header that widens the scope beyond what the worker needs.\n- A fetch handler that caches personalized or authenticated responses without the user in the cache name or key, and serves them after logout or an account switch — or as the offline fallback for another user.\n- `importScripts` of a third-party URL without integrity control.\n\n## 10. Browser Storage and Account Switching\n\nA token in `localStorage` is not a finding by itself (authn-sessions-and-tokens §3). It is when a realistic lower-authority reader exists, or when the data outlives the session: private responses, drafts or auth decisions left in `localStorage`, IndexedDB or Cache Storage after logout and shown to the next account on a shared machine; a `storage` event or `BroadcastChannel` message that carries a token or an auth command between tabs without binding it to the current session.\n\n## 11. DOM Clobbering and Prototype-Pollution Gadgets\n\nBoth need two halves in the trace. DOM clobbering: markup the attacker controls that keeps an `id` or `name` attribute (a sanitizer that allows them) **and** code that reads the clobbered global as configuration (`window.config || defaults`, `document.getElementById(\"cdn\").href` for a script URL). Prototype pollution: an attacker-chosen key reaching a recursive merge or path setter **and** a gadget that reads the polluted property in a security decision, a script URL or an HTML sink (node-typescript-security-pitfalls §5).\n\n## 12. Clickjacking\n\nA frameable page with a one-click state change — confirming a payment, granting an OAuth scope, deleting an account, changing an email — and no `frame-ancestors` or `X-Frame-Options`. Missing frame headers on read-only or multi-step pages are hardening, not reported.\n\n## Common Mistakes\n\n- Flagging `{user.name}` in JSX, `{{ name }}` in Vue\u002FJinja, or `[innerHTML]` in Angular.\n- Reporting CSRF on a bearer-token API.\n- Reporting a missing CSP, `X-Frame-Options` or HSTS as a vulnerability.\n- Reporting an open redirect with no chain.\n\n## Red Flags\n\n- An escape hatch whose input traces back to another user's content.\n- `DOMPurify` imported but the sink fed the unsanitised variable.\n- `Access-Control-Allow-Credentials: true` next to a reflected origin.\n- `addEventListener(\"message\"` with no `origin` comparison.\n- An Electron `BrowserWindow` created with `nodeIntegration: true` or loading remote URLs.\n- A WebSocket server that reads the session cookie and never reads `Origin`.\n- A service worker that `cache.put`s responses from authenticated API routes.\n- A sanitizer configured to keep `id`\u002F`name` next to code that reads `window.\u003Cname>`.\n\n## References (names and links only)\n\n[OWASP Top 10:2025](https:\u002F\u002Fowasp.org\u002FTop10\u002F2025\u002F) A05 Injection, A01 Broken Access Control · [ASVS 5.0 V3 Web Frontend Security](https:\u002F\u002Fgithub.com\u002FOWASP\u002FASVS\u002Ftree\u002Fmaster\u002F5.0\u002Fen) · CWE-79, 346, 352, 601, 942, 1021, 1321, 1385 · [Electron security checklist](https:\u002F\u002Fwww.electronjs.org\u002Fdocs\u002Flatest\u002Ftutorial\u002Fsecurity)\n","# Web Frontend Security\n\n## Overview\n\nModern template engines and UI frameworks escape by default. XSS comes back through the doors that switch escaping off, through the wrong escaper for the context, and through URLs. CSRF comes back whenever cookies authenticate a state change.\n\n**Core principle:** find the escape hatch, then trace what flows into it. `{value}` in JSX is the control working — not a finding.\n\n## 1. XSS Sinks by Framework (CWE-79)\n\n| Framework \u002F engine | Escape hatches to trace |\n|--------------------|-------------------------|\n| React \u002F Preact \u002F Solid | `dangerouslySetInnerHTML`, `innerHTML` props, refs writing `el.innerHTML` |\n| Vue | `v-html`, render functions setting `innerHTML` |\n| Angular | `bypassSecurityTrustHtml\u002FUrl\u002FResourceUrl\u002FScript\u002FStyle` (`[innerHTML]` alone is sanitised) |\n| Svelte | `{@html …}` |\n| DOM \u002F jQuery | `innerHTML`, `outerHTML`, `insertAdjacentHTML`, `document.write`, `.html()`, `$(userString)`, `iframe.srcdoc` |\n| Jinja2 \u002F Django | `|safe`, `Markup(…)`, `mark_safe`, `{% autoescape off %}`, `autoescape=False` |\n| Go | `template.HTML(userValue)`, `text\u002Ftemplate` used to render HTML |\n| JVM | Thymeleaf `th:utext`, JSP `\u003C%= %>` or `escapeXml=\"false\"`, FreeMarker `?no_esc` |\n| Node templates | Handlebars `{{{ }}}`, EJS `\u003C%- %>`, Pug `!=` |\n| .NET | `@Html.Raw`, `MarkupString` |\n\n```tsx\n\u002F\u002F ❌ user-authored bio rendered as HTML\n\u003Cdiv dangerouslySetInnerHTML={{ __html: user.bio }} \u002F>\n\u002F\u002F ✅ sanitised with an allowlist sanitiser, or rendered as text\n\u003Cdiv dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(user.bio) }} \u002F>\n```\n\n**Markdown renderers** count as HTML sinks when raw HTML is enabled: `marked` without a sanitiser, `markdown-it` with `html: true`, `react-markdown` with `rehype-raw` and no `rehype-sanitize`.\n\n**URLs are sinks too.** `href`, `src`, `formaction`, `location.href = …`, `window.open(…)` with user data accept `javascript:` (and `data:` for some sinks). Validate the scheme (`https:`, `mailto:`) rather than relying on the framework's version-dependent handling.\n\n```vue\n\u003C!-- ❌ profile website link -->\n\u003Ca :href=\"user.website\">site\u003C\u002Fa>\n\u003C!-- ✅ -->\n\u003Ca :href=\"safeHttpUrl(user.website)\">site\u003C\u002Fa>   \u003C!-- returns \"#\" unless new URL(v).protocol is http: or https: -->\n```\n\n**Wrong escaper for the context:** HTML-escaping a value placed inside a `\u003Cscript>` block, an event-handler attribute or a CSS value does not make it safe. Data embedded into an inline script needs JSON serialisation that escapes `\u003C` (`\u003C\u002Fscript>` breaks out).\n\nStored XSS (one user's content shown to another) → HIGH. Reflected → MEDIUM to HIGH by reach. Self-XSS → not a finding.\n\n## 2. CSRF (CWE-352)\n\nA finding when **all** hold: the endpoint changes state, the browser authenticates it automatically (cookies, HTTP auth), and nothing ties the request to the app's own pages (CSRF token, `SameSite=Lax\u002FStrict` on the session cookie with no state-changing GET, an Origin\u002F`Sec-Fetch-Site` check, a custom-header requirement the CORS policy enforces).\n\n- APIs authenticated only by an `Authorization: Bearer` header are not CSRF-able.\n- A new state-changing `GET` route is CSRF-able even with `SameSite=Lax`.\n- Removing or bypassing the CSRF middleware for a route (`csrf_exempt`, `ignoringRequestMatchers`) is a removed guard.\n\n## 3. CORS\n\n```ts\n\u002F\u002F ❌ any site can read authenticated responses: the request's Origin is reflected with credentials\nres.setHeader(\"Access-Control-Allow-Origin\", req.headers.origin);\nres.setHeader(\"Access-Control-Allow-Credentials\", \"true\");\n\u002F\u002F ✅ exact allowlist\nif (ALLOWED_ORIGINS.has(req.headers.origin)) res.setHeader(\"Access-Control-Allow-Origin\", req.headers.origin);\n```\n\n`Access-Control-Allow-Origin: *` without credentials is fine for public data; browsers refuse `*` with credentials. Watch for `null` origin allowed and suffix-matched origins (ssrf-and-url-allowlists has the matching pitfalls).\n\n## 4. postMessage (CWE-346)\n\n```js\n\u002F\u002F ❌ any window can send a \"token\" message\nwindow.addEventListener(\"message\", (e) => { localStorage.setItem(\"token\", e.data.token); });\n\u002F\u002F ✅\nwindow.addEventListener(\"message\", (e) => { if (e.origin !== \"https:\u002F\u002Fauth.example.com\") return; … });\n```\n\nAlso `target.postMessage(secret, \"*\")` — any framing or opening page can receive it.\n\n## 5. CSP\n\nA missing CSP is not reported. Adding `'unsafe-inline'`, `'unsafe-eval'`, a wildcard source or a JSONP-capable CDN to an existing policy is a weakened control: a note, or part of the finding when the same diff adds an injection sink.\n\n## 6. Open Redirect (CWE-601) — high confidence only\n\nReport only with a concrete chain: a post-login `?next=` that can point off-site in an OAuth or SSO flow (code or token leakage), or a redirect used to pass an SSRF allowlist. A bare redirect on a marketing page is dropped.\n\n## 7. Desktop Shells (Electron, Tauri)\n\nIn a desktop shell, renderer XSS can become code execution. This section covers the window and renderer settings; the main-process IPC handlers, URL schemes and loopback servers are desktop-and-local-ipc-security.\n\n- Electron: `nodeIntegration: true`, `contextIsolation: false`, `sandbox: false`, `webSecurity: false`; a preload exposing `ipcRenderer` or `require` wholesale through `contextBridge`; `shell.openExternal(url)` with an unvalidated scheme; IPC handlers that run commands or read paths from renderer arguments without validation; remote content loaded into a privileged window.\n- Tauri: broad `allowlist`\u002Fcapabilities (shell `open`, `fs` scopes of `**`), `dangerousRemoteDomainIpcAccess`.\n\n## 8. Cross-Site WebSocket Hijacking (CWE-1385)\n\nA WebSocket upgrade carries the browser's cookies and no CORS check. A handshake authenticated by cookie that does not verify `Origin` against an exact allowlist (or require a token the page must fetch first) lets any site open the socket as the victim and read or send messages.\n\n```ts\n\u002F\u002F ❌ cookie session, any origin\nwss.on(\"connection\", (ws, req) => { const user = sessionFrom(req.headers.cookie); … });\n\u002F\u002F ✅\nconst ok = ALLOWED_ORIGINS.has(req.headers.origin ?? \"\");\nif (!ok) { ws.close(1008); return; }\n```\n\nNot a finding when the socket authenticates with a token sent in the first message or a header the page cannot be made to send.\n\n## 9. Service Workers\n\n- The script URL passed to `navigator.serviceWorker.register` built from input, or served from a path user content can occupy; a `Service-Worker-Allowed` header that widens the scope beyond what the worker needs.\n- A fetch handler that caches personalized or authenticated responses without the user in the cache name or key, and serves them after logout or an account switch — or as the offline fallback for another user.\n- `importScripts` of a third-party URL without integrity control.\n\n## 10. Browser Storage and Account Switching\n\nA token in `localStorage` is not a finding by itself (authn-sessions-and-tokens §3). It is when a realistic lower-authority reader exists, or when the data outlives the session: private responses, drafts or auth decisions left in `localStorage`, IndexedDB or Cache Storage after logout and shown to the next account on a shared machine; a `storage` event or `BroadcastChannel` message that carries a token or an auth command between tabs without binding it to the current session.\n\n## 11. DOM Clobbering and Prototype-Pollution Gadgets\n\nBoth need two halves in the trace. DOM clobbering: markup the attacker controls that keeps an `id` or `name` attribute (a sanitizer that allows them) **and** code that reads the clobbered global as configuration (`window.config || defaults`, `document.getElementById(\"cdn\").href` for a script URL). Prototype pollution: an attacker-chosen key reaching a recursive merge or path setter **and** a gadget that reads the polluted property in a security decision, a script URL or an HTML sink (node-typescript-security-pitfalls §5).\n\n## 12. Clickjacking\n\nA frameable page with a one-click state change — confirming a payment, granting an OAuth scope, deleting an account, changing an email — and no `frame-ancestors` or `X-Frame-Options`. Missing frame headers on read-only or multi-step pages are hardening, not reported.\n\n## Common Mistakes\n\n- Flagging `{user.name}` in JSX, `{{ name }}` in Vue\u002FJinja, or `[innerHTML]` in Angular.\n- Reporting CSRF on a bearer-token API.\n- Reporting a missing CSP, `X-Frame-Options` or HSTS as a vulnerability.\n- Reporting an open redirect with no chain.\n\n## Red Flags\n\n- An escape hatch whose input traces back to another user's content.\n- `DOMPurify` imported but the sink fed the unsanitised variable.\n- `Access-Control-Allow-Credentials: true` next to a reflected origin.\n- `addEventListener(\"message\"` with no `origin` comparison.\n- An Electron `BrowserWindow` created with `nodeIntegration: true` or loading remote URLs.\n- A WebSocket server that reads the session cookie and never reads `Origin`.\n- A service worker that `cache.put`s responses from authenticated API routes.\n- A sanitizer configured to keep `id`\u002F`name` next to code that reads `window.\u003Cname>`.\n\n## References (names and links only)\n\n[OWASP Top 10:2025](https:\u002F\u002Fowasp.org\u002FTop10\u002F2025\u002F) A05 Injection, A01 Broken Access Control · [ASVS 5.0 V3 Web Frontend Security](https:\u002F\u002Fgithub.com\u002FOWASP\u002FASVS\u002Ftree\u002Fmaster\u002F5.0\u002Fen) · CWE-79, 346, 352, 601, 942, 1021, 1321, 1385 · [Electron security checklist](https:\u002F\u002Fwww.electronjs.org\u002Fdocs\u002Flatest\u002Ftutorial\u002Fsecurity)\n",{"name":5,"source":24,"category":25,"tech_stack":26,"description":7},"anthropics\u002Fclaude-code-security-review (MIT) framework precedents, adapted; cloudflare\u002Fsecurity-audit-skill (MIT) client-side attack classes (cross-site WebSockets, service workers, browser storage, DOM clobbering, UI redress), adapted; informed by anthropics\u002Fclaude-code security-guidance plugin (ideas only); OWASP Top 10:2025 A05\u002FA01 and CWE cited by name only","security","Web & API","main","910394a0b6db9fc8c9a8f36328ec421d3ebd8b38","catalog\u002Fagents\u002Fsecurity-agent\u002Fskills\u002Fweb-frontend-security",18,"https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper","https:\u002F\u002Ftasktrooper.ai","https:\u002F\u002Fgithub.com\u002Fmakifbaysal","Senior Software Developer","2026-11-15 04:50:29",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add makifbaysal\u002Ftasktrooper --skill web-frontend-security",{"tool":42,"command":43},"bunx","bunx skills add makifbaysal\u002Ftasktrooper --skill web-frontend-security",{"tool":45,"command":46},"pnpm","pnpm dlx skills add makifbaysal\u002Ftasktrooper --skill web-frontend-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fsecurity-agent\u002Fskills\u002Fweb-frontend-security\u002FSKILL.md",true,[],[51,57,64,71,78,85],{"skillNo":52,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7CSVEPQW6J6TD6CS2T5FPNZ","visual-craft","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fvisual-craft\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7CSVAQG91ETHQ0HBNZDG5FR","ux-copy","Use when you write any words a user reads in a mockup or a hand-off - content language and voice, buttons, labels, errors, empty states, confirmations, numbers and dates, and the longest-string check","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fux-copy\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7CSV6H0J38659NDXHJQ8396","screen-mockup-html","Use when you draw screens as the design task's HTML mockup - ONE canvas document holding every screen and every variant side by side, the sanitizer-safe recipe, phone and wide frames, the states grid, static control states, and the loopback self-check with screenshots at 375, 768 and 1440 attached to the task","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fscreen-mockup-html\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7CSV3JFRF3BM3XK52M7YEYR","performance-awareness","How the performance score moves for your role. Use when the score context shows a declining trend, or before handing off work you have not self-checked against every criterion.","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fperformance-awareness\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":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7CSTZDH00YRF5SCT7BRT9QD","design-variants","Use when a screen design needs variants - how many, variants as side-by-side rows on the one canvas, what makes two variants genuinely different, recommending one, how the human's choice is read, and narrowing to the chosen one in revision","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-variants\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7CSTV6P3SM3PAE28DB0RF77","design-system-authoring","Use when you derive, change or extend a design system - where tokens live per stack, the DTCG token tree, role-based names for both themes, base vs layer vs drift, the DESIGN.md section order, the inventory format, the contrast check and the lint every proposal returns","https:\u002F\u002Fgithub.com\u002Fmakifbaysal\u002Ftasktrooper\u002Fblob\u002Fmain\u002Fcatalog\u002Fagents\u002Fui-designer\u002Fskills\u002Fdesign-system-authoring\u002FSKILL.md",[],[]]