source-command-sparc-tdd

source-command-sparc-tdd is a skill for Claude Code, Codex from ayushcodes10/echo-mem. It costs 18 tokens per session (345 once invoked), scanned A, original, Apache-2.0.

A test-driven development guide for the SPARC workflow. Test-driven development, or TDD, means writing tests before the code and then improving the code while keeping those tests passing.

In plain words
What is it for?
Use it to plan tests, write failing tests first, implement the minimum code needed, refactor it, and run unit, integration, end-to-end, or performance tests.
Why use it?
It provides a repeatable cycle for checking behaviour early and reducing the chance that changes break existing functionality.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the TodoWrite tool; installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it to plan tests, write failing tests first, implement the minimum code needed, refactor it, and run unit, integration, end-to-end, or performance tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ayushcodes10/echo-mem/source-command-sparc-tdd
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.

Any agent
npx skills add ayushcodes10/echo-mem --skill source-command-sparc-tdd
Clone the repo
git clone --depth 1 https://github.com/ayushcodes10/echo-mem

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for source-command-sparc-tdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/ayushcodes10/echo-mem/source-command-sparc-tdd/github.svg)](https://agentmods.dev/skills/ayushcodes10/echo-mem/source-command-sparc-tdd)
Your own site
<a href="https://agentmods.dev/skills/ayushcodes10/echo-mem/source-command-sparc-tdd"><img src="https://agentmods.dev/badge/skills/ayushcodes10/echo-mem/source-command-sparc-tdd/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for source-command-sparc-tdd

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayushcodes10/echo-mem/source-command-sparc-tdd"><img src="https://agentmods.dev/badge/skills/ayushcodes10/echo-mem/source-command-sparc-tdd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 345 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00018 $0.00345
Opus 5.5 $0.00007 $0.00138
Sonnet 5.5 $0.00004 $0.00069
Haiku 4.5 $0.00002 $0.00034

Measured 2mo ago against content hash d6b62a62fe7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

source-command-sparc-tdd 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 2mo ago.

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.

.agents/skills/source-command-sparc-tdd/SKILL.md · 66 lines

What it actually says

source-command-sparc-tdd

Use this skill when the user asks to run the migrated source command sparc-tdd.

Command Template

SPARC TDD Mode

Purpose

Test-driven development with TodoWrite planning and comprehensive testing.

Activation

Option 1: Using MCP Tools (Preferred in Codex)

mcp__claude-flow__sparc_mode {
  mode: "tdd",
  task_description: "shopping cart feature",
  options: {
    coverage_target: 90,
    test_framework: "jest"
  }
}

Option 2: Using NPX CLI (Fallback when MCP not available)

# Use when running from terminal or MCP tools unavailable
npx Codex-flow sparc run tdd "shopping cart feature"

# For alpha features
npx Codex-flow@alpha sparc run tdd "shopping cart feature"

Option 3: Local Installation

# If Codex-flow is installed locally
./Codex-flow sparc run tdd "shopping cart feature"

Core Capabilities

  • Test-first development
  • Red-green-refactor cycle
  • Test suite design
  • Coverage optimization
  • Continuous testing

TDD Workflow

  1. Write failing tests
  2. Implement minimum code
  3. Make tests pass
  4. Refactor code
  5. Repeat cycle

Testing Strategies

  • Unit testing
  • Integration testing
  • End-to-end testing
  • Performance testing
  • Security testing
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. 2mo ago First seen · 66 lines · 18 tokens per session scan A d6b62a62fe7f

Subscribe to this mod's changes

source-command-sparc-tdd is a skill published in the GitHub repository ayushcodes10/echo-mem (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 345 once invoked, about $0.0001 per session on Opus 5.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-09-12.

Related

source-command-sparc-tdd compared with skills from other repositories

source-command-sparc-tdd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
source-command-sparc-tddayushcodes10/echo-memSkill22mo agoApache-2.0A18Claude Code, Codex
squishmichielhdoteth/squish-memorySkill12yesterdayMITA157Claude Code, Codex
tdd-with-memoryezBuilder/code-brainSkill113mo agoApache-2.0A35Claude Code
postgramivo-toby/postgramSkill1116d agoAGPL-3.0A184Claude Code, Codex
nw-fp-fsharpnWave-ai/nWaveSkill63612d agoMITA21Claude Code
remindb-setupradimsem/remindbSkill129todayMITA202Claude Code
testing-best-practicesAsyrafHussin/agent-skillsSkill111yesterdayMITA58Claude Code, Codex