skills/aeo-spec-validator/SKILL.md
Validate that tasks are sufficiently defined before execution. Returns score 0-100.
npx skillsauth add ivzc07/aeo-skills aeo-spec-validatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Purpose: Validate task specifications and score them 0-100 to ensure they're sufficiently defined before execution.
Invoke this skill when:
Objective Clarity (15 points):
Acceptance Criteria (15 points):
Context Provided (10 points):
Dependencies Identified (10 points):
Tech Stack Specified (10 points):
Test Requirements (10 points):
Performance/Security (10 points):
Scope (10 points):
Complexity (10 points):
Automatically detect and penalize these red flags:
Subjective Terms (-5 each):
Vague Verbs (-10 each):
Missing Constraints (-5 each):
Task: Add email validation to the signup form in /pages/auth/signup.tsx
Requirements:
- Validate using RFC 5322 format via validator.js library
- Reject email addresses with + aliases
- Show inline error message "Invalid email format" on blur
- Call POST /api/validate-email to check if already registered
- Tests: valid emails, invalid formats, + alias rejection, duplicates
Score Breakdown:
- Objective clarity: 15/15 (explicit)
- Acceptance criteria: 15/15 (specific, testable)
- Context: 10/10 (file location, existing utility)
- Dependencies: 10/10 (validator.js, API endpoint)
- Tech stack: 10/10 (validator.js named)
- Test requirements: 10/10 (specific test cases)
- Performance/security: 7/10 (missing perf req)
- Scope: 10/10 (single file)
- Complexity: 5/10 (integration but clear)
Total: 92/100 → PROCEED
Task: Improve the signup
Score Breakdown:
- Objective clarity: 5/15 (vague)
- Acceptance criteria: 0/15 (none)
- Context: 0/10 (none)
- Dependencies: 0/10 (none)
- Tech stack: 0/10 (none)
- Test requirements: 0/10 (none)
- Performance/security: 0/10 (none)
- Scope: 8/10 (assume small)
- Complexity: 5/10 (assume simple)
Ambiguity Penalties:
- "Improve" (vague verb): -10
- "signup" (subjective good?): 0
Total: 28/100 → REFUSE
Feedback:
❌ SPEC INSUFFICIENT (28/100)
Missing:
• Specific acceptance criteria
• What to improve about signup?
• Context (which signup flow?)
• Dependencies and tech stack
• Test requirements
Please provide:
1. What specific improvement is needed?
2. Acceptance criteria for "done"
3. Which signup form/page?
4. Any constraints or requirements
⚠️ SPEC HAS MINOR GAPS (68/100)
Assumptions:
• Using existing test framework
• Standard error handling
• No special performance requirements
Proceeding with these assumptions. Correct if wrong.
❌ SPEC NEEDS CLARIFICATION (45/100)
Missing Details:
• Which file(s) should be modified?
• What validation library to use?
• Acceptance criteria not specified
• No test requirements
Please clarify:
1. Where should this be implemented?
2. What tech stack/libraries?
3. What defines "done"?
❌ CANNOT PROCEED - SPEC TOO UNCLEAR (28/100)
This task is too vague. Please provide:
1. **Objective:** What exactly needs to be done?
2. **Acceptance Criteria:** How do we know it's done?
3. **Context:** Where/why is this needed?
4. **Dependencies:** What libraries/services?
Example of a good spec:
"Add email validation to /pages/auth/signup.tsx using validator.js.
Must validate RFC 5322 format, reject + aliases, show inline errors.
Tests for valid, invalid, and duplicate emails."
Show these examples if user asks for clarification:
[Task Name]
**Objective:** [Specific action to take]
**Location:** [File paths, components, modules]
**Requirements:**
- [Requirement 1]
- [Requirement 2]
**Dependencies:**
- Libraries: [list]
- Services: [list]
- APIs: [list]
**Acceptance Criteria:**
- [Criteria 1 - testable]
- [Criteria 2 - testable]
**Tests:**
- [Test case 1]
- [Test case 2]
**Constraints:**
- Performance: [requirements]
- Security: [requirements]
❌ "Make it faster" ✅ "Reduce API response time from 2s to <500ms by adding caching"
❌ "Fix the bug" ✅ "Fix null reference error in UserService.getUser() when user ID not found"
❌ "Add authentication" ✅ "Add JWT authentication to /api/* routes using bcrypt for password hashing"
development
Internal code reviewer with veto power. Reviews changes before commit, blocks security issues.
testing
--- name: aeo-failure-patterns description: Recognize common errors and apply known fixes automatically. Hybrid: core patterns + project-specific learning. --- # AEO Failure Patterns **Purpose:** Recognize common errors and apply known fixes automatically. Uses hybrid architecture: core curated patterns + project-specific learned patterns. ## Architecture **Core Patterns (in this SKILL.md):** - 20-30 curated patterns with high-confidence fixes - Portable across projects - Confidence ≥ 0.85 →
testing
Human-AI interface for when to interrupt and involve humans. Presents clear options and records decisions.
development
Track token usage and enforce budget limits. Optional skill for cost-conscious projects.