how to use factory skills
Skills that make a coding agent read the codebase before it writes, reuse what is already there, and prove the work with checks that actually ran. Published as factory-skills.
Quick start
Install one skill, then ask
One command puts the skill where Claude Code and Codex can read it. After that, the slash command is the whole interface.
npx skills add akdevsaha-dev/factory-skills --skill implement-feature/implement-feature implement fallback for the fetching views- Found 3 views that fetch data
- ProjectsView already handles loading, error, and empty
- Reusing Spinner and ErrorState
- Updated InvoicesView.tsx and MembersView.tsx
- Read “fallback” as loading, error, and empty, like ProjectsView
The file names above are from a real run on fetching views. Your agent names the files in your repo. You can also skip the slash command and say “Use the init-auth skill to add Google sign-in.”
The skills
What to type
Each skill installs on its own. The line under the name is the command. The fainter line is the install, if you only want that one.
implement-feature
Builds a feature in an existing codebase the way a senior engineer would.
/implement-feature add CSV export to invoicesnpx skills add akdevsaha-dev/factory-skills --skill implement-featureIt finds the code your request names and the feature most like it, then reuses your components, helpers, and patterns. It adds tests, runs your checks, and reviews its own diff.
init-backend
Scaffolds a backend with routes, services, validation, tests, and a health check.
/init-backendnpx skills add akdevsaha-dev/factory-skills --skill init-backendYou pick Node.js and TypeScript with Express, Python with FastAPI, or Go with the standard library. The server listens on port 8080.
Stacks
- Node.js
- Python
- Go
init-database
Connects an existing backend to Postgres. It does not create tables.
/init-databasenpx skills add akdevsaha-dev/factory-skills --skill init-databaseOne client, validated config, and env files. Prisma, Drizzle, or Supabase. Your schema stays yours.
Clients
- Prisma
- Drizzle
- Supabase
init-auth
Adds sign-in and server-side authorization, then tries to break it.
/init-authnpx skills add akdevsaha-dev/factory-skills --skill init-authIt looks at your stack and recommends Supabase Auth, Clerk, or Better Auth. Routes are checked on the server. Tests cover IDOR, privilege escalation, open redirects, and OTP reuse.
Providers
- Supabase Auth
- Clerk
- Better Auth
catch-up
Explains what changed since you last committed, grouped by feature, without touching the repo.
/catch-upnpx skills add akdevsaha-dev/factory-skills --skill catch-upIt reads diffs and the code around them, then flags API changes, migrations, conflicts with your local work, and risks, each with a file and line. It never fetches, pulls, or edits your tree.
Add to the command
- deep
- remote
- since
- last
- checkpoint
- author
Install
Other ways to add them
In order
From an empty folder to a feature
The skills work alone. They also chain. When an init skill needs a backend or a database that is not there yet, it offers to set that up first.
/init-backendA backend with routes, services, tests, and /health/init-databaseA Postgres client wired into your config/init-authSign-in, sessions, roles, and checks on the server/implement-featureEvery feature after that, in the same style
Away from the repo for a while? /catch-up briefs you on what landed, and it does not fetch or edit anything unless you ask.
While they work
How the skills think
- Read before writing
- The agent finds similar code and traces how it works before changing anything.
- Your codebase wins
- Conventions, folders, and AGENTS.md or CLAUDE.md override any default in the skill.
- Reuse before creating
- Existing helpers and components come first. A new abstraction needs a reason.
- Code that explains itself
- Clear names and simple control flow. Comments say why, never what.
- Current docs, not memory
- Versions, APIs, and prices are looked up. They are not baked into the skill.
- Evidence, not claims
- A check counts only if it ran and passed. Anything else is reported as unverified.
Source, license, and the skill files live in factory-skills.