feat: add user research workflow with skills, command, and agent#194
Open
mattthomps1 wants to merge 13 commits intoEveryInc:mainfrom
Open
feat: add user research workflow with skills, command, and agent#194mattthomps1 wants to merge 13 commits intoEveryInc:mainfrom
mattthomps1 wants to merge 13 commits intoEveryInc:mainfrom
Conversation
Brainstorm and deepened plan for adding a user research workflow to the compound-engineering plugin — a /workflows:research command with three skills (research-plan, transcript-insights, persona-builder) and one agent (user-research-analyst). Plan was enhanced by 7 parallel research agents covering architecture, patterns, simplicity, best practices, and skill/agent conventions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a parallel research track to the compound engineering plugin: - `/workflows:research` command orchestrating plan/process/personas phases - `research-plan` skill for structured research plans with discussion guides - `transcript-insights` skill for processing transcripts into tagged snapshots - `persona-builder` skill for synthesizing personas with merge logic - `user-research-analyst` agent for searching research artifacts - Discovery playbook reference bundled with each research skill Fixes pre-existing README count drift (25→24 commands, 16→18 skills) and marketplace.json version drift (2.31.0→2.32.0). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Test the full research workflow (plan → process → personas) with real transcripts from SAM interviews, producing a research plan, two interview snapshots, and a synthesized persona. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… workflows Explores 16 integration ideas across 5 tiers, narrows to 6 items in a phased approach: - Phase 1: Wire user-research-analyst into brainstorm Phase 1.1 and plan Step 1 - Phase 2: Deeper brainstorm integrations (opportunity-driven initiation, research-informed questions, persona-grounded evaluation, evidence in capture docs) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> https://claude.ai/code/session_014DYcTSd4s126qgbtYiXaVA
…, wire research into workflows - Remove 6 sample data files containing real names, company names, and confidential discussions (P1 privacy blocker) - Add docs/research/transcripts/*.md to .gitignore - Deduplicate discovery-playbook.md (keep canonical copy in research-plan, reference from other skills via relative path) - Wire user-research-analyst into brainstorm Phase 1.1 and plan Step 1 as parallel agent with silent graceful degradation when no data exists - Strengthen PII stripping guidance in transcript-insights skill - Simplify persona-builder evidence strength / hypothesis status tables - Fix research command phase recommendation to prioritize unprocessed transcripts over missing plans Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document 4 patterns learned during review: 1. "Do no harm" integration — producer handles absence with message, consumer handles absence with silence 2. PII-safe research artifacts — gitignore before create, MUST not consider 3. Reference file deduplication — one canonical copy, relative paths 4. Phase recommendation priority — actionable data over missing prerequisites Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Research process phase stalled when used as the first research action. Two fixes: (1) workflows:research now saves inline transcript content to a file before processing instead of requiring pre-existing files, and (2) transcript-insights skill gracefully handles empty plans directory by defaulting to ad-hoc. Closes EveryInc#187 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Documents the root cause, fix, and prevention checklist for the workflow-skill input mismatch that caused /workflows:research process to stall on first use with empty directories. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… leak The model was running Phase Selection (artifact status checks) even when inline transcript content was provided. Replaced soft "jump to Phase 2" instruction with numbered rules (Rule 1-4) with explicit "follow FIRST match and STOP" semantics. Inline content handling now happens at the routing point itself rather than deferring to a distant section. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Warp <agent@warp.dev>
8e33fce to
b76a28d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an optional Research phase to the compound engineering loop. Just as Plan grounds work in codebase context and Review catches issues before shipping, Research grounds product decisions in user evidence — personas, interview insights, and identified opportunities.
1 command, 3 skills, 1 agent. Integrates into brainstorm and plan workflows but is entirely optional — teams without research data experience zero behavioral change.
New Components
/workflows:researchresearch-plantranscript-insightspersona-builderuser-research-analystHow It Fits the Loop
Key Decisions
1. "Do No Harm" — Producer Messages, Consumer Silences
The most important design constraint: existing workflows must behave identically when no research data exists.
How it works:
user-research-analystruns in parallel during brainstorm/plan. Whendocs/research/is empty, the agent returns "No data found." But the consuming workflows don't surface that — they skip silently:Pattern: the producer handles absence with a message; the consumer handles absence with silence. This prevents nagging users who don't use research.
2. Privacy by Design
Transcripts contain PII and are gitignored by default. Only anonymized snapshots and personas get committed. Skills enforce PII stripping with MUST language, not advisory "consider" language.
docs/research/plans/docs/research/transcripts/docs/research/interviews/docs/research/personas/3. No Hard Prerequisites Between Phases
Transcripts can be processed without creating a research plan first — select "Ad-hoc / no plan" during processing. The phase recommender prioritizes actionable data (unprocessed transcripts) over missing prerequisites (no plan).
4. Single Canonical Reference — Extensible by Design
discovery-playbook.md(Teresa Torres + Mom Test methodology, 414 lines / 10 sections) lives inresearch-plan/references/and is referenced by the other two skills via relative path. No duplication.5. Parallel Execution
user-research-analystruns alongsiderepo-research-analyst(brainstorm) andlearnings-researcher(plan). No serial bottleneck added.Also Included
/workflows:brainstormand/workflows:plancommandsdocs/solutions/integration-issues/adding-optional-workflow-phases-with-graceful-degradation.mdTest Plan
"Do no harm" tests (most important):
/workflows:brainstormwith NO research data — verify zero behavioral change (no mention of research)/workflows:planwith NO research data — verify zero behavioral changeFeature tests:
/workflows:research plan— verify research plan created atdocs/research/plans//workflows:research processwith a transcript — verify anonymized snapshot atdocs/research/interviews//workflows:research processwithout a plan — verify "Ad-hoc / no plan" option works/workflows:research personaswith existing snapshots — verify persona atdocs/research/personas//workflows:brainstormWITH research data — verify personas/insights surfaced before dialogue/workflows:planWITH research data — verify user evidence in Step 1.6 consolidationExtensibility:
discovery-playbook.md— verify all 3 skills load updated content on next invocationVerification:
.gitignoreincludesdocs/research/transcripts/*.mdPost-Deploy Monitoring & Validation
No additional operational monitoring required: plugin-only change with no runtime/server component. Existing workflows remain unaffected when
docs/research/is empty.