/idea-to-code:create-planfrom idea-to-code
Creates a steel-thread implementation plan from idea, discussion, and spec files. Analyzes existing codebase before planning to avoid redundant tasks.
Ships in idea-to-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create a detailed steel-thread implementation plan that will be used by an LLM/GenAI coding agent. The steps of each task are implemented using TDD.
Locate the idea's files following the idea-to-code:idea-organization skill.
<name>-idea.md), the discussion file (<name>-discussion.md) and the specification file (<name>-spec.md).**Type:** line of the discussion file, as described in idea-organization.
Do not infer the type from prose.
When the discussion file has no **Type:** line, tell the user that the idea's type is not recorded and ask which of A–D it is before writing the plan.The plan follows the idea-to-code:plan-format skill: its skeleton, task types, task structure, rules and the verbatim Instructions for Coding Agent block.
The implementation agent runs from the project root directory (the working directory).
Path rules:
./docker-compose.yml or docker-compose.yml, NOT the full path from the spec/idea file location./scripts/init.sh, NOT tests/foo/scripts/init.shCommand rules:
cd <project-dir> && prefix neededdocker compose up NOT cd tests/foo && docker compose up./scripts/test.sh NOT cd tests/foo && ./scripts/test.shDo NOT:
Before writing any plan, examine the existing codebase to understand what already exists:
Plan tasks must reflect what actually exists:
Plan tasks must only cover what the idea/spec defines:
updateX) or events (e.g., XUpdated) that are not defined in the source of truthAdd dependencies, directories, and configuration only when a task requires them—not upfront.
Dependencies:
Directories:
Dockerfiles for Gradle/Maven projects:
This keeps each task focused and makes it clear why each element exists.
Task 1.1 is special. It MUST ensure CI exists so that every commit after Task 1.1 is validated.
WHY: If CI is created in Task 1.2, Task 1.1's commit is unvalidated—this defeats the purpose of steel threads.
If the project already has a working build and CI (e.g., generated from a skeleton/template), Task 1.1 should verify the existing build passes — not recreate infrastructure that already exists. In this case, Task 1.1 may be as simple as running the build and confirming all existing tests pass.
Task 1.1 MUST include:
@SpringBootTest with TestRestTemplate).github/workflows/ci.yml that runs ./gradlew buildEvidence: "CI runs ./gradlew build which executes JUnit tests and passes"
IMPORTANT: Do NOT create shell scripts to test Java applications. Use JUnit tests executed by Gradle.
When Task 1.1 includes both Java app AND Docker Compose infrastructure, Task 1.1 MUST include:
test-scripts/test-cleanup.sh for cleaning up Docker statetest-scripts/test-docker-health.sh that runs docker compose up, curls health, runs docker compose downtest-scripts/test-end-to-end.sh that runs cleanup then all test scripts.github/workflows/ci.yml that runs ./gradlew build AND ./test-scripts/test-end-to-end.shEvidence: "CI runs ./gradlew build and ./test-scripts/test-end-to-end.sh and both pass"
Task 1.1 MUST include:
test-scripts/test-cleanup.sh for cleaning up test statetest-scripts/test-<behavior>.sh that validates the behaviortest-scripts/test-end-to-end.sh that runs cleanup then all test scripts.github/workflows/ci.yml that runs ./test-scripts/test-end-to-end.shEvidence: "CI runs ./test-scripts/test-end-to-end.sh and passes"
❌ Task 1.1: Create Spring Boot app
Task 1.2: Add CI workflow
(CI not in Task 1.1 - Task 1.1 commit is unvalidated)
❌ Task 1.1: Create Spring Boot app with health check
Steps:
- Create test-scripts/test-health.sh that curls the health endpoint
(WRONG: Java apps must use JUnit tests, not shell scripts)
❌ Task 1.1: Create app with health check
Steps:
- Create CustomerServiceApplicationTest.java with @SpringBootTest context load test
(Step tests context loading, not the health endpoint - doesn't match Observable)
- [ ] **Task 1.1: Spring Boot application starts and responds to health check**
- TaskType: INFRA
- Entrypoint: `./gradlew build`
- Observable: Health endpoint returns 200 OK with `{"status":"UP"}`
- Evidence: CI runs `./gradlew build` which executes JUnit tests and passes
- Steps:
- [ ] Create `build.gradle` with Spring Boot, web, actuator, test dependencies
- [ ] Create application entry point and health configuration
- [ ] Create `HealthCheckTest.java` that uses TestRestTemplate to GET /actuator/health and asserts 200 with status UP
- [ ] Create `.github/workflows/ci.yml` that runs `./gradlew build`
The final plan should be a sequence of steel threads, each with clearly defined tasks and steps that a coding LLM can follow to implement the idea incrementally, starting from the initial setup thread through all chosen scenarios.
Tasks must be outcome-driven, testable via the entrypoint, and structured so that unused code and unused tests cannot exist.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub humansintheloop-dev/humansintheloop-dev-workflow-and-tools --plugin idea-to-code24 skills in this plugin
/apply-design-patternsConsult the design pattern catalog before implementing or refactoring code./ask-a-friendWhen stuck on a problem, formulate a well-structured question and copy it to the clipboard for pasting into ChatGPT. Claude should use this skill when debugging efforts stall or when an outside perspective would help./brainstorm-ideaUse when refining an idea in an idea directory through questions and answers and classifying it.Other plugins' skills for the same job