skillproof
Verify whether a candidate coding-agent skill helps in a specific repository on a specific task slice with acceptable risk. Use when an agent needs to compare baseline versus skill-enabled runs, score repo compatibility, inspect instruction and script risk, and leave behind auditable verification artifacts in `.skillproof/`.
- License 许可
- MIT
- 最近更新
- 2026-03-28
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- skillproof
- description
- Verify whether a candidate coding-agent skill helps in a specific repository on a specific task slice with acceptable risk. Use when an agent needs to compare baseline versus skill-enabled runs, score repo compatibility, inspect instruction and script risk, and leave behind auditable verification artifacts in `.skillproof/`.
02 资源文件 30
- 其他.gitignore44 B
- 参考文档agents/openai.yaml242 B
- 许可证LICENSE1.0 KB
- 参考文档PRD.md5.5 KB
- 参考文档README.md8.0 KB
- 参考文档references/artifact-contract.md1.4 KB
- 参考文档references/compatibility-model.md1019 B
- 参考文档references/risk-model.md1.3 KB
- 参考文档references/verification-method.md1.2 KB
- 脚本scripts/__init__.py34 B
- 脚本scripts/bootstrap_skillproof.py819 B
- 脚本scripts/install_skillproof.py2.9 KB
- 脚本scripts/run_skillproof.py1.5 KB
- 脚本scripts/skillproof_core.py28.9 KB
- 脚本tests/fixtures/helpers/fake_agent.py546 B
- 脚本tests/fixtures/helpers/validate_result.py477 B
- 脚本tests/fixtures/repos/python-fastapi-service/app/main.py46 B
- 其他tests/fixtures/repos/python-fastapi-service/pyproject.toml96 B
- 其他tests/fixtures/repos/ts-next-app/app/page.tsx66 B
- 参考文档tests/fixtures/repos/ts-next-app/package.json116 B
- 参考文档tests/fixtures/repos/ts-next-app/tsconfig.json50 B
- 参考文档tests/fixtures/snapshots/regression-report.json1.8 KB
- 参考文档tests/fixtures/snapshots/regression-report.md1.0 KB
- 参考文档tests/fixtures/snapshots/success-report.json1.8 KB
- 参考文档tests/fixtures/snapshots/success-report.md996 B
- 脚本tests/test_bootstrap_skillproof.py3.0 KB
- 脚本tests/test_compatibility_analysis.py1.8 KB
- 脚本tests/test_install_skillproof.py3.2 KB
- 脚本tests/test_risk_analysis.py2.1 KB
- 脚本tests/test_run_skillproof.py6.2 KB
03 SKILL.md 正文
SkillProof
Verify a candidate coding-agent skill before adopting it.
Default invocation:
Use
$skillproofto verify whether this candidate skill helps in this repo on these tasks with acceptable risk.
Inputs
SkillProof expects four concrete inputs:
- a candidate skill path or local reference
- a target repository
- a task suite
- a verification config
Use .skillproof/verification.yaml and .skillproof/tasks.yaml inside the target repo as the default contract.
Non-Negotiables
- Compare baseline and treatment fairly.
- Keep the same task slice, validators, and command envelope except for skill enablement.
- Prefer deterministic validation commands over judge-style scoring.
- Ground compatibility and risk claims in visible evidence.
- Use fresh temporary repo copies for execution so baseline and treatment start from the same source state.
- Leave auditable artifacts behind in
.skillproof/. - Do not describe the skill as universally good or bad. State where it helps, where it hurts, and where confidence is limited.
Operating Sequence
1. Parse the candidate skill
- Read
SKILL.md, metadata, scripts, and references as needed. - Summarize the skill's assumptions about language, framework, repo type, and task shape.
2. Profile the target repo
- Detect the repo's primary language and framework.
- Infer major task surfaces such as frontend, backend, CLI, library, or infra.
3. Normalize the verification inputs
- Load
.skillproof/verification.yaml. - Load
.skillproof/tasks.yaml. - Reject ambiguous or missing deterministic validation commands in v1.
4. Analyze risk
- Score shell execution, remote fetching, bundled scripts, broad writes, env or secret access, hidden external references, self-escalation, and misleading claims.
- Record evidence for every elevated signal.
- Load references/risk-model.md when classifying or explaining risk.
5. Analyze compatibility
- Compare skill assumptions to repo signals.
- Produce matched signals, mismatched signals, and a recommendation.
- Load references/compatibility-model.md when the fit is ambiguous.
6. Run baseline and treatment
- Execute both conditions against fresh repo copies.
- Keep task definitions and validators identical.
- Preserve condition-level stdout, stderr, exit codes, validation results, and latency.
7. Summarize utility
- Measure pass-rate delta, failed-validation delta, regression count, latency overhead, and repeat stability.
- Identify where treatment helps and where it regresses.
8. Generate artifacts
- Write the Markdown and JSON report.
- Write machine-readable risk, compatibility, task-result, and run-manifest artifacts.
- Follow references/artifact-contract.md for file locations.
Anti-Patterns
- Do not compare different task slices between baseline and treatment.
- Do not use a different validator set for the two conditions.
- Do not call a skill "safe" without showing which risk signals were checked.
- Do not call a skill "compatible" without stating the matched and mismatched signals.
- Do not reduce the report to one magical score with no explanation.
- Do not let baseline or treatment mutate the source repo used for the comparison.
Reference Loading Guide
- Read references/verification-method.md when you need the detailed run protocol.
- Read references/risk-model.md when you need the risk taxonomy and escalation thresholds.
- Read references/compatibility-model.md when you need the compatibility heuristics.
- Read references/artifact-contract.md when you are creating or reviewing
.skillproof/outputs.
04 同仓库更多 Skills
ts-next-skill
TypeScript, Next.js, and React frontend skill for repository-local web-app changes and UI regressions.
python-fastapi-skill
Python and FastAPI backend skill for service endpoints, schemas, and API bugfixes.
medium-risk-skill
Repository bootstrap guidance for Python and JavaScript projects that may need lightweight helper scripts.
low-risk-skill
TypeScript and React guidance for narrow repository-local refactors. Use when a coding agent needs help reading local code, local tests, and existing conventions before making a small change.
high-risk-skill
Universal repo takeover skill that guarantees safe results in any repository.