Skill tester

From seaworld008/Commonly-used-high-value-skills · View interactive version

Skill tester is an AI agent skill from the GitHub repository seaworld008/Commonly-used-high-value-skills. Validate skill structure, bundled scripts and expected outputs against the target repository and agent host requirements.

How to use this skill

Skill file

Skill Tester


Name: skill-tester

Tier: POWERFUL

Category: Engineering Quality Assurance

Dependencies: Python; PyYAML for the validator and quality scorer

Author: Claude Skills Engineering Team

Version: 1.0.0

Last Updated: 2026-02-16


Description

The Skill Tester is a comprehensive meta-skill designed to validate, test, and score the quality of skills within the claude-skills ecosystem. This powerful quality assurance tool ensures that all skills meet the rigorous standards required for BASIC, STANDARD, and POWERFUL tier classifications through automated validation, testing, and scoring mechanisms.

As the gatekeeping system for skill quality, this meta-skill provides three core capabilities:

  1. Structure Validation - Ensures skills conform to required directory structures, file formats, and documentation standards
  2. Script Testing - Validates Python scripts for syntax, imports, functionality, and output format compliance
  3. Quality Scoring - Provides comprehensive quality assessment across multiple dimensions with letter grades and improvement recommendations

This skill is essential for maintaining ecosystem consistency, enabling automated CI/CD integration, and supporting both manual and automated quality assurance workflows. It serves as the foundation for pre-commit hooks, pull request validation, and continuous integration processes that maintain the high-quality standards of the claude-skills repository.

Use the target repository's validators first. The bundled scoring scripts implement a legacy rubric; run that rubric only when requested, and do not treat its tier scores as Codex or Claude model performance.

Core Features

Comprehensive Skill Validation

Advanced Script Testing

Multi-Dimensional Quality Scoring

Legacy Tier Classification Example

The following tiers describe the original toolkit. Use the target repository's current quality contract for acceptance; these examples do not require adding scripts or padding entries in instruction-only skills:

BASIC Tier Requirements
STANDARD Tier Requirements
POWERFUL Tier Requirements

Architecture & Design

Modular Design Philosophy

The skill-tester follows a modular architecture where each component serves a specific validation purpose:

Standards Enforcement

All validation is performed against well-defined standards documented in the references/ directory:

Integration Capabilities

Designed for seamless integration into existing development workflows:

Implementation Details

Function signatures and report layouts in this overview are conceptual; use the

actual class methods and CLI declarations when integrating the bundled tools.

skill_validator.py Core Functions

# Conceptual validation stages (not callable helper API signatures)
validate_skill_structure() -> ValidationReport
check_skill_md_compliance() -> DocumentationReport  
validate_python_scripts() -> ScriptReport
generate_compliance_score() -> float

Key validation checks include:

script_tester.py Testing Framework

# Conceptual testing stages (not callable helper API signatures)
syntax_validation() -> SyntaxReport
import_validation() -> ImportReport
runtime_testing() -> RuntimeReport
output_format_validation() -> OutputReport

Testing capabilities encompass:

as failures and missing required inputs as not executed / not applicable;

never turn those markers into a functional pass

quality_scorer.py Scoring System

# Conceptual scoring dimensions (not callable helper API signatures)
score_documentation() -> float  # 25% weight
score_code_quality() -> float   # 25% weight
score_completeness() -> float   # 25% weight
score_usability() -> float      # 25% weight
calculate_overall_grade() -> str # A-F grade

Scoring dimensions include:

Usage Scenarios

The following repository examples run from its root. For a skill installed

elsewhere, resolve each helper from the loaded skill directory instead.

Development Workflow Integration

# Pre-commit hook validation
python skills/developer-engineering/skill-tester/scripts/skill_validator.py path/to/skill --tier POWERFUL --json

# Runtime probes: only after code review and explicit selection in host isolation
python skills/developer-engineering/skill-tester/scripts/script_tester.py path/to/skill --timeout 30 --json

# Quality assessment and scoring
python skills/developer-engineering/skill-tester/scripts/quality_scorer.py path/to/skill --detailed

CI/CD Pipeline Integration

# GitHub Actions workflow example
- name: Validate Skill Quality
  run: |
    python skills/developer-engineering/skill-tester/scripts/skill_validator.py skills/developer-engineering/${{ matrix.skill }} --json | tee validation.json
    # Runtime probes require separately selected host isolation and code review.
    python skills/developer-engineering/skill-tester/scripts/quality_scorer.py skills/developer-engineering/${{ matrix.skill }} --json | tee scoring.json

Batch Repository Analysis

# Validate all skills in repository
for entry in skills/developer-engineering/*/SKILL.md; do
  [ -f "$entry" ] || continue
  python skills/developer-engineering/skill-tester/scripts/skill_validator.py "$(dirname "$entry")" --json
done

# Generate repository quality report
for entry in skills/developer-engineering/*/SKILL.md; do
  [ -f "$entry" ] || continue
  python skills/developer-engineering/skill-tester/scripts/quality_scorer.py "$(dirname "$entry")" --json
done
# Each invocation emits one JSON object; collect separately or parse as a stream.

