developing

Implements features and fixes bugs using test-driven development with RED→GREEN→REFACTOR cycles.

88|4|Updated Oct 14, 2018
One-click install
npx skills add https://github.com/skanehira/dotfiles --skill developing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developing
Source: https://github.com/skanehira/dotfiles/tree/main/claude/skills/developing
Command: npx skills add https://github.com/skanehira/dotfiles --skill developing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

この Skill はテスト駆動開発(TDD)を中心に、新機能の実装、バグ修正、既存機能の拡張を高品質・高効率で進めるための方法論と実践ガイドを提供します。RED→GREEN→REFACTORのサイクルを厳格に適用し、高凝集度・低結合度・コロケーションを意識したアーキテクチャ設計を促進します。

Core Features & Use Cases

  • TDDの徹底: テストファーストのアプローチで小さな変更を確実に検証します。
  • アーキテクチャ設計のガイド: 責務分離とコロケーションを重視した設計パターンを提供します。
  • 実務適用ケース: 新機能実装、バグ修正、既存機能の拡張時に活用します。

Quick Start

既存の設計要件とテストプランに基づき REDテストを作成し、GREENとなる最小実装を追加して REFACTOR を適用します。設計とテストが同期することで、変更の安全性と保守性を高めます。

Frequently Asked Questions about developing

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

FAQPage Schema
How do I implement features using test-driven development?

Test-driven development implements features by writing tests first, then writing minimal code to pass those tests, then refactoring. The RED→GREEN→REFACTOR cycle ensures each change is validated before integration, reducing bugs and improving maintainability across modules.

What does high cohesion and low coupling mean in software architecture?

High cohesion groups related responsibilities within a module; low coupling minimizes dependencies between modules. This architecture pattern improves testability, reduces side effects, and makes features easier to modify without breaking other components.

How do I structure code for better TDD workflow?

Organize code with colocation—grouping related logic together—and dependency injection to isolate units for testing. This design enables test-first discipline, simplifies mocking, and enforces clear module boundaries that support the RED→GREEN→REFACTOR cycle.

Can I use TDD for bug fixes and architectural refactoring?

Yes. TDD applies to bug fixes by writing a failing test that reproduces the issue, then fixing the code to pass it. For architectural refactoring, TDD ensures changes maintain functionality while improving structure, reducing regression risk.

What are the prerequisites for adopting test-driven development?

TDD requires understanding design thinking principles, responsibility separation, and your codebase's current architecture. You need a test framework, clear functional and technical requirements, and commitment to strict test-first discipline across planning, implementation, and testing phases.

How do I know when TDD is the right approach?

TDD suits feature delivery, bug resolution, and refactoring when you need high test coverage, quality gates, and confidence in change safety. It's most effective when requirements are clear and you have time to invest in thorough test planning before writing implementation code.