Skip to content

Claude Code plugin with lifecycle skills, commands, MCP config and hooks #211

Closed

Description

@jrosskopf

Ship a Claude Code plugin for flapi, on par with (and beyond) the anofox-forecast plugin.

Scope

  • In-repo plugin: .claude-plugin/marketplace.json + plugins/flapi/ (skills, slash commands, .mcp.json, validate+reload hook), versioned with flapi CalVer.
  • 10 lifecycle skills: setup, rest, mcp, auth, cache-design, cache-tuning, testing, live-config, deploy, operate.
  • Slash commands: init, new-endpoint, add-cache, auth-setup, deploy-check, diagnose, metrics.
  • Code prerequisites:
    • cache audit (sync_events) records real duration_ms / rows_affected / snapshot_id
    • deprecate the no-op cache keys rollback-window and delete-handling (load-time warning)
    • per-endpoint request/error/latency + per-cache refresh metrics on /api/v1/_config/metrics, flapii metrics, MCP tool flapi_get_metrics
  • make check-skills in CI: validates skill YAML/SQL snippets, config keys, CLI commands, template vars and version against the binary.
  • Docs: new docs/guides/claude-code.md, README section, caching guide/spec fixes, reference updates, CLAUDE.md/AGENTS.md maintenance rule.

Definition of done

  1. ≥3 scenario-driven agent-crew rounds; last round has no P0/P1 finding in flapi, docs or skills.
  2. Load baseline before the metrics hot-path change; p95/p99 and throughput within 3% afterwards.
  3. CI green, full unit + integration suites, no new skip/xfail/continue-on-error/--ignore.

Activity

  1. added a commit that references this issue on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions