Skip to content
D

design-patterns

Rust design patterns for RTK

by rtk-aiFree

Launch
#1000in AI Skills
0In stores

Description

design-patterns is an agent skill with Rust design patterns for the RTK project, a command-line tool whose filter modules are the main place…

Highlights

  • Newtype pattern for type-safe values such as token counts
  • Builder, RAII, trait object and state machine patterns
  • Patterns applied to RTK's CLI filter modules
  • Each pattern tied to when it should be used

Ratings & Reviews

No ratings yet

Be the first to rate design-patterns.

People also visit

P

prisma-compute

Prisma Compute deployment and hosting guide

AI Skills
Launch
C

code-simplifier

Review RTK Rust code for idiomatic simplification

AI Skills
Launch
R

rtk-tdd

Enforces TDD (Red-Green-Refactor) for Rust development

AI Skills
Launch
T

tdd-rust

TDD workflow for RTK filter development

AI Skills
Launch
P

project-overview

The OSS repository map, code-layer lookup

AI Skills
Launch
G

github-multi-repo

Multi-repository coordination, synchronization, and architecture management

AI Skills
Launch

design-patterns FAQ

What patterns does it cover?

Newtype for type safety, the builder pattern, RAII, trait objects and a state machine.

Who is it for?

Contributors to RTK who design new filter modules or review how existing modules are built.

What does the newtype example show?

Wrapping token counts in separate types, so swapping the input and output counts becomes a compile error instead of a silent bug.

How do I install it?

Run npx skills add https://github.com/rtk-ai/rtk --skill design-patterns.

Which security audits does it have?

On skills.sh, Gen Agent Trust Hub, Socket and Snyk all pass.

What are the best design-patterns alternatives?

Popular alternatives to design-patterns include prisma-compute, code-simplifier and rtk-tdd. See all design-patterns alternatives

Developer Stuff

Badges