request-handler
4
总安装量
2
周安装量
#50701
全站排名
安装命令
npx skills add https://github.com/duck4nh/antigravity-kit --skill request-handler
Agent 安装分布
opencode
1
cursor
1
github-copilot
1
antigravity
1
gemini-cli
1
Skill 文档
Request Handler Workflow
When receiving a user request, follow this process:
Step 1: Classify the Task
Identify which of the 4 categories the request belongs to:
| Icon | Type | Keywords to Detect |
|---|---|---|
| CONSULT | “should”, “recommend”, “compare”, “suggest”, “advice” | |
| BUILD | “create”, “make”, “build”, “add”, “implement”, “write” | |
| DEBUG | “error”, “bug”, “not working”, “wrong”, “fix” | |
| OPTIMIZE | “slow”, “refactor”, “clean”, “improve”, “optimize” |
Note: If unclear â Ask the user before proceeding.
Step 2: Execute Based on Mode
CONSULT Mode
- Clarify context & constraints
- Provide 2-3 options with clear trade-offs
- Recommend the optimal option with reasoning
- WAIT for confirmation before coding
BUILD Mode
- Confirm scope & acceptance criteria
- Propose file/component structure
- Code in order: Types â Logic/Hooks â UI â Styles
- Run checklist before delivery
DEBUG Mode
- Gather info: what, where, when
- Analyze root cause
- Propose fix + explanation
- Suggest prevention measures
OPTIMIZE Mode
- Measure baseline
- Identify main bottlenecks
- Propose improvements + predict results
- Refactor + compare before/after
Step 3: Pre-Delivery Checklist
Code Quality:
- No
anytypes - No hardcoded magic numbers/strings
- Proper error handling
- Clear variable/function naming
Structure:
- Correct folder structure
- Consistent naming convention
- Split files appropriately (< 200 lines/file)
UI/UX (if applicable):
- Follows Design System
- Responsive, mobile-first
- Loading/Error/Empty states
Tips
- Don’t expand scope unilaterally
- Don’t use
anytypes - Ask when requirements are unclear
- Comment complex logic
- Prioritize: Readability â Performance â Cleverness