Claude Skill

tdd

TODO

LLM Mart · 0 points · 2 views 0 listing impressions 0 install-command copies
Download wesammustafa-claude-code-quest-examples_intermediate_01-first-skill_dot-claude_skills_tdd-3c46a4b.zip · 0 KB

Install

skills CLI npx skills add https://github.com/wesammustafa/Claude-Code-Quest/tree/main/examples/intermediate/01-first-skill/dot-claude/skills/tdd
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install wesammustafa-claude-code-quest@llmmart
Git git clone https://github.com/wesammustafa/Claude-Code-Quest.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole wesammustafa/claude-code-quest collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Build this test-first, one behavior at a time: $ARGUMENTS

  1. Red: write one failing test for the next behavior. Run the tests and confirm that it fails, and fails for the reason you expect. Don't change code outside the tests in this step.
  2. Green: TODO
  3. Refactor: TODO

Repeat until the feature is done, then run the whole test suite and show the diff. Don't commit: the user reviews the diff and commits.

Files (claude-code-quest)
  • SKILL.md 1 KB
    ---
    # What: a project skill that builds a feature test-first. Unfinished on purpose: lesson 1's Your turn has you finish it.
    # Runs: when you type /tdd <feature>. Once finished, also when Claude matches your request to the description.
    # Side effects: Claude edits code and tests and runs your test command, under your session's permission settings. It doesn't commit: you review the diff and commit.
    # Requires: Claude Code and a project with a test command. Platforms: any.
    # Remove: delete .claude/skills/tdd/.
    # Not yet tested in a session at this edition's version
    name: tdd
    description: TODO
    disable-model-invocation: true
    ---
    
    Build this test-first, one behavior at a time: $ARGUMENTS
    
    1. Red: write one failing test for the next behavior. Run the tests and confirm that it fails, and fails for the reason you expect. Don't change code outside the tests in this step.
    2. Green: TODO
    3. Refactor: TODO
    
    Repeat until the feature is done, then run the whole test suite and show the diff. Don't commit: the user reviews the diff and commits.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.