技能 validate-requirements

validate-requirements

安全 🌐 网络访问📁 文件系统访问⚙️ 外部命令

在生成前验证需求

糟糕的需求会导致糟糕的输出。此技能在工作开始前检查用户输入的完整性、清晰度和标准符合性。它作为质量管道的第一个关卡。

支持: Claude Codex Code(CC)
📊 69 充足
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“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

安全审计

安全
v5 • 1/16/2026

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.

2
已扫描文件
314
分析行数
3
发现项
5
审计总数
审计者: claude 查看审计历史 →

质量评分

38
架构
100
可维护性
85
内容
22
社区
100
安全
91
规范符合性

你能构建什么

验证功能请求

确保用户故事和功能请求包含足够的细节,供开发团队执行。

检查代码生成提示

在代码生成开始前验证提示是否包含必要的上下文、约束和示例。

验证内容提要

确认内容请求在开始写作前包含主题、目标受众、格式和要点。

试试这些提示

基础验证
使用验证需求检查我的输入是否有足够的信息可以继续。报告任何缺失的细节。
项目特定
根据项目类型标准验证我的需求。告诉我需要添加或澄清什么。
代码请求
检查我的代码请求是否包含:目的、输入、输出、约束和示例。建议缺失的内容。
内容提要
审查我的内容提要的完整性:主题、目标受众、格式、长度和要涵盖的要点。

最佳实践

  • 在任何质量管道的开始使用此技能以尽早发现问题
  • 具体说明缺失的内容,而不仅仅是标记为无效
  • 当输入接近有效时询问澄清问题

避免

  • 当您认为需求很明显时跳过验证
  • 接受像"修复这个"或"改进那个"这样的模糊输入
  • 拒绝输入而不解释需要哪些具体信息

常见问题

支持哪些项目类型?
任何具有保存标准的项目类型。该技能检查 standards.json 中的验证规则。
如果没有标准会发生什么?
该技能执行一般性验证以确定是否有足够的信息可以继续。
我可以与其他技能集成吗?
是的。将其作为管道的第一步。它输出其他技能可以消费的结构化结果。
我的数据安全吗?
是的。此技能仅读取用户输入和标准文件。不向外部发送任何数据。
为什么我的输入被标记为无效?
验证结果包括具体问题。查看问题数组以了解缺失的内容。
这与常规提示有什么不同?
它使用您预定义的项目标准对所有请求强制执行一致的质量关卡。

开发者详情

文件结构

📄 SKILL.md