Skip to content
Back to skills

Task Plan

ASecurity

Stage 2. Run the explorer subagent to fill in findings, risks, impact analysis and the implementation plan, set status to Plan, then stop for human approval.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
developmentpythonshellgit

Works with

  • terminal

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ehtesham1981/light-harness --skill task-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Task Plan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Task Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ehtesham1981-task-plan/badge)](https://www.skillsdirectory.com/skills/ehtesham1981-task-plan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: task-plan
description: Stage 2. Run the explorer subagent to fill in findings, risks, impact analysis and the implementation plan, set status to Plan, then stop for human approval.
disable-model-invocation: true
argument-hint: [task name]
---

You are running **/light-harness:task-plan**.

**Which task.** Each task has its own folder, `.tasks/<name>/` (a git worktree on branch `task/<name>`), and this session works on one task. Use the task named in `$ARGUMENTS`, else the task this session started or worked on earlier, else run `light-harness tasks` and use the only task in progress, or ask the human which one. Below, `<name>` is that task:
- Add `--task <name>` to every `light-harness` command (they're shown that way below). If `light-harness` isn't found, use `sh "${CLAUDE_PLUGIN_ROOT}/bin/light-harness"` in its place, and give subagents that full command too.
- The task's contract is `.tasks/<name>/.light-harness/contract.md` (ignored by git, never committed). Scope paths and all code and test files are inside `.tasks/<name>/`. Run tests and git commits there, e.g. `cd .tasks/<name> && python3 -m pytest`.
- Tell every subagent the task folder, the task name and the contract path in its brief.
- If this session was opened inside a task folder itself, paths are relative to it and `--task` is optional.

1. Run `light-harness status --task <name>`. Status must be **Initialize**, or **Plan** (re-plan), or **Build/Rework** (re-plan after a requirement or plan change; warn the human that the current approval and red gate will be invalidated). Otherwise stop and say which command to run.

2. **Delegate to the `light-harness:explorer` subagent.** Give it this brief: "Read contract.md, explore the environment, and fill §6 (open questions), §7 (findings, risks, impact analysis) and §8 (files in scope, interfaces, steps, test strategy) following your instructions. Run `light-harness check plan --task <name>` before returning."

3. When it returns, read the contract yourself and run `light-harness check plan --task <name>`. If there are gaps, send the explorer back with the specific gaps. Don't fill them yourself.

4. **Open questions.** If §6 has questions that need a human, ask them now: at most 3 questions per message, each phrased as what the user will experience, with a concrete example and a recommended default. Let the human confirm the defaults in one pass, replying with corrections only. Record each answer in §6; record a default the human leaves unchanged as `<question> — <answer> (default accepted)`. On a `small` task §6 holds at most 5 questions; the explorer decides the rest and lists them under `Assumptions:` in §7.1, which the human sees at approval. If an answer changes rules, examples or ACs, update §2–§4 (with the human's confirmation) and have the explorer revise the plan.
   - When the human confirms that a BR is an `[Invariant]` or `[Preservation]` rule, write the tag and its four sub-bullets (`Input space:`, `Oracle:`, `Unacceptable failure:`, `Allowed changes:`) into §2 under that BR, and have the explorer add its `BR-n [sweep]` entry (with `generator:` and `oracle:`) to §8.4. `check plan` refuses the plan until both are there.

5. Run `light-harness set-status Plan --task <name>`.

6. **Present the plan for approval.** Include: scope (files), interfaces, numbered steps with ACs, top risks and mitigations, impact and rollback, the test strategy per AC, and any config change needed for a non-Python stack. Then tell the human:

   > To approve, run this **in your own terminal** (PowerShell or Windows Terminal on Windows; use `python3` on macOS/Linux) in the project's main folder. It's interactive, and records your name, the time and the plan hash in the task's contract and audit trail:
   > `python "${CLAUDE_PLUGIN_ROOT}/scripts/harness.py" approve --task <name> --name "Your Full Name"`
   > Ask me for changes instead if anything should be different. Any later edit to §1–§8 invalidates the approval.

   Write the command out with the plugin path filled in exactly as shown here, so the human can paste it.

7. **Stop here.** Don't run the approve command, don't simulate approval, and don't start implementing. When the human says they've approved, confirm with `light-harness status --task <name>` and point them to `/light-harness:task-implement`.

<!-- Copyright 2026 Ehtesham Ahmed. Part of Light Harness (see NOTICE). SPDX-License-Identifier: Apache-2.0 -->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.