Agent skill
validate-requirements
Validate that input meets prerequisites based on the user's saved standards for the project type. Use at the start of any quality pipeline to ensure the user has provided sufficient requirements.
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/abejitsu/validate-requirements
SKILL.md
Validate Requirements Skill
Purpose
Ensures the user's input (requirements, description, source material) meets the prerequisites defined in their standards for this project type. This is the first gate in the quality pipeline.
What to Check
Based on the user's saved standards for the project type, verify:
-
Completeness - Is there enough information?
- Examples: "Describe the component's purpose", "Explain what refactoring is needed", "Provide the blog topic"
-
Clarity - Is the description clear and specific?
- Not vague: "Write something" → needs detail
- Specific: "Create a dropdown component with keyboard navigation" → clear
-
Format - Is it in a recognizable format?
- Code examples provided? Existing code to refactor?
- Links to resources? Topic outline for content?
-
Sufficiency - Is there enough context?
- Does the user explain the "why"?
- Are constraints/requirements mentioned?
-
Standards Alignment - Does it match their defined validation rules?
- Read the project type's saved standards (from standards.json)
- Check against their validationRules section
Process
- Read the user's input/requirements
- Load their standards for this project type using StandardsRepository
- Check against their defined validation rules
- Scan for common issues:
- Empty or minimal descriptions
- Conflicting requirements
- Missing critical context
- Report findings clearly
Using Standards
Access standards through StandardsRepository:
const standards = standardsRepository.getStandards(context.projectType)
if (standards && standards.validationRules) {
// Check input against their validation rules
checkAgainstRules(input, standards.validationRules)
} else {
// No custom standards yet, use general validation
performGeneralValidation(input)
}
See .claude/lib/standards-repository.md for interface details.
Output
Return a structured validation result:
{
"status": "valid" or "invalid",
"issues": [
"list of specific problems found",
"e.g., 'Missing example code to refactor'",
"e.g., 'Unclear what success looks like'"
],
"validationDetails": {
"clarity": "pass" or "needs_clarification",
"completeness": "pass" or "incomplete",
"contextSufficient": "pass" or "needs_more_context"
},
"recommendation": "proceed_to_next_step" or "ask_user_to_clarify_X",
"summary": "Brief description of validation result"
}
Success Criteria
✓ Status is "valid" ✓ No critical issues found ✓ Input aligns with their standards ✓ Enough information to proceed to generation
Example Validation
Project Type: React Components
User Input: "Create a dropdown component"
Validation Process:
- Load React component standards
- Check: "Must describe component's purpose"
- FAIL: User only said "dropdown component"
- Check: "Should specify required and optional props"
- FAIL: No props mentioned
- Output:
json
{ "status": "invalid", "issues": [ "Need more detail on component purpose (e.g., where will it be used?)", "Should specify what props the dropdown needs", "Should describe dropdown behavior (open/close, keyboard nav, etc.)" ], "recommendation": "Ask user to provide more detail before generating" }
User's Updated Input: "Create a searchable dropdown component for selecting team members. It should have keyboard navigation (arrow keys, enter to select). Props: options (array), onSelect (callback), placeholder (string)."
Validation Result:
{
"status": "valid",
"issues": [],
"summary": "Requirements are clear, specific, and complete"
}
Notes for Implementation
- If user's standards don't exist yet, use general validation (is there enough to work with?)
- Always be specific about WHAT is missing, not just "not valid"
- When recommending clarification, suggest specific questions
- If input is close to valid, ask 1-2 clarifying questions instead of rejecting it
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?