Token导航 LogoToken导航

Agent Skill · 开发

validation(validation 搜索)

validation 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

validation 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 17,869。

总安装 374周安装 15GitHub Stars 21下载 121核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:validation(validation 搜索)
来源仓库:https://github.com/matteocervelli/llms
仓库路径:skills/validation
安装命令:
npx skills add https://github.com/matteocervelli/llms --skill validation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/matteocervelli/llms --skill validation

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

validation 处理 GitHub 仓库、Issue、Pull Request 等协作信息,支持代码变更跟踪与整理。适用于围绕项目状态、代码审查或协作事项进行信息梳理的场景。通过 GitHub 安装,使用 npx skills add 命令添加指定仓库的技能模块。

建议确认权限范围和维护状态,避免触发不必要的联网、命令执行或文件读写操作。validation 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/validation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/matteocervelli/llms --skill validation;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

validation 怎么安装?

在终端执行 npx skills add https://github.com/matteocervelli/llms --skill validation。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

validation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

validation 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

validation 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

validation 用的人多吗?

公开数据是累计安装 374 次,近一周安装 15 次,下载 121 次,GitHub 21 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

validation 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
validation

validation 搜索 · 本页

37421接触敏感数据MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Feature Validation Skill

Purpose

This skill provides systematic validation of implemented features, ensuring code quality, test coverage, performance, security, and requirement fulfillment before marking work complete.

When to Use

  • After implementation and testing are complete
  • Before creating pull request
  • Before marking feature as done
  • When verifying all acceptance criteria met
  • Final quality gate before deployment

Validation Workflow

1. Code Quality Validation

Run Quality Checks:

# Format check (Black)
black --check src/ tests/

# Type checking (mypy)
mypy src/

# Linting (flake8, if configured)
flake8 src/ tests/

# All checks together
make lint  # If Makefile configured

Quality Checklist: Refer to quality-checklist.md for comprehensive review

Key Quality Metrics:

  • All functions have type hints
  • All public functions have docstrings (Google style)
  • No files exceed 500 lines
  • No lint errors or warnings
  • Code formatted with Black
  • Type checking passes with mypy
  • No code duplication (DRY principle)
  • Single responsibility principle followed

Automated Script:

# Use validation script
python scripts/run_checks.py --quality

Deliverable: Quality report with pass/fail


2. Test Coverage Validation

Run Tests with Coverage:

# Run all tests with coverage
pytest --cov=src --cov-report=html --cov-report=term-missing

# Check coverage threshold
pytest --cov=src --cov-fail-under=80

# View HTML coverage report
open htmlcov/index.html

Coverage Checklist:

  • Overall coverage ≥ 80%
  • Core business logic ≥ 90%
  • Utilities and helpers ≥ 85%
  • No critical paths untested
  • All branches covered
  • Edge cases tested
  • Error conditions tested

Identify Coverage Gaps:

# Show untested lines
pytest --cov=src --cov-report=term-missing

# Generate detailed HTML report
pytest --cov=src --cov-report=html

Deliverable: Coverage report with gaps identified


3. Test Quality Validation

Review Test Suite:

  • All tests passing
  • No skipped tests (without justification)
  • No flaky tests (intermittent failures)
  • Tests run quickly (unit tests < 1 min)
  • Tests are independent (no order dependency)
  • Tests clean up after themselves
  • Mock external dependencies properly
  • Test names are clear and descriptive

Run Tests Multiple Times:

# Run tests 10 times to check for flaky tests
for i in {1..10}; do pytest || break; done

# Run in random order
pytest --random-order

Test Markers:

# Verify no slow tests in unit tests
pytest tests/unit/ -m "not slow"

# Run integration tests separately
pytest tests/integration/

Deliverable: Test quality assessment


4. Performance Validation

Performance Checklist: Refer to performance-benchmarks.md for target metrics

Key Performance Metrics:

  • Response time < target (e.g., < 200ms for p95)
  • Throughput meets requirements (e.g., 1000 req/s)
  • Memory usage within bounds (e.g., < 100MB)
  • CPU usage reasonable (e.g., < 50%)
  • No memory leaks detected
  • Database queries optimized (< 5 queries per operation)

Performance Testing:

# Run performance tests
pytest tests/performance/ -v

# Profile code
python -m cProfile -o profile.stats script.py
python -m pstats profile.stats

