generate-do-work
Installation
SKILL.md
Generate Do-Work
Scaffolds a customised do-work skill into the current repo from templates/do-work.template.md (relative to this skill).
Workflow
1. Auto-detect repo specifics
Run detection, do NOT ask user for anything inferable. Gather:
| Field | How to detect |
|---|---|
REPO_NAME |
basename of git toplevel (git rev-parse --show-toplevel) |
| pkg manager | lockfile: pnpm-lock.yaml→pnpm, yarn.lock→yarn, package-lock.json→npm, bun.lockb→bun |
| monorepo packages | pnpm-workspace.yaml / package.json#workspaces → list package dirs + names |
| lint / type-check / test cmds | package.json#scripts — grep keys for lint, lint:ts/typecheck, test |
| language rules | tsconfig.json (strict, ESM via type:module), presence of .ts |
| data sink | scan for queue/db usage (prisma, sqs, kafka) → set {{SINK}}; default "DB/queue" |
| commit hook | .husky/commit-msg, commitlint.config.*, .commitlintrc* |