go-add-test SKILL.md skillA

go-add-test from jotjunior/cstk is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jotjunior/cstk/go-add-test@git:20260808.cf87854

Pins git:20260808.cf87854 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jotjunior/cstk
Path
plugins/cstk-language-go/skills/go-add-test/SKILL.md
Versions recorded
2
Latest version
git:20260808.cf87854, committed Aug 8, 2026
First version recorded
Aug 8, 2026
Size
11,192 bytes
Repository stars
24
License
MIT

Add unit/integration tests to a GOB Go microservice following established project patterns. Triggers: "add test", "add tests", "criar teste", "novo teste", "test coverage", "testar", "write tests for", "escrever testes para".

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# go-add-test

Add unit/integration tests to a GOB Go microservice following established project patterns.

## Triggers

- "add test", "add tests", "criar teste", "novo teste", "test coverage", "testar"
- "write tests for", "escrever testes para"
- Examples: "add tests for process-service service layer", "criar testes de domain para bulletin-service"

## Instructions

You generate Go tests for GOB microservices following the MockFunc pattern established in `gob-member-service` and `gob-auth-service`.

### Step 1: Identify Target

Parse the user request to determine:
- **Service**: which service in `services/` (e.g., `gob-process-service`)
- **Layer**: which layer to test: `domain`, `service`, `handler`, `repository`, `consumer`
- **Scope**: specific file/method or entire layer

If not specified, ask the user.

### Step 2: Pre-flight Reads

Before writing ANY test code, read these files in the target service:

1. **Repository interfaces** — `internal/repository/repository.go` or similar interface files
   - These define the methods you need to mock
2. **Target source file** — the file being tested (e.g., `internal/service/member_service.go`)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jotjunior/cstk/go-add-test@sha256:e2a95d9198fea5cd

The line at the top of this page pins the label git:20260808.cf87854, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_uk5r5gzpmiirbkb6.svg)](https://markdownregistry.com/a/art_uk5r5gzpmiirbkb6)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Aug 8, 2026. Its first recorded version is graded C and its latest A.

versioncommittedcommitsizeaudit
git:20260808.cf87854 latest2026-08-08 cf87854 11,192 BA view · diff
git:20260808.4c75eb42026-08-08 4c75eb4 10,848 BC view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11192 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jotjunior/cstk · 24 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_uk5r5gzpmiirbkb6
GET https://markdownregistry.com/api/v1/resolve?ref=jotjunior/cstk/go-add-test
GET https://markdownregistry.com/api/v1/blob/e2a95d9198fea5cd35253cbe1552e54eecad0250aeb10d9ece94f458eb509595

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jotjunior/cstk

AGENTS.md AGENTS.md file
jotjunior/cstk · AGENTS.md
git:20261003.935dc28 · audit A · 24 stars
agente-00c-abort SKILL.md skill
jotjunior/cstk · adapters/codex/skills/agente-00c-abort/SKILL.md · Use quando o usuário solicitar explicitamente agente-00c-abort no Codex para encerrar a execução de projeto pela…
git:20261003.935dc28 · audit A · 24 stars
agente-00c-resume SKILL.md skill
jotjunior/cstk · adapters/codex/skills/agente-00c-resume/SKILL.md · Use quando o usuário solicitar explicitamente agente-00c-resume no Codex para retomar a execução de projeto pela…
git:20261003.935dc28 · audit A · 24 stars
agente-00c SKILL.md skill
jotjunior/cstk · adapters/codex/skills/agente-00c/SKILL.md · Use quando o usuário solicitar explicitamente agente-00c no Codex para conduzir a execução de projeto pela pipeline…
git:20261005.7b51b6e · audit A · 24 stars
feature-00c-abort SKILL.md skill
jotjunior/cstk · adapters/codex/skills/feature-00c-abort/SKILL.md · Use quando o usuário solicitar explicitamente feature-00c-abort no Codex para encerrar a execução da feature pela…
git:20261003.935dc28 · audit A · 24 stars
feature-00c-resume SKILL.md skill
jotjunior/cstk · adapters/codex/skills/feature-00c-resume/SKILL.md · Use quando o usuário solicitar explicitamente feature-00c-resume no Codex para retomar a execução da feature pela…
git:20261003.935dc28 · audit A · 24 stars
feature-00c SKILL.md skill
jotjunior/cstk · adapters/codex/skills/feature-00c/SKILL.md · Use quando o usuário solicitar explicitamente feature-00c no Codex para conduzir a execução da feature pela pipeline…
git:20261026.1df23be · audit A · 24 stars
jira-convert SKILL.md skill
jotjunior/cstk · plugins/cstk-jira/skills/jira-convert/SKILL.md · Converte uma feature documentada localmente (spec.md + tasks.md) num Epic do Jira com Tasks e Sub-tasks…
git:20260930.dfb9def · audit A · 24 stars
jira-setup SKILL.md skill
jotjunior/cstk · plugins/cstk-jira/skills/jira-setup/SKILL.md · Guided setup of the cstk-jira plugin for a target project: Jira site, project key, credential (own terminal, never…
git:20260927.f78b82c · audit A · 24 stars
jira-sync SKILL.md skill
jotjunior/cstk · plugins/cstk-jira/skills/jira-sync/SKILL.md · Mostra o status da sincronizacao autonoma entre feature e Jira (fila, conflitos, orfaos) e conduz o operador a resolver…
git:20260930.dfb9def · audit A · 24 stars
commit SKILL.md skill
jotjunior/cstk · plugins/cstk-language-go/skills/commit/SKILL.md · Commit staged and unstaged changes with a well-crafted conventional commit message. Handles submodule updates…
git:20260808.4c75eb4 · audit A · 24 stars
go-add-consumer SKILL.md skill
jotjunior/cstk · plugins/cstk-language-go/skills/go-add-consumer/SKILL.md · Add a RabbitMQ event consumer to an existing GOB Go microservice
git:20260808.4c75eb4 · audit A · 24 stars

Every file in jotjunior/cstk

Browse by kind, by grade A, or by owner.