wellcrafted
Type-safe error handling, Result types, and query factories
All Skills in This Repository (24)
Pure Emerald Level Indicatorsincremental-commits
Break multi-file code changes into atomic, dependency-ordered commits.
documentation
Generate folder READMEs, JSDoc comments, and code comments.
error-handling
Replace try-catch blocks with wellcrafted's trySync and tryAsync functions.
writing-voice
Refine written content to eliminate AI-generated patterns and enhance natural prose.
specification-writing
Generate structured technical specification documents for software features.
honesty
Enforce direct, critical feedback in code reviews and technical discussions.
factory-function-composition
Compose clients and services using factory functions with dependency injection.
method-shorthand-jsdoc
Refactor factory functions to preserve JSDoc comments using method shorthand.
technical-articles
Guide technical article creation with structure, style, and content principles.
typescript
Enforces TypeScript style, naming conventions, Arktype patterns, and test organization for coding tasks.
define-errors
Define typed, serializable error variants in TypeScript with defineErrors.
testing
Enforce unit and integration test best practices for TypeScript projects.
Frequently Asked Questions
FAQPage SchemaHow to install wellcrafted?▼
Run `npx skills add wellcrafted-dev/wellcrafted --all -g -y` in your terminal to install all skills in this suite globally.
What problem does wellcrafted solve?▼
It replaces try-catch with typed Result objects so your errors keep their type and survive JSON serialization, Web Workers, and IPC boundaries. You define every failure mode once and handle each one explicitly.
How do I define typed errors in TypeScript?▼
Use the define-errors skill: group all failure modes for a domain in one defineErrors call, and each variant factory returns a ready-to-use Err with a typed name field you can switch on.
Does wellcrafted work with TanStack Query?▼
Yes. The query-factories skill shows how to build queries and mutations that return Result types, with reactive options for components and imperative helpers for event handlers.
Can I use these skills without knowing the library?▼
Yes. Each skill teaches your agent the exact patterns—error definitions, Result handling, service layers—so it writes correct wellcrafted code from plain-English requests.
Related Repositories in Software Engineering
View All in Software Engineering→openclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core