/thrashr888-agent-kit:research-plan-implementfrom thrashr888-agent-kit
Executes a structured Research, Plan, Implement, Verify workflow for complex agent tasks. Useful for high-risk, cross-cutting, or unfamiliar code changes that need reviewable artifacts at each phase.
Ships in thrashr888-agent-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use a phased workflow for non-trivial agent work in unfamiliar, high-risk, or cross-cutting code. The point is not ceremony: each phase produces a compact, reviewable artifact that lets the next phase start from verified truth rather than a long, noisy conversation.
The workflow is Research → Plan → Implement → Verify, with deliberate compaction between phases and a final Codify decision for durable learning.
Use when a task changes multiple files or systems, modifies an unfamiliar codebase, has meaningful blast radius, needs a reviewable plan, or has failed once because an agent reasoned from incomplete context.
Do not use full RPI for a reversible, obvious one-line change. Use a direct edit and focused verification instead. Match process to the cost of being wrong.
| Task shape | Default approach | Example |
|---|---|---|
| Trivial and reversible | Direct change + targeted check | Correct a label or typo |
| Simple and familiar | Short plan + check | Add an existing loading pattern |
| Medium or partially unfamiliar | Research + plan + implementation checks | Add a feature through known extension points |
| Complex, risky, or cross-service | Full RPI + explicit acceptance criteria + plan review | Change authorization or a shared data contract |
| High-impact and hard to reverse | Full RPI + design review + staged rollout plan | Replace a payment, identity, or persistence boundary |
If the task’s risk changes during research, change the workflow depth before implementation rather than pretending the original estimate still applies.
| Artifact | Purpose | Lifetime |
|---|---|---|
| Acceptance criteria | Define success and non-goals | Feature / task |
| Research note | Compressed snapshot of relevant code and constraints | Feature / task |
| Implementation plan | Reviewable sequence of changes and proof | Feature / task; attach to review when useful |
| Test and validation evidence | Prove outcomes independently | Retain with code or delivery record as appropriate |
| Codified learning | Prevent repeated rediscovery | Durable, only when stable and reusable |
Use references/research-template.md and references/plan-template.md as
starting points. Keep task artifacts out of root instructions unless they are
stable knowledge future work actually needs.
Write the observable outcome, non-goals, constraints, and verification standard. State requirements—not inferred solution ideas. An explicit user requirement, including a requested technology, is a constraint: preserve it unless the user asks to reconsider it. Treat only an inferred solution or a non-binding suggestion as a hypothesis to investigate. If evidence reveals that an explicit request conflicts with a hard requirement, explain the conflict and ask the user before changing scope.
For behavior that matters, express acceptance criteria in a condition/action form such as: “When condition, the system shall observable behavior.”
Completion criterion: success has an external proof; a reviewer can tell what is deliberately out of scope and what must not change.
Use Glob, Grep, and Read to locate entry points, trace input-to-output
flow, find analogous patterns, and identify constraints. Use a sub-agent for
broad exploration only when it can return a compact result with file paths and
line numbers.
Research must contain:
Research must not contain implementation recommendations yet. That separation prevents early guesses from disguising themselves as discovered facts.
Completion criterion: a different engineer can locate the affected code and understand the constraints without reading the entire repository.
Start planning from the acceptance criteria and the concise research artifact, not the raw transcript, failed attempts, or tool dump. Ask one explicit question: Is the proposed direction idiomatic for this codebase and its constraints?
If research contradicts the original framing, revise the problem statement and acceptance criteria before planning. Do not force evidence to fit the first prompt.
Treat context utilization as a warning signal, not a universal percentage. When repeated corrections, unrelated history, or large tool output are steering the conversation, compact, reset, or isolate the work in a new context.
Completion criterion: the plan’s premise is evidence-backed and does not inherit an untested solution from the opening prompt.
Create a plan with ordered steps. For each step, state:
Do not write vague instructions such as “update the handler.” Do not fill the plan with speculative implementation detail that has not been justified by the research.
Completion criterion: a capable engineer can follow the plan mechanically, and every step has a way to prove it worked.
Review the plan against the acceptance criteria, research findings, and risks. Correct a bad plan before it becomes hundreds of bad lines. For high-risk work, seek a human decision at this boundary rather than asking an agent to resolve a product or security trade-off silently.
When a plan is approved, preserve it alongside the change if it adds value to reviewers. Reviewers should compare the final diff to the plan, not reconstruct intent from generated code alone.
Completion criterion: every requirement has a planned implementation and verification path; unresolved decisions are explicitly blocked or escalated.
Follow the reviewed plan. At each logical boundary, run the planned verification before moving to the next step. If evidence shows the plan is wrong, stop and return to research or planning; do not improvise a new design mid-implementation without recording the decision.
Use sub-agents to isolate broad investigation or independent verification—not as personality labels such as “frontend agent” or “QA agent.” The parent should receive a short evidence summary, not the sub-agent’s exploration transcript.
Completion criterion: each completed plan step has its promised evidence, and deviations are reflected in the plan or documented decision.
Use deterministic tools to prove the outcome: targeted tests, type checks, linters, schema or contract tests, builds, integration paths, or render-based inspection for visual changes. An agent’s “done” statement is not a result.
Test the acceptance criteria directly where practical, including failure and boundary cases. Validate the final artifact, not only intermediate source files.
Completion criterion: the evidence demonstrates all acceptance criteria and reports any deliberately deferred work honestly.
After the task, ask: what did we learn that would prevent future rediscovery? Codify a lesson only when it is stable, specific, and likely to recur.
| Lesson | Durable home |
|---|---|
| Repeated agent procedure | A skill, command, or template |
| Project-wide convention or setup fact | Root AGENTS.md / CLAUDE.md |
| Domain convention | Closest scoped instruction file |
| Stable architecture decision | ADR or specification |
| Repeatable failure | Test, lint rule, validator, or script |
Do not promote raw research notes, task status, temporary workarounds, or one-off errors into permanent instructions. The goal is compounding clarity, not an ever-growing context dump.
Completion criterion: any durable lesson has a justified home and is validated like code; ephemeral artifacts remain scoped to the task.
Before completing a non-trivial task, confirm:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (thrashr888/thrashr888-agent-kit) — no native marketplace selected
npx claudepluginhub p/thrashr888-thrashr888-agent-kit21 skills in this plugin
/agent-ready-engineeringMake codebases ready for reliable human and agent work./building-local-ai-appsDesign patterns for local-first AI desktop apps — provider abstraction (Ollama / OpenAI-compatible gateways), RAG retrieval and ingestion hygiene, citation UX that loops back to sources, streaming and scoped cancellation, chat-loop details, and demo-corpus design. Use when building or reviewing a local AI app, a RAG/notebook product, chat UX, or preparing AI product demos. Distilled from Alchemy (a local NotebookLM clone)./copy-reviewReview user-facing copy (websites, release notes, README, in-app strings) for machine-sounding writing, then codify the owner's voice in a repo WRITING.md. Use when asked to check copy for AI-isms, make text "read human", review marketing or landing-page text, fix writing that "sounds like AI", or set up a writing style guide. Not for project documentation structure (plans/specs/RFCs) — that's style-docs./debugging-tauri-appsFind out why a Tauri app crashed, froze, or failed silently — macOS crash reports, the unified log, the debug bridge's error history, panic hooks, and the capture a shipped app needs to have. Use when a Tauri app misbehaves and the terminal shows nothing, or when adding error/crash logging to one./driving-tauri-appsAutomate, inspect, and verify a running Tauri app with tauri-browser — DOM snapshots, ref-based clicks, React-safe fills, screenshots, direct Tauri command invokes, and demo-data seeding. Use when driving a Tauri app for testing, screenshots, demo setup, or end-to-end verification of app changes./github-releasesCreate releases for Rust CLI tools, macOS apps, Python/uv projects, and Next.js apps. Use when asked to release, tag, ship, publish, or deploy any project.2 plugins in one repository ship this exact skill · first indexed Aug 22, 2026