validate-requirements
在生成前验证需求
糟糕的需求会导致糟糕的输出。此技能在工作开始前检查用户输入的完整性、清晰度和标准符合性。它作为质量管道的第一个关卡。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“validate-requirements”。 Create a dropdown component
预期结果:
- Status: Invalid
- Issues found:
- - Missing component purpose (where will it be used?)
- - No props specified
- - No behavior details (keyboard nav, open/close, etc.)
- Recommendation: Ask user to provide more detail before generating
正在使用“validate-requirements”。 Write a blog post about AI
预期结果:
- Status: Invalid
- Issues found:
- - No specific AI topic mentioned
- - Target audience not specified
- - Required length not indicated
- - No key points to cover
正在使用“validate-requirements”。 Create a REST API for user management with JWT authentication, POST and GET endpoints, input validation, and error handling
预期结果:
- Status: Valid
- Issues: None
- Summary: Requirements are clear, specific, and complete
安全审计
安全Pure documentation skill with no executable code. Contains only markdown documentation defining how an AI should validate user input requirements. All 26 static findings are false positives: markdown code fences were misidentified as shell backticks, variable names with 'Rules' were flagged as crypto algorithms, and the GitHub source URL was flagged as hardcoded network address. Previous audit correctly classified this as safe with no dangerous patterns.
风险因素
🌐 网络访问 (1)
📁 文件系统访问 (1)
质量评分
你能构建什么
验证功能请求
确保用户故事和功能请求包含足够的细节,供开发团队执行。
检查代码生成提示
在代码生成开始前验证提示是否包含必要的上下文、约束和示例。
验证内容提要
确认内容请求在开始写作前包含主题、目标受众、格式和要点。
试试这些提示
使用验证需求检查我的输入是否有足够的信息可以继续。报告任何缺失的细节。
根据项目类型标准验证我的需求。告诉我需要添加或澄清什么。
检查我的代码请求是否包含:目的、输入、输出、约束和示例。建议缺失的内容。
审查我的内容提要的完整性:主题、目标受众、格式、长度和要涵盖的要点。
最佳实践
- 在任何质量管道的开始使用此技能以尽早发现问题
- 具体说明缺失的内容,而不仅仅是标记为无效
- 当输入接近有效时询问澄清问题
避免
- 当您认为需求很明显时跳过验证
- 接受像"修复这个"或"改进那个"这样的模糊输入
- 拒绝输入而不解释需要哪些具体信息