cleanup
Review and clean up the given file(s)/folder(s)/module(s): rate organization, find dead code, duplication, coupling, over-engineering, deep nesting, structural…
Add a new JobPilot API route or module the standard way - contracts schema, controller, service, response schema, optional web hook. Use for "add an endpoint", "new route", "new module".
$ npx -y skills add suxrobGM/jobpilot --skill add-api-route --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/add-api-routeContext preview
The summary Claude sees to decide when to auto-load this skill.
Add a new JobPilot API route or module the standard way - contracts schema, controller, service, response schema, optional web hook. Use for "add an endpoint", "new route", "new module".
name: add-api-route description: Add a new JobPilot API route or module the standard way - contracts schema, controller, service, response schema, optional web hook. Use for "add an endpoint", "new route", "new module".
Follow the conventions in `.claude/rules/api.md` (response schemas, `z.date()`, global error envelope). Steps:
1. Request schema: reuse or add in `packages/contracts` (or the module's `<name>.schema.ts`). Uuid path ids via `idParam`. 2. Response schema: model the service's return **exactly** in `<name>.schema.ts`, or use a shared envelope from `@/types/response`. Elysia strips fields not in the schema. 3. Route: in `modules/<name>/<name>.controller.ts`, add `body`/`query`/`params` as needed, the `response` success schema, a `detail` summary, and a `rateLimit(policy)` `beforeHandle` where the endpoint warrants one. No per-route error responses - they're declared globally. 4. Logic in `<name>.service.ts` (tsyringe `@singleton`; injected classes stay value imports). New module: mirror an existing one and mount its controller in `app.ts`. 5. Web side (if needed): Eden Treaty picks up types automatically; add query/mutation hooks under `apps/web/src/api/`. 6. Invoke the `verify` skill.
An AI agent that applies to jobs for you, on the Claude or Codex subscription you already have.
Repo: suxrobGM/jobpilot
Review and clean up the given file(s)/folder(s)/module(s): rate organization, find dead code, duplication, coupling, over-engineering, deep nesting, structural…
Create and apply a Prisma migration safely against the remote (tunneled) PostgreSQL. Use for schema changes - "create a migration", "apply migrations", "add a…
Add knip to a TypeScript project and use it to remove dead exports, collapse pass-through barrels, and narrow every export to what another file actually…
Bump the unified JobPilot version (host + plugin), update the changelog, commit, and tag a new release
Rebuild the .NET terminal host, restart it, and wait for /healthz. Use after any C# change under apps/terminal, or when asked to "restart the terminal host".
Migrate a React @tanstack/react-form codebase from the prop-drilled `useForm` + erased-form-type pattern to the official `createFormHook` composition API…