Skill / SKILL.md

Rseng Defensive Coding

fdiblen/rseng-agent-skills

Covers defenses against silently wrong research results: validating data at boundaries (schemas, assertions, sanity checks), explicit physical units and quantities in code (pint/astropy-style), disciplined randomness (explicit seeded generators, parallel streams), and fail-loud handling of NaN and missing data. Use PROACTIVELY when code ingests external or instrument data, when values carry physical units, when randomness enters simulations or sampling, or when NaN or missing-data handling is implicit; also when the user mentions data validation, unit errors, seeds or silent bugs, or reviews analysis code whose failure would be invisible. For floating-point behavior and tolerances see rseng-numerical-accuracy; for diagnosing an existing bug see rseng-debugging.
3 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Covers defenses against silently wrong research results: validating data at boundaries (schemas, assertions, sanity checks), explicit physical units and quantities in code (pint/astropy-style), disciplined randomness (explicit seeded generators, parallel streams), and fail-loud handling of NaN and missing data. Use PROACTIVELY when code ingests external or instrument data, when values carry physical units, when randomness enters simulations or sampling, or when NaN or missing-data handling is implicit; also when the user mentions data validation, unit errors, seeds or silent bugs, or reviews analysis code whose failure would be invisible. For floating-point behavior and tolerances see rseng-numerical-accuracy; for diagnosing an existing bug see rseng-debugging.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/fdiblen/rseng-agent-skills' skill-source

Use the complete skill-source/skills/rseng-defensive-coding directory with your client’s skill installer.

  • skills/rseng-defensive-coding

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/rseng-defensive-coding

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
6cdd9e4ee1c7d0dd208e40a3962fabc121d4e64a1c44e1052e13d92b85630350
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills