Skip to content
Security
Skill

/secure-coding-kb

Look up the safe idiom and known-risky API/library for a language or framework (Python, JS/TS/Node, Java, Go, C/C++, Ruby) before or while writing code — a design/build-time cheat-sheet, distinct from post-hoc scanning. Use when writing or reviewing code, scoping a PRD's tech

From plugin
awesome-claude-security
6111 skills17 agents13 commands1 MCP
Install
$ npx -y skills add jassics/awesome-claude-security --skill secure-coding-kb --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/secure-coding-kb

Context preview

The summary Claude sees to decide when to auto-load this skill.

Look up the safe idiom and known-risky API/library for a language or framework (Python, JS/TS/Node, Java, Go, C/C++, Ruby) before or while writing code — a design/build-time cheat-sheet, distinct from post-hoc scanning. Use when writing or reviewing code, scoping a PRD's tech

SKILL.md

secure-coding-kb.SKILL.md
name: secure-coding-kb
description: >-
  Look up the safe idiom and known-risky API/library for a language or framework
  (Python, JS/TS/Node, Java, Go, C/C++, Ruby) before or while writing code — a
  design/build-time cheat-sheet, distinct from post-hoc scanning. Use when writing
  or reviewing code, scoping a PRD's tech stack, or advising an AI-assisted/vibe-coded
  change on which APIs and libraries to avoid up front.

Goal

The safe pattern and the risky API/library to avoid for the language(s)/framework(s) in scope — consulted *while designing or writing code*, so unsafe patterns are never introduced rather than caught later by a scanner.

Steps

1. **Identify the language(s)/framework(s) in scope** for the code, PRD, or feature being built. 2. **Pull the relevant guidance from `reference.md`** for each: unsafe API/pattern → safe replacement, and risky/abandoned libraries → maintained alternative. 3. **Flag framework-specific footguns** (e.g. Django/Flask, Express/Node, Spring/Java, Rails, Go stdlib) — defaults that are insecure unless explicitly hardened. 4. **Cite OWASP Cheat Sheet Series** for depth beyond this quick-reference — it's the canonical, continuously-updated source; this skill is a fast lookup, not a replacement.

Output

A short table: pattern/library flagged · why risky · safe replacement · source (OWASP Cheat Sheet name). For an existing codebase, hand off found instances to `sast-sca:sast-review` for the code-level fix; for new work, this *is* the fix — inject the safe pattern before code is written.

Notes

This complements, not replaces, `sast-sca:sast-review`: that skill scans code that already exists and reports what's wrong; this skill guides what to write in the first place — most valuable during design, PRD scoping, or AI-assisted/"vibe coded" implementation where no security requirement was stated up front (see `security-architect:prd-security-injection` for injecting requirements into the PRD/prompt itself). See `reference.md` for the per-language tables. For Python/ React specifically, `secure-coding:safe-function-lint` turns a subset of this guidance into an enforced, hook-blocked check rather than a reference lookup — point the user there once they want prevention, not just guidance.

Read more
Ships withawesome-claude-security

A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.

Get the whole plugin

Other skills on awesome-claude-security.