Skip to content

GeoGeekLab/nature-reviewer-skills / nature-materials-science-reviewer-skill

nature-materials-science-reviewer

Verified

Nature-style materials science manuscript reviewer skill for testing materials design, synthesis, processing, structure-property, mechanism, stability, scalability, computational prediction and application claims against materials evidence chains.

tests/test_package.py

View on GitHub
from pathlib import Path

from nature_reviewer_core.patterns import load_patterns
from nature_reviewer_core.retrieval import search_patterns
from nature_reviewer_core.validation import validate_skill

ROOT = Path(__file__).resolve().parents[1]


def test_package_validates() -> None:
    report = validate_skill(ROOT)
    assert report.ok, report.errors
    assert report.pattern_count >= 20


def test_database_search_returns_revision_direction() -> None:
    results = search_patterns(load_patterns(ROOT), "validation uncertainty mechanism", limit=3)
    assert results
    assert all(item.pattern.revision_direction for item in results)
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall