rigor-evaluator
Use when you need a quick heuristic rigor score (10 criteria, 0-2 each) for the features in a .gitcore/features.json file, to decide which features are ready to ship.
- License 许可
- MIT
- 所属仓库
- iberi22/skills
- 最近更新
- 2026-10-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- rigor-evaluator
- license
- MIT
- description
- Use when you need a quick heuristic rigor score (10 criteria, 0-2 each) for the features in a .gitcore/features.json file, to decide which features are ready to ship.
02 资源文件 1
- 脚本scripts/rigor-eval.js16.1 KB
03 SKILL.md 正文
rigor-evaluator
Node CLI that scores every feature in a features.json against 10 rigor
criteria (0-2 each, max 20) and writes a JSON report.
Criteria
- Completitud SRS (IEEE 830 sections)
- Contrato de datos (types, endpoints)
- Acceptance criteria (happy, edge, error)
- Escenarios de falla
- Trazabilidad (requirements to code/tests)
- Dependencias mesh
- Cobertura de permisos (hard: must be 2)
- Modelo de amenaza (hard: must be 2)
- Offline/particion
- Cobertura de tests
PASS rule
A feature passes when all hold:
- total >= 14 of 20
- criterion 7 = 2 and criterion 8 = 2
- no criterion scores 0
Invocation
node scripts/rigor-eval.js
node scripts/rigor-eval.js --features ./.gitcore/features.json --output ./rigor-report.json
node scripts/rigor-eval.js --help
Flags (only these exist):
--features <path>: input. Default.gitcore/features.json, relative to the cwd.--output <path>: report. Defaultrigor-report.json, relative to the cwd.--help,-h: print usage and exit 0 (read-only).
Exits 1 if the input file is missing, is not valid JSON, or has no features array.
Input
A JSON object with a features array. Fields read per feature: id, name,
module, stage, status, maturity, implementation_percentage, gaps[],
dependencies[]. Optional top-level protocol is echoed to stdout.
Output
Writes JSON with schema_version, generated_at, summary (features passed/failed,
pass rate, overall score), pass_conditions, criteria_definitions, and features[].
Each feature entry has total_score, passed, errors[], and per-criterion criteria[].
Stdout prints one line per feature (Score: x/20 | PASS: SI|NO) and a global summary.
Limits
- Scores are heuristics derived from metadata fields (stage, module, percentage, gap text, dependency count, and feature id prefix). It does not read SRS documents, contracts, or test files, so it cannot verify them.
- Some rules are hard-coded to specific ids (
RF-001,RF-002,RF-004,RF-005) and to module names (authz,governance,identity,protocol,sync,presence,mesh,tests). Features with other naming get the generic branch. - A feature with
stagespeccedand anRF-id receives fixed scores. Treat the output as a triage signal, not an audit. - Overwrites the output file without asking.
04 同仓库更多 Skills
web-design-guidelines
暂无简介
blocked-page-recovery
Use when a fetch fails: 403/429, paywall, WAF, bot wall. Recovers the page via archives and provenance-checked fallbacks.
studio-coach
暂无简介
src-generator
暂无简介
sqlite-pro
暂无简介
remote-displays
Discover, cast to, and control screens on the LAN.