nonlinear-xyz/factory-kit
5 stars · Last commit 2026-06-04
Personal Claude Code factory — synthesized cross-build skills, specialist subagents, and slash commands. Phase 0.
README preview
# factory-kit This is the foundation for a "software factory" - Claude skills, agents, and slash commands that are all automatally symlinked into `~/.claude/`. This allows you to pull upon these skills in any repository. ## Why this exists This repository is a synthesis of learnings across multiple production builds. In each one, I went through a learning journey to understand how to build a production-ready stack. Over countless hours, I tried to understand when and when not to implement specific components. Now, I've pulled my learnings into a set of skills & agents that I can use whenever I start a new project. This is also becoming a public record of how I am iterating towards a "software factory". Over time, as more code gets generated, I believe the differentiating layer will be the architectural decisions that get made during the build. I want to codify as many of these as I can throughout my journey so that I can consistently come back to them. ## Structure — principles-first, stack-locked recipes Each `factory-*.md` skill leads each section with the **Principle** (one sentence, stack-agnostic), then **Why** (constraint → option → tradeoff), then **Recipe** (the Next.js / Drizzle / Better Auth / Mantine / Cloud Run shape we use), and a **Failure mode** block when there's one to name. A reader on a different stack can read the principle and why of any section and skip the recipe. The kit is opinionated on the recipe layer and shareable on the principle layer — by structure, not by separate files. ## Layout ``` factory-kit/ ├── skills/ # synthesized factory-*.md docs, auto-loaded as ~/.claude/skills/ ├── agents/ # specialist subagents, callable via the Agent tool