Skip to content
Back to skills

Guardian Secure Prompt

ASecurity

Use when the user is about to implement a coding task and wants Apiiro security requirements added to it (\"make this prompt more secure\", \"what security should I consider\"). Full STRIDE report on a design: guardian-threat-model.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
securitybashgitapisecurity

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add apiiro/marketplace --skill guardian-secure-prompt --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Guardian Secure Prompt?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Guardian Secure Prompt
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/apiiro-guardian-secure-prompt/badge)](https://www.skillsdirectory.com/skills/apiiro-guardian-secure-prompt)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: guardian-secure-prompt
description: "Use when the user is about to implement a coding task and wants Apiiro security requirements added to it (\"make this prompt more secure\", \"what security should I consider\"). Full STRIDE report on a design: guardian-threat-model."
---

# Apiiro Secure Prompt

Takes a coding task and returns it with security requirements injected. The enhanced prompt preserves the original business intent while adding targeted security considerations based on the repository context.

This is different from `apiiro threat-model` — secure-prompt enhances a task you're about to code, while threat-model produces a standalone STRIDE analysis report.

## Usage

Auto-detects the current git repository for context.

```bash
apiiro guardian secure-prompt "implement user authentication with JWT"
apiiro guardian secure-prompt "add file upload endpoint"
apiiro guardian secure-prompt "build payment processing module" -o json
apiiro guardian secure-prompt "create REST API" --global       # Without repo context
apiiro guardian secure-prompt "implement OAuth flow" -f enhanced.txt
apiiro guardian secure-prompt "build payment module" --force   # Bypass classifier gate
```

Options: `-g, --global`, `--force` (bypass classifier gate), `-o, --output <json|text>` (default: text), `-f, --file <path>`.

Text output returns the original prompt followed by the security requirements (or the prompt unchanged when there's nothing to add). JSON output includes `success`, `enrichment`, `gate_decision`, and `error` fields.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.