skills/task-plan-phase-investigation/SKILL.md
Load when the task's scope is unclear, the approach is unknown, or research into external libraries or services is needed before planning is possible.
npx skillsauth add maestria-co/ai-playbook task-plan-phase-investigationInstall 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.
Load this skill when the task's predominant challenge involves boundary comprehension or research accumulation. When implementation pathways are self-evident (coding, tests), bypass this skill for applicable phase skill. When tasks are straightforward (isolated remediation, documented patterns), omit phase skills entirely.
Prior to hypothesis construction or planning, read in sequence:
.github/copilot-instructions.md — project synopsis, toolchain, essential commands.context/overview.md — architectural topology, component responsibilities.context/decisions.md or .context/decisions/ — historical determinations constraining current effort.context/retrospectives.md or .context/retrospectives/ — extract lessons relevant to this task category.context/domains/ files — domain entities, business constraints, API conventions for implicated regionsplan.md) when resuming post-compactionClassify before planning:
| Classification | Indicators | |----------------|------------| | Simple | Isolated component, zero architectural uncertainty, precedented patterns | | Medium | Multi-component footprint, ordering requirements, limited architectural uncertainties | | Complex | Module-crossing alterations, novel patterns, migration efforts, service-crossing boundaries, substantial unknowns |
plan.md immediately (load task-plan skill), before all other operations.Delegate when:
Bypass delegation when:
.context/All researcher dispatches require these components:
Topic: [precise library/framework/technology]
Current version: [X.Y.Z] → Target version: [A.B.C] (when applicable)
Queries:
- [Concrete query 1]
- [Concrete query 2]
Decision informed by research: [Choice contingent on conclusions]
Constraints: [Task-relevant limitations]
All planner dispatches require these components:
Task: [TASK-ID with characterization]
Objective: [Achievement target and rationale]
Implicated domains: [Modules/artifacts/domains involved]
Complexity: Simple / Medium / Complex
Relevant context:
- [Relevant constraint or pattern from .context/]
- [Relevant constraint or pattern from .context/]
Research conclusions: [Researcher output synopsis, or "N/A — research unnecessary"]
Outstanding queries for planner: [Persisting ambiguities for planner resolution]
When causation or boundaries are initially opaque (defects, ill-defined requests), deploy two-step plans immediately — avoid awaiting investigation finalization:
## Progress
- [ ] Investigate: [symptom or unknown characterization] ← IN PROGRESS
- [ ] Revise this plan incorporating conclusions and subsequent actions
Establish task directory and plan.md containing these steps. Post-investigation, supersede them with comprehensive plan before commencing remediation effort.
Investigation concludes when these conditions hold:
Avoid advancing to architecture or implementation while unresolved queries could restructure the plan.
systematic-debugging: For bugs with obscure causation, load systematic-debugging during investigation to trace causation before planning remediation.design-first: When investigation exposes multiple viable implementation strategies, load design-first to evaluate and select prior to planning.task-plan: Governs plan.md structure and refresh triggers. This skill governs investigation methodology; task-plan governs plan documentation.task-plan-phase-implementation: Load post-investigation when primary effort transitions to code generation.task-plan-phase-testing: Load post-investigation when primary effort transitions to tests.Excluded scope: architectural audit, @coder orchestration, validation delegation, retrospectives.
development
Writes and runs a test suite for a piece of code, covering happy path, edge cases, error cases, and security cases. Use when: implementation is complete and needs test coverage, a bug needs a reproduction test and fix validation, or code needs coverage before a refactor. Do not use when: the code under test is not yet implemented, or the spec is still unclear.
testing
Use when creating a new skill, editing an existing skill, or helping a user author a skill for this system. Covers structure, discoverability, quality, and discipline hardening.
development
Evidence-based verification process to run before marking any task complete. Use this skill every time you're about to report that work is done — for features, bug fixes, refactoring, or any code change. This catches the most common failure mode: declaring "done" without proof. If you're finishing up and about to tell the user the task is complete, run this checklist first.
development
Teaches agents how to discover, select, and invoke skills from the skill library. Use this skill whenever you're uncertain which skill applies to a task, when composing multiple skills for complex work, or when you need to understand what skills are available. This is your go-to when facing an ambiguous task and need to figure out the right approach before diving into implementation.