Default and optional argument discipline

Installation
SKILL.md

Default and optional argument discipline

A tool-call pattern where the schema mixes required parameters with optional parameters that have defaults. The pattern tests passing only required and explicitly requested optional arguments, while avoiding hallucinated defaults or unsupported extras.

Routing

Use this skill when the current self-play generation target matches the name and description above. Load rules.md after the skill is selected, and load examples.jsonl only when full disclosure or diagnostic expansion is needed.

Package Files

  • rules.md: procedural trigger, evidence, decision, parameter, and answer-check rules.
  • solver_rules.md: solver-facing oracle rules used only by offline generated-sample filtering.
  • examples.jsonl: optional successful instantiations and notes.
  • generator_hints.md: compact questioner generation advice.
  • validator.py: optional executable validator exposing validate_sample(sample).
  • stats.json: curriculum and sampling statistics.
Installs
–
GitHub Stars
150
First Seen
–
Default and optional argument discipline — qwen-applications/skill-self-play