skill-grader
Evaluate skill test run outputs against expectations and extract implicit claims.
What this skill does
# Skill Grader
Evaluate skill test run outputs against expectations and extract implicit claims.
## Input Schema
```yaml
expectations: # List of verifiable statements
- "Output includes X"
- "Skill used script Y"
transcript_path: # Path to execution transcript
outputs_dir: # Directory containing output files
eval_prompt: # Original task prompt
```
## Grading Process
### Step 1: Read Context
```
TRANSCRIPT = Read(transcript_path)
OUTPUT_FILES = Glob(outputs_dir + "/**/*")
For each FILE in OUTPUT_FILES:
CONTENT[FILE] = Read(FILE)
```
Note: eval_prompt, execution steps, errors, final result.
### Step 2: Grade Expectations
For each EXPECTATION in expectations:
```
EVIDENCE = search TRANSCRIPT and CONTENT for EXPECTATION
If EVIDENCE confirms EXPECTATION genuinely (not superficially):
verdict = PASS
Else:
verdict = FAIL
```
**PASS criteria:**
- Clear evidence in transcript or outputs
- Evidence reflects genuine task completion, not surface compliance
- A correct filename with wrong content is FAIL, not PASS
**FAIL criteria:**
- No evidence found
- Evidence contradicts expectation
- Evidence is superficial (right format, wrong substance)
- Cannot be verified from available information
When uncertain: burden of proof is on the expectation to pass.
### Step 3: Extract Claims
Beyond predefined expectations, find implicit claims:
```
For each CLAIM in (TRANSCRIPT + CONTENT):
CLAIM.type = "factual" | "process" | "quality"
CLAIM.verified = verify(CLAIM, available_evidence)
CLAIM.evidence = supporting_or_contradicting_text
```
- Factual: "The form has 12 fields" — check against outputs
- Process: "Used pypdf to fill the form" — verify from transcript
- Quality: "All fields filled correctly" — evaluate if justified
Flag unverifiable claims.
### Step 4: Critique the Evals
After grading, assess whether the evals themselves could improve.
Only surface suggestions when there's a clear gap:
- Assertion that passed but would also pass for clearly wrong output
- Important outcome (good or bad) that no assertion covers
- Assertion that can't actually be verified from available outputs
Keep bar high. Flag things the eval author would say "good catch" about.
### Step 5: Write Results
```
Write(outputs_dir + "/../grading.json", RESULTS)
```
## Output Schema
```json
{
"expectations": [
{
"text": "The output includes X",
"passed": true,
"evidence": "Found in transcript Step 3: '...'"
}
],
"summary": {
"passed": 2,
"failed": 1,
"total": 3,
"pass_rate": 0.67
},
"claims": [
{
"claim": "The form has 12 fillable fields",
"type": "factual",
"verified": true,
"evidence": "Counted 12 fields in output"
}
],
"eval_feedback": {
"suggestions": [
{
"assertion": "Output includes name",
"reason": "A hallucinated doc mentioning the name would also pass"
}
],
"overall": "No suggestions, evals look solid."
}
}
```
**Field requirements:**
- expectations[].text, .passed, .evidence — all required (viewer depends on exact names)
- summary.pass_rate — float 0.0 to 1.0
- claims[] — optional but encouraged
- eval_feedback — include only when warranted; "No suggestions" is fine
## Error Handling
| Condition | Action |
|-----------|--------|
| Transcript not found | FAIL all expectations, note in evidence |
| Output files empty | FAIL expectations requiring output content |
| Binary files in outputs | Note as unreadable, skip content check |
| Malformed JSON in outputs | FAIL expectations about JSON structure |
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.