skills/implementation-aligned-planning/exports/openai/SKILL.md
Turn ambiguous, half-baked, or outdated plans into living planning docs aligned with code, config, paths, naming contracts, execution flow, caches, EDA outputs, and debugging navigation.
npx skillsauth add balandongiv/agent-skillbook implementation-aligned-planningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when a repository has planning documents that are ambiguous, stale, or only half-baked, and the user wants them turned into trustworthy working documents. The goal is to make planning docs useful for implementation, review, and navigation, not to preserve vague aspirations that no longer match the code. Good implementation-aligned docs should also explain naming conventions, source-versus-cache relationships, and which debug/tutorial entrypoints humans should use.
A plan is not immutable. If implementation, configuration, naming, folder structure, or execution order changed, the planning docs should change too.
Use the existing plan to recover intent. Use code, config, and generated artifacts to recover actual behavior. When they disagree, resolve the disagreement explicitly instead of blending them together.
A useful stage plan should say exactly:
When concrete details such as paths, file names, cache rules, CLI flags, or artifact names are already implemented, document the implementation truthfully. Do not keep outdated planning text just because it was written first.
A strong planning document should help a reader answer:
If a stage emits wide tables, threshold sweeps, modality-prefixed features, or multiple experiment labels, document the naming rules. A good planning doc should answer:
When a slow or manual source is normalized into a faster runtime cache, document both:
This prevents confusion such as "the code reads parquet but the project source is an Excel workbook."
When one stage document changes materially, also inspect the related shared docs such as:
folder_structure.mdProject_Execution_Flowchart.mdIf something is genuinely not discoverable from the repo, do not invent certainty. Mark the unresolved point clearly and keep the rest of the document explicit.
Before rewriting anything, read:
This reveals both the intended story and the current inconsistencies.
Read the code and config that actually drive the stage:
Build the doc from verified behavior, not from memory.
Record the mismatches between plan and implementation, for example:
Resolve each mismatch deliberately.
Use these defaults:
If the user has not asked for a behavior change, update the doc to match the implementation rather than pretending the old plan is still current.
When a stage document needs to become implementation-aligned, prefer this structure:
# 0) What this stage guarantees (contract)## 1) Folder contract## 2) Naming contract## 3) Python modules & functions responsible (implementation map)## 4) Execution flow (authoritative) - with function calls## 5) Required existence checks## 6) Common failure modes## 7) Minimal pseudocode## 8) Debugging path for repository navigationThis format turns a vague plan into a document that is both executable in the reader's head and useful during debugging.
After updating the stage document, sync the related shared docs when needed:
folder_structure.md if folder comments or file locations changedProject_Execution_Flowchart.md if behavior, stages, or artifacts changedPrefer:
Avoid vague wording like "some feature extraction happens here."
If the repo still leaves some things unresolved, isolate them in a short open-question or assumption note. Do not let one unknown make the whole plan vague.
tools
One-sentence description of what this skill does and when to use it.
tools
One-sentence description of what this skill does and when to use it.
documentation
Review per-subject performance to identify likely outliers, distinguish bad data from difficult but valid cases, and document whether subject exclusion is justified before any filtered rerun.
documentation
Review per-subject performance to identify likely outliers, distinguish bad data from difficult but valid cases, and document whether subject exclusion is justified before any filtered rerun.