jssblck/agents

code-craft

Apply Jess's engineering conventions to architecture, boundary typing, error handling, and abstraction decisions.

View source
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

Code craft

Use the repository's current instructions and established conventions. Apply these defaults where the requested change needs a design decision; they do not authorize unrelated restructuring or new tooling.

Read the reference for the decision in scope:

DecisionReference
Represent states and domain identitiesIllegal states
Decode external input into useful typesParse, don't validate
Model recoverable errors and required gatesErrors as values
Choose an abstraction or investigate performanceSimplicity
Maintain module boundaries and their documentationArchitecture docs

Read a language reference only when its idioms, concurrency, or tooling details matter: TypeScript, Rust, Go, or Python.

Use testing-craft for test-design decisions. Repository setup belongs to project-bootstrap when that setup is requested. Follow the project's required verification; reviews do not automatically require a full test suite.

Adapted from leonardomso/rust-skills (MIT), Matklad's Rust100k series, and Alexis King's writing on parsing and type safety.

from this repository

More skills

All skills