ワンクリックで
autonomous-tdd-loop
Orchestrates a strict TDD loop across subagents to build features.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Orchestrates a strict TDD loop across subagents to build features.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Ensure code is styled and commits follow Conventional Commits.
Skill to run xcodebuild tests on iOS Simulator while recording a video walkthrough, dynamically selecting the highest available OS and device. Most useful for running XCUITests.
| name | autonomous-tdd-loop |
| description | Orchestrates a strict TDD loop across subagents to build features. |
This skill orchestrates a multi-agent workflow to implement code changes while strictly enforcing test validation and code quality standards.
agents.md file at the root of the repository defines the
Verifier and Reviewer personas and test commands. If absent, the workflow
will prompt the user for this information.When this skill is invoked, follow these exact phases in order:
Before invoking the Verifier or Reviewer subagents, you MUST verify the environment:
AGENTS.md,
agents.md, or REVIEW_GUIDELINES.md file at the root.xcodebuild suite, or just a quick ./scripts/check_whitespace.sh?).
If a test is not applicable, state the reason, record your validation
scope, and skip to Phase 4.AsyncStream
properly cleans up resources or cancels underlying network requests on
termination, do not mock delays that naturally finish the task.
Buffering in URLSession will mask timeouts, and naturally finishing a
mocked operation will trigger system cleanup that masks missing explicit
cancellation.Task, yield or
Task.sleep for a tiny duration (e.g. 100ms) to allow initialization,
and explicitly call .cancel() on the consumer Task. Verify that the
underlying mocked resource receives the cancellation (e.g.,
stopLoading() is called).invoke_subagent (Role: "Objective
Code Verifier").agents.md for this repo (or
use the test commands provided by the user) to find the test execution
command. Run the tests. Your ONLY goal is to verify that the specific test
I just added currently FAILS. Do not try to fix it. Return a binary
pass/fail result based on this."REVIEW_GUIDELINES.md (if it exists) to ensure
your implementation adheres to repository-specific coding standards.agents.md (or the commands provided
by the user), but optimize for the validation scope I determined in
Phase 1 (e.g., if it's just a whitespace fix, only run the style script
instead of the full test suite). Verify that the required checks now
PASS."Skip this phase if no tests were added in Phase 1.
invoke_subagent (Role: "Rigorous
Code Reviewer").agents.md and any
REVIEW_GUIDELINES.md for this repo (if they exist). Perform a rigorous,
subjective code review on my changes. Focus on concurrency, memory
management, and API design. Flag any issues.".agents/MEMORY.md file in the workspace
root..agents/MEMORY.md. I recommend we
permanently add this to the repository's agents.md file so all
contributors benefit from this knowledge. Would you like me to do that?"gh CLI to create a PR and wait
for CI/human feedback. Otherwise, notify the user that the loop is
complete.