Agent skill

sketch-security-guardrails

Security and privacy guardrails for Sketch Magic. Use when handling API keys, logs, uploads, telemetry, or when debugging errors to avoid leaking secrets or user images.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/sketch-security-guardrails

SKILL.md

Sketch Security Guardrails

Overview

Provide safe handling rules for keys, logs, and user uploads while debugging or adding telemetry.

Workflow

  1. Never log secrets: API keys, bearer tokens, or auth headers.
  2. Never log raw images: no base64 image bytes or file payloads.
  3. Avoid full prompts: log only prompt length or hash.
  4. Telemetry minimalism: only metadata (duration, provider, error code).
  5. Review logs before sharing: scrub console output in proof videos or screenshots.

Safe Debug Patterns

  • Log error codes instead of full stack traces when user-visible.
  • Use sample files or stubbed requests for proof videos.
  • Keep logs off by default unless ENABLE_TELEMETRY=true.

References

  • references/security-guardrails.md

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results