.pi/agent/skills/work-research/SKILL.md
This skill should be used when the current work phase is "research". Provides the research workflow: scope breakdown, codebase exploration, saving findings to _notes/research-*.md, and transition to plan phase.
npx skillsauth add popoffvg/dotfiles work-researchInstall 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.
Research phase workflow. Primary deliverable: _notes/research-*.md files with findings.
Break scope into independent topics. Present a numbered list:
[RESEARCH] I'd like to explore:
1. Auth middleware in core/pl/pkg/auth/
2. SDK auth client in core/platforma/sdk/
3. Session storage in core/pl/pkg/session/
Proceed? (y / n / adjust)
Wait for user approval. Do NOT start research until confirmed.
For each topic, gather information:
Run independent topics in parallel by spawning subagents via the Agent tool — one subagent per topic. Each subagent explores its topic and returns findings. The research agent then writes _notes/research-*.md files from the results.
For each completed topic:
_notes/research-<topic-slug>.md_notes/plan.md Work Notes section with link: - [<topic>](research-<topic-slug>.md)File template:
# Research: <Topic>
Created: YYYY-MM-DD
## Findings
<what was discovered — files, patterns, behavior, architecture>
## Key Files
- `path/to/file.go:42` — description
- `path/to/other.ts:15` — description
## Open Questions
- <anything unclear or needing deeper investigation>
Summarize findings with references to _notes/ files. Keep chat response concise — detailed content lives in the files.
If new areas emerged, propose them as a new numbered list.
If research feels complete (can articulate the problem, know the repos, understand patterns, no major unknowns), suggest:
Research looks complete. When ready, use `/work update move to plan` to begin planning.
_notes/research-<topic-slug>.md_notes/plan.md Work Notes section.Append to _notes/worklog.md: - YYYY-MM-DD HH:MM: <action summary>
Eval checklist:
_notes/research-*.md) contain concrete findings (code paths, API signatures, config values) — not vague summaries?Test inputs:
Can change: scope presentation format, research file structure, topic exploration depth, transition criteria Cannot change: user approval before starting, read-only enforcement, output to _notes/research-*.md Min sessions before eval: 5 Runs per experiment: 3
tools
Improve a whole CLAUDE.local.md — the private, per-project rules captured from user corrections. Wraps each conditional rule in a <task-relevant> block so it only surfaces for matching work, merges duplicates, generalizes one-off facts, drops stale entries, and routes raw project facts to engram. Use when the user says "improve claude.local", "clean up the local rules", "claude.local is bloated", or after the Stop hook has appended many rules.
testing
WM pipeline and conventions shared across all phases. Agents must read this before spec, impl, or verify work.
development
One entry point for spec writing, implementation, and bug fixing. Default is new (write spec → grill loop → produce notes → author TODO bodies). Other subcommands: verify (audit), revise (sync to shipped), prototype (settle a decision), code-map (diagram), impl (execute one TODO), fix (analyze cause, correct thoughts, fix behavior), help (this page). Invoke as /code <subcommand>.
development
Red-Green-Refactor cycle for bug fixes. Before fixing a bug, first write a failing test that reproduces it (Red), then make the minimal change to pass (Green), then clean up the code (Refactor). Use on any bug fix, error correction, failing test repair, or when user says "fix this bug".