src/autoskillit/skills_extended/planner-elaborate-wps/SKILL.md
Elaborate all work packages for a target phase via parallel L0 subagents. One invocation per phase; spawns one L0 per WP concurrently. (Pass 3 loop body)
npx skillsauth add talont-org/autoskillit planner-elaborate-wpsInstall 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.
Pass 3 loop body. Receives one phase context file (written by expand_wps), spawns one L0
subagent per WP in parallel using the native Agent/Task tool, collects results,
and writes per-WP result files plus a phase sentinel file. The L1 (this skill)
is the sole writer for this phase's WPs — no concurrent write races.
dispatch_items)expand_wps) (contains id=<phase_id>, metadata.wp_count, metadata.wp_ids, metadata.wp_names, metadata.wp_scopes, metadata.wp_estimated_files, prior_results){{AUTOSKILLIT_TEMP}}/planner/run-YYYYMMDD-HHMMSS)NEVER:
$2/work_packages/{{AUTOSKILLIT_TEMP}} artifacts outside your designated input files and output directoryls $(dirname $1)/..)run_in_background: true is prohibited)ALWAYS:
phase_wps_result_dir = <absolute path to work_packages/ directory>Read the context file at $1. Extract:
id — the phase ID (e.g., "P1")metadata.wp_ids — list of WP IDs for this phase (e.g., ["P1-A1-WP1", "P1-A1-WP2"])metadata.wp_names — parallel list of WP namesmetadata.wp_scopes — parallel list of WP scopesmetadata.wp_estimated_files — parallel list of estimated file listsprior_results — list of paths to result files from completed prior itemsRead $2/phases/{id}_result.json (the elaborated phase result). Extract:
goal — phase-level goalscope — phase-level scope listtechnical_approach — overall technical approach for the phaseRead all $2/assignments/P{N}-A*_result.json matching this phase to get assignment-level context:
goal — assignment goaltechnical_approach — assignment technical approachproposed_work_packages — the WP decomposition from the assignment passRead the task_file_path field from the context file at $1, then read the task description
from disk at that path. Every WP elaboration — its deliverables, acceptance_criteria,
and estimated_files — must serve the stated task. Do not read the full task text into the
L1 context or embed it in the L0 prompt — pass the path reference only and instruct L0s
to read the file from disk for scope creep verification.
For each WP in the phase, build a self-contained context packet:
Use the native Agent/Task tool to spawn one L0 per WP simultaneously. If WP count > 6, spawn in sequential batches of 6 — await each batch before starting the next.
Each L0 receives a self-contained prompt that:
Each L0 MUST:
```json and ``` delimitersExpected L0 return schema:
{
"id": "P1-A2-WP1",
"name": "...",
"goal": "...",
"summary": "<=120 chars",
"technical_steps": ["..."],
"files_touched": ["..."],
"apis_defined": ["..."],
"apis_consumed": ["..."],
"depends_on": ["..."],
"deliverables": ["(exactly 1–5 items, hard limit) file_or_logical_group", "..."],
"acceptance_criteria": ["..."]
}
For each L0 response:
```json and ``` delimitersid, name, deliverables (matching WP_REQUIRED_KEYS)WARNING: L0 elaboration failed for {wp_id} and mark for stub creation. CRITICAL: partial failure must not abort the phase.For each successful L0 result, write $2/work_packages/{wp_id}_result.json with the full result JSON.
For each failed L0, write $2/work_packages/{wp_id}_result.json with:
{
"id": "...",
"name": "...",
"deliverables": [],
"elaboration_failed": true,
"summary": "",
"goal": "",
"technical_steps": [],
"files_touched": [],
"apis_defined": [],
"apis_consumed": [],
"depends_on": [],
"acceptance_criteria": []
}
After writing all WP files, update $2/work_packages/wp_index.json by appending compact entries
for all successful results only (skip stubs). Read the current index, append, and write back
atomically. L1 is the sole writer for this phase's WPs — no concurrent writes.
Finally, write the phase sentinel file to $2/work_packages/wp_sentinels/{phase_id}_result.json:
{"id": "<phase_id>", "status": "complete", "wp_count": N, "failed_count": M}
The sentinel path MUST be
$2/work_packages/wp_sentinels/{phase_id}_result.json. The manifest'sresult_dirpoints to$2/work_packages/wp_sentinels/, and this path is used to detect phase completion. Verify the path before writing.
phase_wps_result_dir = <absolute path to $2/work_packages>
development
Generate YAML recipes for .autoskillit/recipes/. Use when user says "make script skill", "generate script", "script a workflow", "write a script", "create a script", "new recipe", "write a pipeline", or when loaded by other skills for script formatting.
data-ai
Create Uncertainty Representation visualization planning spec showing error bar definitions, distribution-aware alternatives, and multi-seed variance protocols. Statistical lens answering "How is uncertainty honestly represented?"
data-ai
Create Temporal Dynamics visualization planning spec showing axis scaling (linear vs log), smoothing disclosure, epoch/step alignment, run aggregation (mean + variance bands), early-stopping markers, and wall-clock vs step-count x-axis. Temporal lens answering "Are training dynamics shown clearly and honestly?"
data-ai
Create Narrative Story Arc visualization planning spec showing visual consistency across the report (same color = same model everywhere), logical figure progression, redundant figure detection, and narrative dependency between figures. Narrative lens answering "Do the figures tell a coherent story across the report?"