SkillAgentSearch skills...

gsd-tdd

My custom version of qwen coder

Install / Use

npx skills add FiredMosquito831/qwen-coder-epic

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

51/100

Category

Legal

Supported Platforms

Universal

name: gsd-tdd description: Implements test-driven development with RED-GREEN-REFACTOR cycles. Use when implementing business logic, API endpoints, data transformations, or any code with defined I/O contracts. version: 1.0.0 author: get-shit-done (migrated for Qwen) triggers:

  • "use TDD"
  • "test-driven development"
  • "write tests first"
  • "RED-GREEN-REFACTOR"
  • "implement with tests" tools:
  • read_file
  • write_file
  • bash models:
  • qwen3-coder
  • qwen3-32b

GSD TDD Skill

Overview

This skill implements test-driven development with disciplined RED-GREEN-REFACTOR cycles.

TDD Detection Heuristic

Question: Can you write expect(fn(input)).toBe(output) before writing fn?

  • Yes: TDD candidate - use this skill
  • No: Standard implementation

TDD Candidates:

  • Business logic with defined I/O
  • API endpoints with request/response contracts
  • Data transformations
  • Validation rules
  • Algorithms
  • State machines

RED-GREEN-REFACTOR Cycle

RED: Write Failing Test

  1. Read behavior specification
  2. Create test file
  3. Write failing test
  4. Run test (MUST fail)
  5. Commit: test: add failing test for [feature]

GREEN: Make It Pass

  1. Read implementation requirements
  2. Write minimal code to pass
  3. Run test (MUST pass)
  4. Commit: feat: implement [feature]

REFACTOR: Clean Up (If Needed)

  1. Identify improvements
  2. Clean up code
  3. Run tests (MUST still pass)
  4. Commit only if changes: refactor: clean up [feature]

Test Infrastructure Detection

First TDD Task: Detect and setup test infrastructure

  1. Detect project type (Node, Python, etc.)
  2. Identify test framework (Jest, pytest, etc.)
  3. Install if needed
  4. Create test configuration
  5. Write sample test to verify

Related Skills

View on GitHub
GitHub Stars0
CategoryLegal
Updated6mo ago
Forks0

Security Score

74/100

Audited on Mar 19, 2026

1 medium2 low