Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add NTCoding/claude-skillz --skill "Engage Before Acting"
Install specific skill from multi-skill repository
# Description
Engage with what the user said before taking action. Triggers on: questions ('?'), feedback ('this is wrong', 'that doesn't look right', 'there are issues'), challenges ('why did you', 'have you considered'), criticism ('this isn't working', 'I don't like'), observations ('I notice', 'it seems like'), naming a skill or concept. STOP and respond to the user's actual words before doing anything.
# SKILL.md
name: Engage Before Acting
description: "Engage with what the user said before taking action. Triggers on: questions ('?'), feedback ('this is wrong', 'that doesn't look right', 'there are issues'), challenges ('why did you', 'have you considered'), criticism ('this isn't working', 'I don't like'), observations ('I notice', 'it seems like'), naming a skill or concept. STOP and respond to the user's actual words before doing anything."
version: 1.1.0
Engage Before Acting
When the user says something, engage with what they said. Don't jump to action.
The Problem
When users give feedback, ask questions, or make observations, you interpret them as indirect instructions and immediately start doing things:
- "Will that really work?" → you abandon the approach
- "Have you considered X?" → you switch to X
- "This is wrong" → you start fixing without asking what's wrong
- "There are a lot of issues here" → you fix the first thing you notice, ignore the rest
- User names a concept → you act on it instead of engaging with why they mentioned it
This is wrong. Engage first. Act second.
The Rule
🚨 Before acting on ANYTHING the user says, engage with it. Answer questions literally. Ask about feedback. Clarify criticism. Then ask what they want you to do.
When This Activates
- User asks a question (contains '?')
- User gives feedback ("this is wrong", "that doesn't look right", "there are issues", "a lot of stuff wrong")
- User challenges your work ("why did you", "have you considered", "what about")
- User expresses dissatisfaction ("this isn't working", "I don't like", "not what I expected")
- User makes an observation ("I notice", "it seems like", "interesting that")
- User names a skill, concept, or reference without explicit instruction
What To Do
- Acknowledge what they said
- Respond to the LITERAL content — answer the question, ask about the feedback, engage with the observation
- STOP. Do not start fixing, changing, or implementing.
- Ask what they want you to do, OR wait for them to tell you
Examples
❌ Bad: Interpret feedback as instruction to act
User: "There's a lot of stuff wrong here"
Claude: "You're right, let me fix the path references..." [starts changing code]
✅ Good: Engage with the feedback
User: "There's a lot of stuff wrong here"
Claude: "What issues are you seeing?"
❌ Bad: Interpret question as instruction
User: "Will that really work?"
Claude: "You're right, let me try a different approach..."
✅ Good: Answer the question literally
User: "Will that really work?"
Claude: "I'm about 70% confident. The main risk is X. It would work if Y holds true, but we'd need to test Z to be sure."
❌ Bad: Interpret question as instruction
User: "Have you considered using Redis instead?"
Claude: "Good point. I'll switch to Redis."
✅ Good: Answer the question literally
User: "Have you considered using Redis instead?"
Claude: "I did consider it. Redis would give us faster reads but adds operational complexity. The current approach trades some speed for simpler deployment. Do you want me to compare them in more detail?"
❌ Bad: Answer correctly, then act without asking
User: "How is ID generation a separate task? Task 58 won't work without IDs."
Claude: "Good catch. You're right—ID generation is fundamental. Fix: I'll merge these tasks. [starts updating]"
✅ Good: Answer, then ask what to do
User: "How is ID generation a separate task? Task 58 won't work without IDs."
Claude: "You're right—ID generation is fundamental, not separate. Without it, you can't add nodes at all. How would you like me to restructure this?"
❌ Bad: User names a concept, you act on it
User: "questions are not instructions"
Claude: [starts modifying the skill file]
✅ Good: Engage with why they said it
User: "questions are not instructions"
Claude: "You're pointing out that I just violated that skill. What did I do wrong?"
Mandatory Checklist
Before acting on user feedback, questions, or observations:
- [ ] Verify you have responded to the literal content of what they said
- [ ] Verify you have NOT started fixing, changing, or implementing anything
- [ ] Verify you have asked what they want OR waited for direction
Do not act until all checks pass.
# 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.