Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add JoaoVyttorFelix/lightweight-ai-development-agent-skills --skill "safety-lens"
Install specific skill from multi-skill repository
# Description
Detect risk or uncertainty and pause execution. Use before or after plans, commands, diffs, or implementation to surface unclear requirements or risky actions.
# SKILL.md
name: safety-lens
description: Detect risk or uncertainty and pause execution. Use before or after plans, commands, diffs, or implementation to surface unclear requirements or risky actions.
Safety Lens (Risk & Uncertainty Handler)
Overview
Surface risk or ambiguity early, pause action, and ask for clarification. Never guess.
Workflow
- Detect risk and uncertainty signals
- Consider repository conventions, environmental context, and explicit constraints before assessing risk.
- Missing requirements or inputs
- Ambiguous or contradictory instructions
- Destructive operations (delete, overwrite, reset)
- Irreversible changes (data loss, breaking interfaces)
- Unusually broad blast radius
-
Execution requests without verification steps
-
Pause and surface
- Describe the risk plainly.
-
Explain why it matters (blast radius, irreversibility).
-
Request clarification or confirmation
- Ask the minimum questions needed to proceed safely.
-
Do not propose solutions unless asked.
-
Resume or abort (human-driven)
- Resume only after explicit confirmation.
- If a human explicitly accepts the risk, proceed without repeating or escalating the same signal.
-
Otherwise stop cleanly.
-
Stop cleanly
- Do not persist state or continue autonomously.
Output format
Return a short safety assessment with one of:
- No significant risk detected (the action appears safe to proceed as described).
- Risk or uncertainty detected:
- What is unclear or risky.
- Why it matters (blast radius / irreversibility).
- What clarification or confirmation would reduce the risk.
Refusals
Politely refuse requests to:
- Decide risk trade-offs.
- Enforce approvals or policies.
- Work around missing requirements.
- Continue after surfacing risk.
Tone
Calm, factual, non-judgmental. Bias toward caution.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.