# Memory profiling
python -m memory_profiler script.py

Benchmark Against Requirements:

# Example performance test
def test_performance_requirement():
    """Verify operation meets performance requirement."""
    start = time.time()
    result = expensive_operation()
    duration = time.time() - start

    assert duration < 1.0, f"Took {duration}s, required < 1.0s"

Deliverable: Performance report with metrics


5. Security Validation

Security Checklist Review: Review security-checklist.md from analysis phase and verify:

Input Validation:

  • All user inputs validated and sanitized
  • SQL injection prevented (parameterized queries)
  • Command injection prevented (no shell=True with user input)
  • Path traversal prevented (sanitized file paths)
  • XSS prevented (escaped output)

Authentication & Authorization:

  • Authentication required for protected endpoints
  • Authorization checks at every access point
  • Session management secure
  • Credentials not hardcoded

Data Protection:

  • Sensitive data encrypted in transit
  • Sensitive data encrypted at rest (if applicable)
  • PII handling compliant
  • Secrets in environment variables (not code)
  • Error messages don't leak sensitive info

Dependency Security:

# Check for vulnerable dependencies
pip-audit

# Or use safety
safety check --json

# Check for outdated dependencies
pip list --outdated

Deliverable: Security validation report


6. Requirements Validation

Verify Acceptance Criteria: Review original requirements from analysis phase:

  • All functional requirements implemented
  • All acceptance criteria met
  • User stories fulfilled
  • Edge cases handled
  • Error scenarios handled

Manual Testing:

# Test CLI (if applicable)
python -m src.tools.feature.main --help
python -m src.tools.feature.main create --name test

# Test with sample data
python -m src.tools.feature.main --input samples/test.json

# Test error cases
python -m src.tools.feature.main --invalid-option

Regression Testing:

  • Existing functionality not broken
  • No breaking changes to public APIs
  • Backward compatibility maintained (if required)

Deliverable: Requirements validation checklist


7. Documentation Validation

Code Documentation:

  • All public functions have docstrings
  • Docstrings follow Google style
  • Complex logic has inline comments
  • Type hints present and accurate
  • README updated (if applicable)

Technical Documentation:

  • Architecture documented
  • API contracts documented
  • Configuration documented
  • Setup instructions complete
  • Known issues documented

User Documentation:

  • Usage guide written (if applicable)
  • Examples provided
  • Troubleshooting guide included
  • FAQ updated

CHANGELOG Update:

  • Changes documented in CHANGELOG.md
  • Version bumped appropriately
  • Breaking changes highlighted

Deliverable: Documentation review checklist


8. Integration Validation

Integration Testing:

# Run integration tests
pytest tests/integration/ -v

# Test with real dependencies (in test environment)
pytest tests/integration/ --no-mock

Integration Checklist:

  • Integrates correctly with existing code
  • No circular dependencies
  • Module imports work correctly
  • Configuration loads correctly
  • External services connect (if applicable)

End-to-End Testing:

# Test complete workflows
pytest tests/e2e/ -v

# Manual E2E testing
./scripts/manual_test.sh

Deliverable: Integration test report


9. Final Validation

Run Complete Validation Suite:

# Use automated validation script
python scripts/run_checks.py --all

# Or run individual checks
python scripts/run_checks.py --quality
python scripts/run_checks.py --tests
python scripts/run_checks.py --coverage
python scripts/run_checks.py --security

Pre-PR Checklist:

  • All quality checks passing
  • Test coverage ≥ 80%
  • All tests passing
  • Performance requirements met
  • Security validated
  • Requirements fulfilled
  • Documentation complete
  • Integration verified
  • No known critical bugs

Create Validation Report:

# Validation Report: [Feature Name]

## Quality ✅
- Black: PASS
- mypy: PASS
- flake8: PASS (0 errors, 0 warnings)

## Testing ✅
- Unit tests: 45 passed
- Integration tests: 12 passed
- Coverage: 87% (target: 80%)

## Performance ✅
- Response time (p95): 145ms (target: < 200ms)
- Throughput: 1200 req/s (target: 1000 req/s)
- Memory usage: 75MB (target: < 100MB)

## Security ✅
- No vulnerable dependencies
- Input validation: Complete
- Secrets management: Secure

## Requirements ✅
- All acceptance criteria met
- No regressions detected

