Zum Inhalt springen
Kitbay
Einreichen
Skill

programming

NOASSERTIONAktualisiert am 11. Nov. 202670.828GitHub-SterneEnthält Skripte

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.

Was der Skill vermittelt

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.

Funktionen

  • 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