Skip to content
cccskills
FreePublished on GitHub

test-generator

Generates test cases for functions and components. Use when writing tests or creating test suites.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Test Generation

Structure (AAA Pattern)

it('should [expected] when [condition]', () => {
  // Arrange — set up data
  // Act — perform operation
  // Assert — verify outcome
});

Test Categories

CategoryTest For
Happy pathValid input → expected output
Edge casesEmpty, null, boundary values
Error casesInvalid input, failures
Side effectsState changes, calls made
AsyncResolve/reject paths

Naming

Pattern: should [behavior] when [condition]

Organization

  • Group with describe by function/method
  • Reset state in beforeEach
  • One concept per test

Anti-Patterns

Don'tDo
Test implementationTest behavior
Share mutable stateReset in beforeEach
Many assertions per testOne concept per test
Test private methodsTest through public API
Snapshot overuseAssert specific values

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Provides web accessibility best practices for semantic HTML, ARIA, keyboard navigation, color contrast, and screen reader patterns. Use when building UI components, reviewing accessibility, or when user mentions 'a11y', 'accessibility', 'ARIA', 'screen reader', 'keyboard navigation', 'WCAG'.

The English summary is being prepared. Showing the original description.

Tibsfox/gsd-skill-creator71Updated Jul 20, 2026

Active listening techniques for effective communication. Covers attending behaviors, paraphrasing, reflective listening, clarifying questions, empathic response, barriers to listening, listening in conflict, and cross-cultural listening. Use when building listening skills, improving understanding in conversation, mediating disputes, or analyzing communication breakdowns.

The English summary is being prepared. Showing the original description.

Tibsfox/gsd-skill-creator71Updated Jul 20, 2026

Adversarial spec-compliance PR review — cross-references diffs against approved specs, verifies runtime claims against source, detects competing PRs, audits scope/convention compliance. Use before merging.

The English summary is being prepared. Showing the original description.

Tibsfox/gsd-skill-creator71Updated Jul 20, 2026

Provides best practices for AI agent orchestration including MCP servers, A2A protocol, multi-agent coordination, and swarm architectures. Use when designing agent systems, configuring MCP servers, setting up agent teams, or when user mentions 'MCP', 'A2A', 'agent orchestration', 'multi-agent', 'swarm', 'agent team', 'LangGraph', 'CrewAI', 'AutoGen'.

The English summary is being prepared. Showing the original description.

Tibsfox/gsd-skill-creator71Updated Jul 20, 2026

Symbolic manipulation, equation solving, and algebraic structures for mathematical reasoning. Covers distributive law, factoring, completing the square, linear through polynomial equation solving, systems of equations (substitution, elimination, Gaussian elimination, matrix methods), algebraic structures (groups, rings, fields), modular arithmetic, polynomial theory, and inequalities. Use when solving equations, simplifying expressions, working with algebraic structures, or performing symbolic manipulation.

The English summary is being prepared. Showing the original description.

Tibsfox/gsd-skill-creator71Updated Jul 20, 2026

Understanding how algorithmic systems shape what users see, know, and do -- from recommendation feeds to search ranking to credit scoring to hiring software. Covers the mechanics of recommendation systems, algorithmic bias and its sources, personalization's effects on information diets, opacity and accountability, AI limitations (hallucination, confident wrongness), and the human-in-the-loop question. Use when a learner needs to think critically about why particular content reached them.

The English summary is being prepared. Showing the original description.

Tibsfox/gsd-skill-creator71Updated Jul 20, 2026

See all skills by Tibsfox

Report a problem with this skill