# Tdd Commit

> 変更をGitコミットしてTDDサイクルを完了する。REVIEWの次フェーズ。「コミットして」「commit」で起動。

- **Type:** Skill
- **Install:** `agentstack add skill-morodomi-tdd-skills-tdd-commit`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [morodomi](https://agentstack.voostack.com/s/morodomi)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [morodomi](https://github.com/morodomi)
- **Source:** https://github.com/morodomi/tdd-skills/tree/main/plugins/tdd-core/skills/tdd-commit

## Install

```sh
agentstack add skill-morodomi-tdd-skills-tdd-commit
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# TDD COMMIT Phase

変更をGitコミットしてTDDサイクルを完了する。

## Progress Checklist

コピーして進捗を追跡:

```
COMMIT Progress:
- [ ] git status / git diff で変更確認
- [ ] Pre-commit Hook確認
- [ ] Cycle doc更新（phase: DONE）
- [ ] docs/STATUS.md 更新
- [ ] コミットメッセージ生成
- [ ] git add & git commit
- [ ] サイクル完了
```

## Workflow

### Step 1: 変更確認

```bash
git status
git diff --stat
```

### Step 2: Pre-commit Hook確認

コミット時のテスト自動実行を確認:

```bash
ls .husky/pre-commit .git/hooks/pre-commit 2>/dev/null
```

| 状態 | メッセージ |
|------|-----------|
| hookあり | コミット時に自動実行されます |
| hookなし | 手動でテスト実行を推奨（tdd-reviewで実行済みならOK） |

### Step 3: Cycle doc更新

phase を DONE に変更。Next Stepsを更新。

### Step 4: docs/STATUS.md 更新

```bash
gh issue list --limit 10 --json number,title,labels
ls -t docs/cycles/*.md | head -5
```

STATUS.md を最新状態に更新。

### Step 5: コミットメッセージ生成

**Type**: feat / fix / refactor / test

```
: 

Co-Authored-By: Claude Opus 4.5 
```

### Step 6: git add & git commit

```bash
git add 
git commit -m "..."
```

### Step 7: サイクル完了

```
================================================================================
TDDサイクル完了
================================================================================
コミット: [hash]
機能: [機能名]

次: git push / tdd-init で新サイクル開始
================================================================================
```

## Reference

- 詳細: [reference.md](reference.md)
- Gitコンベンション: `.claude/rules/git-conventions.md`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [morodomi](https://github.com/morodomi)
- **Source:** [morodomi/tdd-skills](https://github.com/morodomi/tdd-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-morodomi-tdd-skills-tdd-commit
- Seller: https://agentstack.voostack.com/s/morodomi
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
