[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74F41RQXSB723BB3QP8JAQC":3,"skill-same:01M74F41RQXSB723BB3QP8JAQC":52},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M74F41RQXSB723BB3QP8JAQC","nextjs-check-route-types",null,"Type-system hygiene for Next.js App Router routes -- `any`-typed params, missing route handler signatures, generated-types staleness from `next dev` and `next build` typecheck gaps. Triggers on Next.js route handler authoring (`app\u002F**\u002Froute.ts`, `app\u002F**\u002Fpage.tsx` typed-segments). Not agent-specific security; complementary to runtime hardening.","MILTONADINA\u002FDevOPs","MILTONADINA","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106546372?v=4","01M74F3R2PP4Z04DQMMBHSQAT1","Milton Adina","01M74F3R3CHTKPXJV4RP7RR3W8",0,"MIT","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Fstack-specific\u002Fnextjs\u002Fcheck-route-types\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: nextjs-check-route-types\ndescription: Type-system hygiene for Next.js App Router routes -- `any`-typed params, missing route handler signatures, generated-types staleness from `next dev` and `next build` typecheck gaps. Triggers on Next.js route handler authoring (`app\u002F**\u002Froute.ts`, `app\u002F**\u002Fpage.tsx` typed-segments). Not agent-specific security; complementary to runtime hardening.\n---\n\n# Next.js Route Type Checking\n\n> This skill addresses **type-system correctness**, not agent-specific\n> security. The patterns here close compile-time blind spots that allow\n> runtime bugs and complicate review; they are NOT the load-bearing\n> defense against any OWASP ASI \u002F AST threat. The runtime hardening of\n> route handlers is the responsibility of\n> `skills\u002Fstack-specific\u002Fnextjs\u002Fserver-action-safety\u002FSKILL.md` and the\n> universal `security\u002Fprompt-injection-defense` skill.\n\n**Tradeoff:** Stricter route typing catches a class of integration bugs\nat build time rather than at request time. Cost: per-PR friction when\nNext.js's generated types (`.next\u002Ftypes\u002F...`) lag behind route file\nchanges during local development.\n\n---\n\n## Why this matters\n\nNext.js App Router generates route types from the file system shape\nduring `next dev` and `next build` (and `next typegen` on 15.5+):\n`app\u002Fposts\u002F[slug]\u002Froute.ts` produces a typed\n`{ params: Promise\u003C{ slug: string }> }` context argument. When those generated\ntypes are stale (e.g., a new dynamic segment added but `next dev` hasn't\nre-generated), the handler signature reverts to a permissive default and\nruntime arguments flow through unchecked. Reviewers see \"the types pass\"\nwithout realizing the types are vacuous.\n\nThis is a footgun across the entire surface area:\n\n- `app\u002Fapi\u002F**\u002Froute.ts` handlers with implicit-`any` parameters.\n- `app\u002F[slug]\u002Fpage.tsx` route segments with un-narrowed param types.\n- `searchParams` accessed without runtime validation.\n- Proxy (`proxy.ts`; `middleware.ts` before Next.js 16) reading headers\n  without typing them.\n\nNone of these are security failures on their own. They're conditions\nunder which a separate runtime-validation gap (the actual security\ncontrol) hides because the type checker isn't complaining.\n\n---\n\n## Pattern 1 -- Always type route handler signatures explicitly\n\nThe compile-time signature for an App Router handler:\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fposts\u002F[slug]\u002Froute.ts\nimport { NextRequest, NextResponse } from 'next\u002Fserver';\n\ntype RouteContext = {\n  params: Promise\u003C{ slug: string }>;\n};\n\nexport async function GET(\n  request: NextRequest,\n  context: RouteContext,\n): Promise\u003CNextResponse> {\n  const { slug } = await context.params;\n  \u002F\u002F ... handler body ...\n  return NextResponse.json({ slug });\n}\n```\n\nExplicit `NextRequest` (NOT bare `Request`) gives access to Next.js-\nspecific fields (`request.nextUrl`, `request.cookies`). Explicit\n`RouteContext` ties the handler's expected dynamic segments to the file\npath; a renamed segment that doesn't match `slug` is a compile error.\n\nNote Next.js 15+ awaits `params` as a Promise. Older code with sync\nparams won't compile against newer Next.js without migration.\n\n---\n\n## Pattern 2 -- Validate `searchParams` at the route boundary\n\n```ts\nimport { z } from 'zod';\n\nconst SearchSchema = z.object({\n  page: z.coerce.number().int().positive().default(1),\n  perPage: z.coerce.number().int().min(1).max(100).default(20),\n  q: z.string().max(200).optional(),\n});\n\nexport async function GET(request: NextRequest) {\n  const parsed = SearchSchema.safeParse(\n    Object.fromEntries(request.nextUrl.searchParams),\n  );\n  if (!parsed.success) {\n    return NextResponse.json({ error: 'invalid query' }, { status: 400 });\n  }\n  const { page, perPage, q } = parsed.data;\n  \u002F\u002F ... use typed values, NOT raw searchParams ...\n}\n```\n\n`searchParams` is `URLSearchParams`. Its `.get()` returns `string | null`;\nthere's no compile-time guarantee that the query string contains what\nthe handler assumes. Runtime validation closes the gap.\n\n---\n\n## Pattern 3 -- Regenerate types on dynamic-segment renames\n\nWhen you rename `app\u002Fposts\u002F[slug]\u002Froute.ts` to `app\u002Fposts\u002F[postId]\u002Froute.ts`,\nthe next `next build` (or `next dev` HMR refresh) regenerates the\nRouteContext types with the new param name. UNTIL that happens, the\nhandler still compiles against the old generated types.\n\nDiscipline: after any file-system rename inside `app\u002F`, run\n`next typegen && tsc --noEmit` (Next.js 15.5+; on older versions,\n`next build`) before committing. Run the same pair in CI: plain\n`tsc --noEmit` does not generate route types, so on its own it checks\nagainst stale or missing `.next\u002Ftypes` and can pass.\n\n---\n\n## Anti-patterns\n\n### Anti-pattern 1 -- `any`-typed handler params\n\n```ts\n\u002F\u002F WRONG\nexport async function GET(request, context: any) {\n  const slug = context.params.slug;  \u002F\u002F no type narrowing\n  \u002F\u002F ...\n}\n```\n\n`any` defeats the entire type system. A renamed segment, a missing\nparam, a wrong-shaped context object all flow through silently. Always\ntype both `request` and `context` explicitly.\n\n### Anti-pattern 2 -- Trusting raw `searchParams.get()` without validation\n\n```ts\n\u002F\u002F WRONG\nexport async function GET(request: NextRequest) {\n  const page = request.nextUrl.searchParams.get('page');  \u002F\u002F string | null\n  const offset = parseInt(page) * 20;  \u002F\u002F NaN if page missing\n  \u002F\u002F ...\n}\n```\n\n`parseInt(null)` is `NaN`. The handler computes a `NaN` offset and\nsilently returns whatever the DB does with that. Runtime validation\n(Pattern 2) is the fix.\n\n### Anti-pattern 3 -- Generated-types staleness ignored across deploys\n\n```ts\n\u002F\u002F WRONG: file renamed from [slug] to [postId] but the handler still reads\n\u002F\u002F context.params.slug because the generated types haven't refreshed.\ntype RouteContext = { params: Promise\u003C{ slug: string }> };  \u002F\u002F STALE\n```\n\nThe handler compiles locally because the old `.next\u002Ftypes\u002F*` cache still\ndefines `slug`. On a fresh CI build (clean `.next\u002F`), the types\nregenerate to `{ postId: string }` and the handler fails compile. Or\nworse: the handler ships, runtime accesses `params.slug` which is now\n`undefined`, and silent NaN \u002F null-deref bugs follow.\n\n---\n\n## ASI\u002FAST mapping\n\n**No canonical ASI\u002FAST applies** -- type-system hygiene is general\nsoftware-correctness discipline, not an agent-specific threat surface.\nThe runtime-validation gaps these patterns close are protected at a\ndifferent layer (the runtime input-validation patterns in\n`stack-specific\u002Fnextjs\u002Fserver-action-safety` and the universal\n`security\u002Fprompt-injection-defense`); this skill is the compile-time\ncounterpart that prevents the runtime gaps from going unnoticed in\nreview.\n\nSkills that DO cover the runtime side of route safety:\n\n- `skills\u002Fstack-specific\u002Fnextjs\u002Fserver-action-safety\u002FSKILL.md` --\n  ASI02 + ASI03 for Server Actions\n- `skills\u002Funiversal\u002Fsecurity\u002Fprompt-injection-defense\u002FSKILL.md` --\n  ASI01 + ASI04 for content entering the handler\n\n---\n\n## When this skill is working\n\n- `next typegen && tsc --noEmit` passes cleanly in CI on every PR, no\n  `any`-typed route handlers in the diff.\n- Route-segment renames are paired with type-regeneration in the same\n  commit.\n- `searchParams` access goes through a Zod (or equivalent) parser at the\n  handler boundary.\n\n---\n\n## See also\n\n- Next.js App Router docs on TypeScript: https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fapp\u002Fapi-reference\u002Fconfig\u002Ftypescript\n- `skills\u002Fstack-specific\u002Fnextjs\u002Fserver-action-safety\u002FSKILL.md` --\n  runtime-validation counterpart\n","# Next.js Route Type Checking\n\n> This skill addresses **type-system correctness**, not agent-specific\n> security. The patterns here close compile-time blind spots that allow\n> runtime bugs and complicate review; they are NOT the load-bearing\n> defense against any OWASP ASI \u002F AST threat. The runtime hardening of\n> route handlers is the responsibility of\n> `skills\u002Fstack-specific\u002Fnextjs\u002Fserver-action-safety\u002FSKILL.md` and the\n> universal `security\u002Fprompt-injection-defense` skill.\n\n**Tradeoff:** Stricter route typing catches a class of integration bugs\nat build time rather than at request time. Cost: per-PR friction when\nNext.js's generated types (`.next\u002Ftypes\u002F...`) lag behind route file\nchanges during local development.\n\n---\n\n## Why this matters\n\nNext.js App Router generates route types from the file system shape\nduring `next dev` and `next build` (and `next typegen` on 15.5+):\n`app\u002Fposts\u002F[slug]\u002Froute.ts` produces a typed\n`{ params: Promise\u003C{ slug: string }> }` context argument. When those generated\ntypes are stale (e.g., a new dynamic segment added but `next dev` hasn't\nre-generated), the handler signature reverts to a permissive default and\nruntime arguments flow through unchecked. Reviewers see \"the types pass\"\nwithout realizing the types are vacuous.\n\nThis is a footgun across the entire surface area:\n\n- `app\u002Fapi\u002F**\u002Froute.ts` handlers with implicit-`any` parameters.\n- `app\u002F[slug]\u002Fpage.tsx` route segments with un-narrowed param types.\n- `searchParams` accessed without runtime validation.\n- Proxy (`proxy.ts`; `middleware.ts` before Next.js 16) reading headers\n  without typing them.\n\nNone of these are security failures on their own. They're conditions\nunder which a separate runtime-validation gap (the actual security\ncontrol) hides because the type checker isn't complaining.\n\n---\n\n## Pattern 1 -- Always type route handler signatures explicitly\n\nThe compile-time signature for an App Router handler:\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fposts\u002F[slug]\u002Froute.ts\nimport { NextRequest, NextResponse } from 'next\u002Fserver';\n\ntype RouteContext = {\n  params: Promise\u003C{ slug: string }>;\n};\n\nexport async function GET(\n  request: NextRequest,\n  context: RouteContext,\n): Promise\u003CNextResponse> {\n  const { slug } = await context.params;\n  \u002F\u002F ... handler body ...\n  return NextResponse.json({ slug });\n}\n```\n\nExplicit `NextRequest` (NOT bare `Request`) gives access to Next.js-\nspecific fields (`request.nextUrl`, `request.cookies`). Explicit\n`RouteContext` ties the handler's expected dynamic segments to the file\npath; a renamed segment that doesn't match `slug` is a compile error.\n\nNote Next.js 15+ awaits `params` as a Promise. Older code with sync\nparams won't compile against newer Next.js without migration.\n\n---\n\n## Pattern 2 -- Validate `searchParams` at the route boundary\n\n```ts\nimport { z } from 'zod';\n\nconst SearchSchema = z.object({\n  page: z.coerce.number().int().positive().default(1),\n  perPage: z.coerce.number().int().min(1).max(100).default(20),\n  q: z.string().max(200).optional(),\n});\n\nexport async function GET(request: NextRequest) {\n  const parsed = SearchSchema.safeParse(\n    Object.fromEntries(request.nextUrl.searchParams),\n  );\n  if (!parsed.success) {\n    return NextResponse.json({ error: 'invalid query' }, { status: 400 });\n  }\n  const { page, perPage, q } = parsed.data;\n  \u002F\u002F ... use typed values, NOT raw searchParams ...\n}\n```\n\n`searchParams` is `URLSearchParams`. Its `.get()` returns `string | null`;\nthere's no compile-time guarantee that the query string contains what\nthe handler assumes. Runtime validation closes the gap.\n\n---\n\n## Pattern 3 -- Regenerate types on dynamic-segment renames\n\nWhen you rename `app\u002Fposts\u002F[slug]\u002Froute.ts` to `app\u002Fposts\u002F[postId]\u002Froute.ts`,\nthe next `next build` (or `next dev` HMR refresh) regenerates the\nRouteContext types with the new param name. UNTIL that happens, the\nhandler still compiles against the old generated types.\n\nDiscipline: after any file-system rename inside `app\u002F`, run\n`next typegen && tsc --noEmit` (Next.js 15.5+; on older versions,\n`next build`) before committing. Run the same pair in CI: plain\n`tsc --noEmit` does not generate route types, so on its own it checks\nagainst stale or missing `.next\u002Ftypes` and can pass.\n\n---\n\n## Anti-patterns\n\n### Anti-pattern 1 -- `any`-typed handler params\n\n```ts\n\u002F\u002F WRONG\nexport async function GET(request, context: any) {\n  const slug = context.params.slug;  \u002F\u002F no type narrowing\n  \u002F\u002F ...\n}\n```\n\n`any` defeats the entire type system. A renamed segment, a missing\nparam, a wrong-shaped context object all flow through silently. Always\ntype both `request` and `context` explicitly.\n\n### Anti-pattern 2 -- Trusting raw `searchParams.get()` without validation\n\n```ts\n\u002F\u002F WRONG\nexport async function GET(request: NextRequest) {\n  const page = request.nextUrl.searchParams.get('page');  \u002F\u002F string | null\n  const offset = parseInt(page) * 20;  \u002F\u002F NaN if page missing\n  \u002F\u002F ...\n}\n```\n\n`parseInt(null)` is `NaN`. The handler computes a `NaN` offset and\nsilently returns whatever the DB does with that. Runtime validation\n(Pattern 2) is the fix.\n\n### Anti-pattern 3 -- Generated-types staleness ignored across deploys\n\n```ts\n\u002F\u002F WRONG: file renamed from [slug] to [postId] but the handler still reads\n\u002F\u002F context.params.slug because the generated types haven't refreshed.\ntype RouteContext = { params: Promise\u003C{ slug: string }> };  \u002F\u002F STALE\n```\n\nThe handler compiles locally because the old `.next\u002Ftypes\u002F*` cache still\ndefines `slug`. On a fresh CI build (clean `.next\u002F`), the types\nregenerate to `{ postId: string }` and the handler fails compile. Or\nworse: the handler ships, runtime accesses `params.slug` which is now\n`undefined`, and silent NaN \u002F null-deref bugs follow.\n\n---\n\n## ASI\u002FAST mapping\n\n**No canonical ASI\u002FAST applies** -- type-system hygiene is general\nsoftware-correctness discipline, not an agent-specific threat surface.\nThe runtime-validation gaps these patterns close are protected at a\ndifferent layer (the runtime input-validation patterns in\n`stack-specific\u002Fnextjs\u002Fserver-action-safety` and the universal\n`security\u002Fprompt-injection-defense`); this skill is the compile-time\ncounterpart that prevents the runtime gaps from going unnoticed in\nreview.\n\nSkills that DO cover the runtime side of route safety:\n\n- `skills\u002Fstack-specific\u002Fnextjs\u002Fserver-action-safety\u002FSKILL.md` --\n  ASI02 + ASI03 for Server Actions\n- `skills\u002Funiversal\u002Fsecurity\u002Fprompt-injection-defense\u002FSKILL.md` --\n  ASI01 + ASI04 for content entering the handler\n\n---\n\n## When this skill is working\n\n- `next typegen && tsc --noEmit` passes cleanly in CI on every PR, no\n  `any`-typed route handlers in the diff.\n- Route-segment renames are paired with type-regeneration in the same\n  commit.\n- `searchParams` access goes through a Zod (or equivalent) parser at the\n  handler boundary.\n\n---\n\n## See also\n\n- Next.js App Router docs on TypeScript: https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fapp\u002Fapi-reference\u002Fconfig\u002Ftypescript\n- `skills\u002Fstack-specific\u002Fnextjs\u002Fserver-action-safety\u002FSKILL.md` --\n  runtime-validation counterpart\n",{"name":5,"description":7},"main","5a590e92c8f62b54c96a6928215ac2145b671e03","skills\u002Fstack-specific\u002Fnextjs\u002Fcheck-route-types","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs","https:\u002F\u002Fgithub.com\u002FMILTONADINA","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fmiltonadina","CS\u002FCybersecurity SWE & former Epidemiologist. Building secure, test-driven full-stack & mobile apps (TS\u002FReact\u002FNode, Java\u002FSpring, Flutter).","2026-11-14 20:03:36",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add MILTONADINA\u002FDevOPs --skill nextjs-check-route-types",{"tool":38,"command":39},"bunx","bunx skills add MILTONADINA\u002FDevOPs --skill nextjs-check-route-types",{"tool":41,"command":42},"pnpm","pnpm dlx skills add MILTONADINA\u002FDevOPs --skill nextjs-check-route-types","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Fstack-specific\u002Fnextjs\u002Fcheck-route-types\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"SKILL.md.bundle","OTHER","其他",9559,"https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Fstack-specific\u002Fnextjs\u002Fcheck-route-types\u002FSKILL.md.bundle",[53,60,67,74,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M74F7F3HN6J7CSFHBVQAE9S5","karpathy-guidelines","Behavioral guidelines that reduce common LLM coding mistakes. Apply whenever writing, modifying, or reviewing code. Don't assume requirements, don't overcomplicate, don't refactor unrelated code, and define success criteria before implementing. Use this skill on every non-trivial coding task to avoid bloat, silent assumptions, and completion-bias.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsecurity\u002Fmodified-skill\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M74F7D60N9FRWWWHCGZMMB41","unsigned-missing-sig-fixture","Test fixture (F.09) — SKILL.md without an accompanying .sig file. Default install rejects with exit 2; --allow-unsigned --rationale=\"...\" proceeds.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finstall\u002Fsource-skills\u002Funsigned-missing-sig\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M74F7BKGX67Q606QPKZV7TQV","unsigned-mismatched-sig-fixture","Test fixture (F.09) — SKILL.md whose accompanying .sig signs different content. NFR-F3 hash check catches this even with --allow-unsigned.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finstall\u002Fsource-skills\u002Funsigned-mismatched-sig\u002FSKILL.md",[],[],{"skillNo":75,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M74F793BYMX98EQC5XP4CDZK","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finstall\u002Fsource-skills\u002Fsigned\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M74F7481EBD7G5471ZC4S9YB","webhook-idempotency","Defend against double-processing of webhook events across every provider (Stripe, GitHub, Slack, Twilio, SendGrid). Idempotency-key pattern + replay-window enforcement + dedupe-storage strategy. Triggers on any webhook handler authoring (route matching \u002Fwebhook(s)?\u002F, Stripe-Signature \u002F X-Hub-Signature-256 header references). Defense against OWASP ASI02 (Tool Misuse) -- a replayed webhook that re-triggers a destructive tool is the canonical control-flow-level replay attack. Universal across providers; stack-specific signature verification lives in stack-specific skills.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Funiversal\u002Fsecurity\u002Fwebhook-idempotency\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":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M74F71Q6JKRFJ66G5T98KE8H","semgrep-scan","Run Semgrep static analysis to detect insecure code patterns - SQL injection, XSS, path traversal, weak crypto, broken auth, OWASP Top 10 issues. Use on every file change touching security-sensitive code and as part of the tiered security gate. Complements gitleaks (which catches secrets) by catching insecure logic.","https:\u002F\u002Fgithub.com\u002FMILTONADINA\u002FDevOPs\u002Fblob\u002Fmain\u002Fskills\u002Funiversal\u002Fsecurity\u002Fsemgrep-scan\u002FSKILL.md",[],[]]