code

Implement code using TDD and RGRC cycles with real-time test feedback.

11|1|Updated Aug 6, 2025
One-click install
npx skills add https://github.com/thkt/dotclaude --skill code-thkt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code
Source: https://github.com/thkt/dotclaude/tree/main/.ja/skills/code
Command: npx skills add https://github.com/thkt/dotclaude --skill code-thkt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of writing and testing code according to Test-Driven Development (TDD) and Red-Green-Refactor-Commit (RGRC) cycles, ensuring code quality and adherence to specifications.

Core Features & Use Cases

  • TDD/RGRC Cycle Automation: Manages the entire development loop from test generation to code implementation and refactoring.
  • Real-time Feedback: Integrates with testing frameworks to provide immediate feedback on code changes.
  • Use Case: When a user requests a new feature or a bug fix, this Skill can automatically generate tests, write the necessary code to pass those tests, and then refactor the code for clarity and efficiency.

Quick Start

Use the code skill to implement the user story described in the provided specification document.

Frequently Asked Questions about code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate the TDD cycle when implementing JavaScript features?

You can automate the TDD cycle by using a Skill that manages test generation, code implementation, and refactoring. It executes the Red-Green-Refactor-Commit loop and provides real-time test feedback for your JavaScript features.

What is the Red-Green-Refactor-Commit process for code generation?

The Red-Green-Refactor-Commit process is a TDD methodology where you first write failing tests, implement code to pass them, refactor for clarity, and then commit. This Skill automates that entire RGRC cycle with immediate feedback.

How do I implement a user story from a specification document using TDD?

To implement a user story using TDD, invoke the code Skill with your specification document. It will automatically generate the required tests, write the code to satisfy those tests, and refactor the implementation for efficiency.

Can I use this TDD implementation Skill with Storybook for frontend development?

Yes, this TDD implementation Skill integrates with Storybook to support frontend development. It works alongside various JavaScript package managers to provide real-time test feedback during component implementation.

Does this Skill support different JavaScript package managers for test automation?

Yes, the Skill supports various JavaScript package managers for test automation. It integrates with your existing testing frameworks to deliver real-time feedback during the Red-Green-Refactor-Commit cycle.

Why use an automated TDD workflow instead of manual test-driven development?

An automated TDD workflow ensures strict adherence to specifications and code quality by eliminating manual steps. It handles test generation, implementation, and refactoring systematically, reducing human error during the RGRC cycle.