Like the schools of the Witcher or the martial arts, each with its own stance and discipline, Captain's Chest does things its own way. This is an opinionated school of how CaptainDuckay codes and works, written down as agent skills. It isn't consensus best practice; it's the house style.
Vague answers get challenged until they are specific, testable, bounded and traceable. Contradictions are called out immediately, and work does not move on until each area meets the bar.
Domain logic lives in pure functions in the nearest domain-local module. Framework wiring, API calls, persistence and I/O stay at the boundaries and call into that logic.
Artifacts are named for their responsibility, not their framework role: UserCard, not UserCardComponent; SessionStore, not a generic service. Numbers that carry meaning get a name, with units.
Map the work areas a change touches before choosing conventions. A technology's rules apply only to work in that technology, and established conventions are kept unless a migration is in scope.
Every project starts with a brief: at least two credible options, a chosen architecture with its consequences, a decision log of what was chosen, rejected and deferred, and scope guardrails for later.
The component is the element it represents, every clear UI region gets its own component in its own folder, Signal Forms and resources are the defaults, and icons come from the Captain's Chest Material Symbols packages.
Make safe, relevant cleanups in the area you are already touching, keep them near the task, and track them separately from the main change, in their own commit.
Built from captains-chest/skills at ec9d0b4. Credits: parts of the skills repository's agent setup (the agent docs and triage-label vocabulary) and some of its conventions are adapted from Matt Pocock's skills.