## Documentation ✅
- Code documentation: Complete
- Technical docs: Complete
- CHANGELOG: Updated

## Status: READY FOR PR ✅

Deliverable: Final validation report


Quality Standards

Code Quality Metrics

Complexity:

  • Cyclomatic complexity < 10 per function
  • Max nesting depth: 4 levels

Maintainability:

  • Files < 500 lines
  • Functions < 50 lines
  • Classes < 300 lines

Documentation:

  • 100% public API documented
  • Docstring coverage ≥ 90%

Test Quality Metrics

Coverage:

  • Overall: ≥ 80%
  • Critical paths: 100%
  • Core logic: ≥ 90%

Test Quality:

  • No flaky tests
  • Unit tests < 1 minute total
  • Integration tests < 5 minutes total

Performance Benchmarks

Refer to performance-benchmarks.md for detailed criteria

Response Time:

  • p50: < 50ms
  • p95: < 200ms
  • p99: < 500ms

Resource Usage:

  • Memory: < 100MB
  • CPU: < 50% single core

Automated Validation Script

The scripts/run_checks.py script automates validation:

# Run all checks
python scripts/run_checks.py --all

# Run specific checks
python scripts/run_checks.py --quality
python scripts/run_checks.py --tests
python scripts/run_checks.py --coverage
python scripts/run_checks.py --security
python scripts/run_checks.py --performance

# Generate report
python scripts/run_checks.py --all --report validation-report.md

Supporting Resources

  • quality-checklist.md: Comprehensive code quality standards
  • performance-benchmarks.md: Performance criteria and targets
  • scripts/run_checks.py: Automated validation runner

Integration with Feature Implementation Flow

Input: Completed implementation with tests Process: Systematic validation against all criteria Output: Validation report + approval for PR Next Step: Create pull request or deploy


Validation Checklist Summary

Quality ✓

  • Code formatted (Black)
  • Type checked (mypy)
  • Linted (no errors/warnings)
  • Files < 500 lines
  • Functions documented
  • Quality checklist complete

Testing ✓

  • All tests passing
  • Coverage ≥ 80%
  • Core logic ≥ 90% coverage
  • No flaky tests
  • Tests run quickly

Performance ✓

  • Response time < target
  • Throughput meets requirements
  • Memory usage reasonable
  • No performance regressions

Security ✓

  • Input validation complete
  • No hardcoded secrets
  • Dependencies scanned
  • Security checklist complete

Requirements ✓

  • Acceptance criteria met
  • User stories fulfilled
  • Edge cases handled
  • No regressions

Documentation ✓

  • Code documented
  • Technical docs complete
  • User docs (if applicable)
  • CHANGELOG updated

Integration ✓

  • Integration tests passing
  • No breaking changes
  • Backward compatible

Final Approval ✓

  • All checklists complete
  • Validation report generated
  • Ready for pull request
  • Stakeholder approval (if required)

Sign-off

Feature: [Feature Name] Validated By: [Your Name] Date: [YYYY-MM-DD]

Status: ☐ Approved ☐ Needs Work

Notes: [Any additional notes or concerns]


What to Do If Validation Fails

Quality Issues:

  1. Fix formatting: black src/ tests/
  2. Fix type errors: Review mypy output
  3. Fix lint errors: Review flake8 output
  4. Refactor large files/functions

Coverage Issues:

  1. Identify untested code: pytest --cov-report=html
  2. Add missing tests
  3. Review edge cases
  4. Add error condition tests

Performance Issues:

  1. Profile code: python -m cProfile
  2. Optimize hot paths
  3. Add caching where appropriate
  4. Optimize database queries

Security Issues:

  1. Address vulnerabilities: pip-audit
  2. Review input validation
  3. Check secrets management
  4. Run security checklist again

Requirement Issues:

  1. Review acceptance criteria
  2. Implement missing functionality
  3. Test edge cases
  4. Verify with stakeholders

After Fixes:

  • Re-run validation
  • Update validation report
  • Verify all checks pass
  • Proceed to PR

平台分布

OpenCode

31.55%
按下载量换算38

Antigravity

23.4%
按下载量换算28

Claude Code

17.09%
按下载量换算21

Codex

13.81%
按下载量换算17

Gemini CLI

7.73%
按下载量换算9

github-copilot

3.69%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills