Pular para o conteúdo
Kitbay
Enviar
Skill

programming

NOASSERTIONAtualizado em 11 de nov. de 202670.828Estrelas no GitHubInclui 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.

O que a skill ensina

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.

O que faz

  • 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