Tool Specific Instructions
# Tool-Specific Instructions
## The Pattern
Agents often fail not from reasoning, but from poor tool usage. This pattern defines clear per-tool rules so the agent knows when to inspect, when to edit, and when to execute.
Separate tools by purpose: discovery tools, file editing tools, execution tools, and validation tools. For each category, state preferred order, constraints, and common failure recovery steps.
Consistent tool discipline improves reliability and reduces accidental side effects.
## Why It Works
- Prevents misuse of powerful tools in the wrong context.
- Reduces noisy command retries by standardizing recovery behavior.
- Speeds execution with a known sequence of actions.
- Produces outputs that are easier for humans to audit.
## Prompt Templatewhen to use it
Community prompt sourced from the open-source GitHub repo repowise-dev/claude-code-prompts (MIT). A "Tool Specific Instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
repowise-dev/claude-code-prompts · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar