request-analyzer
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "request-analyzer":https://skillpi.com/zh/skills/deepskill-9d76fcf5514da64b5138784ec00a3bbf3c5e46955534e119a9d0cac1ccb1aaf4。安装前核对上游来源和版本:https://github.com/smallnest/goskills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在对话开始时主动分析用户请求以确定任务类型、评估提示质量,并智能推荐应激活的技能。对应所有用户请求执行此操作,评估提示的清晰度、具体性和完整性,并在需要时建议使用提示优化器;识别 UI 设计任务以激活 ui-analyzer,识别组件请求以激活 react-component-generator,充当智能技能协调器。
介绍来源: third_party · smallnest · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: request-analyzer
description: Proactively analyze user requests at the start of conversations to determine task type, assess prompt quality, and intelligently recommend which skills to activate. Should activate for ALL user requests to ensure optimal workflow. Evaluates clarity, specificity, and completeness to suggest prompt-optimizer when needed. Identifies UI design tasks for ui-analyzer and component requests for react-component-generator. Acts as intelligent skill coordinator.
allowed-tools: Read, Glob, Grep, SkillRequest Analyzer
This skill proactively analyzes user requests to determine the task type, assess prompt quality, and intelligently recommend which other skills should be activated to best serve the user's needs.
Purpose
Act as an intelligent coordinator that:
- Analyzes every user request systematically
- Assesses prompt quality (clarity, specificity, completeness)
- Identifies the task type and appropriate workflow
- Recommends activating specific skills when beneficial
- Ensures users get the best possible assistance
When to Use This Skill
This skill should activate for EVERY user request at the start of conversations to ensure optimal workflow orchestration.
Specifically activate when:
- A new conversation begins
- User submits a new request or question
- User asks for help with a task
- Any coding, design, or technical request is made
- User's intent needs clarification
Core Analysis Process
Step 1: Quick Assessment
Immediately evaluate the request on three dimensions:
Clarity (0-100%):
- Is the request unambiguous?
- Are terms clearly defined?
- Is there only one reasonable interpretation?
Specificity (0-100%):
- Is sufficient context provided?
- Are technical requirements specified?
- Is the scope well-defined?
Completeness (0-100%):
- Is all necessary information present?
- Are success criteria defined?
- Are constraints mentioned?
Step 2: Task Type Identification
Classify the request into one of these categories:
- Code Implementation - Creating new code
- Debugging/Fixing - Resolving bugs or errors
- Analysis/Review - Examining code or systems
- Design Implementation - Building UI from designs
- Refactoring - Improving existing code
- Explanation/Learning - Understanding concepts
- General Question - Non-technical queries
Reference references/skill-activation-guide.md for detailed classification criteria.
Step 3: Skill Recommendation
Based on assessment and task type, determine which skills would be beneficial:
Consider prompt-optimizer if:
- Clarity score < 60%
- Specificity score < 60%
- Completeness score < 60%
- Overall quality < 70%
- Critical information missing
- Multiple interpretations possible
Consider ui-analyzer if:
- User mentions: screenshot, design, mockup, Figma, image
- User provides or references an image file
- Request includes "implement this design"
- Task involves analyzing UI layout
Consider react-component-generator if:
- User requests creating React component
- Mentions: component, form, button, modal, card, list
- After ui-analyzer identifies components to build
- Clear component requirements are present
Step 4: Decision and Action
Make one of these decisions:
Option A: Recommend Optimization If prompt quality is low, explicitly suggest using prompt-optimizer:
"I notice your request could benefit from more clarity. Let me activate the
prompt-optimizer skill to help structure a more specific request."
Option B: Recommend Specific Skill If request is clear but matches a skill's domain:
"This looks like a UI design implementation task. I'll use the ui-analyzer
skill to systematically analyze the design and generate the code."
Option C: Proceed Directly If request is clear, complete, and doesn't need specialized skills:
"Your request is clear. I'll proceed with [task description]."
Option D: Ask for Clarification If critical information is missing and cannot be assumed:
"To help you effectively, I need to know: [specific questions]"
Analysis Workflow
For Every Request
- Read the request carefully
- Score on three dimensions (Clarity, Specificity, Completeness)
- Identify task type using the classification system
- Check skill activation criteria from the reference guide
- Make recommendation (optimize, activate skill, proceed, or clarify)
- Take action based on the decision
Detailed Steps
Step 1: Initial Read
- Understand user intent
- Note any attachments or references
- Consider conversational context
Step 2: Quality Scoring
Clarity Check:
- [ ] No vague language ("thing", "something", "stuff")?
- [ ] All terms defined?
- [ ] Single clear interpretation?
- [ ] Action verb present?
Specificity Check:
- [ ] Context provided?
- [ ] Technical specs mentioned (for code)?
- [ ] Scope defined?
- [ ] Examples given (if helpful)?
Completeness Check:
- [ ] All inputs provided?
- [ ] Success criteria stated?
- [ ] Constraints mentioned?
- [ ] Edge cases considered?
Step 3: Task Classification
Match against patterns in references/skill-activation-guide.md:
- Code Implementation patterns
- Debugging patterns
- Analysis patterns
- Design Implementation patterns
- Refactoring patterns
Step 4: Skill Matching
For each available skill, check if activation criteria are met:
prompt-optimizer:
- Quality score < 70%? → Consider
- Missing critical info? → Consider
- Vague language present? → Consider
- Multiple interpretations? → Consider
ui-analyzer:
- Screenshot/design mentioned? → Activate
- Image provided? → Activate
- "Implement design" request? → Activate
react-component-generator:
- React component requested? → Consider
- After prompt optimization? → Consider
- Clear component spec? → Activate
Step 5: Recommendation
Based on analysis, formulate recommendation:
- Which skill(s) to activate
- Why they're beneficial
- What to expect from them
Step 6: Execution
Either:
- Explicitly note the skill activation (for transparency)
- Seamlessly integrate skill usage
- Ask for user confirmation if uncertain
Output Formats
Format 1: Optimization Recommended (Low Quality Prompt)
## Request Analysis
I've analyzed your request and noticed it could benefit from more specificity.
**Current Request**: [User's request]
**Observations**:
- Missing: [what's missing]
- Unclear: [what's ambiguous]
- Would help: [what would improve it]
**Recommendation**: Let me use the prompt-optimizer skill to help structure
a clearer, more actionable request.
[Then activate prompt-optimizer]
Format 2: Skill Recommended (Good Prompt, Specific Domain)
## Request Analysis
Your request is clear and matches our ui-analyzer skill's capabilities.
**Task Type**: Design Implementation
**Recommended Approach**:
1. Use ui-analyzer to examine the screenshot
2. Extract design tokens and components
3. Generate React code with Tailwind CSS
Proceeding with UI analysis...
[Then activate ui-analyzer]
Format 3: Direct Execution (High Quality, No Special Skill Needed)
## Request Analysis
Your request is clear and complete. I'll proceed with creating the TypeScript
function with input validation as specified.
[Proceed with implementation]
Format 4: Clarification Needed
## Request Analysis
To help you effectively, I need some additional information:
1. [Question 1]
2. [Question 2]
3. [Question 3]
Once I have these details, I can [what you'll do].
Integration with Other Skills
With prompt-optimizer
When to Delegate:
- Quality scores indicate issues
- Request is vague or incomplete
- Multiple interpretations exist
- Critical information missing
How:
- Identify the quality issues
- Explain why optimization would help
- Mention activating prompt-optimizer
- Let prompt-optimizer take over
Example Flow:
User: "Make a form"
↓
request-analyzer: Detects low specificity
↓
request-analyzer: "This request needs more details. Activating prompt-optimizer..."
↓
prompt-optimizer: Analyzes and provides optimized version
↓
User: Confirms optimized version
↓
react-component-generator: Creates the well-specified form
With ui-analyzer
When to Delegate:
- Screenshot or design mentioned
- Image file provided
- Design implementation requested
How:
- Confirm it's a design implementation task
- Verify image is available or referenced
- Explain ui-analyzer will handle it
- Let ui-analyzer take over
Example Flow:
User: "Build this UI [screenshot attached]"
↓
request-analyzer: Detects design implementation task
↓
request-analyzer: "I'll use ui-analyzer to examine your design..."
↓
ui-analyzer: Analyzes screenshot and generates code
With react-component-generator
When to Delegate:
- React component requested
- Specifications are clear
- No design screenshot (verbal description)
How:
- Confirm component requirements are clear
- If not clear, use prompt-optimizer first
- Once clear, mention using react-component-generator
- Let it handle component creation
Example Flow:
User: "Create a React login form with email/password, validation, TypeScript"
↓
request-analyzer: Detects high-quality component request
↓
request-analyzer: "Clear component spec. Using react-component-generator..."
↓
react-component-generator: Creates the component
Decision Matrix
| Prompt Quality | Has Screenshot | Task Type | Action |
|---|---|---|---|
| Low (<70%) | No | Any | → prompt-optimizer |
| Low (<70%) | Yes | Design | → prompt-optimizer first, then ui-analyzer |
| High (>80%) | Yes | Design | → ui-analyzer |
| High (>80%) | No | Component | → react-component-generator |
| High (>80%) | No | General Code | → Proceed directly |
| Medium (70-80%) | No | Any | → Ask clarifying questions OR proceed |
Special Considerations
Conversational Context
If this is a follow-up in an ongoing conversation:
- Previous messages may provide missing context
- Don't over-analyze brief follow-ups
- "Now add validation" is fine after "Create a form"
- Consider the full conversation history
User Experience
Balance thoroughness with efficiency:
- Don't over-process simple, clear requests
- Avoid creating friction for experienced users
- Be helpful but not pedantic
- Transparent about why skills are beneficial
Confidence Levels
High Confidence (>90%) - Act decisively:
- Prompt clearly matches skill domain
- Quality issues are obvious
- Recommendation is unambiguous
Medium Confidence (60-90%) - Suggest and explain:
- Partial match to skill domain
- Some quality concerns
- Explain the benefit of using a skill
Low Confidence (<60%) - Ask or proceed cautiously:
- Unclear match
- No obvious quality issues
- Might not need special skills
Reference Usage
Consult references/skill-activation-guide.md for:
- Available Skills - Full list with activation criteria
- Request Type Classification - Detailed patterns
- Decision Tree - Visual workflow guide
- Multi-Skill Scenarios - Complex activation patterns
- Activation Confidence Levels - When to activate
- Common Patterns - Recognize typical requests
- Edge Cases - Handle special situations
Examples
Example 1: Vague Request
User: "Fix my code"
Analysis:
- Clarity: 20% (what code? what's wrong?)
- Specificity: 10% (no file, no error, no context)
- Completeness: 15% (no reproduction steps, no expected behavior)
- Overall: 15% → Very Low
Decision: Activate prompt-optimizer
Output:
"I notice your request needs more details to be actionable. Let me help
structure it using the prompt-optimizer skill.
Missing information:
- Which file or code section?
- What's the current behavior?
- What error messages appear?
- What should happen instead?
[Activating prompt-optimizer...]"
Example 2: UI Design Request
User: "Implement this login page design [screenshot]"
Analysis:
- Clarity: 85% (clear intent)
- Specificity: 80% (has design, mentions login page)
- Completeness: 75% (might need tech stack clarification)
- Task Type: Design Implementation
- Has Screenshot: Yes
Decision: Activate ui-analyzer (might clarify tech stack within workflow)
Output:
"I'll analyze your login page design and generate the React components.
Using the ui-analyzer skill to:
1. Examine the layout and components
2. Extract design tokens (colors, spacing, typography)
3. Generate React + TypeScript + Tailwind code
[Activating ui-analyzer...]"
Example 3: Clear Component Request
User: "Create a React Button component with TypeScript, supporting primary/
secondary/danger variants, sm/md/lg sizes, and Tailwind CSS styling"
Analysis:
- Clarity: 95% (very clear)
- Specificity: 95% (all tech specs present)
- Completeness: 90% (comprehensive requirements)
- Task Type: Code Implementation (React component)
- Overall: 93% → Excellent
Decision: Activate react-component-generator directly
Output:
"Excellent! Your component requirements are clear and complete. I'll use the
react-component-generator skill to create this button component.
[Activating react-component-generator...]"
Example 4: General Question
User: "What's the difference between useState and useReducer in React?"
Analysis:
- Clarity: 100% (perfectly clear)
- Task Type: Explanation/Learning
- No coding task
- No design implementation
Decision: Proceed directly (no special skill needed)
Output:
"Great question! Let me explain the differences between useState and useReducer..."
[Provide explanation directly - no skill activation needed]
Best Practices
- Be proactive but not intrusive - Help without creating friction
- Explain the value - Tell users why a skill will help
- Stay transparent - Mention which skills you're using and why
- Respect user time - Don't over-analyze trivial requests
- Learn from context - Consider conversation history
- Balance automation with judgment - Skills are tools, not rules
- Prioritize user success - The goal is better outcomes, not perfect process
Important Notes
- This skill is a coordinator, not a blocker
- High-quality prompts should flow smoothly without intervention
- Skills should enhance, not hinder, the user experience
- When in doubt, ask the user rather than making assumptions
- Transparency builds trust - explain your reasoning
- The ultimate goal is helping users succeed with their tasks
版本历史
-
v0.6.0
GitHub ↗
原版更新说明
## Changelog * 4fe14b8acdc01f40425ecbb1a64df4c4d46d6dca fix unittests * dead5e5f2cdacac4a26458593b24f08ffd1983cd improve runLoop with planning-with-files * eb4284854d0fd24ed73ebbc457c8f5c3ded41504 improve runLoop with planning-with-files * bec09b277ac593b1cc4d9aa96dbbb438cf1e079f fix skill path * 10f1a4b065025f431ca999cdea74842433c8630c update readme * 1f6192ff690c22bcb7ba4d1a66c0bdfd34ad1740 add --skill option * ad04fd22db2f4c519ed3b47ce51922bff221ff47 pump to v0.5.3 * 951d18d69c4ab0c5bbcde0e9456bf31ce2991525 support more github skills * c098cf02e4510c5bd9cf3321c776810cd628d910 add description for mcp server
-
v0.5.4
GitHub ↗
原版更新说明
## Changelog * 1f6192ff690c22bcb7ba4d1a66c0bdfd34ad1740 add --skill option
-
v0.5.3
GitHub ↗
原版更新说明
## Changelog * ad04fd22db2f4c519ed3b47ce51922bff221ff47 pump to v0.5.3
-
v0.5.2
GitHub ↗
原版更新说明
## Changelog * 951d18d69c4ab0c5bbcde0e9456bf31ce2991525 support more github skills * c098cf02e4510c5bd9cf3321c776810cd628d910 add description for mcp server * ea4a8879058da6a85c3efb15683291c8095ae908 improve goskills download
-
v0.5.1
GitHub ↗
原版更新说明
## Changelog * ea4a8879058da6a85c3efb15683291c8095ae908 improve goskills download * f184429c0259c71cdaa3b0dafb9c5289a01626ec update docuemnts * c2e9c480513c2db71d421b1172d446a39f9d8261 update docuemnts * 9879e90707e11045e577d515ac2126b350379a52 update docuemnts * 8413ff7ed27d99bd9d20b3959605a2b8f1421c29 add the command of 'goskills download'
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 作为智能技能协调器,显著提升平台整体工作效率
- 主动分析用户请求并推荐激活合适子 Skill,解决核心任务分发痛点
- 覆盖高频刚需场景,直接优化用户工作流程
亮点
- 触发条件覆盖全面,明确适用于所有用户请求
- 边界清晰,包含新对话、新请求等多种触发场景
- description 与 skill_body 触发描述一致且完整
待提升项
-
引用文件缺失 原报告严重程度:重大
SKILL.md 中多次引用 references/skill-activation-guide.md 文件,但该文件未在传入内容中提供
改进建议:请补充 references/skill-activation-guide.md 文件,或移除/内联相关引用内容
亮点
- 文档结构完整,包含清晰的分析流程和决策步骤
- 提供了详细的端到端示例和决策矩阵
- frontmatter 完整,章节划分合理
待提升项
-
引用文件缺失 原报告严重程度:重大
缺少 references/skill-activation-guide.md 文件,影响 Skill 的完整执行
改进建议:补充缺失的引用文件以确保执行流程完整
亮点
- 决策流程完整,覆盖多种场景和异常情况
- 有明确的出口条件和行动方案
- 逻辑清晰,可靠性良好
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
截图或屏幕采集
只采集明确选择的窗口或区域,避开密码、客户资料等敏感信息,分享前再次检查。
主文档提及 · 第 328 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。