sebas5384 avatar

Convex Ddd Architecture

If you're building a non-trivial Convex app and find business logic bleeding into your mutations or database calls scattered everywhere, this skill enforces DDD and hexagonal boundaries. It prescribes a folder structure that separates domain models, repository interfaces, and adapter implementations, plus patterns like composing schema from sub-domain tables and wrapping all functions through a custom boundary for trigger integration. The naming guidance is opinionated: domain vocabulary on exports, short locals inside functions, one file per query or mutation with default exports. Overkill for prototypes, but worth it when you need team consistency or plan to refactor a growing codebase without breaking everything.

skills.sh installs
288
last updated
Jun 3, 2026

Install

$ npx -y skills add sebas5384/agentic-stuff --skill convex-ddd-architecture --agent claude-code

Installs into .claude/skills of the current project.

Files

Convex DDD Architecture

Reference skill for organizing Convex projects with DDD and Hexagonal architecture. It keeps domain logic isolated from database and external API concerns so changes remain local and safer to evolve.

When to Use

Use this skill when work includes one or more of these signals:

  • New Convex sub-domain design (schema, queries, mutations, domain, adapters)
  • Legacy Convex code migration toward DDD/Hexagonal boundaries
  • Business rules drifting into handlers instead of aggregates
  • Direct ctx.db access spreading outside repositories
  • External API calls requiring retries, orchestration, or translation layers
  • Team-level need for consistent file layout and naming in Convex projects
  • Choosing or refactoring identifiers (variables, functions): domain nouns on exports/models; shorter names inside modules/functions where scope already disambiguates (naming.md)

Do not use this as a strict template for tiny prototypes where speed matters more than architectural boundaries.

Project Shape

Sponsors

Details

Repository
github.com/sebas5384/agentic-stuff
Categories
Code Review & Quality, AI & Agent Building, Databases
First seen
Jun 3, 2026
1sickn33 avatartdd-workflows-tdd-refactorsickn33/antigravity-awesome-skillstdd workflows tdd refactor281skills.sh installs
2vudovn avatarcode-review-checklistvudovn/antigravity-kitcode review checklist252skills.sh installs
3akillness avatarcode-refactoringakillness/oh-my-skillscode refactoring251skills.sh installs
4absolutelyskilled avatarclean-codeabsolutelyskilled/absolutelyskilledclean code230skills.sh installs
5davila7 avatarnaming-analyzerdavila7/claude-code-templatesSuggest better variable, function, and class names based on context and conventions.218skills.sh installs
6buiducnhat avatarreviewbuiducnhat/agent-skillsreview210skills.sh installs