MCP HubMCP Hub
SKILL·B4B698

loki-seal

asklokesh
Actualizado 23 days ago
20 vistas
1,093
206
1,093
Ver en GitHub
Pruebasaitestingdesign

Acerca de

Loki Seal es un control de calidad para desarrolladores que completan tareas de codificación en repositorios con pruebas. Ejecuta automáticamente el conjunto de pruebas local y bloquea la finalización si las pruebas fallan recientemente, si se reduce la cobertura de pruebas o si se debilitan las configuraciones de CI. Esta herramienta se ejecuta completamente de forma local sin requerir llamadas al modelo.

Instalación rápida

Claude Code

Recomendado
Principal
npx skills add asklokesh/claudeskill-loki-mode -a claude-code
Comando PluginAlternativo
/plugin add https://github.com/asklokesh/claudeskill-loki-mode
Git CloneAlternativo
git clone https://github.com/asklokesh/claudeskill-loki-mode.git ~/.claude/skills/loki-seal

Copia y pega este comando en Claude Code para instalar esta habilidad

Documentación

Loki Seal

The enforcing piece is the plugin's Stop hook (bin/loki-seal.js). This skill is advisory: it tells you what the hook checks so you do not trip it. It registers no hooks itself.

When you try to finish, the hook:

  1. Detects the runner (npm test with node --test/jest/vitest, pytest, go test, cargo test) and runs the real suite on the working tree.
  2. Blocks the stop when tests newly fail since session start (already-red tests are reported, not blamed, except that a request item whose tests fail now always blocks), when the run crashed or ran nothing, when the total test count dropped, or when, compared with the session baseline, a test file was removed, test declarations or assertions dropped, a skip/xfail/only marker was added, or a CI workflow test step was removed or softened.
  3. Reads the delivery contract from your first request (see README) and blocks while a request item (a must or bullet line of 2+ keywords) has no matching test that contains an assertion token and that the runner reported as passed (comments, docstrings, string, template and regex literals, skipped tests and tests in files the runner never ran never count), and always blocks while any test matched to a request item fails now: failing tests never count as covered. Only sentences opening with I, we, let me or let's (and tool-version or status notes) are dropped as chat and listed in the contract line; You, Our, My and Please sentences with a modal are requirement items. A spec file counts only when you mark it ("spec: docs/x.md"); when no contract can be derived the receipt says "NOT VERIFIED: no contract".
  4. Reports a 6-line receipt (outcome, runner and counts, tests-integrity, contract, tree hash, Verified by Loki link).

What to do when it blocks

Fix the production code. Do not delete, skip, xfail or weaken tests to get green; that is exactly what the hook detects. If a test is genuinely wrong, tell the user and let them decide.

Install

Install the plugin: claude plugin marketplace add <owner/repo or path>, then install loki-seal from the /plugin UI. Installing only this skill gives you the guidance but no enforcement.

Repositorio GitHub

asklokesh/claudeskill-loki-mode
Ruta: packages/loki-seal/skills/loki-seal
0
ai-agentsai-coding-agentsai-coding-toolsanthropicautonomous-agentsclaude
FAQ

Preguntas frecuentes

¿Qué es el Skill loki-seal?

loki-seal es un Skill de Claude creado por asklokesh. Los Skills agrupan instrucciones y recursos que Claude carga cuando los necesita para realizar tareas relacionadas con loki-seal sin indicaciones adicionales.

¿Cómo instalo loki-seal?

Usa los comandos de instalación de esta página: añade loki-seal a Claude Code como plugin o clona su repositorio en tu directorio de skills y reinicia Claude para cargarlo.

¿A qué categoría pertenece loki-seal?

loki-seal pertenece a la categoría Pruebas.

¿Se puede usar loki-seal gratis?

Sí. loki-seal aparece en AIMCP y se puede instalar gratis.

Habilidades relacionadas

evaluating-llms-harness
Pruebas

Esta Skill de Claude ejecuta el benchmark lm-evaluation-harness para evaluar modelos de lenguaje en más de 60 tareas académicas estandarizadas como MMLU y GSM8K. Está diseñada para que los desarrolladores comparen la calidad de los modelos, realicen seguimiento del progreso del entrenamiento o reporten resultados académicos. La herramienta admite varios backends, incluidos modelos de HuggingFace y vLLM.

Ver habilidad
cloudflare-cron-triggers
Pruebas

Esta habilidad proporciona conocimiento integral para implementar Cron Triggers de Cloudflare y programar Workers mediante expresiones cron. Cubre la configuración de tareas periódicas, trabajos de mantenimiento y flujos de trabajo automatizados, manejando problemas comunes como expresiones cron inválidas y inconvenientes de zonas horarias. Los desarrolladores pueden utilizarla para configurar manejadores programados, probar activadores cron e integrar con Workflows y Green Compute.

Ver habilidad
webapp-testing
Pruebas

Esta habilidad de Claude proporciona un kit de herramientas basado en Playwright para probar aplicaciones web locales mediante scripts de Python. Permite verificación de frontend, depuración de interfaz de usuario, captura de pantallas y visualización de registros, mientras gestiona los ciclos de vida del servidor. Úsela para tareas de automatización de navegadores, pero ejecute los scripts directamente en lugar de leer su código fuente para evitar contaminación del contexto.

Ver habilidad
finishing-a-development-branch
Pruebas

Esta habilidad ayuda a los desarrolladores a completar el trabajo terminado verificando que las pruebas pasen y luego presentando opciones estructuradas de integración. Guía el flujo de trabajo para fusionar, crear PRs o limpiar ramas después de que se completa la implementación. Úsala cuando tu código esté listo y probado para finalizar sistemáticamente el proceso de desarrollo.

Ver habilidad