Agent skill

Testing Marchat

by Cod-e-Codes in Cod-e-Codes/marchat

Writes and runs marchat tests with race detection, coverage, and dialect smoke patterns.

MITAuto-check passedTesting & QA

Install Testing Marchat

skills CLI
$ npx skills add Cod-e-Codes/marchat --skill testing-marchat -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Cod-e-Codes/marchat testing-marchat --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Cod-e-Codes/marchat.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/testing-marchat .claude/skills/testing-marchat && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
testing-marchat
GitHub stars
137
Token cost
~802 tokens
SKILL.md length
312 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Writes and runs marchat tests with race detection, coverage, and dialect smoke patterns.

  • Fixing test failures
  • SKILL.md covers Commands, Patterns, Coverage and Anti-patterns (never do these), plus 1 more section
  • Calls go
  • Measuring coverage

What it does

Testing Marchat is an agent skill from Cod-e-Codes/marchat. Writes and runs marchat tests with race detection, coverage, and dialect smoke patterns. Use when adding tests, fixing test failures, measuring coverage, or when the user mentions go test, -race, TESTING.md, or CI database smoke.

Its SKILL.md is about 800 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Failing and flaky tests. It works with Go and MySQL. The repository describes itself as: Terminal chat for developers: Go WebSocket server + Bubble Tea TUI client, optional E2E, reactions, DMs, channels, plugins, files, code snippets, admin UI. Backends: SQLite… The licence is MIT.

When your agent uses it

  • Fixing test failures
  • Measuring coverage
  • The user mentions go test
  • CI database smoke

Example prompts

  • “Use the testing-marchat skill to write and runs marchat tests with race detection, coverage, and dialect smoke patterns”
  • “/testing-marchat”

What it can do on your machine

Read from SKILL.md and the folder at commit 3440f09. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Testing Marchat loads about 802 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 312 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~802

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Cod-e-Codes/marchat at commit 3440f09, republished under its MIT licence (© Cod-e-Codes). 312 words, ~802 tokens.

