recurse-ml

Need exception handling? → Use specific exceptions (bare-exceptions.md) Need conditionals? → Check conditionals.md for patterns Need boolean checks? → See bool.md for comparisons Need type safety? → Apply typing.md guidelines Need debugging? → Use rml-verify.md

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "recurse-ml" with this command: npx skills add poletron/custom-rules/poletron-custom-rules-recurse-ml

Decision Tree

Need exception handling? → Use specific exceptions (bare-exceptions.md) Need conditionals? → Check conditionals.md for patterns Need boolean checks? → See bool.md for comparisons Need type safety? → Apply typing.md guidelines Need debugging? → Use rml-verify.md

Critical Patterns

Don't Catch Bare Exceptions (REQUIRED)

❌ BAD - Hides unintended exceptions

try: risky_operation() except: handle_error()

❌ EQUALLY BAD

try: risky_operation() except Exception: handle_error()

✅ GOOD - Catch specific exceptions

try: risky_operation() except SpecificException: handle_error()

✅ OK if reraising

try: risky_operation() except SpecificException as e: handle_error(e) raise # Reraise the exception

Why: Bare exceptions hide bugs and give false stability.

Resources

Specialized ML coding patterns in this skill:

  • Bare Exceptions: bare-exceptions.md

  • Boolean Comparisons: bool.md

  • Comments: comments.md

  • Conditionals: conditionals.md

  • Control Flow: flow.md

  • Infinite Loops: infinite-loops.md

  • Mutable Defaults: mutable-defaults.md

  • RML Verification: rml-verify.md

  • Side Effects: side-effects.md

  • Type Hints: typing.md

  • Unreachable Code: unreachable-code.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

lancedb

No summary provided by upstream source.

Repository SourceNeeds Review
General

trpc

No summary provided by upstream source.

Repository SourceNeeds Review
General

javascript-mastery

No summary provided by upstream source.

Repository SourceNeeds Review
General

coding-standards

No summary provided by upstream source.

Repository SourceNeeds Review