Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →

cristiano-pacheco/ai-rules

13 skills96 installsGitHub

Install

npx skills add https://github.com/cristiano-pacheco/ai-rules

Skills in this repo

1Go Unit TestsScaffolds Go unit tests using testify suites for structs with dependencies or standalone functions for simple values, with mockery mocks and AAA structure. A developer uses it when adding unit test coverage.27installs2Go Integration TestsScaffolds integration tests that run against real containerized databases and Redis via testify suites and itestkit, with build tags and DB-state assertions. A developer uses it when verifying end-to-end flows against real infrastructure.15installs3Go CacheScaffolds a two-file Redis cache (port interface and implementation) for a Go module following a Chi/Fx modular architecture. A developer uses it when adding TTL storage for OTPs, sessions, OAuth state, rate limits, or flags.11installs4Go Chi HandlerScaffolds Chi HTTP handlers for a Go backend module following the Chi/GORM/Fx conventions. A developer uses it when adding request handling for CRUD or custom endpoints.10installs5Go Chi RouterScaffolds Chi router implementations that register a module's HTTP routes and wire them via Fx dependency injection. A developer uses it when setting up CRUD, custom-action, or versioned API routes.9installs6Go ServiceScaffolds a reusable Go domain service (DTO, port interface, implementation) using Fx DI and OTEL tracing. A developer uses it when building services like token generators, hashers, or template compilers.9installs7Go RepositoryScaffolds the two-file repository (port interface and GORM implementation) for an entity's data access layer. A developer uses it when adding CRUD, custom queries, pagination, or transactional access.8installs8Go UsecaseGo Usecase skill guides creation of application service layer in Go with dependency injection and error handling.2installs9Go EnumGo Enum skill guides agent code generation for string-based enums in Go with validation rules. Uses modular architecture patterns.1installs10Go ErrorGo Error skill provides patterns for creating typed errors in Go using bricks/pkg/errs. Implements module-scoped error definitions.1installs11Go Gorm ModelGo GORM Model skill guides agents in creating GORM models with proper associations, hooks, and database migrations.1installs12Go MapperGo Mapper skill provides patterns for bidirectional DTO/model mapping in Go applications.1installs13Go ValidatorGo Validator skill provides patterns for creating type-safe validation functions with clear error messages.1installs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.

cristiano-pacheco/ai-rules · 13 skills · Skillselion