Getting Started

Installation & Setup

Install Triqual, connect MCP servers, complete first-time setup

Installation & Setup

Category: Getting Started | Updated: 2026-02-02

Learn how to install Triqual, connect MCP servers, and complete first-time setup.


Overview

Triqual is distributed as a Claude Code plugin through the marketplace or for local development. Installation automatically configures:

  • 3 MCP servers (Quoth, Exolar, Triqual-Context)
  • 7 hooks for workflow enforcement
  • 5 skills (slash commands)
  • 5 specialized agents
  • 31 Playwright best practice rules

Installation Methods

From Marketplace (Recommended)

# Add plugin from marketplace
/plugin marketplace add Montinou/triqual

# Install the plugin
/plugin install triqual-plugin@triqual

Local Development

# Clone repository and point Claude Code to plugin directory
claude --plugin-dir /path/to/triqual/triqual-plugin

What Gets Installed Automatically

MCP Servers

ServerPurposeAuto-Installed
quothPattern documentation and learning✅ Yes
exolar-qaTest analytics and failure history✅ Yes
triqual-contextContext loading subprocess✅ Yes

MCP servers are configured via .mcp.json at the plugin root and require OAuth authentication on first use.

Hooks

HookEventPurpose
SessionStartSession begins + after compactionInitialize session, detect active run logs
PreToolUse (Edit/Write)Writing .spec.tsBlock if documentation incomplete
PreToolUse (Bash)Before playwright testBlock if retry limits exceeded
PostToolUse (Bash)After playwright testRequire run log update
SubagentStartBefore agent runsInject context (run log, knowledge)
SubagentStopAfter agent completesGuide next step
PreCompactBefore context compactionPreserve run log state
StopSession endsCheck for missing learnings

Skills (Slash Commands)

SkillCommandPurpose
init/initInitialize project with .triqual/ directory
test/test loginFull autonomous test generation
check/checkLint tests for violations
rules/rulesView Playwright best practices
help/helpGet help and troubleshooting

Agents

AgentColorRole
test-planner🟣 PurpleANALYZE/RESEARCH/PLAN stages
test-generator🟢 GreenWRITE stage - generate code
test-healer🔵 BlueFIX stage - autonomous healing
failure-classifier🟠 OrangeClassify failure types
pattern-learner🟣 PurpleLEARN stage - extract patterns

Playwright Rules

31 best practice rules across 8 categories:

  • Locators & Selectors
  • Waits & Timing
  • Assertions
  • Page Objects
  • Test Organization
  • Network Mocking
  • Parallelization
  • Debugging

First-Time Setup

Step 1: Install Plugin

Use marketplace or local development method above.

Step 2: Authenticate MCP Servers

On first run, Claude Code will prompt for OAuth:

Quoth:

  • Visit: https://quoth.ai-innovation.site/api/mcp
  • Authorize with your account
  • Pattern documentation unlocked ✅

Exolar:

  • Visit: https://exolar.ai-innovation.site/api/mcp/mcp
  • Authorize with your account
  • Test analytics unlocked ✅

Verify MCP connection:

/mcp

Should show quoth, exolar-qa, and triqual-context as connected.

Step 3: Initialize Project

Navigate to your test project and run:

/init

This analyzes your project and generates:

  • .triqual/runs/ directory for run logs
  • .triqual/knowledge.md for project patterns
  • triqual.config.ts with detected settings
  • Optional Docs/context/ files

Step 4: Start Testing

# Full autonomous test generation
/test login

# Interactive exploration only
/test --explore dashboard

# From Linear ticket
/test --ticket ENG-123

Verification

Check installation is complete:

CheckCommandExpected Result
Plugin installed/plugin listShows triqual-plugin@triqual
MCP connected/mcpShows quoth, exolar-qa, triqual-context
Skills available/helpShows 5 skills
Project initializedls .triqualShows runs/, knowledge.md

Troubleshooting

MCP Not Connected

Symptom: /mcp doesn't show Quoth or Exolar

Solution:

  1. Check .mcp.json exists at plugin root
  2. Restart Claude Code
  3. Re-authenticate when prompted

Hooks Not Triggering

Symptom: No enforcement messages when writing tests

Solution:

  1. Verify hooks/hooks.json syntax
  2. Check hook scripts are executable: chmod +x hooks/*.sh
  3. Enable debug mode: export TRIQUAL_DEBUG=true

Session State Stale

Symptom: Session behaves unexpectedly

Solution:

rm -rf ~/.cache/triqual/

Related Documentation


Next Steps: Run /init in your project, then read Skills Reference to learn available commands.