Goerr Error Handling
secmon-lab/warren
Write Go error handling code using the goerr library. An agent skill from secmon-lab/warren.
Write Go test code using the gt library. An agent skill from secmon-lab/warren.
$ npx skills add secmon-lab/warren --skill test-with-gt -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install secmon-lab/warren test-with-gt --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/secmon-lab/warren.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/test-with-gt .claude/skills/test-with-gt && rm -rf skills-srcUse ~/.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/
Install the "test-with-gt" agent skill from https://github.com/secmon-lab/warren/tree/main/.claude/skills/test-with-gt into .claude/skills/test-with-gt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-with-gt", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/secmon-lab/warren/tree/main/.claude/skills/test-with-gtType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add secmon-lab/warren --skill test-with-gt -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install secmon-lab/warren test-with-gt --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/secmon-lab/warren.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/test-with-gt .agents/skills/test-with-gt && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "test-with-gt" agent skill from https://github.com/secmon-lab/warren/tree/main/.claude/skills/test-with-gt into .agents/skills/test-with-gt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-with-gt", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add secmon-lab/warren --skill test-with-gt -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install secmon-lab/warren test-with-gt --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/secmon-lab/warren.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/test-with-gt .cursor/skills/test-with-gt && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "test-with-gt" agent skill from https://github.com/secmon-lab/warren/tree/main/.claude/skills/test-with-gt into .cursor/skills/test-with-gt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-with-gt", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/secmon-lab/warren.git --path .claude/skills/test-with-gt--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add secmon-lab/warren --skill test-with-gt -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install secmon-lab/warren test-with-gt --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/secmon-lab/warren.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/test-with-gt .gemini/skills/test-with-gt && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "test-with-gt" agent skill from https://github.com/secmon-lab/warren/tree/main/.claude/skills/test-with-gt into .gemini/skills/test-with-gt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-with-gt", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install secmon-lab/warren test-with-gtInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add secmon-lab/warren --skill test-with-gt -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/secmon-lab/warren.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/test-with-gt .github/skills/test-with-gt && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "test-with-gt" agent skill from https://github.com/secmon-lab/warren/tree/main/.claude/skills/test-with-gt into .github/skills/test-with-gt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-with-gt", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add secmon-lab/warren --skill test-with-gt -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install secmon-lab/warren test-with-gt --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/secmon-lab/warren.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/test-with-gt .opencode/skills/test-with-gt && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "test-with-gt" agent skill from https://github.com/secmon-lab/warren/tree/main/.claude/skills/test-with-gt into .opencode/skills/test-with-gt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-with-gt", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
test-with-gtWrite Go test code using the gt library. An agent skill from secmon-lab/warren.
Test With Gt is an agent skill from secmon-lab/warren. Write Go test code using the gt library. Use when writing tests, creating test files, or when the user asks to add tests for Go code.
Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: AI-powered security alert management that reduces noise and accelerates response time. The licence is Apache-2.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e9c3607. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadBash(go:*)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
goFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Test With Gt loads about 509 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 150 words of instructions outside code blocks.
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.
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.
The full file from secmon-lab/warren at commit e9c3607, republished under its Apache-2.0 licence (© secmon-lab). 150 words, ~509 tokens.
.claude/skills/test-with-gt/SKILL.md (or your agent's skills folder).When writing Go test code, use the gt library for type-safe assertions.
First, find where gt is installed and read its documentation:
GT_DIR=$(go list -m -f '{{.Dir}}' github.com/m-mizutani/gt 2>/dev/null)If gt is available, read the relevant documentation from $GT_DIR/docs/:
docs/README.md - Overview and quick referencedocs/types/*.md - Detailed documentation for each test typedocs/patterns/*.md - Common patterns (method chaining, Required, Describe)| Data Type | Use | NOT |
|---|---|---|
[]T (slice) | gt.Array(t, arr).Length(3) | gt.Value(t, len(arr)).Equal(3) |
string | gt.String(t, s).Contains("x") | gt.Bool(t, strings.Contains(s, "x")).True() |
error | gt.NoError(t, err) | gt.Value(t, err).Nil() |
int, float, etc. | gt.Number(t, n).Greater(5) | gt.Bool(t, n > 5).True() |
map[K]V | gt.Map(t, m).HasKey("k") | manual check with gt.Bool |
bool | gt.Bool(t, b).True() | gt.Value(t, b).Equal(true) |
Required() for fail-fastgt.NoError(t, err).Required() // Stop immediately if error
gt.Value(t, result).NotNil().Required() // Stop if nilDescribef() for contextgt.Array(t, users).
Describef("Users for tenant %s", tenantID).
Length(5)result := gt.R1(parseJSON(input)).NoError(t)
gt.String(t, result.Name).Equal("Alice")Constructors: gt.Value, gt.Array, gt.Map, gt.Number, gt.String, gt.Bool, gt.Error, gt.NoError, gt.File, gt.Cast, gt.R1/R2/R3
Short aliases: gt.V, gt.A, gt.M, gt.N, gt.S, gt.B, gt.F, gt.C
© secmon-lab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/test-with-gt of secmon-lab/warren.
Open the folder on GitHubat commit e9c3607
secmon-lab/warren
Write Go error handling code using the goerr library. An agent skill from secmon-lab/warren.
Write Go test code using the gt library. An agent skill from secmon-lab/warren. Test With Gt is an agent skill from secmon-lab/warren. Write Go test code using the gt library.
Test With Gt fits situations like: creating test files; the user asks to add tests for Go code.
Run `npx skills add secmon-lab/warren --skill test-with-gt -a claude-code`. Or copy the skill folder (.claude/skills/test-with-gt in secmon-lab/warren) into .claude/skills/test-with-gt in your project. Claude Code loads it when a task matches its description.
Run `npx skills add secmon-lab/warren --skill test-with-gt -a codex`. Or copy the skill folder (.claude/skills/test-with-gt in secmon-lab/warren) into .agents/skills/test-with-gt in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add secmon-lab/warren --skill test-with-gt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-with-gt, .gemini/skills/test-with-gt, .github/skills/test-with-gt and .opencode/skills/test-with-gt in your project.
Going by SKILL.md and its folder, Test With Gt needs the command-line tools its instructions call (go). Its frontmatter pre-approves these tools: Read, Bash(go:*).
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.
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.
Test With Gt is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 509 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
secmon-lab (a GitHub organization) maintains it in secmon-lab/warren, which has 134 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on July 20, 2026.
Source: secmon-lab/warren on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.