Download SKILL.mdSave it as .claude/skills/testing-marchat/SKILL.md (or your agent's skills folder).
name
testing-marchat
description
Writes and runs marchat tests with race detection, coverage, and dialect smoke patterns. Use when adding tests, fixing test failures, measuring coverage, or when the user mentions go test, -race, TESTING.md, or CI database smoke.
paths
**/*_test.go, TESTING.md

Testing marchat

Authoritative tables and file list: TESTING.md. Do not weaken tests to make CI pass.

Commands

Main module (repo root). developing-marchat requires both plain and race runs after substantive changes:

bash
go test ./...
go test -race ./...
go test -coverprofile=mergedcoverage ./...
go tool cover -func=mergedcoverage

Nested SDK (separate go.mod; not in root merged coverage):

bash
cd plugin/sdk && go test -coverprofile=sdkcover ./... && go tool cover -func=sdkcover

On Windows PowerShell, prefer a cover profile name without a .out suffix (e.g. mergedcoverage, coverage).

Stale cache:

bash
go clean -cache -testcache

Patterns

AreaPattern
SQL / handlersIn-memory SQLite; table-driven cases in server/*_test.go
Postgres / MySQLserver/db_ci_smoke_test.go; skip locally unless MARCHAT_CI_POSTGRES_URL / MARCHAT_CI_MYSQL_URL set; MySQL DSN uses mysql: or mysql:// prefix
Doctor envinternal/doctor/env.go: swap osEnviron under environMu; no t.Parallel() with other tests that swap it
TUI clientInject tea.Msg; no real terminal; testmain_test.go sets Lipgloss ANSI256 for SGR assertions
Client renderrender_test.go: URL wrap/hyperlink (headless); URL click/index helpers do not prove real-terminal opens; see TESTING.md Manual testing gaps
cmd/serverSubprocess pattern in cmd/server/subprocess_doctor_test.go
Pluginsplugin/host/plugin_lifecycle_test.go builds minimal plugin with go build
RaceCI runs go test -race ./...; plugin host StopPlugin must drain readers before reuse

Set MARCHAT_DOCTOR_NO_NETWORK=1 in tests that hit doctor update checks.

Coverage

  • Main module overall statement coverage: see README.md and TESTING.md (regenerate; do not guess).
  • plugin/sdk: measure separately (see TESTING.md).
  • After material shifts (about 0.2% or new test files), update figures in README.md and TESTING.md.

Anti-patterns (never do these)

  • Skipping -race or nested plugin/sdk module when relevant code changed
  • time.Sleep for synchronization without strong justification
  • Fudging assertions, deleting tests, or conditional passes (if os.Getenv(...) { t.Skip() } without CI contract) to green CI
  • Asserting only substring presence when ordering or side effects matter
  • Schema changes tested only on SQLite when dialect SQL diverges
  • Claiming tests pass without running go test on touched packages

Checklist

  • New behavior has a focused test
  • go test ./... passes; -race when touching concurrency
  • plugin/sdk tested if SDK touched
  • go test -coverprofile=mergedcoverage ./... and refresh README.md / TESTING.md when totals shift materially (~0.2% or new test files)
  • Report actual go test outcome in the final response

© Cod-e-Codes, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/testing-marchat of Cod-e-Codes/marchat.

Open the folder on GitHubat commit 3440f09

Compare with similar skills

Testing Marchat next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Testing Marchat compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Testing Marchat this skillCod-e-Codes/marchat137—~802Automated safety check: PassMIT
Squixeduardofuncao/squix273—~784Automated safety check: PassMIT
Tgf Server Devthkhxm/tgf128—~1.3kAutomated safety check: NotesMIT
Golang Databaseunxed/f42402 repos~2.9kAutomated safety check: PassMIT
Database Migrationsaffaan-m/ECC274k3 repos~1.9kAutomated safety check: PassMIT
Database Migrationsaffaan-m/ECC274k1 repos~2.4kAutomated safety check: PassMIT

Similar skills

  • Squix

    eduardofuncao/squix

    Run SQL queries across databases (Postgres, MySQL, SQLite, etc.) via the squix CLI.

    273 GitHub stars~784 tokensUpdated 15 days ago
    DatabasesAuto-check passed
  • Tgf Server Dev

    thkhxm/tgf

    基于 tgf v2(github.com/thkhxm/tgf/v2)用确定性的 tgfctl 工作流创建、验证和维护 Go 游戏服务器项目。

    128 GitHub stars~1.3k tokensUpdated 2 mo ago
    DatabasesAuto-check: notes
  • Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context…

    240 GitHub starsUsed in 2 repos~2.9k tokens
    DatabasesAuto-check passed
  • 数据库迁移最佳实践,涵盖模式变更、数据迁移、回滚以及零停机部署,适用于PostgreSQL、MySQL及常用ORM(Prisma、Drizzle、Django、TypeORM、golang-migrate)。

    274k GitHub starsUsed in 3 repos~1.9k tokens
    DatabasesAuto-check passed
  • Şema değişiklikleri, veri migration'ları, rollback'ler ve PostgreSQL, MySQL ve yaygın ORM'ler (Prisma, Drizzle, Django, TypeORM, golang-migrate) arasında sıfır kesinti deployment'ları için…

    274k GitHub starsUsed in 1 repo~2.4k tokens
    DatabasesAuto-check passed
  • Unblock Dependabot PR

    kubernetes-sigs/cloud-provider-azure

    Official

    Diagnose and unblock failed Dependabot pull requests in cloud-provider-azure by closing Kubernetes minor-version dependency bumps, classifying CI failures, syncing Go modules, retesting quota-flaked…

    294 GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed

More from Cod-e-Codes/marchat

All 11 skills in this repo
  • Debugging Marchat

    Cod-e-Codes/marchat

    Diagnoses marchat client and server issues using -doctor, env configuration, and logs.

    137 GitHub stars~668 tokensUpdated 4 days ago
    Auto-check: notes
  • Developing Marchat

    Cod-e-Codes/marchat

    Implements and refactors marchat Go code with project toolchain and quality gates.

    137 GitHub stars~870 tokensUpdated 4 days ago
    Auto-check passed
  • Git Workflow Marchat

    Cod-e-Codes/marchat

    Drafts conventional commit messages and pull request bodies for marchat without committing or pushing unless explicitly requested.

    137 GitHub stars~482 tokensUpdated 4 days ago
    Auto-check: notes
  • Client Marchat

    Cod-e-Codes/marchat

    Implements marchat terminal client TUI, commands, keystore, and WebSocket client behavior.

    137 GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed
  • Database Marchat

    Cod-e-Codes/marchat

    Changes marchat SQL schema and queries across SQLite, PostgreSQL, and MySQL using dialect helpers.

    137 GitHub stars~985 tokensUpdated 4 days ago
    Auto-check passed
  • Plugins Marchat

    Cod-e-Codes/marchat

    Develops and maintains marchat plugins: SDK, host IPC, manager install path, store downloads, and Ed25519 licenses.

    137 GitHub stars~558 tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Testing Marchat

What does Testing Marchat do?

Writes and runs marchat tests with race detection, coverage, and dialect smoke patterns. Testing Marchat is an agent skill from Cod-e-Codes/marchat. Writes and runs marchat tests with race detection, coverage, and dialect smoke patterns.

When should I use Testing Marchat?

Testing Marchat fits situations like: fixing test failures; measuring coverage; the user mentions go test; CI database smoke.

How do I install Testing Marchat in Claude Code?

Run `npx skills add Cod-e-Codes/marchat --skill testing-marchat -a claude-code`. Or copy the skill folder (.cursor/skills/testing-marchat in Cod-e-Codes/marchat) into .claude/skills/testing-marchat in your project. Claude Code loads it when a task matches its description.

How do I install Testing Marchat in Codex?

Run `npx skills add Cod-e-Codes/marchat --skill testing-marchat -a codex`. Or copy the skill folder (.cursor/skills/testing-marchat in Cod-e-Codes/marchat) into .agents/skills/testing-marchat in your project. Codex loads it when a task matches its description.

Can I use Testing Marchat in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Cod-e-Codes/marchat --skill testing-marchat -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-marchat, .gemini/skills/testing-marchat, .github/skills/testing-marchat and .opencode/skills/testing-marchat in your project.

What does Testing Marchat need to run?

Going by SKILL.md and its folder, Testing Marchat needs the command-line tools its instructions call (go).

Does Testing Marchat access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Testing Marchat safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Testing Marchat use?

Testing Marchat is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Testing Marchat use?

About 802 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Testing Marchat?

Skills that share tags, products or a category with Testing Marchat: Squix (eduardofuncao/squix, 273 stars), Tgf Server Dev (thkhxm/tgf, 128 stars), Golang Database (unxed/f4, 240 stars) and Database Migrations (affaan-m/ECC, 274k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Testing Marchat?

Cod-e-Codes (a GitHub user) maintains it in Cod-e-Codes/marchat, which has 137 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 3, 2026.

Source: Cod-e-Codes/marchat on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.