skills/implement/SKILL.md
Use when implementing a feature, adding an endpoint, or making a non-trivial code change that requires pre-flight validation, TDD cycle, scope enforcement, and a clean commit. Combines pre-flight + tdd + scope-check + quality-commit into one flow. Keywords: implement feature, add endpoint, TDD, new functionality, code change.
npx skillsauth add acedergren/agentic-tools implementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
End-to-end feature implementation pipeline. Runs pre-flight validation, TDD cycle, scope enforcement, and quality commit as a single orchestrated flow.
Do NOT load this skill when the user only wants a focused subflow like /tdd or /quality-commit, or when the work is already finished and only needs verification or commit handling.
git add -A or git add . — stage specific files only.STOP the pipeline and ask the user if:
Is the workspace clean and green?
├── No → Pre-flight: fix or ask before any code
└── Yes → Proceed
Does a test file already exist for the target module?
├── Yes → Run it first; confirm green baseline
└── No → Bootstrap mock is your first step
Does the task touch > 5 files?
├── Yes → Ask user to confirm scope before writing
└── No → Proceed
git status --short
npx tsc --noEmit 2>&1 | head -20
If monorepo: check if shared/library packages need rebuild (source newer than compiled output).
If any check fails: report and ask how to proceed before writing code.
Read target files. Identify module type (route handler, repository, plugin, utility, service, component). Check nearest test files for established mock patterns.
Brief summary: "I'll add X tests covering Y, then implement Z." Wait for confirmation if scope > 3 files.
Write ONE minimal test that imports the module and verifies mocks resolve. Run it — must pass.
If it fails after 2 attempts: STOP. Mock wiring is broken (wrong module path, incorrect mock factory, missing type shim). Fix that before Red/Green.
Write tests for: happy path, edge cases, error cases.
Run the file — ALL new tests MUST fail. If any pass unexpectedly, the tests aren't testing new behavior.
Write the minimum code to make all tests pass. Then run — all tests MUST pass.
Do NOT add features not covered by tests. Do NOT optimize. Do NOT refactor existing code.
git diff --name-only
Flag files that don't relate to the task:
git checkout -- <file>npx vitest run --reporter=dot
npx tsc --noEmit
npx eslint <changed files only>
Triage failures:
git add <specific files>
git commit -m "type(scope): description
Co-Authored-By: Claude <[email protected]>"
$ARGUMENTS: What to implement
/implement add rate limiting to POST /api/search/implement src/routes/admin/settings.ts — add PATCH endpoint for themedevelopment
--- name: api-audit description: "Use when auditing API routes for schema drift, missing auth, or validation gaps. Scans routes against shared TypeScript types to find mismatches, missing middleware, and undocumented endpoints. Read-only — produces a severity-grouped report. Keywords: audit routes, schema drift, auth gaps, missing validation, type mismatch, orphaned schemas. Triggers on "audit API routes" or "find schema drift"." --- # API Route & Type Audit Skill ## When to Use Load this skil
development
Use when drafting, translating, polishing, or reviewing Swedish text so it sounds natural, fluent, contemporary, and appropriate for its audience. Triggers include "write better Swedish", "make this sound natural in Swedish", "translate into Swedish", "polish this Swedish", "tech company Swedish", "contemporary Swedish words", "Swedish developer docs", and "avoid Anglicisms".
development
Use when working with shadcn-svelte components, TanStack Table in Svelte 5, or Tailwind v4.1. Covers non-obvious reactivity bugs, library selection trade-offs, and migration pitfalls not in the official docs. Keywords: shadcn-svelte, TanStack Table, Tailwind v4.1, Svelte 5 runes, bits-ui, superforms, data table, svelte-check.
data-ai
Use when mapping IDCS claims to org membership after OAuth login succeeds. Covers mapProfileToUser, session.create.before, session.create.after hooks, MERGE INTO upserts, tenant-org mapping, and first-admin bootstrap. Keywords: IDCS groups, org_members, provisioning, session hooks, tenant map, MERGE INTO.