/loxihart-engineering:engineering-patternsfrom loxihart-engineering
Production engineering pattern library spanning 11 phases — Foundation, Resilience, Performance, Data Integrity, Observability, Deployment, Scalability, Edge Cases, Security Deep, Compliance/DR/FinOps, and AI/HITL. Use when auditing code for production readiness, applying hardening patterns, reviewing system design, pattern audit, apply phase, harden this, production-ready, resilience patterns, observability gaps, security review, DR plan, FinOps, or AI guardrails. Use alongside engineering-staff-workflows for execution. Not for writing the implementation itself — that is engineering-staff-workflows.
Ships in loxihart-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use when — auditing a service or system for production readiness, or applying a specific hardening phase to existing code.
Do NOT use when — writing the implementation (use engineering-staff-workflows) or making a quick single-file fix that does not need a phase audit.
/engineering-patterns:audit-patterns to score a codebase against all 11 phases/engineering-patterns:apply-phase <N> to get actionable patterns for a specific phasereference/phase-NN-*.md file for deep-dive on a specific concern| # | Phase | Key Concern |
|---|---|---|
| 01 | Foundation | Code quality, testing, CI/CD baseline |
| 02 | Resilience | Error handling, retries, circuit breakers |
| 03 | Performance | Caching, query optimization, profiling |
| 04 | Data Integrity | Transactions, idempotency, validation |
| 05 | Observability | Logging, tracing, metrics, alerting |
| 06 | Deployment | Blue-green, canary, feature flags, rollback |
| 07 | Scalability | Horizontal scaling, queues, sharding |
| 08 | Edge Cases | Concurrency, timeouts, large payloads |
| 09 | Security Deep | Auth, secrets, injection, supply chain |
| 10 | Compliance / DR / FinOps | Audit logs, BCP, cost controls |
| 11 | AI / HITL | LLM integration, prompt safety, human gates |
Each phase is scored 0–5:
Target: Phase 1–6 at ≥ 4 before shipping to production. Phase 7–11 at ≥ 3.
Maintainability > Correctness > Security > Observability > Scalability > Performance > Cleverness
Never sacrifice Security silently. Call out conflicts explicitly.
reference/phase-NN-*.md before making recommendationsNamed failure modes for this skill. Each is a hard stop, not a warning.
reference/phase-01-foundation.md (opens in a new tab)reference/phase-02-resilience.md (opens in a new tab)reference/phase-03-performance.md (opens in a new tab)reference/phase-04-data-integrity.md (opens in a new tab)reference/phase-05-observability.md (opens in a new tab)reference/phase-06-deployment.md (opens in a new tab)reference/phase-07-scalability.md (opens in a new tab)reference/phase-08-edge-cases.md (opens in a new tab)reference/phase-09-security-deep.md (opens in a new tab)reference/phase-10-compliance-dr-finops.md (opens in a new tab)reference/phase-11-ai-hitl.md (opens in a new tab)reference/staff-engineer-audit.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-engineering22 skills in this plugin
/administering-supabaseManages Supabase database operations for FlashFusion's production stack — schema design, Row Level Security policies, migrations, Edge Functions, and debugging. Active project: flashnframe-app (etctmappdhpjuwptdbeb). Use when the user mentions: Supabase, RLS, row level security, migration, schema, database, table, Edge Function, auth, policies, Postgres, supabase query, database admin, add a column, create a table, why is my query blocked, or any task involving the Supabase project or database structure.
/auditing-logicAudits code for logical errors before they become bugs — control flow gaps, data contract violations, schema/type drift, business logic inconsistencies, and silent failure paths. Produces a severity-rated issue list with a one-line diagnosis and one-line fix per finding. Use this skill whenever code is pasted with a review request, or when the user says "audit this", "check the logic", "does this make sense", "any issues with this", "logic audit", "what's wrong here", "review this function", "is this correct", or hands you any code file and wants a critical eye. Even if the user does not say "logic" — if code is present and they want feedback, use this skill. Also triggers on: "find the bug", "something feels off", "is this right", "sanity check this", "does this hold", "validate my logic", "code review", "PR review", "review this PR".
/code-auditorPerforms comprehensive codebase analysis covering architecture, code quality, security, performance, testing, and maintainability. Use when user wants to audit code quality, identify technical debt, find security issues, assess test coverage, or get a codebase health check./code-transferTransfer code between files with line-based precision. Use when users request copying code from one location to another, moving functions or classes between files, extracting code blocks, or inserting code at specific line numbers./debug-like-expertDeep analysis debugging mode for complex issues. Activates methodical investigation protocol with evidence gathering, hypothesis testing, and rigorous verification. Use when standard troubleshooting fails or when issues require systematic root cause analysis. Triggers on: debug this, root cause analysis, systematic debugging, why is this failing, trace this bug, diagnose this issue, investigation protocol, hypothesis testing./engineering-staff-workflowsOperates as a security-first, scope-gated Staff Engineer workflow for production system builds across a 50–200 engineer organization. Routes every task through mandatory SCOPE_MODE gating, applies WSJF backlog prioritization, enforces AppSec-grade threat modeling, and covers the full stack from frontend to edge to AI pipeline to agent orchestration. Use when the user mentions: multi-file builds, agent or MCP systems, infrastructure work, security audits, full-stack features, or any architecture requiring agentic-aware design with observability-first patterns. Also triggers on: help me architect this, build this properly, review my system design, multi-file build, how should I structure this, is this production ready, or any request involving 3 or more files or system-level thinking.