Skip to content
C

code-quality

General Correctness rules, Rust patterns, comments, avoiding over-engineering

by tursodatabaseFree

#2866in AI Skills
0In stores

Description

Code quality is an agent skill with the correctness rules and Rust conventions that the Turso database project expects in its code. Its core…

Highlights

  • Correctness first, crash rather than corrupt
  • Handle every error and check invariants
  • Make illegal states unrepresentable
  • Exhaustive matching and enums over sentinels
  • Minimal allocations and CPU-friendly code

Ratings & Reviews

No ratings yet

Be the first to rate code-quality.

People also visit

R

rust-patterns

Idiomatic Rust patterns, ownership, error handling, traits, concurrency

AI Skills
Get
R

rust-skills

Comprehensive Rust coding guidelines with 265 rules across 26 categories

AI Skills
Get
A

apollographql/rust-best-practices

Rust coding guidelines drawn from Apollo GraphQL's internal handbook

AI Skills
Get
R

rust-engineer

Writes, reviews, and debugs idiomatic Rust code

AI Skills
Get
C

coding-guidelines

Asking about Rust code style or best practices

AI Skills
Get
K

karpathy-guidelines

Behavioral guidelines to reduce common LLM coding mistakes

AI Skills
Get

code-quality FAQ

What does the skill cover?

Correctness rules and Rust patterns for code in the Turso database, applied whenever code is written for that project.

Why does it prefer a crash?

Turso is a production database. The skill says to crash on an invalid state when continuing could corrupt data, rather than keep running in an undefined state.

What Rust patterns does it recommend?

Making illegal states unrepresentable, exhaustive pattern matching, enums instead of strings or sentinel values, and few heap allocations.

How do I install it?

Run npx skills add https://github.com/tursodatabase/turso --skill code-quality.

What security audits has it passed?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best code-quality alternatives?

Popular alternatives to code-quality include rust-patterns, rust-skills and apollographql/rust-best-practices. See all code-quality alternatives

Developer Stuff

Badges