test-create

A test-writing helper that drafts checks for code, including normal inputs, edge cases, and failures. It can cover unit tests, integration tests, and acceptance criteria.

In plain words
What is it for?
Use it to plan and write tests for new code, verify bug fixes, check invalid inputs, and assess whether a change has enough verification.
Why use it?
It helps turn expected behavior into focused tests without tying the tests to the code's internal implementation. This makes it easier to check changes and reproduce bugs with a failing test.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/luizedupp/rememb/test-create
Any agent
npx skills add LuizEduPP/Rememb --skill test-create
Clone the repo
git clone --depth 1 https://github.com/LuizEduPP/Rememb

Made for: Claude Code, Codex.

Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.00527
Opus 5 $0.00012 $0.00264
Sonnet 5 $0.00005 $0.00105
Haiku 4.5 $0.00002 $0.00053

Measured yesterday against content hash 58d14fb1b045, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

test-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/rememb_skills/test-create/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Tests

Generate comprehensive test cases for code.

Overview

Use this skill to draft focused tests that cover behavior, edge cases, and failures without coupling the tests to implementation details.

When to Use

  • Writing new unit tests
  • Adding integration or acceptance coverage
  • Reproducing a bug with a failing test first
  • Checking whether a change has enough verification

Quick Start

  1. Identify the behavior or acceptance criterion
  2. Add one happy-path test
  3. Add the most important edge case
  4. Add the failure mode or invalid input case
  5. Run the narrowest possible test command first

Test Categories

Category Examples
✅ Happy Path Normal inputs, standard cases
🔸 Edge Cases Empty, boundary, min/max
❌ Error Cases Invalid inputs, failures

Python (pytest)

import pytest

class TestFunction:
    def test_valid_input_returns_expected(self):
        assert function("valid") == "expected"
    
    def test_empty_input_returns_empty(self):
        assert function("") == ""
    
    def test_invalid_raises_error(self):
        with pytest.raises(ValueError):
            function(None)

JavaScript (Jest)

describe('function', () => {
  it('returns expected for valid input', () => {
    expect(fn('valid')).toBe('expected');
  });

  it('handles empty input', () => {
    expect(fn('')).toBe('');
  });

  it('throws for invalid', () => {
    expect(() => fn(null)).toThrow();
  });
});

Naming Convention

test_[what]_[condition]_[expected]

test_login_valid_credentials_returns_token
test_login_wrong_password_raises_error

Coverage Goals

Type Target
Business logic 80%+
Utilities 90%+
UI 60%+

Best Practices

  • Test behavior, not implementation
  • One assertion per test
  • Mock external dependencies
  • Keep tests fast

Core Workflow

Follow the primary workflow, commands, and decision points documented in the sections below.

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 106 lines · 23 tokens per session scan A 58d14fb1b045

Subscribe to this mod's changes

test-create is a skill published in the GitHub repository LuizEduPP/Rememb (4 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 527 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

claude-api

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports anthropic/@anthropic-ai/sdk; user asks for…

Prismer-AI/PrismerCloud · 193 tokens

agent-coordination

Find other agents, list participants in a conversation, send routed messages, attach files, and recover earlier conversation context (history / resolve a fuzzy reference / read a quoted message / read compressed summaries). Use whenever you need to delegate to another agent, address a peer in a multi-agent…

Prismer-AI/PrismerCloud · 122 tokens

image-generate

Generate an image from a text prompt via the cloud LLM image proxy, persist it as a content-addressed workspace asset, and return a ContentBlock that downstream renderers can attach. Use whenever the user asks "draw / generate / make an image of …", an agent needs a diagram / illustration as a follow-up artifact, or a…

Prismer-AI/PrismerCloud · 103 tokens

claim-agent-ownership

Orchestrator skill for resolving multi-daemon binding contention. Use when you (the orchestrator) detect an agent.binding.contested sync event indicating two daemons are racing for the same agent — explicitly rebind ownership to a chosen target daemon so subsequent dispatches route deterministically. Implements Gap…

Prismer-AI/PrismerCloud · 101 tokens

prismer-im-collab

Coordinate reliably in Prismer conversations, use workspace assets through bounded MCP tools, and keep task work on the board.

Prismer-AI/PrismerCloud · 30 tokens

human-approval

Request human approval before performing a SAFETY-CRITICAL, IRREVERSIBLE, or SCOPE-EXPANDING action — submit a structured context (action, scope, risk, consequence) plus options, then STOP the current turn. The platform redispatches the agent after the human decides. NEVER use for routine deliverables (writing docs /…

Prismer-AI/PrismerCloud · 168 tokens