All authors

Claude Skills by ddd-ts-kit
github.com/ddd-ts-kit26 skills0 installs0 views
- Access ControlUse when adding a permission, a role or an ownership rule, when code needs the connected user or the tenant, when filtering a list by rights, or on an authz/* rule. Authentication, authorization, access scopes, policies, RBAC, ABAC, ReBAC.Votes: 0GitHub stars: 23
- BootstrapChooses the stack and creates the project with the ddd-ts-kit CLI: config, platform, database, pipeline, contexts, in an empty directory or an existing backend. Run by the user with /ddd-ts-kit:bootstrap.Votes: 0GitHub stars: 23
- Bounded ContextsUse when cutting a system into bounded contexts, when a concept has no home, a context grows two vocabularies or too large, two contexts need each other, or on boundaries, subdomains, sub-contexts, modules, splitting or merging contexts. Core, supporting or generic.Votes: 0GitHub stars: 23
- Clean CodeUse when a clean/*, purity/* or language/* rule is reported, or when asked to clean, simplify, rename or make code more readable: business names, small functions, stepdown order, comments only for what code cannot say, no escape hatches, Clock, IdGenerator.Votes: 0GitHub stars: 23
- Commit DisciplineUse when about to commit, when asked to commit, to write a commit message or to split a change, or when the guard reports too many uncommitted changes. One use case or concept per commit, messages scoped by context.Votes: 0GitHub stars: 23
- Context MapUse when two contexts depend on each other, a context needs data or a reaction from another, when choosing upstream, downstream and pattern (customer-supplier, conformist, anti-corruption layer, open-host service, shared kernel, published language), or on context/* rules.Votes: 0GitHub stars: 23
- Cross CuttingUse for logs, metrics, traces, error tracking, audit log, retry, timeout, circuit breaker, cache, rate limit, choosing a logger, correlation id, tenant or session, a home-made Logger, UserContext or paginated result, on aspects/*, standard/*, a tracing or audit import in domain or application.Votes: 0GitHub stars: 23
- DeviationUse when asked to skip a rule, do it quick and dirty, disable a check, add an eslint-disable or ts-ignore, put logic where it does not belong "just this once", skip tests or the glossary, or when the guard asks to confirm a suppression or a rules change.Votes: 0GitHub stars: 23
- Discover DomainUse as the first step of a new project or area of a product, before any boundary or code, or when the user describes a business process to build. A light event storming in writing: actors, commands, domain events, policies, read models, external systems.Votes: 0GitHub stars: 23
- DocumentUse when a route, a schema, an error code or an integration event changes, when asked for the API contract, OpenAPI, Swagger, client generation, AsyncAPI, the event catalog, an ADR or integration docs, or when the pipeline reports documentation or contract drift.Votes: 0GitHub stars: 23
- Extract ServiceUse when the user mentions microservices, splitting the monolith, deploying or scaling one context alone, when a context needs data or a synchronous answer from another, or on context/extractable.Votes: 0GitHub stars: 23
- FixRepairs one defect in its own worktree, proof first: a spec reproducing it at its layer, locked (`ddd-ts-kit acceptance <code> --lock`) and committed before any code, then the fix and its pull request. Run by the user with /ddd-ts-kit:fix.Votes: 0GitHub stars: 23
- GlossaryUse when a business term is missing, ambiguous or has two meanings, when the generator or language/glossary-term refuses a name, when a CONTEXT.md is empty or stale, or for the glossary step of a new project. Ubiquitous language, one row per term.Votes: 0GitHub stars: 23
- Integration EventUse when a context must react to another, for a contract row of the slices, or on events between contexts, messaging, outbox, consumers, RabbitMQ, Kafka, NATS, Redis Streams or eventual consistency. Versioned, idempotent consumers.Votes: 0GitHub stars: 23
- IntentCaptures an idea as an intent before any story: brainstorms with whoever has it until it is concrete (problem, outcome, constraints), then writes docs/architecture/intents/<slug>.md for the product owner. Run with /ddd-ts-kit:intent.Votes: 0GitHub stars: 23
- Parallel WorkUse when the user wants several agents or developers to build at the same time, asks how to parallelise or share the work, or before launching more than one context-builder agent. One worker per bounded context, a git worktree each, contracts first.Votes: 0GitHub stars: 23
- PersistenceUse when adding a table, a repository, a lookup, a read model or a migration, replacing the in-memory adapter by a real one, choosing an ORM, or when persistence types leak out of infrastructure. Mapper, unit of work, optimistic concurrency, Drizzle, Knex, Prisma, TypeORM, OpenSearch.Votes: 0GitHub stars: 23
- Plan SlicesUse after the bootstrap, when asked what to build first, to order or size the work, or before splitting it between agents or people. Vertical slices per bounded context ordered, with owners, in docs/architecture/slices.md.Votes: 0GitHub stars: 23
- Pull RequestTakes the pull request of a story to green: failing checks, then each unresolved review comment under the rules of the story, never force-pushed, until only the code owner is waited on. Run by the user with /ddd-ts-kit:pull-request <number>.Votes: 0GitHub stars: 23
- Quality GateUse before closing a slice or opening a pull or merge request, to merge the trunk into a branch, when asked whether the work is clean, done or ready, when a check, the guard or the pipeline reports a violation, or for a TODO(review).Votes: 0GitHub stars: 23
- ScaffoldUse when one aggregate, entity, value object, domain event, error, service, port, repository, adapter, gateway, policy, job, background job, state machine, process manager, event handler, builder, end-to-end spec or context is needed, or the guard refuses a hand-written file.Votes: 0GitHub stars: 23
- StartConducts a project from a statement of needs to working bounded contexts, strategic design first (discovery, contexts, glossaries, context map, bootstrap, slices, build), its state in plan.md. Run by the user with /ddd-ts-kit:start.Votes: 0GitHub stars: 23
- StoryTakes one user story to a green pull request in its own worktree: questions first, then the story file, its rows, a design review, acceptance tests locked before code, one context-builder per row, review, verification. Run by the user with /ddd-ts-kit:story.Votes: 0GitHub stars: 23
- TestingUse when writing or reviewing a test, turning it.todo into tests, when a test needs data setup or a shared arrangement, when tempted by vi.mock, vi.fn or a spy, for an acceptance scenario, or on a test/* rule. Given / when / then, fakes, builders, worlds, contract suites, end-to-end.Votes: 0GitHub stars: 23
- Use CaseUse when the user asks for a feature, an endpoint, a business rule or "add the ability to ...", or to build the next row of docs/architecture/slices.md. One vertical slice in one context, test first: aggregate, command or query, permission, handler, route.Votes: 0GitHub stars: 23
- WiringUse when binding an adapter to a port, adding a dependency to a handler, replacing an adapter by a fake, composing main.ts, or on a WiringError, DeclarationError, ports/*, declarations/* or composition/only-in-module. Dependency injection, the composition root.Votes: 0GitHub stars: 23