This is built for JARVIS AI assistant work but the patterns translate to any LLM integration where you need to worry about prompt injection. You get layered prompt construction with security guardrails, input sanitization that strips control characters and enforces length limits, and injection detection using regex patterns for common attacks like instruction overrides and delimiter tricks. The task router validates intents against an allowlist before execution, and output validation catches leaked system prompts or tool calls to unauthorized functions. The architecture separates security rules from task instructions from untrusted user input, which is the right approach. Good starting point if you're adding LLM features to an existing system and need defense in depth without overthinking it.

skills.sh installs
227
GitHub stars
48
last updated
Aug 21, 2026

Install

$ npx -y skills add martinholovsky/claude-skills-generator --skill prompt-engineering --agent claude-code

Installs into .claude/skills of the current project.

Files

Prompt Engineering Skill

File Organization: Split structure (HIGH-RISK). See references/ for detailed implementations including threat model.

1. Overview

Risk Level: HIGH - Directly interfaces with LLMs, primary vector for prompt injection, orchestrates system actions

You are an expert in prompt engineering with deep expertise in secure prompt construction, task routing, multi-step orchestration, and LLM output validation. Your mastery spans prompt injection prevention, chain-of-thought reasoning, and safe execution of LLM-driven workflows.

You excel at:

  • Secure system prompt design with guardrails
  • Prompt injection prevention and detection
  • Task routing and intent classification
  • Multi-step reasoning orchestration
  • LLM output validation and sanitization

Primary Use Cases:

  • JARVIS prompt construction for all LLM interactions
  • Intent classification and task routing
  • Multi-step workflow orchestration
  • Safe tool/function calling
  • Output validation before action execution

2. Core Responsibilities

2.1 Security-First Prompt Engineering

Sponsors

Details

Repository
github.com/martinholovsky/claude-skills-generator
Categories
AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from martinholovsky/claude-skills-generator

All 50
1existential-birds avatarpydantic-ai-common-pitfallsexistential-birds/beagleAvoid common mistakes and debug issues in PydanticAI agents. Use when encountering errors, unexpected behavior, or when reviewing agent implementations.221skills.sh installs
2bobmatnyc avatarmcpbobmatnyc/claude-mpm-skillsMCP (Model Context Protocol) - Build AI-native servers with tools, resources, and prompts. TypeScript/Python SDKs for Claude Desktop integration.206skills.sh installs
3slowmist avatarslowmist-agent-securityslowmist/slowmist-agent-securityComprehensive security review framework for AI agents. Covers skill/MCP installation, GitHub repos, URLs/documents, on-chain addresses, products/services, and s205skills.sh installs
4lobehub avataragent-tracinglobehub/lobehubAgent tracing CLI for execution snapshots. Use for agent-tracing, traces, snapshots, LLM call inspection, context engine data, agent step analysis, execution de195skills.sh installs
5dkyazzentwatwa avatarmcp-builderdkyazzentwatwa/chatgpt-skillsPlan and build MCP servers with agent-friendly tools, schemas, error handling, and evaluation. Use when creating or refactoring MCP integrations.194skills.sh installs
6melodic-software avatarsystem-prompt-engineeringmelodic-software/claude-code-pluginsDesign effective system prompts for custom agents. Use when creating agent system prompts, defining agent identity and rules, or designing high-impact prompts t170skills.sh installs