fix(ops-suite): enforce adapter pattern, fix auto-chain, add consumer-patterns reference#6
Open
fix(ops-suite): enforce adapter pattern, fix auto-chain, add consumer-patterns reference#6
Conversation
… add CLAUDE.md
- db-query/db-migrate: replace hardcoded kubectl port-forward with reference to
port-forward adapter, so non-Kubernetes orchestrators work correctly
- port-forward/adapters/kubernetes.md: add separate section for pod env var
retrieval (pod_env pattern) vs Kubernetes Secret retrieval
- queue-status: change DLQ auto-chain to queue-triage into a suggest (Next steps),
preventing unintended Sonnet invocations on a simple status check
- queue-triage: remove NestJS-specific patterns from Step 6, replace with generic
grep approach + reference to new consumer-patterns.md loaded on-demand
- queue-triage/references/consumer-patterns.md: new file with framework-specific
consumer search patterns (NestJS, Spring AMQP, Celery)
- workflow-deploy: fix cross-skill adapter path from relative ../deploy/ to
${CLAUDE_PLUGIN_ROOT}/skills/deploy/ to avoid path fragility
- CLAUDE.md: add project-level guidance for future Claude Code instances
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
db-queryydb-migratetenían comandoskubectl port-forwardhardcodeados en el cuerpo de la skill. Ahora delegan al adapter del orchestrator (port-forward/adapters/{orchestrator}.md), lo que hace que las skills funcionen correctamente con Docker Compose y ECS, no solo Kubernetes.Retrieve environment variable from a running podseparada deRetrieve secret(K8s Secret vs env var de pod son mecanismos distintos).queue-statusinvocabaqueue-triageautomáticamente al detectar DLQ con mensajes, desencadenando un análisis Sonnet completo sin confirmación del usuario. Cambiado a sugerencia viaNext steps.application/amqp/,onApplicationBootstrap(),subscribe()). Reemplazado con grep genérico + puntero a nuevoreferences/consumer-patterns.md.../deploy/adapters/reemplazada por${CLAUDE_PLUGIN_ROOT}/skills/deploy/adapters/— ya no se rompe si la skilldeploycambia de ubicación relativa.Test plan
db-queryen un entorno ECS o Docker Compose carga el adapter correcto sin intentarkubectldb-migrateen Kubernetes resuelve credenciales via el nuevo section del adapterqueue-statusmuestraNext stepsen lugar de auto-invocarqueue-triagequeue-triageStep 6 funciona con un codebase no-NestJSworkflow-deploycarga el CI adapter correctamente con${CLAUDE_PLUGIN_ROOT}🤖 Generated with Claude Code