ワンクリックで
coding-iteration
Execute TDD workflow with RED/GREEN/REFACTOR phases and quality verification
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Execute TDD workflow with RED/GREEN/REFACTOR phases and quality verification
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Maintain and improve the codebase — dependency updates, refactoring, docs, dead code removal, test coverage
Analyze project state, prioritize TODO.md, create or refine plans for upcoming work
Goal-backward code review — verify recently completed work EXISTS, is SUBSTANTIVE, and is WIRED correctly
Reflect on a completed coding iteration to identify improvements
Keep TODO.md synchronized with completed work before committing
| name | coding-iteration |
| description | Execute TDD workflow with RED/GREEN/REFACTOR phases and quality verification |
Use this skill at the start of each coding iteration to follow the proper TDD workflow and quality standards.
Read project context (if not already familiar):
AGENTS.md - Project overview and current statusTODO.md - Available tasks by priorityplans/Select task:
Understand scope:
cargo test <module>cargo test <module>cargo test <module>Before committing, run full verification:
# 1. Run all tests (not just your module)
cargo test-all
# 2. Check for clippy warnings
cargo clippy-all
# 3. Format code
cargo fmt
# 4. Verify no warnings in your new code
cargo clippy --lib -- -D warnings
Note: The pre-commit hook will enforce these, but run manually to catch issues early.
Update TODOs (use /update-todos skill):
[x] and update status## ✅ Completed sectionStage relevant files:
git add <specific files>
git add .Create descriptive commit:
git commit -m "$(cat <<'EOF'
<Imperative verb> <what was accomplished>
<Why this change matters>
Key changes:
- Bullet point 1
- Bullet point 2
<Any relevant context>
EOF
)"
Verify commit succeeded:
git status
❌ Don't:
git add . or git add -A (be explicit)is_err() or match only your own messages)✅ Do:
# 1. Create test (RED)
# Write test in src/log/jsonl.rs:
# #[test]
# fn test_append_creates_file() { ... }
cargo test log::jsonl::test_append_creates_file
# ❌ FAIL - test should fail
# 2. Implement (GREEN)
# Write minimal JsonlLogger::append() implementation
cargo test log::jsonl::test_append_creates_file
# ✅ PASS - test now passes
# 3. Refactor
# Improve error handling, add docs, etc.
cargo test log::jsonl
# ✅ PASS - all tests still pass
# 4. Verify
cargo test-all && cargo clippy-all && cargo fmt
# 5. Commit
git add src/log/jsonl.rs
git commit -m "Implement JSONL append functionality"
An iteration is complete when:
cargo test-all)cargo clippy-all)cargo fmt)Use /reflect skill to evaluate the iteration:
The /reflect skill provides a structured framework for identifying:
When to reflect:
See ~/.claude/skills/reflect.md for the complete reflection framework.