mirror of
https://github.com/lllllllama/RigorPilot-Skills.git
synced 2026-09-14 13:43:27 +08:00
3.3 KiB
3.3 KiB
Contributing
Keep changes small, lane-aware, and easy to validate.
Local workflow
- Edit the relevant files under
skills/,references/,shared/, orscripts/. - Synchronize bundled dependencies and run the automatically discovered full suite:
python scripts/sync_reproduction_bundle.py
python scripts/sync_reproduction_bundle.py --check
python scripts/run_all_tests.py
python scripts/check_publication.py
For an offline execution check, run python scripts/run_harness_lab.py and read
the engineering roadmap. The example simulates model decisions
but executes real commands; it is not a model-quality benchmark. Share sanitized
reproduction feedback through the issue form; never upload credentials or
unreviewed private traces. Do not fix an acceptance failure by weakening its grader.
- If installation behavior changed, also run:
python scripts/install_skills.py --client agents --target ./tmp/agents-skills --force
python scripts/install_skills.py --client codex --target ./tmp/codex-skills --force
python scripts/install_skills.py --client claude --target ./tmp/claude-skills --force
- Commit only after the repository validates cleanly.
Repository rules
- Keep every skill folder named exactly after its front matter
name. - Register every public or helper skill in
references/skill-registry.json. - Keep
SKILL.mdfocused on boundaries and workflow. - Treat
SKILL.mdas the canonical cross-client skill contract. - Put detailed policy in
references/. - Put reusable writers and shared helpers in
shared/. - After changing a bundled reproduction dependency, run
python scripts/sync_reproduction_bundle.py; CI rejects stale copies. - Keep helper skills narrow.
- Preserve trusted-lane defaults unless the change intentionally introduces or updates an explore-lane capability.
- Do not make skill behavior depend on client-specific metadata such as
agents/openai.yaml. - Keep
.claude/commands/wrappers aligned with the corresponding skill boundaries and entrypoints. - External benchmark changes must keep cases commit-pinned, explicit, serial, disposable by default, and distinguish selection-only from executed evidence.
Lane rules
- Trusted skills must not auto-route into exploration.
- Explore skills require explicit authorization signals.
- Helper skills should usually be orchestrator-invoked.
- Same-level skills should not call each other directly.
- Exploratory outputs must not be represented as trusted baseline results.
Output compatibility
- Machine-readable keys and enums stay in stable English.
- Existing
repro_outputs/behavior must remain backward compatible unless a migration is documented. - New output directories should extend the contract, not silently replace existing trusted bundles.
Pull request checklist
python scripts/validate_repo.pypassespython scripts/test_skill_registry.pypassespython scripts/test_trigger_boundaries.pypassespython scripts/test_readme_selection.pypasses- all lane-specific rendering tests pass
- installer and bootstrapper checks pass for neutral Agent Skills, Codex, and Claude Code entrypoints
- orchestrator dry-run still reflects the intended trusted chain
- helper/public/explore metadata still matches the actual boundaries
- output contract changes are intentional and documented