Reviewing the agent instructions, skills, rules, hooks, architecture, package management, tests, lint and CI in the worktree; reading related tasks, PRs and the Git history; and breaking the task into verifiable steps. Load before starting implementation.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Discovery And Planning?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/the-up-discovery-and-planning)
---
name: discovery-and-planning
description: "Reviewing the agent instructions, skills, rules, hooks, architecture, package management, tests, lint and CI in the worktree; reading related tasks, PRs and the Git history; and breaking the task into verifiable steps. Load before starting implementation."
---
# Discovery and Planning
- In the worktree, first review the agent instructions: the index (`AGENTS.md` or `CLAUDE.md`), its standing instructions, and the rule files, skills, and hooks it lists under `.agents/` or `.claude/`, as the [Repository Structure](../repository-structure/SKILL.md) rules describe. Read the rule files the index lists for the work at hand. Then review the architecture, package management, test infrastructure, lint configuration, and CI workflows.
- Review related tasks and PRs in every status, not only the open ones, and the Git history (`git log`, `git blame`); take earlier decisions into account.
- Follow the project's standards and agent instructions; report to the user any conflict that these rules can't resolve. If there are no skills, rules, or hooks, prepare them when they're needed.
- Break the task into steps. For each step, define the scope, the files to touch, the acceptance criteria, and the verification method; define the dependencies and the order between the steps.
- Carry out the steps in order. If the plan needs to change, state the reason and the impact, and update the plan.
- Consider a step done only after you've verified it.