Codebase Modernize & Harden Pack
Ten skills for the two jobs every growing codebase falls behind on: upgrading the stack before old versions go out of support, and closing the gaps that cause incidents. Each skill ends in a clear verdict, so you know what is done and what still needs you.
Modernize:
- ESLint flat config and ESLint 10, with a before/after parity check so no rules or files are silently lost.
- Tailwind CSS v3 to v4, including the class names and default style changes the official tool misses, checked with screenshots.
- JavaScript to TypeScript in small batches with a strictness ladder and a CI typecheck.
- Python projects to uv, pyproject.toml, ruff and pytest.
- JS/TS repos into a pnpm monorepo with Turborepo or Nx.
Harden:
- Leaked API key response: rotate first, find every copy, scrub git history safely, add push protection.
- API rate limiting and brute-force protection with a spoof-proof client IP and a tested 429.
- Background job queues (BullMQ, Celery, Sidekiq and more) that do not lose or double-run jobs, proven with a crash test.
- STRIDE threat model with a data flow diagram traced to your code.
- Bash scripts hardened with ShellCheck, safe defaults and tests.
Who it is for: tech leads, senior and full-stack developers, and small teams paying down tech debt or preparing for a security review.
Why a bundle: the skills share one way of working. Each checks the current state before changing anything, reports only what it actually ran, asks before risky actions such as force-pushes or package installs, and returns a verdict you can act on.
Works with any agent that supports the SKILL.md standard, including Claude Code, Codex CLI, Cursor and Gemini CLI.
Works with any agent that signs in to Agensi, such as Claude, ChatGPT, Claude Code, Cursor and Codex CLI.
One payment, lifetime access. 10 skills unlock instantly in your library.
What's included
10 skillsMigrate .eslintrc to eslint.config.js and upgrade to ESLint 10 without silently losing rules, files or plugins. Before/after parity proof. MIGRATED / PARTIAL / BLOCKED.
Upgrade Tailwind v3 to v4 and catch what the tool misses: dynamic classes, new border, ring and hover defaults, @apply in Vue/Svelte. UPGRADED / REVIEW VISUALS / STAY ON V3.
Migrate a JS codebase to TypeScript in small batches with a strictness ladder, counted escape hatches and a CI typecheck. Verdict ON TRACK, STALLED or RISKY.
Set up or migrate a Python project to uv, pyproject.toml, ruff, pytest, pre-commit, GitHub Actions and Docker, then rate it MODERN, PARTIAL or LEGACY.
Set up or merge JS/TS repos into a pnpm workspace monorepo with Turborepo or Nx, affected-only CI and per-app Docker builds. Verdict HEALTHY / FRICTION / TANGLED.
Committed an API key or password? Find every leak with gitleaks and TruffleHog, rotate in the right order, check for misuse, scrub history safely, add push protection.
Add or audit API rate limits: per user, key and route, login and LLM cost limits, spoof-proof client IP, Redis, 429 + Retry-After, tested. PROTECTED / GAPS / WIDE OPEN.
Stop background jobs being lost, run twice or stuck: idempotency, retries, dead letters, timeouts, graceful deploys, crash-tested. RELIABLE / AT RISK / LOSING JOBS.
Evidence-based STRIDE threat model from your repo: Mermaid data flow diagram with trust boundaries, threats traced to file:line, top 5 fixes. LOW RISK, ACTION NEEDED or HIGH RISK.
Hardens or writes bash and sh scripts with ShellCheck, quoting, safe rm, traps, getopts, dry-run and macOS fixes, plus tests. Verdict SAFE / FIX FIRST / DANGEROUS
See it in action
ESLint Flat Config Migration to ESLint 10 with Parity Check
Example session with this skill installed
Move our Next.js + TypeScript repo from .eslintrc.json to flat config and ESLint 10. We use typescript-eslint, react, react-hooks, jsx-a11y, import and prettier. Lint is run with eslint . --ext .ts,.tsx in CI. Don't lose any rules.
- Read your context and instructions
- Compiled the eslint flat config
- Generated the UI component
ESLint migration: web-app — VERDICT: PARTIAL
Summary
ESLint 8.57 → 10.x, Node 22.14 (meets the 22.13+ minimum). 3 config sources (.eslintrc.json, src/legacy/.eslintrc.json, .eslintignore) merged into eslint.config.mjs.
Parity evidence
| Check | Before | After | Status |
|---|---|---|---|
| Files linted | 418 | 418 | Same |
| Enabled rules (src/app/page.tsx) | 192 | 195 | +3 explained |
| Problems | 27 | 34 | +7 explained |
First draft linted only 141 files: files matched **/*.js and dropped every .ts/.tsx file that --ext used to cover. Fixed with files: ["**/*.{ts,tsx,mts,cts}"].
Rule and result differences
| Rule | Change | Cause | Action |
|---|---|---|---|
| no-useless-assignment | new, 4 problems | added to eslint:recommended in v10 | fix (real dead writes) |
| no-unassigned-vars | new, 0 problems | added to eslint:recommended in v10 | keep |
| preserve-caught-error | new, 3 problems | added to eslint:recommended in v10 | your call |
| react/jsx-uses-vars | removed | not needed: ESLint 10 tracks JSX references | removed |
Plugins
| Plugin | Native flat config? | How loaded |
|---|---|---|
| typescript-eslint | Yes | tseslint.configs.recommended |
| eslint-plugin-react | Yes | react.configs.flat.recommended |
| eslint-plugin-react-hooks | Yes (upgraded) | flat preset from the installed version's README |
| eslint-plugin-jsx-a11y | Yes | jsxA11y.flatConfigs.recommended |
| eslint-plugin-import | Yes | importPlugin.flatConfigs.recommended |
| eslint-config-prettier | Plain object | placed last |
Still to do
preserve-caught-error: 3 catch blocks rethrow withoutcause. Fix, or turn the rule off on purpose?- CI: drop
--ext .ts,.tsxfrom.github/workflows/lint.ymlsofilespatterns in the config are the single source of truth. - Old
.eslintrc.jsonfiles renamed to.bakafter your yes.
Verdict is PARTIAL until the preserve-caught-error decision and the CI change are done.
page.tsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads these skills and uses them on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every skill in this bundle goes through our trust checks.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.