/ Directorio / Playground / TDD Guard
● Comunidad nizos ⚡ Instantáneo

TDD Guard

por nizos · nizos/tdd-guard

Automated TDD enforcement for Claude Code — blocks code without tests, works across languages and runners.

TDD Guard is a Claude skill / skill pack maintained by nizos. Automated TDD enforcement for Claude Code — blocks code without tests, works across languages and runners. See README for installation and configuration: https://github.com/nizos/tdd-guard

Por qué usarlo

Características clave

Demo en vivo

Cómo se ve en la práctica

tdd-guard.replay ▶ listo
0/0

Instalar

Elige tu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "tdd-guard": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/nizos/tdd-guard",
        "~/.claude/skills/tdd-guard"
      ],
      "_inferred": true
    }
  }
}

Abre Claude Desktop → Settings → Developer → Edit Config. Reinicia después de guardar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "tdd-guard": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/nizos/tdd-guard",
        "~/.claude/skills/tdd-guard"
      ],
      "_inferred": true
    }
  }
}

Cursor usa el mismo esquema mcpServers que Claude Desktop. La configuración del proyecto prevalece sobre la global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "tdd-guard": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/nizos/tdd-guard",
        "~/.claude/skills/tdd-guard"
      ],
      "_inferred": true
    }
  }
}

Haz clic en el icono MCP Servers de la barra lateral de Cline y luego en "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "tdd-guard": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/nizos/tdd-guard",
        "~/.claude/skills/tdd-guard"
      ],
      "_inferred": true
    }
  }
}

Mismo formato que Claude Desktop. Reinicia Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "tdd-guard",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/nizos/tdd-guard",
        "~/.claude/skills/tdd-guard"
      ]
    }
  ]
}

Continue usa un array de objetos de servidor en lugar de un mapa.

~/.config/zed/settings.json
{
  "context_servers": {
    "tdd-guard": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/nizos/tdd-guard",
          "~/.claude/skills/tdd-guard"
        ]
      }
    }
  }
}

Añádelo a context_servers. Zed recarga en caliente al guardar.

claude mcp add tdd-guard -- git clone https://github.com/nizos/tdd-guard ~/.claude/skills/tdd-guard

Un solo comando. Verifica con claude mcp list. Quita con claude mcp remove.

Casos de uso

Usos del mundo real: TDD Guard

Use TDD Guard for its primary workflow

👤 Claude Code users ⏱ ~20 min intermediate

Cuándo usarlo: See repo README for canonical use cases.

Requisitos previos
  • Repo cloned or installed — See https://github.com/nizos/tdd-guard
Flujo
  1. Install
    Install TDD Guard per README.✓ Copiado
    → Skill registered with client
  2. Configure
    Provide credentials/config as instructed.✓ Copiado
    → Successful auth/init
  3. Use
    Run a sample task with TDD Guard.✓ Copiado
    → Expected output

Resultado: You can drive the documented workflow end-to-end.

Errores comunes
  • Skipping README — Read the repo README and CHANGELOG before shipping to prod.

Herramientas

Lo que expone este MCP

HerramientaEntradasCuándo llamarCoste
primary see README Primary action free

Coste y límites

Lo que cuesta ejecutarlo

Cuota de API
None of its own; bounded by upstream provider quotas if any
Tokens por llamada
Depends on usage
Monetario
Open source — check repo LICENSE
Consejo
Review upstream API costs (if any) before automating.

Seguridad

Permisos, secretos, alcance

Ámbitos mínimos: Whatever the upstream provider requires
Almacenamiento de credenciales: Env vars or local config — never commit secrets
Salida de datos: Forwards data per its README
No conceder nunca: Full admin to untrusted prompts

Resolución de problemas

Errores comunes y soluciones

Auth fails

Verify credentials and required scopes match README.

Verificar: Re-read repo README auth section.
Tool not found by client

Ensure MCP client config points to correct command/path.

Verificar: Restart the client after editing config.

Más

Recursos

📖 Lee el README oficial en GitHub

🐙 Ver issues abiertas

🔍 Ver todos los 400+ servidores MCP y Skills