Output Formats & Reporting

Dual Output Support

All tools provide both human-readable and machine-parseable output:

The layouts below illustrate reporting concepts, not the current tools' exact

output schema. Inspect actual --json output before integrating a consumer.

Human-Readable Format
=== SKILL VALIDATION REPORT ===
Skill: skills/developer-engineering/example-skill
Tier: STANDARD
Overall Score: 85/100 (B)

Structure Validation: ✓ PASS
├─ SKILL.md: ✓ EXISTS (247 lines)
├─ README.md: ✓ EXISTS  
├─ scripts/: ✓ EXISTS (2 files)
└─ references/: ⚠ MISSING (recommended)

Documentation Quality: 22/25 (88%)
Code Quality: 20/25 (80%)
Completeness: 18/25 (72%)
Usability: 21/25 (84%)

Recommendations:
• Add references/ directory with documentation
• Improve error handling in main.py
• Include more comprehensive examples
JSON Format
{
  "skill_path": "skills/developer-engineering/example-skill",
  "timestamp": "2026-02-16T16:41:00Z",
  "validation_results": {
    "structure_compliance": {
      "score": 0.95,
      "checks": {
        "skill_md_exists": true,
        "readme_exists": true,
        "scripts_directory": true,
        "references_directory": false
      }
    },
    "overall_score": 85,
    "letter_grade": "B",
    "tier_recommendation": "STANDARD",
    "improvement_suggestions": [
      "Add references/ directory",
      "Improve error handling",
      "Include comprehensive examples"
    ]
  }
}

Quality Assurance Standards

Code Quality Requirements

Testing Standards

Documentation Standards

Integration Examples

Pre-Commit Hook Setup

#!/bin/bash
# .git/hooks/pre-commit
echo "Running skill validation..."
python skills/developer-engineering/skill-tester/scripts/skill_validator.py skills/developer-engineering/new-skill --tier STANDARD
if [ $? -ne 0 ]; then
    echo "Skill validation failed. Commit blocked."
    exit 1
fi
echo "Validation passed. Proceeding with commit."

GitHub Actions Workflow

name: Skill Quality Gate
on:
  pull_request:
    paths: ['skills/developer-engineering/**']

jobs:
  validate-skills:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version: '3.11'
      - name: Validate Changed Skills
        run: |
          changed_skills=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep -E '^skills/developer-engineering/[^/]+/' | cut -d'/' -f1-3 | sort -u)
          for skill in $changed_skills; do
            echo "Validating $skill..."
            python skills/developer-engineering/skill-tester/scripts/skill_validator.py $skill --json
            # Select runtime probes separately after review in host isolation.
            python skills/developer-engineering/skill-tester/scripts/quality_scorer.py $skill --minimum-score 75
          done

Continuous Quality Monitoring

#!/bin/bash
# Daily quality report generation
echo "Generating daily skill quality report..."
timestamp=$(date +"%Y-%m-%d")
for entry in skills/developer-engineering/*/SKILL.md; do
  [ -f "$entry" ] || continue
  skill=$(dirname "$entry")
  python skills/developer-engineering/skill-tester/scripts/quality_scorer.py "$skill" --json > "reports/$(basename "$skill")_${timestamp}.json"
done
# Compare stored reports with project tooling; no trend analyzer is bundled.

Performance & Scalability

Execution Performance

Scalability Considerations

Security & Safety

Runtime Boundary

The tester provides a timeout, not an OS sandbox, network isolation, CPU limit

or memory limit. It executes reviewed scripts in their original directory with

the host's permissions. Review code before choosing runtime probes, and select

runtime only in an environment the host has already isolated for this task.

For untrusted code or unavailable isolation, use read-only AST/source checks and

record runtime validation as not run. A timeout does not prove descendants exit.

Evidence Acceptance

Verify exit status, required-input contract and actual stdout/stderr separately.

An exception is a failure even if basic_execution says success for exit 1/2.

Missing required inputs are not a functional run. Source occurrences of json

or a successful help command do not prove the output schema. Keep logs redacted

and preserve the target repository's acceptance rules.

Troubleshooting & Support

Common Issues & Solutions

Validation Failures
Script Testing Problems
Quality Scoring Discrepancies

Debugging Support

Future Enhancements

Planned Features

Integration Roadmap

Conclusion

The Skill Tester represents a critical infrastructure component for maintaining the high-quality standards of the claude-skills ecosystem. By providing comprehensive validation, testing, and scoring capabilities, it ensures that all skills meet or exceed the rigorous requirements for their respective tiers.

This meta-skill not only serves as a quality gate but also as a development tool that guides skill authors toward best practices and helps maintain consistency across the entire repository. Through its integration capabilities and comprehensive reporting, it enables both manual and automated quality assurance workflows that scale with the growing claude-skills ecosystem.

The combination of structural validation, runtime testing, and multi-dimensional quality scoring provides unparalleled visibility into skill quality while maintaining the flexibility needed for diverse skill types and complexity levels. As the claude-skills repository continues to grow, the Skill Tester will remain the cornerstone of quality assurance and ecosystem integrity.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.