Skip to content
Kitbay
Submit
Skill

programming

NOASSERTIONUpdated on Nov 11, 202670,828GitHub starsIncludes scripts

A shared skill in the oh-my-openagent repository that applies strict coding rules whenever the agent writes or reviews Python, Rust, TypeScript, JavaScript or Go, or any test file.

What the skill teaches

A shared skill in the oh-my-openagent repository that applies strict coding rules whenever the agent writes or reviews Python, Rust, TypeScript, JavaScript or Go, or any test file. Before writing, the agent reads the reference set for that language, plus testing references for tests and extra Rust references for unsafe code. Shared principles include using the type system as proof, parsing untrusted input at the edges, exhaustive matching and no defensive code for impossible cases. Tests must pass a four-question gate and be shown to fail when the code they cover breaks. After writing, the agent counts lines, treating files over 250 lines as defects, answers a self-review list and hands smells to refactoring skills.

Capabilities

  • Load language-specific coding rules before writing
  • Gate new tests with four questions
  • Flag oversized files and long parameter lists
  • Run a self-review after writing code