microservice-readiness
Use to audit whether an existing microservice is fully ready across ALL production dimensions — backend, DB, frontend, npm packages (TS + Python), tests, SDK…
от FuzeOne★ 18 звёзд на GitHub
Установить microservice-readiness в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
microservice-readiness
Audits an existing microservice against the full FuzeFront production-readiness checklist. Run this after sprint closure, before flipping enabled: true in Helm/feature-flag, and as part of any pre-release gate. The audit produces a status table (Complete / Gap / Missing) plus a fix list — every gap is a required fix, not a suggestion.
Inputs
<service>— the service name exactly as it appears inservices/<service>/andvalues.yaml(e.g.selection-list-service)<slug>— the camelCase key invalues.yaml(e.g.selectionListService)<flag>— the feature flag key (e.g.fuzefront.selection-lists.service)<ts-client-pkg>— the published TypeScript client package name (e.g.@fuzeone/selection-list-client)<ui-pkg>— the published UI package name if any (e.g.@fuzeone/selection-lists-ui)
Checklist (run every item, report every finding)
1. Backend service
Look in services/<service>/src/:
- Entry point (
app.ts) mounts routes in correct order (health before auth, auth before business) - All resource routes present (
lists.ts,items.ts, etc. matching OpenAPI paths) - Auth middleware (
middleware/auth.ts) — stateless JWT verify, no DB round-trip on every request - Authz middleware (
middleware/authz.ts) — Security-API-backed ReBAC (Permit.io via@fuzefront/auth); test-mode no-op; flag kill-switch present - Service layer extracted from route handlers (not inline controller logic)
- Health endpoint returning
{ status: "ok" }at/health -
Dockerfileis multi-stage, non-root, copies all workspace packages it imports (checkpackage.jsonfor@fuzefront/*and@fuzeone/*deps; each must have aCOPY packages/<pkg>/stage beforenpm install)
Fix if missing: Implement the missing slice; ensure Dockerfile COPY mirrors packages/identity/ + packages/feature-flags/ pattern.
2. Database
Look in services/<service>/src/db/migrations/:
- Core tables migration (resources with typed IDs, org_id isolation, unique constraints)
- All referenced join/junction tables have migrations
- Indexes migration (separate, applied after data migrations)
- All migrations are ordered (
YYYYMMDD_NNNNNN_description.ts) and idempotent (createTableIfNotExists/CREATE TABLE IF NOT EXISTS) - Knex config at
src/db/knexfile.ts(or equivalent) - Migration runner at
src/db/migrate.ts— called on pod start or via Helm pre-sync Job
Fix if missing: Add the missing migration in the next numbered slot; test that it runs twice without error.
3. Frontend UI package
Look in packages/<service>-ui/:
- Package exists with a real
package.json(name,version,publishConfig→ GitHub Packages,access: "restricted") - Exports actual React components (not
export {}placeholder stubs) - Vite config present with
libmode +tsconfig.build.jsonfor.d.tsemission - All flows from
design/frames/<feature>/manifest.jsonare implemented (compare frame inventory vs exported components) -
App.tsx(shell) imports from this package and uses real components, gated byuseFlag('<flag>', false) - Shell nav item (
SidePanel.tsxor equivalent) is also flag-gated
Fix if missing: Implement missing flows; add FederatedAppErrorBoundary wrapper on each route; ensure <Navigate to="/dashboard" replace /> when flag is OFF.
4. npm Packages (TypeScript + Python)
TypeScript client (<ts-client-pkg> at <ts-client-dir>/):
-
package.jsonhasname,version,publishConfig.registry: "https://npm.pkg.github.com",publishConfig.access: "restricted",repositoryfield -
src/client.tscovers all OpenAPI operations (verify against spec path count) -
src/types.tsmatches OpenAPI schemas -
src/errors.tsmaps HTTP status codes to typed error classes -
package.jsonhas alint:contractscript running Spectral against the service OpenAPI spec - Published in
release.ymlon version bump (or dedicated publish workflow)
Python client (packages/<service>-client-py/ or similar):
- Present if the service is consumed by any Python workloads
- Has a dedicated PyPI publish workflow triggered on tag
<pkg>/v*
Fix if missing: Add the missing package; wire its publish into packages-publish.yml or a dedicated workflow.
5. Tests
Service unit tests (services/<service>/tests/):
- Test files cover all route handlers + middleware + service layer
-
package.jsontestscript runs them - Wired into CI (
ci.ymlorservice-tests.yml) — must be a required gate, not just present on disk
Contract/acceptance integration tests (tests/<service>/):
- Independent test package
@fuzefront/<service>-tests - Covers all API paths from the OpenAPI spec (contract tests)
- Security tests: authz boundary tests (403 for unpermitted cal
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл microservice-readiness?
Use to audit whether an existing microservice is fully ready across ALL production dimensions — backend, DB, frontend, npm packages (TS + Python), tests, SDK client, OpenAPI spec, MCP tools, user/org global event handling, Helm deploy, CI gating, and feature flag registration. Returns a per-dimension status table with concrete gap findings and the fix action required for each gap. Not for building new services — see microservice-builder.
Как установить скилл microservice-readiness?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл microservice-readiness запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…